The Derivative as a Limit

AP Calculus AB · Unit 2 — Differentiation: Definition and Fundamental Properties

Two equivalent definitions

The derivative of $f$ at $x=a$ is

$$f'(a)=\lim_{h\to0}\frac{f(a+h)-f(a)}{h}=\lim_{x\to a}\frac{f(x)-f(a)}{x-a}$$

Both compute the same number: the limit of the slope of a secant line as the second point slides into the first. The result is the slope of the tangent line at $x=a$, and equivalently the instantaneous rate of change of $f$ at $a$.

Reading these definitions backwards is a standard AP move. Given $\lim_{h\to0}\frac{(3+h)^4-81}{h}$, recognise $f(x)=x^4$ and $a=3$, so the limit is $f'(3)=4\cdot27=108$ — no algebra required.

h f(x+h) − f(x) (x, f(x)) (x+h, f(x+h)) secant — slope is the average rate tangent — limit as h → 0
The secant slides into the tangent. The blue line joins two points a horizontal distance $h$ apart; its slope is $\frac{f(x+h)-f(x)}{h}$ — exactly the ratio in the definition. As $h\to 0$ the right point slides toward the left point and the secant rotates into the dashed line: the tangent. The derivative is the slope of that dashed line.

Worked example: compute a derivative from the definition

Using the limit definition, compute $f'(x)$ for $f(x)=\sqrt{2x+1}$.

Solution

$$f'(x)=\lim_{h\to0}\frac{\sqrt{2(x+h)+1}-\sqrt{2x+1}}{h}$$

There is a root ⇒ multiply by the conjugate. The numerator becomes $\left(2x+2h+1\right)-\left(2x+1\right)=2h$:

$$=\lim_{h\to0}\frac{2h}{h\left(\sqrt{2x+2h+1}+\sqrt{2x+1}\right)}=\frac{2}{2\sqrt{2x+1}}=\frac{1}{\sqrt{2x+1}}$$

Cross-check with the chain rule (Unit 3): $\frac{1}{2}(2x+1)^{-1/2}\cdot 2$ — it matches.

Common mistake

If the problem gives $\lim_{h\to0}\frac{f(2+h)-f(2)}{h}$ then the center is $a=2$; but the problem also often gives $\lim_{h\to0}\frac{f(2+3h)-f(2)}{h}$ — this is not $f'(2)$ but $3f'(2)$. Always multiply and divide so the denominator matches exactly the amount added inside the parentheses: $\frac{f(2+3h)-f(2)}{3h}\cdot 3$.

Key takeaway

When you see a limit of the form “a difference divided by a quantity going to 0”, the first reflex is to ask “this is the derivative of which function, at which point” — usually ten times faster than algebraic manipulation.

← Asymptotes, Squeeze Theorem and the IVT · All AP Calculus AB lessons · Practice AP Calculus AB questions (free, instant scoring) · Differentiability and Continuity →