2

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$?

  1. $f$ isn't defined at $c$, hence $f(c)$ isn't defined and so $(1)$ doesn't make sense and is false

  2. $\lim\limits_{x\to c} f(x)$ does not exist, so again $(1)$ doesn't make sense and is false

  3. $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

enter image description here

xoux
  • 5,079
  • I don't think you can use the FTC here. It might be that $f$ is continuous at $c$ but not continuous in any neighbourhood of $c$ - the FTC's proof is reliant on $f$ being continuous in some nondegenerate $[u,v]$ – FShrike Jul 08 '22 at 15:13
  • Here is the FTC I am using: (Spivak, Ch. 14, Theorem 1) Let $f$ be integrable on $[a,b]$ and define $F$ on $[a,b]$ by $F(x)=\int_a^x f$. If $f$ is continuous at $c\in[a,b]$, then $F$ is differentiable at $c$ and $F'(c)=f(c)$. (If $c=a$ or $b$ then $F'(c)$ is understood to be the right-hand or left-hand derivative of $F$). – xoux Jul 08 '22 at 15:16
  • Hm, ok. I have never seen that strengthening before – FShrike Jul 08 '22 at 15:16
  • The argument in the proof considers two cases at any point $c$: small increments $h$ with $h>0$ and then with $h<0$. If $c$ is only continuous on one side, the same argument can be made but with just one case. Essentially, you show that the little sliver of area between $c$ and $c+h$, which is $F(c+h)-F(c)$, is bounded below and above by things which when divided by $h$ have the same limit, $f(c)$. – xoux Jul 08 '22 at 15:20
  • What if the function is only continuous at a single point $c$, neither right or left of $c$? – FShrike Jul 08 '22 at 16:31
  • If $f$ is integrable on some interval containing that $c$ where $f$ is continuous, then $F$ is continuous on that interval and differentiable on $c$. I tried to come up with an example of a function that is only continuous at a single point (and is still integrable in an interval containing that point), but couldn't. Here is an example of a function that is continuous at $0$, and discontinuous at infinite points around $0$: $f(x)=x$ if $x=\frac{1}{n}, n\in\mathbb{Z}$, and $f(x)=0$ otherwise. This function can be shown to be integrable on $[-1,1]$. $F$ is just zero everywhere. – xoux Jul 08 '22 at 19:26
  • Clarifying question. Are you using the Riemann integral here? Or the Lebesgue integral? I’m not sure which Spivak text you’re using. – Joe Jul 10 '22 at 17:48
  • Based on your statement of the FTC, I think you’re using the Riemann integral, but I want to check and make sure – Joe Jul 10 '22 at 17:58
  • @Joe I am using the definition of integrability from Spivak's Calculus, Ch. 13 Integrals": A function $f$ with is bounded on $[a,b]$ is integrable on $[a,b]$ if $\sup{ L(f,P)}=\inf{U(f,P)}$, and this number is called the integral of $f$ on $[a,b]$ and is denoted $\int_a^b f$. – xoux Jul 10 '22 at 21:54
  • Check https://math.stackexchange.com/a/3516923/72031 and let me know if we can close current question as dupe. – Paramanand Singh Jul 11 '22 at 12:50

2 Answers2

1

Edit:

Now that you have added Spivak’s solution, I think I see what’s going on. Let me try and explain a little.

First, I think there’s some confusion about the definition of “continuity”. Suppose that $f:(a,b) \rightarrow \mathbb{R}$ is a function. Let me give you two different definitions of continuity:

Definition 1: $f$ is continuous at $c \in (a,b)$ iff for all $\epsilon >0$, there is a $\delta > 0$ such that if $|x - c| < \delta$, then $|f(x) - f(c)| < \epsilon$.

Definition 2: $f$ is continuous at $c \in (a,b)$ iff for every sequence of points $\{x_n\}$ with each $x_n \in (a,b)$, if $x_n \rightarrow c$, then $f(x_n) \rightarrow c$ as well.

These two definitions can easily be shown to be equivalent.

What happens if $f:A \rightarrow \mathbb{R}$ where $A \subseteq \mathbb{R}$ is some subset of reals, but not necessarily an interval? Well these definitions can be adapted so that continuity still makes sense. Definition 2 is the definition I used below, so we’ll adapt that one.

Definition 2’: Let $f:A \rightarrow \mathbb{R}$, and let $c \in A$. $f$ is continuous at $c$ If for every sequence of points $\{x_n\}$ with each $x_n \in D$, if $x_n \rightarrow c$, then $f(x_n) \rightarrow c$ as well.

With this in mind, we see a source of confusion. $F’$ in your original question need not be defined on an interval. Indeed, as your example shows, we can have an $F’$ that is undefined on a convergent sequences of points. But when we are asking about the continuity of $F’$, we can only answer that question within the domain on which it is defined.

This is (I think) why you don’t see why your example fails. Try working it out with definition 2’ above, and see if it works.

As for Spivak’s “proof”, he is using a definition of continuity that doesn’t allow for this kind of generality. I think it holds in the full generality though, as my answer indicates.

What follows is my original answer, before answer the questions addressed in the comments.


NOTE: I am looking at $F’$ as a function $F’:A \rightarrow \mathbb{R}$, where $A$ is the set of points on which $F$ is differentiable.

You’re proof above is not quite incorrect, sadly. The big problem is that your example at the very end is not correct. $F’$ is continuous at $0$ in that example.

Let $f:[a,b] \rightarrow \mathbb{R}$ be integrable. Let $F(x) = \int_a^x f(t) \: dt$. Let $c \in (a,b)$, and suppose that $f$ is differentiable at $c$. We are curious about the ways in which $F’$ could be discontinuous at $c$. Let’s break the problem into a series of claims:

Claim 1:

$F$ is differentiable at $c$, and $F’(c) = f(c)$

Proof: This follows from the fact that $f’(c)$ exists implies that $f$ is continuous at $c$, and the FTC. You observed this above.

From claim 1, it follows that $F’(c)$ will always exist, and we need not worry about a “missing point” discontinuity.

Claim 2:

Suppose that $f$ is continuous in a neighborhood of $c$. Then $F’$ is continuous at $c$.

Proof: This follows immediately from the FTC.

Hence as you noted, the only way that that $F’$ could be discontinuous at $c$ is if $f$ is not continuous in any neighborhood of $c$.

Here’s a question: Is it possible that there is a neighborhood of $c$ in which $F$ is only differentiable at $c$?

Claim 3:

There is a sequence of points $a_n \rightarrow c$ such that $f$ is continuous at each $a_n$.

Proof: Suppose there is no such sequence. Then there is an interval $(c- \epsilon, c+ \epsilon) \subseteq [a,b]$ on which $f$ is discontinuous. Let $D(f)$ denote the set of discontinuities of $f$. It follows that $m(D(f)) > 0$, and hence $f$ is not Riemann integrable. See here for more details: https://en.wikipedia.org/wiki/Riemann_integral#Integrability

From claims 1 and 3, it follows that there is necessarily a sequence of points $a_n \rightarrow c$ on which $F’$ exists. Hence it makes sense to talk about the continuity of $F’$ at $c$ by examining limits. If there was no such sequence, then $F’$ would be trivially continuous at $c$.

Claim 4:

$F’$ is continuous at $c$.

Proof: Suppose that $a_n \rightarrow c$ is a sequence of points such that $F’(a_n)$ exists. We may compute: $$\begin{align*} \lim_{n \rightarrow \infty}F’(a_n) &= \lim_{n \rightarrow \infty} \lim_{h \rightarrow 0} \frac{F(a_n + h) - F(a_n)}{h} \\ & = \lim_{n \rightarrow \infty} \lim_{h \rightarrow 0} \frac{ \int_{a_n}^{a_n + h} f(t) \: dt}{h} \\ & = \lim_{h \rightarrow 0} \lim_{n \rightarrow \infty} \frac{ \int_{a_n}^{a_n + h} f(t) \: dt}{h} \quad (*) \\ & = \lim_{h \rightarrow 0} \frac{\int_c^{c+h} f(t) \: dt}{h} \\ & = F’(c) \end{align*}$$ The line with the $(*)$ needs to be justified. Why can we switch those limits? This follows from the Moore-Osgood Theorem (https://en.wikipedia.org/wiki/Iterated_limit). I worked this out on paper, but if there’s an error in my argument it is here.

Joe
  • 2,963
  • Why do you claim that the example I gave is incorrect? Consider the following reasoning for why $\lim\limits_{x\to 0} F'(x)$ does not exist, and tell me where it is incorrect? $f$ is discontinuous at every point $1/n$ for $n\in\mathbb{N}$ However, $f$ is continuous between $(\frac{1}{n+1}, \frac{1}{n})$ and $(\frac{1}{n},\frac{1}{n-1})$, and on these intervals by the FTC1 we have $F'(x)=f(x)$. However, at points $1/n$, $F'$ isn't defined. Thus, any interval containing $0$ has infinite points where $F'$ isn't defined. Doesn't this mean that $F'$ isn't continuous at $0$? – xoux Jul 10 '22 at 23:52
  • To be continuous at $0$ we'd need the following to be true: $\forall \epsilon>0\ \exists \delta>0\ \forall x\ |x|<\delta \implies |F'(x)-F'(0)|<\epsilon$. Maybe I am still a bit confused by the definition of continuity: the way I understand it currently, $\forall x$ includes the $x$ where $F'$ isn't defined. If it includes such $x$, then at those points we don't have $F'(x)-F'(0)|<\epsilon$ simply because $F'(x)$ doesn't exist at such points. Is this incorrect? – xoux Jul 10 '22 at 23:55
  • This entire discussion was spawned from the following problem from Spivak's Calculus: Prove that if $f$ is differentiable at $c$, then $F'$ is continuous at $c$. I've appended my question with the solution manual solution to this question. My own example seems to be close to what the solution manual has, though it's difficult to make out what they meant exactly. – xoux Jul 10 '22 at 23:59
  • Let me edit my answer quickly. Hang on. – Joe Jul 11 '22 at 00:15
  • Okay. I guess I need to study more to get to sequences then. To summarize: within the context of the topics introduced by Chapter 13 of Spivak's Calculus, we are led to believe that $F'$ isn't continuous at $0$. Within a broader context that includes a definition of continuity in terms of sequences, we conclude that in fact, according to the more general definition, $F'$ is continuous at $0$. – xoux Jul 11 '22 at 00:36
  • Before you answer, I asked about the continuity of the function in the example in another question, for the record: https://math.stackexchange.com/questions/4490269/if-fx-0-for-x-in-1-n1-1-n-and-fx-x2-for-x-in-1-n-1-n-1-a – xoux Jul 11 '22 at 00:38
  • 1
    I think that’s a fair characterization of the situation. If you want the “details” of the difference, I am looking at the domain of $F’$ as a sub metric space of the interval on which $F$ is defined. This allows us to ask about the continuity of the derivative when the function isn’t everywhere differentiable. Spivak apparently doesn’t want you to look at things that way. When I first started writing, I was thinking you were looking at a different, more advanced Spivak book. I think you should largely ignore my answer haha – Joe Jul 11 '22 at 00:41
1

Let me give my own (I believe rigorous) answer, taking into account all the previous answers and comments. Case 1 scenario: The fundamental theorem of Calculus in its most common form assumes continuity of $f$ on an interval around a point. This is not our case. Spivak gives a proof based on suprema and infima of the function $f$ on $[c,c+h]$. But this is NOT rigorous (as in many other cases in Spivak) because suprema and infima do NOT necessarily coincide in the limit, as in the continuous case. The assumption of boundedness is not sufficient. A rigorous proof should go as follows:

Let $\epsilon >0$. Then (by continuity of $f$ at $c$), there is a

$\delta>0$ such that, $|x-c|<\delta$ implies :

$f(c)-\epsilon<f(x)<f(c)+\epsilon$. That implies that,

$(f(c)-\epsilon)h<\int_{c}^{c+h}f(t)dt<(f(c)+\epsilon )h$ and dividing by $h$ we get:

$\left|\int_{c}^{c+h}f(t)dt/h\,\,-f(c) \right|\,<\,\epsilon$ for

$0<h<\delta$ and likewise from the left side, so we get that $F'(c)$

exists and is equal to $f(c)$. So scenario $1$ can be rejected.

Now we go to the case 3 scenario. Since existence of the derivative is assumed in a neighborhood of $c$, (except possibly at $c$) we can apply the mean value theorem on $[c,c+h]$, ($F$ is continuous on the interval and differentiable in $(c,c+h)$), therefore

$(F(c+h)-F(c))/h=F'(\xi_{h} )$ and since $h$ tends to zero, $\xi_{h}$ also tends to zero and it is equal to $\displaystyle \lim_{ x\to c}F'(x)$ which we have assumed it exists, hence $F'(c)$ exists too and is equal to $f(c)$. So scenario 3 can also be rejected.

In the case 2 scenario, under the given assumptions we have existence of $ F'$ ALMOST EVERYWHERE. In other words there is no guarantee that $F'$ exists near $c$ and therefore this is the only acceptable scenario! A counterexample I found is the function $f(x)=1/n^3$ on $(1/n+1,\,1/n]$, $f(0)=0$. I am almost certain that $f$ is differentiable at $0$, $f$ is integrable, $F(x)=\int_{0}^{x}f(t)dt$ is continuous and differentiable at $0$. Yet, $F'(x)$ does not exist at points $1/n$ because there is a jump of the integral! Thus, there are points at which $F'$ does not exist arbitrarily close to $0$. So we can only accept scenario $2$.