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:

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.

cornercuspvertical tangent the two sides give two different numbers +∞ on one side, −∞ on the other +∞ on both sides
Three pictures, three different ways to fail. All three functions are continuous at the red point, so if you only check continuity, all three "pass". Tell them apart using the two one-sided derivatives: two different finite numbers means a corner; two infinities of opposite sign means a cusp; two infinities of the same sign means a vertical tangent. AP questions often put $x^{2/3}$ and $x^{1/3}$ side by side precisely because these two functions differ only in that sign detail.

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.

Common mistake

With piecewise functions, many solutions just set the two derivatives equal and conclude. Without the continuity equation, the result is completely wrong when the two branches have different values — the graph is broken, and a broken graph is not differentiable even if the two slopes match exactly. How to prevent it: write the two lines "values equal" and "derivatives equal" down before substituting numbers, treating them as an inseparable pair.

Key takeaway

Differentiable $\Rightarrow$ continuous, but the converse is false. Three kinds of failure: corner, cusp, vertical tangent — tell them apart with the two one-sided derivatives. A piecewise function always needs exactly two equations.

← The Derivative as a Limit · All AP Calculus BC lessons · Practice AP Calculus BC questions (free, instant scoring) · Power, Product and Quotient Rules →