Assume a function $f$ is integrable on $[a,b]$, differentiable at a point $c\in (a,b),$ and define
$$F(x)=\int_a^x f$$
Let's investigate the theoretical conditions under which $F'$ could be discontinuous at $c$.
Since $f$ is differentiable at $c$, this implies $f$ is continuous at $c$.
By the first fundamental theorem of calculus (FTC1) applied to $f$ on $[a,b]$, we have that $F$ is differentiable at $c \in (a,b)$ and $F'(c)=f(c)$.
Let's recall the definition of continuity
Spivak, Ch. 6, Definition: A function $f$ is continuous at $c$ if
$$\lim\limits_{x\to c} f(x)=f(c)\tag{1}$$
What are the ways a function can be discontinuous at a point $c$?
$f$ isn't defined at $c$, hence $f(c)$ isn't defined and so $(1)$ doesn't make sense and is false
$\lim\limits_{x\to c} f(x)$ does not exist, so again $(1)$ doesn't make sense and is false
$f$ is defined at $c$ and the limit above does exist but it differs from $f(c)$.
Which of the above scenarios is possible in our setup of $f$ and $F$, for $F'$ to be discontinuous at $c$?
Here is what I came up with
In the case of our function $F$, it is differentiable wherever $f$ is continuous. If $f$ were to be continuous in an interval around $c$, then $F$ would be differentiable and hence continuous on that interval, including at $c$.
Therefore, $f$ has to be discontinuous on every interval containing $c$.
We've established that $F'(c)=f(c)$ so $F'$ is defined at $c$ and hence option 1. above is not possible.
If 3. were true, then we'd have
$$\lim\limits_{x\to c} F'(x)\neq F'(c)=f(c)\tag{2}$$
Here is a line of reasoning I am unsure about
- Since the limit above exists, then $F'$ is defined everywhere around $c$. Is this true? Ie, when we defined a limit
$$\lim\limits_{x\to c} f(x)$$
as
$$\forall \epsilon>0\ \exists \delta>0\ \forall x, |x-c|<\delta\implies |f(x)-f(c)|<\epsilon$$
Did the $\forall x$ mean literally for every single real number within $\delta$ of $c$, or just the $x$ where $f$ is defined?
- if the above is indeed true, then we have the following happening
(i) $F'$ defined in an interval containing $c$
(ii) since $f$ is integrable on $[a,b]$, $F$ continuous on $[a,b]$, and in particular at $c$
(iii) $\lim\limits_{x\to c} F'$ exists
I believe the following theorem is thus applicable
Spivak, Ch. 11, Theorem 7: Suppose $F$ is continuous at $c$, $F'(x)$ exists for all $x$ in some interval containing $c$, except possibly at $x=c$. Suppose, moreover, that $\lim\limits_{x\to c} F'(x)$ exists.
Then, $F'(c)$ exists and $F'(c)=\lim\limits_{x\to c} F'(x)$
This theorem basically says that if a function is continuous at a point, then its derivative cannot have a jump discontinuity there.
Applying to $F$, we conclude that $F'(c)=\lim\limits_{x\to c} F'(x)$, which contradicts $(2)$, and hence scenario 3. isn't possible.
Which leaves only scenario 2., which is possible by virtue of the fact that I can come up with an example for it:
$$f(x)=\begin{cases} 0, \text{ if } x \in \left (\frac{1}{n+1},\frac{1}{n} \right ] \\ x^2, \text{ if } x \in \left (\frac{1}{n},\frac{1}{n-1} \right ] \end{cases}$$
for $n\in\mathbb{N}$.
Edit For the record I thought I'd mention this is a problem from Spivak's Calculus and there is a (terse solution) that isn't very didactical. Here it is
If we assume that $f$ is continuous in an interval around $c$, then $F'$ will be continuous at $c$, since we will have $F'(x)=f(x)$ in this interval, and differentiability of $f$ at $c$ implies continuity of $f$ at $c$. But without this assumption $F'$ may not even be exist at all points near $c$. For example, $f$ could be the function shown below
