6.4: Discontinuities of Derivatives
( \newcommand{\kernel}{\mathrm{null}\,}\)
Suppose f is differentiable on an open interval I,a,b∈I, and a<b. If λ∈R and either f′(a)<λ<f′(b) or f′(a)>λ>f′(b), then there exists c∈(a,b) such that f′(c)=λ.
- Proof
-
Suppose f′(a)<λ<f′(b) and define g:I→R by g(x)=f(x)−λx. Then g is differentiable on I, and so continuous on [a,b]. Let c be a point in [a,b] at which g attains its minimum value. Now
g′(a)=f′(a)−λ<0,
so there exists a<t<b such that
g(t)−g(a)<0.
Thus c≠a. Similarly,
g′(b)=f′(b)−λ>0,
so there exists a<s<b such that
g(s)−g(b)<0.
Thus c≠b. Hence c∈(a,b), and so g′(c)=0. Thus 0=f′(c)−λ, and so f′(c)=λ. Q.E.D.
Define g:(−1,1)→R by
g(x)={−1, if −1<x<0,1, if 0≤x<1.
Does there exist a function f:(−1,1)→R such that f′(x)=g(x) for all x∈(−1,1)?
Suppose f is differentiable on an open interval I. Show that f′ cannot have any simple discontinuities in I.
Define φ:[0,1]→R by φ(x)=x(2x−1)(x−1). Define ρ:R→R by ρ(x)=6x2−6x+1. Then
φ(x)=2x3−3x2+x,
so φ′(x)=ρ(x) for all x∈(0,1). Next define s:R→R by s(x)=φ(x−⌊x⌋). See Figure 6.4.1 for the graphs of φ and s. Then for any n∈Z and n<x<n+1,
s′(x)=ρ(x−n)=ρ(x−⌊x⌋).
Moreover, if x is an integer,
limh→0+s(x+h)−s(x)h=limh→0+φ(h)h=limh→0+h(2h−1)(h−1)h=limh→0+(2h−1)(h−1)=1
and
limh→0−s(x+h)−s(x)h=limh→0−φ(h+1)h=limh→0−(h+1)(2h+1)hh=limh→0−(h+1)(2h+1)=1.

Thus s′(x)=1=ρ(x−⌊x⌋) when x is an integer, and so s′(x)=ρ(x−⌊x⌋) for all x∈R.
Now ρ(x)=0 if and only if x=3−√36 or x=3+√36. since φ(0)=0, φ(3−√36)=16√3,φ(3+√36)=−16√3, and φ(1)=0, we see that φ attains a
maximum value of 16√3 and a minimum value of −16√3. Hence for any n∈Z,
s((n,n+1))=[−16√3,16√3].
Also, ρ′(x)=12x−6, so ρ′(x)=0 if and only if x=12. since ρ(0)=1, ρ(12)=−12, and ρ(1)=1, we see that ρ attains a maximum value of 1 and a v,
s′((n,n+1))=[−12,1].
It follows from the preceding, in the same manner as the result in Example 5.1.7, that neither the function σ(x)=s(1x) nor the function g(x)=s′(1x) has a limit as x approaches 0.
Finally, define ψ:R→R by
ψ(x)={x2s(1x), if x≠0,0, if x=0.
For x≠0, we have
ψ′(x)=x2s′(1x)(−1x2)+2xs(1x)=−s′(1x)+2xs(1x).
At 0, we have
ψ′(0)=limh→0ψ(0+h)−ψ(0)h=limh→0h2s(1h)h=limh→0hs(1h)=0,
where the final limit follows from the squeeze theorem and the fact that s is bounded. Hence we see that ψ is continuous on R and differentiable on R, but ψ′ is not continuous since ψ′(x) does not have a limit as x approaches 0. See Figure 6.4.1 for the graphs of ψ and ψ′.

Let s be as above and define g:R→R by
g(x)={x4s(1x), if x≠00, if x=0.
Show that g is differentiable on R and that g′ is continuous on R.