Leave lesson

Pure · Differentiation

1 / 9

Differentiation from first principles

The definition every differentiation rule is built on — the gradient as the limit of a chord — and the "cancel the h, then let h → 0" technique for using it directly.

Pure · Differentiation

Differentiation from first principles

The definition every differentiation rule is built on — the gradient as the limit of a chord — and the "cancel the h, then let h → 0" technique for using it directly.

Why it works

Every differentiation rule you'll ever use rests on a single definition, and "from first principles" means going back to it instead of using a shortcut.

The gradient of a straight line is easy — rise over run. A curve's gradient keeps changing, so we sneak up on it. Take the point at xx and a second point a small step hh further along, at x+hx + h. The straight line joining them (a chord) has gradient f(x+h)f(x)h(rise over run).\frac{f(x+h) - f(x)}{h} \quad (\text{rise over run}). Now slide that second point in, letting hh shrink toward 00: the chord pivots until it becomes the tangent, and its gradient becomes the gradient of the curve itself. That limit is the derivative: f(x)=limh0f(x+h)f(x)h.f'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}.

Here's the move that makes it actually work. You can't just put h=0h = 0 straight away — the fraction collapses to 00\frac{0}{0}, which tells you nothing. Instead you simplify first: expand f(x+h)f(x+h), subtract f(x)f(x), and you'll find every surviving term on top still carries a factor of hh. That hh cancels the one underneath, leaving an expression with no hh in the denominator. Now it is safe to let h0h \to 0 — set the leftover hh's to zero — and read off the answer.

For f(x)=x2f(x) = x^2: f(x+h)=(x+h)2=x2+2xh+h2f(x+h) = (x+h)^2 = x^2 + 2xh + h^2. Subtract f(x)f(x): 2xh+h22xh + h^2. Divide by hh: 2x+h2x + h. Let h0h \to 0: 2x2x — exactly the power rule, but now you have seen where it comes from. That's the whole point: the shortcut rules are theorems, and this is their proof.