Pure Mathematics Year 1, chapter 12 (Differentiation), section 12.2
The derivative
The derivative of f(x) gives the gradient of the curve at any point. It is written f′(x) or dxdy (for y=f(x)).
Differentiating from first principles uses the definition directly:
f′(x)=h→0limhf(x+h)−f(x)
The fraction is the gradient of a chord, and as h→0 the chord becomes the tangent.
Method
Write f(x+h) and f(x).
Form hf(x+h)−f(x) and expand the numerator.
Cancel the h so that none is left in the denominator.
Let h→0.
Worked example 1
Differentiate f(x)=x2 from first principles.
h(x+h)2−x2=h2xh+h2=2x+h
As h→0 this tends to 2x, so f′(x)=2x.
Worked example 2
Differentiate f(x)=x3 from first principles.
h(x+h)3−x3=h3x2h+3xh2+h3=3x2+3xh+h2
As h→0, f′(x)=3x2.
Worked example 3
Differentiate f(x)=x2+3x from first principles.
h(x+h)2+3(x+h)−x2−3x=h2xh+h2+3h=2x+3+h→2x+3
Notation
f′(x) is the derivative of f(x).
dxdy is the derivative of y with respect to x. It is not a fraction you can cancel.
Common mistake: putting h=0 too early. Cancel the h first, because the fraction is undefined when h=0. Also expand (x+h)2 fully: it is x2+2xh+h2, not x2+h2.
Exam tip: in a first-principles question, show every line: the expression for f(x+h), the simplified fraction, and then the limit. Write "as h→0" before the final answer.
Check yourself
What does dxdy represent?
The gradient of the curve y=f(x) at a point, a rate of change of y with respect to x.