3.2 The Anatomy of Non-Differentiability
Let us build our intuition by examining the distinct ways where differentiability can break down.
3.2.1 The Corner
We redo the example above using a slightly different calculation. Consider the absolute value function, , defined for all . Thus, . Let be a real number. We calculate the derivative at using the limit definition:
By definition, evaluates to when , and when . We split into three cases:
-
•
Case 1: . Then for close to , , so . The limit becomes
-
•
Case 2: . Then for close to , , so . The limit becomes
-
•
Case 3: . This is the critical point. We are evaluating:
Due to the absolute value, we must split this into one-sided limits:
Since the left and right limits disagree (), we deduce that the limit does not exist. Thus, is not differentiable at .
Geometrically, has a sharp corner at the origin, see Figure 3.1. A derivative requires the function to look locally like a single straight line when zoomed in. At , no matter how much you zoom in, the V-shape persists; it refuses to flatten out into a tangent line.
Pay attention to the divide-and-conquer argument above: why do we need 3 different cases for ? Can you use this insight to answer 3.1.7?
3.2.2 The Vertical Tangent
Consider the function . The domain of is . We calculate the difference quotient:
To resolve this indeterminate form, we employ a clever algebraic trick using the difference of cubes identity:
By multiplying by the conjugate-like factor , we obtain:
Therefore, . However, observe what happens at : the denominator vanishes. Thus, . The curve possesses a vertical tangent line at the origin.
Observe what happens geometrically as . If you sketch the graph of , you will notice a curious phenomenon in Figure 3.2: As the curve passes through the origin, it briefly becomes completely vertical. The tangent line is the -axis itself! Thus, we expect the slope of the tangent line to be infinite, and accordingly, the derivative will fail to exist at , giving us another elegant example where (beside the kink at 0 of ).
3.2.3 The Discontinuity
Consider the step function:
On , , so . On , , so .
At , we calculate the limit directly:
Examining the one-sided limits, we have:
Since is not a real number, is not differentiable at .
From the examples above, we can isolate primary scenarios where fails to be differentiable at :
-
1.
has a corner at (e.g., ).
-
2.
has a vertical tangent line at (e.g., ).
-
3.
is not continuous at .
Looking at the graphs of our 3 examples above, they might give you a false sense of security. One might naturally form the false belief that a continuous function may only be non-differentiable at a few isolated points.
Lo and behold! Let me introduce the Weierstrass monster function. Discovered by Karl Weierstrass in the late 19th century, it is a function that is continuous everywhere but differentiable nowhere. It is a fractal-like beast, composed of infinitely many wiggles upon wiggles, see Figure 3.4. Its mere existence shocked the mathematical establishment, proving that geometric intuition can sometimes lead us drastically astray!