impera Open Impera

A levels Mathematics · Pure: calculus and numerical methods

Chain, product and quotient rules

1Derivatives to know

Beyond the power rule, you need these standard derivatives ($x$ in radians for trigonometry):

  • $\dfrac{d}{dx}(e^{kx}) = ke^{kx}$
  • $\dfrac{d}{dx}(\ln x) = \dfrac{1}{x}$
  • $\dfrac{d}{dx}(\sin kx) = k\cos kx$
  • $\dfrac{d}{dx}(\cos kx) = -k\sin kx$
  • $\dfrac{d}{dx}(\tan kx) = k\sec^2 kx$
  • $\dfrac{d}{dx}(a^x) = a^x\ln a$

The derivatives of $\sin x$ and $\cos x$ can be proved from first principles using the small angle approximations $\sin h \approx h$ and $\cos h \approx 1 - \frac{h^2}{2}$.

Check yourself

What is the derivative of cos 3x?

  • 3 sin 3x

  • −3 sin 3x

  • 3 cos 3x

  • −sin 3x

Show the answer

−3 sin 3x

The derivative of cos is −sin, times the inner coefficient.

2The chain rule

The chain rule differentiates a function of a function:

$$\frac{dy}{dx} = \frac{dy}{du} \times \frac{du}{dx}$$

In words: differentiate the outside, keep the inside the same, then multiply by the derivative of the inside.

Worked example

A power of a bracket

  1. $y = (3x^2 + 1)^5$. Let $u = 3x^2 + 1$, so $y = u^5$.
  2. $\dfrac{dy}{du} = 5u^4$ and $\dfrac{du}{dx} = 6x$.
  3. $\dfrac{dy}{dx} = 5(3x^2 + 1)^4 \times 6x = 30x(3x^2 + 1)^4$.
Worked example

Exponential and log

  1. $y = e^{x^2}$: $\dfrac{dy}{dx} = 2xe^{x^2}$.
  2. $y = \ln(5x - 2)$: $\dfrac{dy}{dx} = \dfrac{5}{5x - 2}$.

A useful pattern: $\dfrac{d}{dx}\ln f(x) = \dfrac{f'(x)}{f(x)}$.

Check yourself

What is the derivative of (2x − 1)⁴?

  • 8(2x − 1)³

  • 8(2x − 1)⁴

  • 4(2x − 1)³

  • 4(2x)³

Show the answer

8(2x − 1)³

4(2x − 1)³ × 2.

3The product rule

To differentiate a product $y = uv$, where $u$ and $v$ are both functions of $x$:

$$\frac{dy}{dx} = u\frac{dv}{dx} + v\frac{du}{dx}$$

Worked example

Polynomial times exponential

  1. $y = x^3e^{2x}$. Let $u = x^3$, $v = e^{2x}$.
  2. $u' = 3x^2$, $v' = 2e^{2x}$.
  3. $\dfrac{dy}{dx} = x^3 \cdot 2e^{2x} + e^{2x} \cdot 3x^2 = x^2e^{2x}(2x + 3)$.
Worked example

Polynomial times trig

  1. $y = x\sin x$.
  2. $\dfrac{dy}{dx} = x\cos x + \sin x$.

Factorise your answer where possible: it makes finding stationary points much easier.

Check yourself

What is the derivative of x eˣ?

  • eˣ

  • eˣ + 1

  • eˣ(x + 1)

  • x eˣ

Show the answer

eˣ(x + 1)

u'v + uv' = eˣ + x eˣ.

4The quotient rule

To differentiate a quotient $y = \dfrac{u}{v}$:

$$\frac{dy}{dx} = \frac{v\dfrac{du}{dx} - u\dfrac{dv}{dx}}{v^2}$$

The order matters: the minus sign means swapping the terms changes the answer's sign.

Worked example

A rational function

  1. $y = \dfrac{2x}{x^2 + 1}$. $u = 2x$, $v = x^2 + 1$.
  2. $u' = 2$, $v' = 2x$.
  3. $\dfrac{dy}{dx} = \dfrac{2(x^2 + 1) - 2x \cdot 2x}{(x^2 + 1)^2} = \dfrac{2 - 2x^2}{(x^2 + 1)^2}$.
Worked example

Proving the derivative of tan x

  1. $\tan x = \dfrac{\sin x}{\cos x}$.
  2. $\dfrac{d}{dx}\tan x = \dfrac{\cos x \cos x - \sin x(-\sin x)}{\cos^2 x} = \dfrac{1}{\cos^2 x} = \sec^2 x$.
Check yourself

In the quotient rule, what goes in the denominator?

  • v²

  • u²

  • v

  • uv

Show the answer

v²

The bottom function, squared.

5Combining the rules

Many functions need more than one rule. Decide the main structure first.

Worked example

Product with a chain inside

  1. $y = x^2\sqrt{4x + 1} = x^2(4x + 1)^{1/2}$.
  2. $u = x^2$, $u' = 2x$; $v = (4x + 1)^{1/2}$, $v' = \frac{1}{2}(4x + 1)^{-1/2} \times 4 = 2(4x + 1)^{-1/2}$.
  3. $\dfrac{dy}{dx} = 2x^2(4x + 1)^{-1/2} + 2x(4x + 1)^{1/2}$.
  4. Factor out $2x(4x + 1)^{-1/2}$: $\dfrac{dy}{dx} = \dfrac{2x(5x + 1)}{\sqrt{4x + 1}}$.
Worked example

Chain inside a trig function

  1. $y = \sin^3 x = (\sin x)^3$.
  2. $\dfrac{dy}{dx} = 3\sin^2 x \cos x$.
Check yourself

Which rule is needed first for y = x² sin(3x)?

  • The quotient rule

  • Only the power rule

  • The product rule

  • Only the chain rule

Show the answer

The product rule

It is a product; the chain rule is needed for sin 3x inside.

6Rates of change

The chain rule links connected rates of change:

$$\frac{dV}{dt} = \frac{dV}{dr} \times \frac{dr}{dt}$$

Worked example

An inflating balloon

  1. A spherical balloon's radius grows at 0.2 cm/s. Find how fast its volume grows when $r = 5$ cm.
  2. $V = \frac{4}{3}\pi r^3$, so $\dfrac{dV}{dr} = 4\pi r^2 = 100\pi$ when $r = 5$.
  3. $\dfrac{dV}{dt} = 100\pi \times 0.2 = 20\pi \approx 62.8$ cm³/s.

The relation $\dfrac{dx}{dy} = \dfrac{1}{dy/dx}$ also comes from the chain rule. For example, if $x = y^3 + y$, then $\dfrac{dy}{dx} = \dfrac{1}{3y^2 + 1}$.

Check yourself

If dy/dx = 4, what is dx/dy?

  • 4

  • −4

  • 1/4

  • −1/4

Show the answer

1/4

dx/dy = 1/(dy/dx).

Now test yourself

This lesson has a 8-question quiz and 5 exam-style questions with mark schemes in Impera. Free, with your progress saved.

Practise in Impera