Differentiation finds the gradient of a curve at any point. It's used to find tangents, maximum and minimum values, and how fast quantities change.

Key ideas: rules

FunctionDerivative
xⁿnxⁿ⁻¹
sin x, cos x, tan x (x in radians)cos x, −sin x, sec²x
eˣeˣ
ln x1/x
Chain rule: y = f(g(x))dy/dx = f′(g(x)) × g′(x)
Product rule: y = uvdy/dx = u dv/dx + v du/dx
Quotient rule: y = u/vdy/dx = (v du/dx − u dv/dx)/v²

Applications

  • Tangent at x = a: gradient = f′(a). Normal: gradient = −1/f′(a).
  • Stationary points: solve dy/dx = 0. If d²y/dx² > 0 it's a minimum; if < 0 it's a maximum.
  • Rates of change: dy/dt = dy/dx × dx/dt.

Worked example 1

Differentiate y = (3x² + 1)⁴.

Chain rule: dy/dx = 4(3x² + 1)³ × 6x = 24x(3x² + 1)³.

Worked example 2: tangent

Find the equation of the tangent to y = x³ − 2x at (2, 4).

dy/dx = 3x² − 2 = 10 at x = 2. y − 4 = 10(x − 2), so y = 10x − 16.

Worked example 3: maximum area

A rectangle has perimeter 40 cm. Find the maximum area.

Sides x and 20 − x: A = 20x − x². dA/dx = 20 − 2x = 0, so x = 10; d²A/dx² = −2 < 0, so it's a maximum. Maximum area = 100 cm².

Worked example 4: rate of change

The radius of a circle increases at 0.5 cm/s. How fast is the area increasing when r = 4 cm?

dA/dr = 2πr = 8π, so dA/dt = 8π × 0.5 = 4π ≈ 12.6 cm²/s.

Common mistakes

  • Forgetting the inner derivative in the chain rule.
  • Differentiating trig functions with x in degrees.
  • Not checking whether a stationary point is a maximum or minimum.

Try these

  1. Differentiate y = x² sin x.
  2. Find the stationary point of y = x² − 6x + 10 and its nature.
  3. Differentiate y = ln(3x + 1).
Show answers
  1. 2x sin x + x² cos x
  2. dy/dx = 2x − 6 = 0 at x = 3; (3, 1) is a minimum point
  3. 3/(3x + 1)