Do the chords settle?
f′(c) exists when the chord slopes settle to one finite value from both sides.
A corner
The derivative of f at c is the limit of the slope of a chord, [f(c + h) − f(c)]/h, as h → 0.
f(x) = |x| has a sharp corner at x = 0.
What is the derivative of |x| at x = 0?
What this lesson covers
The idea
f is differentiable at c if lim(h→0) [f(c + h) − f(c)]/h exists; that limit is f′(c). If it does not exist, f is not differentiable at c.
A corner
The derivative of f at c is the limit of the slope of a chord, [f(c + h) − f(c)]/h, as h → 0.
f(x) = |x| has a sharp corner at x = 0.
What is the derivative of |x| at x = 0?
- 0, the bottom of the V
- 1
- there is no derivative there
Shrink the chord from both sides
A chord joins (c, f(c)) to a nearby point. Tap from the left to take h = 0.5, 0.1, 0.01, 0.001 on the left of c, and from the right for the right. The table shows the slope of each chord. Where are the slopes heading?
Finite and equal
f is differentiable at c if lim(h→0⁻) [f(c + h) − f(c)]/h and lim(h→0⁺) [f(c + h) − f(c)]/h are both finite and equal. Their common value is f′(c). If lim(h→0) [f(c + h) − f(c)]/h does not exist, f is not differentiable at c.
x² at 1: both sides give 2, so f′(1) = 2. |x| at 0: −1 on the left and 1 on the right, so |x| is not differentiable at 0. [x] at 1: the left side is not finite, so [x] is not differentiable at 1.
f is differentiable in an interval [a, b] if it is differentiable at every point of it; at the end points we use the right hand derivative at a and the left hand derivative at b.
Notes
f′(c) = lim(h→0) [f(c + h) − f(c)]/h. f is differentiable at c if the left and right hand limits of this quotient are finite and equal; otherwise it is not differentiable at c (corners, jumps).
Check yourself
For f(x) = x², what is the slope of the chord from c = 1 with h = 0.1, i.e. [f(1.1) − f(1)]/0.1?
Answer: 2.1
(1.21 − 1)/0.1 = 0.21/0.1 = 2.1. As h → 0 the slopes go to 2, so f′(1) = 2.
For f(x) = |x| at 0, the left hand derivative is −1 and the right hand derivative is 1. So …
Which of these is not differentiable at x = 1?
- f′(0) = 0, their average. There is no averaging. The two one-sided limits must be equal.
- f is not differentiable at 0 — correct. Right. lim(h→0) [f(0 + h) − f(0)]/h does not exist.
- f′(0) = 1. The left side gives −1, so the limit does not exist.
- x². The slopes go to 2 from both sides: f′(1) = 2.
- |x − 1| — correct. Right: a corner at x = 1, with one-sided derivatives −1 and 1.
- 2x + 3. A straight line: every chord has slope 2, so f′(1) = 2.