AP Calculus AB · Topic 2.4 · Reading guide, about 4 min

Corners, cusps and breaks: when derivatives fail

When a derivative does not exist: discontinuities, corners, cusps and vertical tangents, and why differentiable means continuous.

In one minute

A derivative is a limit, and limits can fail to exist. So a function can be perfectly good at a point and still have no derivative there. Knowing the ways this happens, and being able to test for it, is a standard skill.

The key fact is one-way: if a function has a derivative at a point, it must be continuous there, but a continuous function need not have a derivative. A sharp corner is the classic example.

Key terms

Differentiable
A function is differentiable at aa if f′(a)f'(a) exists as a single finite number. Its graph then has a well-defined, non-vertical tangent line there.
One-sided derivative
The limit of the difference quotient taken only from the left (h→0−h\to 0^-) or only from the right (h→0+h\to 0^+). The derivative exists only if both exist and agree.
Corner
A point where the graph changes direction abruptly. The one-sided slopes exist but are unequal, so the derivative does not exist. Example: ∣x∣|x| at 00.
Cusp
A sharp point where the slope tends to +∞+\infty from one side and −∞-\infty from the other, such as x2/3x^{2/3} at 00.
Vertical tangent
A point where the tangent is a vertical line, so the slope grows without bound on both sides in the same direction, as with x3\sqrt[3]{x} at 00. No finite derivative exists.
Discontinuity
A hole, jump or infinite break in the graph. A function cannot be differentiable where it is not continuous.
Matching conditions
For a piecewise function to be differentiable at a boundary, the pieces must agree in value (continuity) and in slope (one-sided derivatives).

The one-way rule

Differentiable implies continuous. To see why, write f(a+h)−f(a)=f(a+h)−f(a)h⋅hf(a+h)-f(a)=\frac{f(a+h)-f(a)}{h}\cdot h. If the derivative exists, the first factor approaches the number f′(a)f'(a) and hh approaches 0, so the product approaches 0. That means f(a+h)→f(a)f(a+h)\to f(a), which is continuity.

The reverse is false. The function f(x)=∣x∣f(x)=|x| is continuous everywhere, yet it has no derivative at 0. The quotient is ∣h∣h\frac{|h|}{h}, which equals 1 for positive hh and −1-1 for negative hh. The two one-sided limits disagree, so the limit does not exist.

In logic terms: not continuous, therefore not differentiable. But continuous tells you nothing by itself about differentiability.

Four ways a derivative can fail, with examples at x = 0
KindExampleWhat happens to the slope
Discontinuity (jump)a step function with a jumpNo tangent at all; the function is not even continuous
Corner∣x∣|x|One-sided slopes are −1-1 and 11; they differ
Cuspx2/3x^{2/3}Slope tends to −∞-\infty on the left and +∞+\infty on the right
Vertical tangentx1/3x^{1/3}Slope tends to +∞+\infty on both sides

Seeing cusps and vertical tangents

For f(x)=x1/3f(x)=x^{1/3} the derivative formula (from 2.5) is f′(x)=13x−2/3=13x2/3f'(x)=\frac13x^{-2/3}=\frac{1}{3x^{2/3}}. As x→0x\to 0 from either side the denominator tends to 0 through positive values, so the slope grows without bound upward. The curve is continuous and becomes vertical at the origin, which is a vertical tangent.

For f(x)=x2/3f(x)=x^{2/3} the derivative is 23x−1/3=23x1/3\frac23x^{-1/3}=\frac{2}{3x^{1/3}}. Near 0 from the right the slope tends to +∞+\infty; from the left, x1/3x^{1/3} is negative, so the slope tends to −∞-\infty. Both branches point up at the origin from opposite sides, forming a cusp.

A fully worked example

Find constants aa and bb so that f(x)=x2f(x)=x^2 for x≤1x\le 1 and f(x)=ax+bf(x)=ax+b for x>1x>1 is differentiable at x=1x=1.

Step 1, continuity first. The left piece gives f(1)=12=1f(1)=1^2=1. The right piece must reach the same value as x→1+x\to 1^+, so a+b=1a+b=1.

Step 2, match the slopes. For x<1x<1 the derivative is 2x2x, which tends to 2 as x→1−x\to 1^-. For x>1x>1 the derivative is the constant aa. The one-sided derivatives must agree, so a=2a=2.

Step 3, solve: a=2a=2 and a+b=1a+b=1 give b=−1b=-1. The function is x2x^2 for x≤1x\le 1 and 2x−12x-1 for x>1x>1. Check: at x=1x=1 the right piece gives 2−1=12-1=1, matching, and both slopes equal 2. The line y=2x−1y=2x-1 is the tangent line to y=x2y=x^2 at (1,1)(1, 1), which is why the join is smooth.

Contrast: with ax+b=3x−2ax+b=3x-2 the pieces still meet at (1,1)(1, 1), since 3−2=13-2=1, so ff is continuous, but the slopes are 2 and 3. That is a corner, and f′(1)f'(1) does not exist.

How it connects

  • Back to 1.11: the three-part test for continuity at a point is step one of every differentiability check.
  • Back to 1.10: holes, jumps and asymptotes are the breaks that rule out a derivative.
  • Forward to 2.5: the power rule yields formulas such as 13x−2/3\frac13x^{-2/3} that reveal vertical tangents when the exponent is negative.
  • Forward to 5.1: the Mean Value Theorem requires differentiability on an open interval, so you need to know where it can fail.

Common mistakes

  • Saying continuous means differentiable. Continuity is necessary, not sufficient. A corner is continuous but not differentiable.
  • Matching only the values at a piecewise boundary. Equal values give continuity only. You must also match the one-sided derivatives.
  • Comparing the pieces' values instead of their derivatives. Differentiate each piece, then evaluate each derivative at the boundary.
  • Calling a vertical tangent a derivative of infinity. Say the derivative does not exist (the slope is unbounded).

How it shows up on the exam

  • A piecewise function with unknown constants, asking you to make it continuous, then differentiable, at the boundary.
  • A graph with a corner, cusp, hole or vertical tangent, asking at which inputs the derivative does not exist, with a reason.
  • A true-or-false style statement about continuity and differentiability, asking you to justify or give a counterexample.

Check yourself

  1. Why does differentiability at a point force continuity there?
  2. What are the two one-sided derivatives of ∣x−2∣|x-2| at x=2x=2?
  3. How can you tell a cusp from a vertical tangent using the signs of the slope on each side?
  4. For a piecewise function, in what order do you check the conditions at the boundary?

Practice this topic. AP Practice questions on exactly what this lesson covers, with an explanation for every answer.