example of differentiable function which is not continuously differentiable


Let f be defined in the following way:

f⁢(x)={x2⁢sin⁡(1x)if ⁢x≠00if ⁢x=0.

Then if x≠0, f′⁢(x)=2⁢x⁢sin⁡(1x)-cos⁡(1x) using the usual rules for calculating derivatives. If x=0, we must compute the derivative by evaluating the limit

limϵ→0⁡f⁢(ϵ)-f⁢(0)ϵ

which we can simplify to

limϵ→0⁡ϵ⁢sin⁡(1ϵ).

We know |sin⁡(x)|≤1 for every x, so this limit is just 0. Combining this with our previous calculation, we see that

f′⁢(x)={2⁢x⁢sin⁡(1x)-cos⁡(1x)if ⁢x≠00if ⁢x=0.

This is just a slightly modified version of the topologist’s sine curve; in particular,

limx→0⁡f′⁢(x)

diverges, so that f′⁢(x) is not continuousMathworldPlanetmath, even though it is defined for every real number. Put another way, f is differentiableMathworldPlanetmathPlanetmath but not C1.

Title example of differentiable function which is not continuously differentiable
Canonical name ExampleOfDifferentiableFunctionWhichIsNotContinuouslyDifferentiable
Date of creation 2013-03-22 14:10:18
Last modified on 2013-03-22 14:10:18
Owner Koro (127)
Last modified by Koro (127)
Numerical id 8
Author Koro (127)
Entry type Example
Classification msc 57R35
Classification msc 26A24