The derivative from the definition
f′(a) = lim h→0 of (f(a + h) − f(a))/h.
The derivative f′(a) is the instantaneous rate of change: the slope of the tangent line at x = a. It is defined as the limit of average rates over smaller and smaller intervals: f′(a) = lim h→0 of (f(a + h) − f(a))/h. Expand, cancel the h, then let h go to 0.
Example: f(x) = x², a = 3
- ((3 + h)² − 9)/h — The difference quotient
- (6h + h²)/h = 6 + h — Expand and cancel h
- 6 — Let h → 0
Why it works: Bring the two points closer and closer. The slope of the line through them settles on the slope at a single point, the derivative.
Tip: If you get 0/0 after substituting h = 0, you haven’t canceled the h yet.