Year 1 Pure · Chapter 12

Differentiation

Specification: Edexcel Pure 7 — Differentiation  ·  AQA section G

In this chapter
  1. 1. The gradient function
  2. 2. Differentiation from first principles
  3. 3. The power rule
  4. 4. Interpreting derivatives
  5. Practice

Key facts — this chapter

  • The derivative dydx\dfrac{dy}{dx} is the gradient of the curve at each point — the slope of its tangent there.
  • From first principles: dydx=lim⁡h→0f(x+h)−f(x)h\dfrac{dy}{dx} = \displaystyle\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}.
  • Power rule: if y=xny = x^n then dydx=nx n−1\dfrac{dy}{dx} = nx^{\,n-1} — multiply by the power, then drop the power by one.
  • Differentiate a polynomial term by term; constants differentiate to 00.
  • For negative or fractional powers, rewrite in index form first, then apply the rule.
  • The second derivative d2ydx2\dfrac{d^2y}{dx^2} is the derivative of the derivative — the rate at which the gradient is changing.

Differentiation measures how steep a curve is at each point. A straight line has one gradient everywhere; a curve’s gradient changes as you move along it, and the derivative is the function that gives it to you.

1. The gradient function

At each point of a curve, the tangent has a gradient. Collect those gradients for every xx and you get a new function — the gradient function (or derivative), written dydx\dfrac{dy}{dx} or f′(x)f'(x).

Key result

dydx\dfrac{dy}{dx} is the gradient of the curve at each xx. So:

  • where the curve is rising, dydx>0\dfrac{dy}{dx} > 0;
  • where it is falling, dydx<0\dfrac{dy}{dx} < 0;
  • at a turning point (a flat tangent), dydx=0\dfrac{dy}{dx} = 0.
A curve with tangents at three points above, and its gradient function (a parabola) below, with matching points
Read the slope of the tangent at each point and you trace out the gradient function below.

This is the picture to keep in your head: the derivative is just the original curve’s slope, plotted as its own graph.

2. Differentiation from first principles

Before the shortcut, here’s where the derivative comes from. Take two points on the curve a small distance hh apart and find the gradient of the chord joining them; then shrink hh to zero.

Key result

dydx=lim⁡h→0f(x+h)−f(x)h\frac{dy}{dx} = \lim_{h\to 0}\frac{f(x+h) - f(x)}{h}

The fraction is the gradient of the chord from xx to x+hx+h. As h→0h \to 0 the chord swings round until it becomes the tangent, and its gradient becomes the derivative.

A curve with a chord between x and x plus h, with the rise f(x+h) minus f(x) over the run h
The chord's gradient is rise over run; let h → 0 and it becomes the tangent's.

On y = x², the chord from x = 1 to x = 1 + h has gradient (f(1+h) − f(1))/h. Shrink h and watch the chord swing onto the tangent — its gradient heading for 2.

the dashed line is the tangent at x = 1 (gradient 2) — the chord approaches it

Worked example 12.1 · Differentiating x² from first principles

Use first principles to differentiate y=x2y = x^2.


  1. Form the chord gradient with f(x)=x2f(x) = x^2:

    f(x+h)−f(x)h=(x+h)2−x2h\frac{f(x+h) - f(x)}{h} = \frac{(x+h)^2 - x^2}{h}
  2. Expand and simplify the top:

    =x2+2xh+h2−x2h=2xh+h2h=2x+h= \frac{x^2 + 2xh + h^2 - x^2}{h} = \frac{2xh + h^2}{h} = 2x + h
  3. Let h→0h \to 0:

    dydx=lim⁡h→0(2x+h)=2x\frac{dy}{dx} = \lim_{h\to 0}(2x + h) = 2x

3. The power rule

Doing that for every function would be exhausting — happily, a single rule handles all powers of xx.

Key result

y=xn    ⟹    dydx=n x n−1y = x^n \;\;\Longrightarrow\;\; \frac{dy}{dx} = n\,x^{\,n-1}

Multiply by the power, then knock one off the power. For a sum, differentiate each term separately; a constant multiple stays, and a lone constant goes to 00 (its graph is flat).

Worked example 12.2 · Differentiating a polynomial

Differentiate y=3x4−2x2+5x−7y = 3x^4 - 2x^2 + 5x - 7.


Apply the rule term by term:

dydx=3(4x3)−2(2x)+5(1)−0=12x3−4x+5\frac{dy}{dx} = 3(4x^3) - 2(2x) + 5(1) - 0 = 12x^3 - 4x + 5

Worked example 12.3 · Negative and fractional powers

Differentiate y=4x2+xy = \dfrac{4}{x^2} + \sqrt{x}.


  1. Rewrite in index form first:

    y=4x−2+x1/2y = 4x^{-2} + x^{1/2}
  2. Apply the power rule to each:

    dydx=4(−2)x−3+12x−1/2=−8x−3+12x−1/2\frac{dy}{dx} = 4(-2)x^{-3} + \tfrac{1}{2}x^{-1/2} = -8x^{-3} + \tfrac{1}{2}x^{-1/2}
  3. (Optional) write back in surd/fraction form:

    dydx=−8x3+12x\frac{dy}{dx} = -\frac{8}{x^3} + \frac{1}{2\sqrt{x}}

Common mistake

You must rewrite roots and fractions as powers before differentiating. x\sqrt{x} is x1/2x^{1/2}, and 1x2\frac{1}{x^2} is x−2x^{-2} — you can’t differentiate them while they’re still dressed as a root or a fraction.

4. Interpreting derivatives

Once you have dydx\dfrac{dy}{dx}, substitute a value of xx to get the gradient at that point — and differentiate again for the second derivative.

Key result

  • dydx\dfrac{dy}{dx} evaluated at x=ax = a is the gradient of the curve at x=ax = a.
  • The second derivative d2ydx2\dfrac{d^2y}{dx^2} (or f′′(x)f''(x)) is found by differentiating a second time. It measures how the gradient itself is changing.
A cubic with a maximum and a minimum, each marked with a flat tangent where the gradient is zero
Where the gradient is zero, the tangent is flat — a turning point.

Worked example 12.4 · Gradient at a point, and the second derivative

For y=x3−4xy = x^3 - 4x, find the gradient at x=2x = 2 and the second derivative.


  1. Differentiate:

    dydx=3x2−4\frac{dy}{dx} = 3x^2 - 4
  2. The gradient at x=2x = 2:

    dydx∣x=2=3(2)2−4=12−4=8\left.\frac{dy}{dx}\right|_{x=2} = 3(2)^2 - 4 = 12 - 4 = 8
  3. Differentiate again for the second derivative:

    d2ydx2=6x\frac{d^2y}{dx^2} = 6x

Common mistake

A gradient is a number at a chosen point; the derivative is a function. “Find the gradient at x=2x = 2” means differentiate first, then substitute x=2x = 2 — never substitute into yy before differentiating.

Practice

Twelve questions in three tiers. Try each one properly before opening the solution — the solutions show full method, not just answers.

Warm-up

1 [3 marks]

Differentiate with respect to xx:

  1. y=x5y = x^5
  2. y=3x2y = 3x^2
  3. y=7y = 7
Show solution

(a) dydx=5x4\dfrac{dy}{dx} = 5x^4.

(b) dydx=6x\dfrac{dy}{dx} = 6x.

(c) A constant has zero gradient: dydx=0\dfrac{dy}{dx} = 0.

2 [3 marks]

Differentiate y=4x3−5x2+2x−9y = 4x^3 - 5x^2 + 2x - 9.

Show solution

Term by term:

dydx=12x2−10x+2\frac{dy}{dx} = 12x^2 - 10x + 2
3 [2 marks]

Find the gradient of y=x2−3xy = x^2 - 3x at the point where x=4x = 4.

Show solution

Differentiate, then substitute:

dydx=2x−3    ⟹    dydx∣x=4=8−3=5\frac{dy}{dx} = 2x - 3 \;\;\Longrightarrow\;\; \left.\frac{dy}{dx}\right|_{x=4} = 8 - 3 = 5
4 [2 marks]

Given y=2x4y = 2x^4, find d2ydx2\dfrac{d^2y}{dx^2}.

Show solution
dydx=8x3,d2ydx2=24x2\frac{dy}{dx} = 8x^3, \qquad \frac{d^2y}{dx^2} = 24x^2

Standard

5 [3 marks]

Differentiate y=6x3y = \dfrac{6}{x^3}.

Show solution

Rewrite as y=6x−3y = 6x^{-3}, then apply the power rule:

dydx=6(−3)x−4=−18x−4=−18x4\frac{dy}{dx} = 6(-3)x^{-4} = -18x^{-4} = -\frac{18}{x^4}
6 [3 marks]

Differentiate y=4xy = 4\sqrt{x}.

Show solution

Rewrite as y=4x1/2y = 4x^{1/2}:

dydx=4×12x−1/2=2x−1/2=2x\frac{dy}{dx} = 4 \times \tfrac{1}{2}x^{-1/2} = 2x^{-1/2} = \frac{2}{\sqrt{x}}
7 [4 marks]

A curve has equation y=x3−6x2+9xy = x^3 - 6x^2 + 9x. Find the values of xx at which the gradient is zero.

Show solution
  1. Differentiate:

    dydx=3x2−12x+9\frac{dy}{dx} = 3x^2 - 12x + 9
  2. Set equal to zero and solve:

    3x2−12x+9=0x2−4x+3=0(x−1)(x−3)=0\begin{aligned} 3x^2 - 12x + 9 &= 0 \\[0.3em] x^2 - 4x + 3 &= 0 \\[0.3em] (x-1)(x-3) &= 0 \end{aligned}

So the gradient is zero at x=1x = 1 and x=3x = 3.

8 [4 marks]

Differentiate y=x2(2x−3)y = x^2(2x - 3).

Show solution

Expand first — the power rule needs separate powers of xx:

y=2x3−3x2    ⟹    dydx=6x2−6xy = 2x^3 - 3x^2 \;\;\Longrightarrow\;\; \frac{dy}{dx} = 6x^2 - 6x
9 [5 marks]

Use differentiation from first principles to find the derivative of y=x2+3xy = x^2 + 3x.

Show solution
  1. Form the chord gradient with f(x)=x2+3xf(x) = x^2 + 3x:

    f(x+h)−f(x)h=[(x+h)2+3(x+h)]−[x2+3x]h\frac{f(x+h) - f(x)}{h} = \frac{\big[(x+h)^2 + 3(x+h)\big] - \big[x^2 + 3x\big]}{h}
  2. Expand the top: (x2+2xh+h2+3x+3h)−(x2+3x)=2xh+h2+3h(x^2 + 2xh + h^2 + 3x + 3h) - (x^2 + 3x) = 2xh + h^2 + 3h.

  3. Divide by hh and let h→0h \to 0:

    2xh+h2+3hh=2x+h+3    →  h→0      2x+3\frac{2xh + h^2 + 3h}{h} = 2x + h + 3 \;\;\xrightarrow{\;h\to 0\;}\;\; 2x + 3

So dydx=2x+3\dfrac{dy}{dx} = 2x + 3.

Exam style

10 [5 marks]

The curve CC has equation y=x3+2xxy = \dfrac{x^3 + 2x}{\sqrt{x}}, for x>0x > 0.

  1. Show that yy can be written as x5/2+2x1/2x^{5/2} + 2x^{1/2}. [2]
  2. Hence find dydx\dfrac{dy}{dx}. [3]
Show solution

(a) Divide each term by x=x1/2\sqrt{x} = x^{1/2}:

y=x3x1/2+2xx1/2=x3−1/2+2x1−1/2=x5/2+2x1/2y = \frac{x^3}{x^{1/2}} + \frac{2x}{x^{1/2}} = x^{3 - 1/2} + 2x^{1 - 1/2} = x^{5/2} + 2x^{1/2}

(b) Apply the power rule:

dydx=52x3/2+2×12x−1/2=52x3/2+x−1/2\frac{dy}{dx} = \tfrac{5}{2}x^{3/2} + 2 \times \tfrac{1}{2}x^{-1/2} = \tfrac{5}{2}x^{3/2} + x^{-1/2}
11 [5 marks]

The curve y=x3−3x2+4y = x^3 - 3x^2 + 4 passes through the point P(1,2)P(1, 2).

  1. Find the gradient of the curve at PP. [3]
  2. Find the value of xx, other than at PP, where the curve has the same gradient as at PP. [2]
Show solution

(a) dydx=3x2−6x\dfrac{dy}{dx} = 3x^2 - 6x. At x=1x = 1: 3−6=−33 - 6 = -3.

(b) Set the gradient equal to −3-3:

3x2−6x=−3    ⟹    3x2−6x+3=0    ⟹    (x−1)2=03x^2 - 6x = -3 \;\;\Longrightarrow\;\; 3x^2 - 6x + 3 = 0 \;\;\Longrightarrow\;\; (x-1)^2 = 0

The only solution is x=1x = 1 (a repeated root), so there is no other point with gradient −3-3 — the curve has that gradient only at PP.

12 [6 marks]

For the curve y=2x3−9x2+12xy = 2x^3 - 9x^2 + 12x:

  1. Find dydx\dfrac{dy}{dx} and d2ydx2\dfrac{d^2y}{dx^2}. [3]
  2. Find the xx-values where dydx=0\dfrac{dy}{dx} = 0. [2]
  3. Evaluate d2ydx2\dfrac{d^2y}{dx^2} at each of those xx-values. [1]
Show solution

(a)

dydx=6x2−18x+12,d2ydx2=12x−18\frac{dy}{dx} = 6x^2 - 18x + 12, \qquad \frac{d^2y}{dx^2} = 12x - 18

(b) Solve 6x2−18x+12=06x^2 - 18x + 12 = 0:

x2−3x+2=0    ⟹    (x−1)(x−2)=0    ⟹    x=1 or x=2x^2 - 3x + 2 = 0 \;\;\Longrightarrow\;\; (x-1)(x-2) = 0 \;\;\Longrightarrow\;\; x = 1 \text{ or } x = 2

(c) At x=1x = 1: d2ydx2=12−18=−6\dfrac{d^2y}{dx^2} = 12 - 18 = -6. At x=2x = 2: 24−18=624 - 18 = 6.

(The negative value flags a maximum at x=1x = 1, the positive a minimum at x=2x = 2 — a Chapter 13 idea.)