Discontinuous derivative. [duplicate]

Could someone give an example of a ‘very’ discontinuous derivative? I myself can only come up with examples where the derivative is discontinuous at only one point. I am assuming the function is real-valued and defined on a bounded interval.

Answer

Haskell’s answer does a great job of outlining conditions that a derivative f must satisfy, which then limits us in our search for an example. From there we see the key question: can we provide a concrete example of an everywhere differentiable function whose derivative is discontinuous on a dense, full-measure set of R? Here’s a closer look at the Volterra-type functions referred to in Haskell’s answer, together with a little indication as to how it might be extended.

Basic example

The basic example of a differentiable function with discontinuous derivative is
f(x)={x2sin(1/x)if x00if x=0.
The differentiation rules show that this function is differentiable away from the origin and the difference quotient can be used to show that it is differentiable at the origin with value f(0)=0. A graph is illuminating as well as it shows how ±x2 forms an envelope for the function forcing differentiablity.

enter image description here

The derivative of f is
f(x)={2xsin(1x)cos(1x)if x00if x=0,
which is discontinuous at x=0. Its graph looks something like so

enter image description here

Two points

The next step is to modify this example to obtain a function that is everywhere differentiable with a derivative that is continuous on all of R, except for two points. To this end, consider
f(x)={x2(1x)2sin(1πx(1x))if 0<x<10else.
The graph of f and its derivative look like so.

enter image description here

A cantor set of discontinuties

Now that we have a way to construct a differentiable function whose derivative is discontinuous exactly at the endpoints of an interval, it should be clear how to construct a differentiable function whose derivative is discontinous on a Cantor set constructed in the interval. For nN and m=1,2,,2n, let Im,n denote one of the 2n intervals removed during the nth stage of construction of the Cantor set. Then let fm,n be scaled to have support Im,n and to have maximum value 4^{-n}. The function
F(x) = \sum_{n=0}^{\infty} \sum_{m=1}^{2^n} f_{m,n}(x)
will be everywhere differentiable but its derivative will be discontinuous on the given Cantor set. Assuming we do this with Cantors standard ternary set, we get a picture that looks something like so:

enter image description here

Of course, there's really a sequence of functions here and care needs to be taken to show that the limit is truly differentiable. Let
F_N(x) = \sum_{n=1}^{N} \sum_{m=1}^{2^n} f_{m,n}(x).
The standard theorem then states that, as long as F_N converges and F_N' converges uniformly, then the limit of F_N(x) will be differentiable. This is guaranteed by the choice of 4^{-n} as the max for f_{m,n}.

Increasing the measure

Again, the last example refers to the standard Cantor ternary set but there's no reason this can't be done with any Cantor set. In particular, it can be done with a so-called fat Cantor set, which can have positive measure arbitrarily close to the measure of the interval containing it. We immediately produce an everywhere differentiable function whose derivative is discontinuous on a nowhere dense set of positive measure. (Of course, care must again be taken to scale the heights of the functions go to zero quickly enough to guarantee differentiability.)

Finally, we can fill the holes of the removed intervals with more Cantor sets (and their corresponding functions) in such a way that the union of all of them is of full measure. This allows us to construct an everywhere differentiable function with derivative that is discontinuous on the union of those Cantor sets, which is a set of full measure.

Attribution
Source : Link , Question Author : user58273 , Answer Author : ziggurism

Leave a Comment