Differentiability and Continuity
AP Calculus BC · Unit 2 — Differentiation: Definition and Fundamental Properties
One implication, and only one
If $f$ is differentiable at $a$, then $f$ is continuous at $a$. The converse is false, and the exam lives in that gap: continuity is necessary but nowhere near sufficient.
A continuous function fails to be differentiable at $a$ in exactly three ways, and you should be able to name which one a picture shows:
- Corner — the one-sided derivatives exist but disagree, as with $|x|$ at $0$.
- Cusp — the one-sided slopes run off to $+\infty$ on one side and $-\infty$ on the other, as with $x^{2/3}$ at $0$.
- Vertical tangent — both one-sided slopes run to $+\infty$ (or both to $-\infty$), as with $x^{1/3}$ at $0$.
For a piecewise-defined function, differentiability at the seam costs two equations: the pieces must agree in value there (continuity) and their derivatives must agree there as well. Solving only the second one is the classic way to lose half the credit.
Worked example: differentiable once but not twice
Let $f(x)=x\,|x|$. Show that $f'(0)$ exists and equals $0$, but $f''(0)$ does not exist.
Solution
Rewrite by branches: $f(x)=x^2$ for $x\ge0$ and $f(x)=-x^2$ for $x<0$.
First derivative at $0$ — using the definition, the difference quotient is $\frac{h|h|-0}{h}=|h|$. As $h\to0$, $|h|\to0$ from both sides, so $f'(0)=0$.
Away from $0$: $f'(x)=2x$ for $x>0$ and $f'(x)=-2x$ for $x<0$, that is, $f'(x)=2|x|$ for all $x$.
Second derivative at $0$ — but $f'(x)=2|x|$ is just the absolute value function doubled, which has a corner at $0$: the right-hand derivative is $2$ and the left-hand derivative is $-2$. The two numbers differ, so $f''(0)$ does not exist.
Takeaway: first-order differentiability does not imply second-order differentiability. Each order of derivative is a new condition and must be checked separately.