✏️ Differentiating Powers of x

A Level Maths Year 1 · Differentiation

Level 3 · Ages 16–17

← Back to topic overview
1 The Power Rule
First principles showed that $x^2 \to 2x$, $x^3 \to 3x^2$ and $\dfrac1x \to -\dfrac{1}{x^2}$. All of these follow one rule: multiply by the power, then reduce the power by one. DfE content area G requires you to differentiate $x^n$ for rational values of $n$ — positive, negative and fractional — together with constant multiples, sums and differences.
Differentiating powers of x
$y = kx^n \;\Rightarrow\; \dfrac{\mathrm{d}y}{\mathrm{d}x} = knx^{n-1}$     (any rational $n$, any constant $k$)
RuleIn symbolsExample
Constant multiple$\dfrac{\mathrm{d}}{\mathrm{d}x}\left(k\,\mathrm{f}(x)\right) = k\,\mathrm{f}'(x)$$7x^3 \to 21x^2$
Sum and difference$\dfrac{\mathrm{d}}{\mathrm{d}x}\left(\mathrm{f} \pm \mathrm{g}\right) = \mathrm{f}' \pm \mathrm{g}'$$x^2 + x^3 \to 2x + 3x^2$
Linear term$kx \to k$$-5x \to -5$
Constant$c \to 0$$9 \to 0$
Worked Example 1 — A polynomial

Find $\dfrac{\mathrm{d}y}{\mathrm{d}x}$ when $y = 4x^5 - 3x^2 + 7x - 2$.

①$4x^5 \to 4 \times 5x^4 = 20x^4$
②$-3x^2 \to -6x$;   $7x \to 7$;   $-2 \to 0$
③$\dfrac{\mathrm{d}y}{\mathrm{d}x} = 20x^4 - 6x + 7$
2 Negative and Fractional Powers

The rule only works on terms written as $kx^n$. Roots and fractions must be rewritten using the laws of indices first.

Written asRewrite asDerivativeTidied
$\dfrac{1}{x^2}$$x^{-2}$$-2x^{-3}$$-\dfrac{2}{x^3}$
$\sqrt{x}$$x^{1/2}$$\tfrac12 x^{-1/2}$$\dfrac{1}{2\sqrt x}$
$\dfrac{1}{\sqrt x}$$x^{-1/2}$$-\tfrac12 x^{-3/2}$$-\dfrac{1}{2x\sqrt x}$
$\sqrt[3]{x^2}$$x^{2/3}$$\tfrac23 x^{-1/3}$$\dfrac{2}{3\sqrt[3]{x}}$
$x\sqrt{x}$$x^{3/2}$$\tfrac32 x^{1/2}$$\tfrac32\sqrt x$
Subtracting one from a negative power makes it more negative. $x^{-2} \to -2x^{-3}$, not $-2x^{-1}$. And $\dfrac{4}{3x^3}$ is $\tfrac43 x^{-3}$ — the $3$ is not raised to the power.
Worked Example 2 — Negative power

Differentiate $y = \dfrac{6}{x^2}$.

①Rewrite: $y = 6x^{-2}$
②$\dfrac{\mathrm{d}y}{\mathrm{d}x} = 6 \times (-2)x^{-3} = -12x^{-3} = -\dfrac{12}{x^3}$
Worked Example 3 — Square root

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

①$y = 4x^{1/2}$
②$\dfrac{\mathrm{d}y}{\mathrm{d}x} = 4 \times \tfrac12 x^{-1/2} = 2x^{-1/2} = \dfrac{2}{\sqrt x}$
Worked Example 4 — Two fractional powers

Differentiate $y = \dfrac{3}{\sqrt x} + x\sqrt x$.

①$y = 3x^{-1/2} + x^{3/2}$
②$\dfrac{\mathrm{d}y}{\mathrm{d}x} = 3 \times \left(-\tfrac12\right)x^{-3/2} + \tfrac32 x^{1/2}$
③$= -\tfrac32 x^{-3/2} + \tfrac32 x^{1/2}$
3 Rewriting Before Differentiating
At this stage there is no rule for products or quotients (those come in Year 2). So brackets must be multiplied out, and fractions with a single-term denominator must be split into separate terms, before you differentiate.
You cannot differentiate a product term by term. The derivative of $(2x-1)(x+3)$ is not $(2)(1) = 2$. Expand first.
Worked Example 5 — Expanding brackets

Differentiate $y = (2x - 1)(x + 3)$.

①Expand: $y = 2x^2 + 6x - x - 3 = 2x^2 + 5x - 3$
②$\dfrac{\mathrm{d}y}{\mathrm{d}x} = 4x + 5$
Worked Example 6 — Splitting a fraction

Differentiate $y = \dfrac{x^3 - 4x + 1}{x^2}$.

①Divide each term by $x^2$: $y = \dfrac{x^3}{x^2} - \dfrac{4x}{x^2} + \dfrac{1}{x^2} = x - 4x^{-1} + x^{-2}$
②$\dfrac{\mathrm{d}y}{\mathrm{d}x} = 1 + 4x^{-2} - 2x^{-3} = 1 + \dfrac{4}{x^2} - \dfrac{2}{x^3}$
Worked Example 7 — Squaring a bracket with a root

Differentiate $y = \left(\sqrt x + 2\right)^2$.

①Expand: $\left(\sqrt x\right)^2 + 4\sqrt x + 4 = x + 4x^{1/2} + 4$
②$\dfrac{\mathrm{d}y}{\mathrm{d}x} = 1 + 2x^{-1/2} = 1 + \dfrac{2}{\sqrt x}$
4 Gradients at Points, and Rates of Change
Worked Example 8 — Gradient at a point

Find the gradient of $y = 2\sqrt x + \dfrac{8}{x}$ at the point where $x = 4$.

①$y = 2x^{1/2} + 8x^{-1}$, so $\dfrac{\mathrm{d}y}{\mathrm{d}x} = x^{-1/2} - 8x^{-2}$.
②At $x = 4$: $\dfrac{1}{\sqrt4} - \dfrac{8}{16} = \dfrac12 - \dfrac12 = 0$.
③The gradient is $0$: the tangent is horizontal there (a stationary point).
Worked Example 9 — Points with a given gradient

Find the coordinates of the points on $y = x^3 - 6x^2 + 5$ where the gradient is $-9$.

①$\dfrac{\mathrm{d}y}{\mathrm{d}x} = 3x^2 - 12x = -9$
②$3x^2 - 12x + 9 = 0 \Rightarrow x^2 - 4x + 3 = 0 \Rightarrow (x - 1)(x - 3) = 0$
③$x = 1$: $y = 1 - 6 + 5 = 0$.   $x = 3$: $y = 27 - 54 + 5 = -22$.
④Points $(1, 0)$ and $(3, -22)$.
Other letters. $\dfrac{\mathrm{d}y}{\mathrm{d}x}$ is the rate of change of $y$ with respect to $x$. The same rule works with any variables: if $s = 4t^2 - t^3$ then $\dfrac{\mathrm{d}s}{\mathrm{d}t} = 8t - 3t^2$; if $V = \tfrac43\pi r^3$ then $\dfrac{\mathrm{d}V}{\mathrm{d}r} = 4\pi r^2$. Treat $\pi$ as the constant it is.
5 The Second Derivative
Differentiate twice
$\dfrac{\mathrm{d}^2y}{\mathrm{d}x^2} = \dfrac{\mathrm{d}}{\mathrm{d}x}\left(\dfrac{\mathrm{d}y}{\mathrm{d}x}\right)$     or     $\mathrm{f}''(x)$

The second derivative is the rate of change of the gradient. It tells you whether the gradient is increasing or decreasing, which is how it is used to classify stationary points. In mechanics, if $s$ is displacement then $\frac{\mathrm{d}s}{\mathrm{d}t}$ is velocity and $\frac{\mathrm{d}^2s}{\mathrm{d}t^2}$ is acceleration.

Worked Example 10 — Two derivatives

(a) $y = x^4 - 2x^3 + 5x$. Find $\dfrac{\mathrm{d}^2y}{\mathrm{d}x^2}$.   (b) $\mathrm{f}(x) = 6\sqrt x$. Find $\mathrm{f}''(4)$.

①(a) $\dfrac{\mathrm{d}y}{\mathrm{d}x} = 4x^3 - 6x^2 + 5$, so $\dfrac{\mathrm{d}^2y}{\mathrm{d}x^2} = 12x^2 - 12x$.
②(b) $\mathrm{f}(x) = 6x^{1/2}$, $\;\mathrm{f}'(x) = 3x^{-1/2}$, $\;\mathrm{f}''(x) = -\tfrac32 x^{-3/2}$.
③$4^{-3/2} = \dfrac{1}{8}$, so $\mathrm{f}''(4) = -\dfrac32 \times \dfrac18 = -\dfrac{3}{16}$.
$\dfrac{\mathrm{d}^2y}{\mathrm{d}x^2}$ is not $\left(\dfrac{\mathrm{d}y}{\mathrm{d}x}\right)^2$. You differentiate again; you do not square.
6 Quick Reference

Power rule

$kx^n \to knx^{n-1}$, any rational $n$.

Constants

$c \to 0$;  $kx \to k$

Sums

Differentiate term by term.

Roots

$\sqrt[m]{x^n} = x^{n/m}$

Reciprocals

$\dfrac{1}{x^n} = x^{-n}$

Products

Expand the brackets first.

Quotients

Split over a single-term denominator.

Gradient at a point

Substitute $x$ into $\dfrac{\mathrm{d}y}{\mathrm{d}x}$.

Second derivative

$\dfrac{\mathrm{d}^2y}{\mathrm{d}x^2}$ or $\mathrm{f}''(x)$: differentiate again.

7 Practice Questions
Question 1

Differentiate $y = 5x^4 - 2x^3 + x - 9$.

▶ Show solution

$\dfrac{\mathrm{d}y}{\mathrm{d}x} = 20x^3 - 6x^2 + 1$

Question 2

Differentiate (a) $\dfrac{3}{x}$   (b) $8\sqrt x$   (c) $\sqrt[3]{x^2}$.

▶ Show solution

(a) $3x^{-1} \to -3x^{-2} = -\dfrac{3}{x^2}$

(b) $8x^{1/2} \to 4x^{-1/2} = \dfrac{4}{\sqrt x}$

(c) $x^{2/3} \to \tfrac23 x^{-1/3}$

Question 3

Find $\dfrac{\mathrm{d}y}{\mathrm{d}x}$ when $y = (x + 3)(x - 5)$.

▶ Show solution

$y = x^2 - 2x - 15$, so $\dfrac{\mathrm{d}y}{\mathrm{d}x} = 2x - 2$.

Question 4

Differentiate $y = \dfrac{x^2 + 6}{\sqrt x}$.

▶ Show solution

Split: $y = \dfrac{x^2}{x^{1/2}} + \dfrac{6}{x^{1/2}} = x^{3/2} + 6x^{-1/2}$.

$\dfrac{\mathrm{d}y}{\mathrm{d}x} = \tfrac32 x^{1/2} - 3x^{-3/2}$

Question 5

Find the gradient of $y = x^3 - 2x + 4$ at the point $(2, 8)$.

▶ Show solution

$\dfrac{\mathrm{d}y}{\mathrm{d}x} = 3x^2 - 2$. At $x = 2$: $12 - 2 = 10$.

Question 6

Given $\mathrm{f}(x) = 2x^5 - \dfrac{4}{x}$, find $\mathrm{f}'(x)$ and $\mathrm{f}''(x)$.

▶ Show solution

$\mathrm{f}(x) = 2x^5 - 4x^{-1}$

$\mathrm{f}'(x) = 10x^4 + 4x^{-2}$

$\mathrm{f}''(x) = 40x^3 - 8x^{-3}$

Question 7

Find the coordinates of the points on $y = x^3 - 3x^2 - 9x + 2$ where the gradient is zero.

▶ Show solution

$\dfrac{\mathrm{d}y}{\mathrm{d}x} = 3x^2 - 6x - 9 = 3(x^2 - 2x - 3) = 3(x - 3)(x + 1) = 0$

$x = 3$: $y = 27 - 27 - 27 + 2 = -25$.   $x = -1$: $y = -1 - 3 + 9 + 2 = 7$.

Points $(3, -25)$ and $(-1, 7)$.

Question 8

The curve $y = ax^2 + bx$ has gradient $7$ at $x = 1$ and gradient $-5$ at $x = -2$. Find $a$ and $b$.

▶ Show solution

$\dfrac{\mathrm{d}y}{\mathrm{d}x} = 2ax + b$.

$x = 1$: $2a + b = 7$.   $x = -2$: $-4a + b = -5$.

Subtract: $6a = 12$, so $a = 2$ and $b = 3$.

Question 9

$\mathrm{f}(x) = 4x^{3/2} - 6x^{1/2}$ for $x > 0$. (a) Solve $\mathrm{f}'(x) = 0$. (b) Find the exact value of $\mathrm{f}''(x)$ at this value of $x$.

▶ Show solution

(a) $\mathrm{f}'(x) = 6x^{1/2} - 3x^{-1/2}$. Multiply $\mathrm{f}'(x) = 0$ by $x^{1/2}$: $6x - 3 = 0$, so $x = \tfrac12$.

(b) $\mathrm{f}''(x) = 3x^{-1/2} + \tfrac32 x^{-3/2}$.

$\left(\tfrac12\right)^{-1/2} = \sqrt2$ and $\left(\tfrac12\right)^{-3/2} = 2\sqrt2$.

$\mathrm{f}''\left(\tfrac12\right) = 3\sqrt2 + 3\sqrt2 = 6\sqrt2$.

Question 10

A ball is thrown vertically upwards. Its height above the ground after $t$ seconds is modelled by $h = 20t - 5t^2$ metres.

(a) Find $\dfrac{\mathrm{d}h}{\mathrm{d}t}$ and hence the velocity after $1$ second.   (b) Find when the ball is momentarily at rest, and its height then.   (c) Find $\dfrac{\mathrm{d}^2h}{\mathrm{d}t^2}$ and interpret it.   (d) Find the velocity with which the ball hits the ground.

▶ Show solution

(a) $\dfrac{\mathrm{d}h}{\mathrm{d}t} = 20 - 10t$. At $t = 1$: $10$ m s$^{-1}$ (upwards).

(b) $20 - 10t = 0 \Rightarrow t = 2$ s. Height $= 40 - 20 = 20$ m.

(c) $\dfrac{\mathrm{d}^2h}{\mathrm{d}t^2} = -10$: a constant acceleration of $10$ m s$^{-2}$ downwards — the model's value for gravity.

(d) $h = 0 \Rightarrow 5t(4 - t) = 0 \Rightarrow t = 4$ (not $t = 0$, which is the throw). Velocity $= 20 - 40 = -20$ m s$^{-1}$, i.e. $20$ m s$^{-1}$ downwards.

Differentiating Powers of x · A Level Maths Year 1 · Created with MathJax