Euler Hall — free maths guides

Show that a corner, cusp or vertical tangent is not differentiable

Test differentiability with the two one-sided difference quotients. The idea in plain words, a worked example, and a check with the answers shown — part of the free Calculus I guides.

Three ways for the limit to fail

A function is differentiable ataa when the difference quotient has a two-sided limit there. It fails in exactly three visible ways:

- a corner — the two one-sided slopes are finite but different, as with∣x∣|x| at00 (slopes−1-1 and+1+1); - a cusp — the slopes are infinite with opposite signs, as withx2/3x^{2/3} at00; - a vertical tangent — the slopes are infinite with the same sign, as withx3\sqrt[3]{x} at00.

All three are continuous. That is what makes them interesting: the graph can be drawn without lifting the pen, and yet no tangent line has a finite slope there.

The test is mechanical. Computelim⁡h→0−f(a+h)−f(a)h\lim_{h\to0^-}\dfrac{f(a+h)-f(a)}{h} andlim⁡h→0+f(a+h)−f(a)h\lim_{h\to0^+}\dfrac{f(a+h)-f(a)}{h} separately. If both exist and are equal, the derivative exists and equals them. Otherwise it does not.

Why a corner breaks the limit but not continuity

Continuity asks whetherf(a+h)→f(a)f(a+h) \to f(a), i.e. whether the OUTPUT settles. At a corner it does: the values approach the corner from both sides.

Differentiability asks whether the QUOTIENT settles. At a corner the numerator settles to zero but the denominator also goes to zero, so their ratio is governed by how fast each side approaches — and the two sides approach at different rates, giving different finite slopes.

A vertical tangent is the same failure with a different shape: there the numerator shrinks much faster than the denominator, so the ratio grows without bound. It is still one number (infinity) in a loose sense, but not a real number, so no derivative exists.

So the three failures are one failure — the quotient has no finite two-sided limit — seen from three directions.

Worked example: a piecewise rule with a corner

Letf(x)=x2f(x) = x^2 forx≤1x \le 1 andf(x)=2x−1f(x) = 2x - 1 forx>1x > 1. Isff differentiable at11?

Continuity first. From the left,f(1)=1f(1) = 1. From the right,2(1)−1=12(1) - 1 = 1. They agree, soff is continuous at11.

Left-hand derivative. Onx≤1x \le 1 the rule isx2x^2, whose derivative is2x2x; at11 that is22.

Right-hand derivative. Onx>1x > 1 the rule is2x−12x - 1, whose derivative is the constant22.

Compare. Both one-sided derivatives are22, sof′(1)=2f'(1) = 2 exists. This join is smooth even though the formula changes.

A second version, with a corner. Replace the right piece by3x−23x - 2. Continuity still holds 3−2=13 - 2 = 1), but the right-hand derivative is3≠23 \ne 2. Sof′(1)f'(1) does not exist, and the graph has a corner at(1,1)(1, 1) — visible as a change in steepness without a break.

By the end you can
  • Test differentiability with the two one-sided difference quotients
  • Name a corner, a cusp and a vertical tangent from a graph or a formula
  • Explain why continuity does not imply differentiability
  • Distinguish a function's value at a corner from its slope
Check yourself

1. Show thatf(x)=∣2x∣f(x) = |2x| is not differentiable at00. 2. Isf(x)=x∣x∣f(x) = x|x| differentiable at00? Compute both one-sided quotients. 3. A piecewise rule has left slope44 and right slope44 at the join, and the pieces meet. Is it differentiable there?

Answers

1. Forh>0h>0 the quotient is22; forh<0h<0 it is−2-2. They disagree, so no derivative. 2. On the right the quotient ishh, which tends to00; on the left it is−h-h, which also tends to00. The two sides agree, sof′(0)=0f'(0) = 0 exists — no corner, just a flat spot. 3. Yes: the pieces meet (continuity) and the one-sided slopes agree, so the derivative exists and equals44.

Work out where to start — free, no accountAnswer six real questions — free, no account