Example 1 — The definition, from scratch
Find f'(2) for f(x) = x2, using the definition of the derivative.
- Setup: f'(2) = limh→0 (2 + h)2 − 4h.
- Expand the numerator: (2 + h)2 − 4 = 4 + 4h + h2 − 4 = 4h + h2.
- Cancel h: 4h + h2h = 4 + h.
- Take the limit as h → 0: 4 + 0 = 4. So f'(2) = 4.
- Check: the power rule gives f'(x) = 2x, so f'(2) = 4. ✔
The secant line (red) closes in on the tangent line (green) as h → 0.