Notes/Mathematics/Paper 3/Differentiation
CAIEA Level9709§3.4

Differentiation

How to differentiate exponentials, logarithms and trig functions, products and quotients, and curves given parametrically or implicitly, and how to use the result for stationary points, tangents and normals.

130 min read 5 sub-topics
95
question parts
2021–2025 · 37 papers
11 marks
per paper
≈ 14% of the paper
2.7/3
avg difficulty
demanding
#4
most examined
of 9 topics by marks

In Paper 1 you differentiated powers of xx with the power rule and the chain rule, and used the result for tangents, normals and stationary points. Paper 3 keeps all of that and widens the range of functions you can differentiate.

The note starts with the derivatives of ex\mathrm{e}^x, ln⁡x\ln x, the trig functions and tan⁡−1x\tan^{-1}x, then the product and quotient rules for combining them. Next it puts them to work on stationary points, where solving dydx=0\dfrac{\mathrm{d}y}{\mathrm{d}x} = 0 now needs logs or trig identities. It finishes with curves that are not written as y=…y = \ldots: parametric curves and implicit curves, with their tangents and normals.

Before you start you should be able to
  • The power rule, the chain rule, tangents, normals and stationary points from the Paper 1 Differentiation note

  • ex\mathrm{e}^x, ln⁡x\ln x and the laws of logarithms (see Logarithmic and Exponential Functions)

  • sec⁡\sec, csc⁡\csc, cot⁡\cot, the identity sec⁡2x=1+tan⁡2x\sec^2 x = 1 + \tan^2 x, the compound and double angle formulae, and solving trig equations in an interval (see Trigonometry)

  • Solving quadratic equations, and the discriminant

By the end of this page you can
  • Differentiate ex\mathrm{e}^x, ln⁡x\ln x, sin⁡x\sin x, cos⁡x\cos x, tan⁡x\tan x and tan⁡−1x\tan^{-1}x, and composites of them, using the chain rule

  • Use dydx=1÷dxdy\dfrac{\mathrm{d}y}{\mathrm{d}x} = 1 \div \dfrac{\mathrm{d}x}{\mathrm{d}y}, for example when tan⁡y=2x\tan y = 2x

  • Differentiate sec⁡x\sec x, csc⁡x\csc x and cot⁡x\cot x by writing them in terms of sin⁡x\sin x and cos⁡x\cos x

  • Use the product rule and the quotient rule, and simplify the result by factorising

  • Find stationary points exactly, dividing only by factors that cannot be zero, and determine their nature

  • Solve dydx=0\dfrac{\mathrm{d}y}{\mathrm{d}x} = 0 when it is a trig equation, using identities to reach one trig function

  • Show that the xx-coordinate of a stationary point satisfies a given equation such as p=12tan⁡−1 ⁣(32p)p = \tfrac12\tan^{-1}\!\left(\dfrac{3}{2p}\right)

  • Show that a curve has no stationary points

  • Differentiate a parametric curve, and find tangents, normals and horizontal or vertical tangents

  • Differentiate an implicit equation, and find gradients, tangents and normals, and points where the tangent is parallel to an axis or to a given line

01

The standard derivatives

Syllabus requirement · §3.4.1

“

use the derivatives of eˣ, ln x, sin x, cos x, tan x, tan⁻¹x, together with constant multiples, sums, differences and composites … Derivatives of sin⁻¹x and cos⁻¹x are not required.

”

What you bring from Paper 1

In Paper 1 every function was built from powers of xx, and two rules were enough:

  • the power rule, ddxxn=nxn−1\dfrac{\mathrm{d}}{\mathrm{d}x}x^n = nx^{n-1}, together with constant multiples, sums and differences;
  • the chain rule for a function of a function: differentiate the outside function, leave the inside alone, then multiply by the derivative of the inside.

In symbols, if y=f(g(x))y = \mathrm{f}\big(\mathrm{g}(x)\big) then

dydx=f′(g(x))×g′(x)\frac{\mathrm{d}y}{\mathrm{d}x} = \mathrm{f}'\big(\mathrm{g}(x)\big)\times\mathrm{g}'(x)

For example, y=(3x2+1)5y = \left(3x^2+1\right)^5 has outside (…)5(\ldots)^5 and inside 3x2+13x^2+1. The outside gives 5(3x2+1)45\left(3x^2+1\right)^4, the inside gives 6x6x, and multiplying:

dydx=5(3x2+1)4×6x=30x(3x2+1)4\frac{\mathrm{d}y}{\mathrm{d}x} = 5\left(3x^2+1\right)^4\times 6x = 30x\left(3x^2+1\right)^4

Paper 3 adds six new functions to differentiate. The chain rule does not change at all — it simply gets used with these new outside functions.

The standard derivatives
ddx ex=ex\frac{\mathrm{d}}{\mathrm{d}x}\,\mathrm{e}^x = \mathrm{e}^x

The gradient equals the height

ddxln⁡x=1x\frac{\mathrm{d}}{\mathrm{d}x}\ln x = \frac{1}{x}

For x > 0

ddxsin⁡x=cos⁡x\frac{\mathrm{d}}{\mathrm{d}x}\sin x = \cos x

x in radians

ddxcos⁡x=−sin⁡x\frac{\mathrm{d}}{\mathrm{d}x}\cos x = -\sin x

Note the minus; x in radians

ddxtan⁡x=sec⁡2x\frac{\mathrm{d}}{\mathrm{d}x}\tan x = \sec^2 x

sec²x = 1 + tan²x

ddxtan⁡−1x=11+x2\frac{\mathrm{d}}{\mathrm{d}x}\tan^{-1}x = \frac{1}{1+x^2}

sin⁻¹x and cos⁻¹x are not required

What the formula list gives you

All six of these, and also the derivatives of sec⁡x\sec x, csc⁡x\csc x and cot⁡x\cot x, the product rule, the quotient rule and the parametric rule, are printed in the list of formulae you have in the exam. So the exam does not test whether you remember them. It tests whether you can use them: spot which one a function needs, and apply the chain rule correctly around it.

Where the six results come from

You will not be asked to prove these, but seeing why they are true makes them much harder to misuse.

ex\mathrm{e}^x. The number e≈2.718\mathrm{e} \approx 2.718 is chosen for exactly one reason: it is the base for which the curve y=exy = \mathrm{e}^x has gradient equal to its own height at every point. At (0,1)(0, 1) the gradient is 11; at (1,e)(1, \mathrm{e}) it is e\mathrm{e}. So the derivative of ex\mathrm{e}^x is ex\mathrm{e}^x.

sin⁡x\sin x and cos⁡x\cos x. Look at the gradient of y=sin⁡xy = \sin x as you move along it. At x=0x = 0 it climbs most steeply, with gradient 11; at x=12πx = \tfrac12\pi it is flat, gradient 00; at x=πx = \pi it falls most steeply, gradient −1-1. The values 1,0,−11, 0, -1 are exactly cos⁡0\cos 0, cos⁡12π\cos\tfrac12\pi, cos⁡π\cos\pi — the gradient of sin⁡x\sin x traces out cos⁡x\cos x.

x1-1x1-1gradient 1gradient 0π/2gradient −1πgradient 03π/2gradient 12πy = sin xy = cos x

Where sin x climbs, cos x is positive; where sin x is flat, cos x is zero; where sin x falls, cos x is negative. The gradient of the top curve is the height of the bottom one.

Radians, always

The gradient of sin⁡x\sin x at the origin is exactly 11 only when xx is in radians. In degrees the curve is stretched out 57 times wider, the gradient shrinks by a factor of π180\dfrac{\pi}{180}, and every derivative on this page would be wrong.

So every calculus question on Paper 3 works in radians. If a stationary point comes out at x=14πx = \tfrac14\pi, leave it as 14π\tfrac14\pi — never convert it to 45∘45^\circ.

The flip rule: dydx=1÷dxdy\dfrac{\mathrm{d}y}{\mathrm{d}x} = 1 \div \dfrac{\mathrm{d}x}{\mathrm{d}y}

The other two results, ln⁡x\ln x and tan⁡−1x\tan^{-1}x, both come from one simple idea.

A gradient is "rise over run": dydx\dfrac{\mathrm{d}y}{\mathrm{d}x} measures how much yy changes per unit change in xx. If you turn the question round and ask how much xx changes per unit change in yy, you get the same triangle read the other way — rise and run swap, so the gradient turns upside down:

dydx=1  dxdy  \frac{\mathrm{d}y}{\mathrm{d}x} = \frac{1}{\;\dfrac{\mathrm{d}x}{\mathrm{d}y}\;}

This is useful whenever xx is easy to write in terms of yy but yy is awkward to write in terms of xx. You differentiate xx with respect to yy, then turn the answer upside down.

Using the flip rule: the derivatives of ln x and tan⁻¹x

(a) Show that ddxln⁡x=1x\dfrac{\mathrm{d}}{\mathrm{d}x}\ln x = \dfrac1x.
(b) Show that ddxtan⁡−1x=11+x2\dfrac{\mathrm{d}}{\mathrm{d}x}\tan^{-1}x = \dfrac{1}{1+x^2}.

Show full working
  1. 1

    (a) Let y=ln⁡xy = \ln x. Undo the logarithm by taking e\mathrm{e} to the power of both sides: x=eyx = \mathrm{e}^y

    We cannot differentiate ln⁡x\ln x yet, but we can differentiate ey\mathrm{e}^y. Rewriting with xx as the subject is what lets us use a result we already have.

  2. 2

    Differentiate xx with respect to yy. The derivative of ey\mathrm{e}^y is itself: dxdy=ey\frac{\mathrm{d}x}{\mathrm{d}y} = \mathrm{e}^y

  3. 3

    Flip it: dydx=1ey\frac{\mathrm{d}y}{\mathrm{d}x} = \frac{1}{\mathrm{e}^y}

  4. 4

    The answer should be in terms of xx. Since ey=x\mathrm{e}^y = x (the first line), replace ey\mathrm{e}^y by xx: dydx=1x\frac{\mathrm{d}y}{\mathrm{d}x} = \frac1x

    Going back to the original relationship to replace y is the standard last step whenever the flip rule is used.

  5. 5

    (b) Let y=tan⁡−1xy = \tan^{-1}x. Take tan⁡\tan of both sides to undo the inverse: x=tan⁡yx = \tan y

  6. 6

    Differentiate xx with respect to yy: dxdy=sec⁡2y\frac{\mathrm{d}x}{\mathrm{d}y} = \sec^2 y

  7. 7

    We need this in terms of xx, and we know tan⁡y=x\tan y = x. The identity sec⁡2y=1+tan⁡2y\sec^2 y = 1 + \tan^2 y connects the two: dxdy=1+tan⁡2y=1+x2\frac{\mathrm{d}x}{\mathrm{d}y} = 1 + \tan^2 y = 1 + x^2

    Whenever you have sec⁡2\sec^2 and know tan⁡\tan, this identity is the bridge. The same move appears in exam questions of this shape.

  8. 8

    Flip it: dydx=11+x2\frac{\mathrm{d}y}{\mathrm{d}x} = \frac{1}{1+x^2}

Answer

(a) 1x\dfrac1x (b) 11+x2\dfrac{1}{1+x^2}

The same four moves (make xx the subject, differentiate with respect to yy, flip, write in terms of xx) handle exam questions such as "given tan⁡y=2x\tan y = 2x, find dydx\dfrac{\mathrm{d}y}{\mathrm{d}x}".

xy121-1PQy = tan xy = tan⁻¹xy = xP(¼π, 1) on tan xgradient sec²(¼π) = 2Q(1, ¼π) on tan⁻¹xgradient 1/(1 + 1²) = ½Reflecting in y = xswaps rise and run,so 2 becomes ½.

y = tan⁻¹x is y = tan x reflected in y = x. The reflection swaps rise and run, so every gradient turns upside down: 2 at P becomes ½ at the mirror point Q.

The last result, ddxtan⁡x=sec⁡2x\dfrac{\mathrm{d}}{\mathrm{d}x}\tan x = \sec^2 x, follows from writing tan⁡x=sin⁡xcos⁡x\tan x = \dfrac{\sin x}{\cos x} and using the quotient rule — this is worked through in the product and quotient rules section below.

Composites: the chain rule with the new functions

Each standard derivative becomes a chain-rule pattern once the xx inside it is replaced by an inside function f(x)\mathrm{f}(x). The derivative of the inside, f′(x)\mathrm{f}'(x), always appears as an extra factor:

Function

Outside function gives

Derivative

ef(x)\mathrm{e}^{\mathrm{f}(x)}

ef(x)\mathrm{e}^{\mathrm{f}(x)}

f′(x) ef(x)\mathrm{f}'(x)\,\mathrm{e}^{\mathrm{f}(x)}

ln⁡f(x)\ln \mathrm{f}(x)

1f(x)\dfrac{1}{\mathrm{f}(x)}

f′(x)f(x)\dfrac{\mathrm{f}'(x)}{\mathrm{f}(x)}

sin⁡f(x)\sin \mathrm{f}(x)

cos⁡f(x)\cos \mathrm{f}(x)

f′(x)cos⁡f(x)\mathrm{f}'(x)\cos \mathrm{f}(x)

cos⁡f(x)\cos \mathrm{f}(x)

−sin⁡f(x)-\sin \mathrm{f}(x)

−f′(x)sin⁡f(x)-\mathrm{f}'(x)\sin \mathrm{f}(x)

tan⁡f(x)\tan \mathrm{f}(x)

sec⁡2f(x)\sec^2 \mathrm{f}(x)

f′(x)sec⁡2f(x)\mathrm{f}'(x)\sec^2 \mathrm{f}(x)

tan⁡−1f(x)\tan^{-1} \mathrm{f}(x)

11+(f(x))2\dfrac{1}{1+\left(\mathrm{f}(x)\right)^2}

f′(x)1+(f(x))2\dfrac{\mathrm{f}'(x)}{1+\left(\mathrm{f}(x)\right)^2}

The ln row is worth knowing in that shape: it runs backwards in the Integration note, where an integral of the form f′(x)/f(x) gives ln f(x).

Sums, differences and constant multiples work exactly as in Paper 1: differentiate term by term, and a number multiplying a term stays in front. For example

ddx(3ex−4ln⁡x+5sin⁡x)=3ex−4x+5cos⁡x\frac{\mathrm{d}}{\mathrm{d}x}\left(3\mathrm{e}^{x} - 4\ln x + 5\sin x\right) = 3\mathrm{e}^{x} - \frac4x + 5\cos x

Two kinds of composite are easy to miss.

A power of a trig function. sin⁡3x\sin^3 x means (sin⁡x)3\left(\sin x\right)^3. The outside function is the cube and the inside is sin⁡x\sin x — not the other way round.

A linear inside. When the inside is something like 3x−13x - 1, its derivative is just the number 33, and that number sits in front of the answer: ddxe3x−1=3e3x−1\dfrac{\mathrm{d}}{\mathrm{d}x}\mathrm{e}^{3x-1} = 3\mathrm{e}^{3x-1}.

The chain rule with each new function

Differentiate with respect to xx:
(a) y=4e1−3xy = 4\mathrm{e}^{1-3x} (b) y=ln⁡(x2+5x)y = \ln\left(x^2+5x\right) (c) y=cos⁡(x2)y = \cos\left(x^2\right) (d) y=tan⁡−1(3x)y = \tan^{-1}(3x) (e) y=sin⁡3xy = \sin^3 x

Show full working
  1. 1

    (a) The 44 is a constant multiple, so it simply stays in front. For e1−3x\mathrm{e}^{1-3x}, the outside is e(…)\mathrm{e}^{(\ldots)} and the inside is 1−3x1-3x.

    Name the outside and the inside before differentiating anything — every mistake in this section comes from skipping this.

  2. 2

    The outside e(…)\mathrm{e}^{(\ldots)} differentiates to itself, e1−3x\mathrm{e}^{1-3x}. The inside 1−3x1-3x differentiates to −3-3.

  3. 3

    Multiply the pieces together: dydx=4×e1−3x×(−3)=−12e1−3x\frac{\mathrm{d}y}{\mathrm{d}x} = 4\times\mathrm{e}^{1-3x}\times(-3) = -12\mathrm{e}^{1-3x}

  4. 4

    (b) Outside is ln⁡(…)\ln(\ldots), inside is x2+5xx^2+5x. The outside gives 1x2+5x\dfrac{1}{x^2+5x}; the inside gives 2x+52x+5.

  5. 5

    Multiply: dydx=1x2+5x×(2x+5)=2x+5x2+5x\frac{\mathrm{d}y}{\mathrm{d}x} = \frac{1}{x^2+5x}\times(2x+5) = \frac{2x+5}{x^2+5x}

    This is the "derivative of the inside over the inside" pattern. A common error is to write only 1x2+5x\dfrac{1}{x^2+5x} and forget the 2x+52x+5.

  6. 6

    (c) Outside is cos⁡(…)\cos(\ldots), inside is x2x^2. The outside gives −sin⁡(x2)-\sin\left(x^2\right); the inside gives 2x2x.

  7. 7

    Multiply: dydx=−sin⁡(x2)×2x=−2xsin⁡(x2)\frac{\mathrm{d}y}{\mathrm{d}x} = -\sin\left(x^2\right)\times 2x = -2x\sin\left(x^2\right)

    The inside x2x^2 stays inside the sine. Writing sin⁡2x\sin 2x here would be differentiating the inside twice.

  8. 8

    (d) Outside is tan⁡−1(…)\tan^{-1}(\ldots), inside is 3x3x. The outside gives 11+(3x)2=11+9x2\dfrac{1}{1+(3x)^2} = \dfrac{1}{1+9x^2}; the inside gives 33.

    Square the whole inside: (3x)2=9x2(3x)^2 = 9x^2, not 3x23x^2.

  9. 9

    Multiply: dydx=11+9x2×3=31+9x2\frac{\mathrm{d}y}{\mathrm{d}x} = \frac{1}{1+9x^2}\times 3 = \frac{3}{1+9x^2}

  10. 10

    (e) Rewrite sin⁡3x\sin^3 x as (sin⁡x)3\left(\sin x\right)^3. Now the outside is (…)3(\ldots)^3 and the inside is sin⁡x\sin x.

  11. 11

    The outside gives 3(sin⁡x)2=3sin⁡2x3\left(\sin x\right)^2 = 3\sin^2 x; the inside gives cos⁡x\cos x. Multiply: dydx=3sin⁡2xcos⁡x\frac{\mathrm{d}y}{\mathrm{d}x} = 3\sin^2 x\cos x

Answer

(a) −12e1−3x-12\mathrm{e}^{1-3x} (b) 2x+5x2+5x\dfrac{2x+5}{x^2+5x} (c) −2xsin⁡(x2)-2x\sin\left(x^2\right) (d) 31+9x2\dfrac{3}{1+9x^2} (e) 3sin⁡2xcos⁡x3\sin^2x\cos x

Simplify a logarithm before you differentiate it

The laws of logarithms can turn one hard chain-rule step into several easy ones. For example

y=ln⁡(2x+1)3x=3ln⁡(2x+1)−ln⁡xy = \ln\frac{(2x+1)^3}{x} = 3\ln(2x+1) - \ln x

by the quotient and power laws, so

dydx=3×22x+1−1x=62x+1−1x\frac{\mathrm{d}y}{\mathrm{d}x} = 3\times\frac{2}{2x+1} - \frac1x = \frac{6}{2x+1} - \frac1x

In the same way ln⁡x4=4ln⁡x\ln x^4 = 4\ln x and ln⁡x=12ln⁡x\ln\sqrt{x} = \tfrac12\ln x. Differentiating without simplifying first gives the same answer, but with far more algebra.

sec, cosec and cot

These three are printed in the formula list too:

ddxsec⁡x=sec⁡xtan⁡xddxcsc⁡x=−csc⁡xcot⁡xddxcot⁡x=−csc⁡2x\frac{\mathrm{d}}{\mathrm{d}x}\sec x = \sec x\tan x \qquad \frac{\mathrm{d}}{\mathrm{d}x}\csc x = -\csc x\cot x \qquad \frac{\mathrm{d}}{\mathrm{d}x}\cot x = -\csc^2 x

Questions often tell you to get them yourself — "by writing sec⁡3θ\sec^3\theta as 1cos⁡3θ\dfrac{1}{\cos^3\theta}, show that…" — so you need to know the method: write the function as a power of sin⁡\sin or cos⁡\cos, then use the chain rule.

Differentiating sec x from its definition

By writing sec⁡x\sec x as 1cos⁡x\dfrac{1}{\cos x}, show that ddxsec⁡x=sec⁡xtan⁡x\dfrac{\mathrm{d}}{\mathrm{d}x}\sec x = \sec x\tan x.

Show full working
  1. 1

    Write the function as a power: sec⁡x=1cos⁡x=(cos⁡x)−1\sec x = \frac{1}{\cos x} = \left(\cos x\right)^{-1}

    A power of cos x is a chain-rule problem we already know how to do.

  2. 2

    The outside is (…)−1(\ldots)^{-1}, which gives −1(…)−2-1(\ldots)^{-2}. The inside is cos⁡x\cos x, which gives −sin⁡x-\sin x.

  3. 3

    Multiply: ddx(cos⁡x)−1=−(cos⁡x)−2×(−sin⁡x)\frac{\mathrm{d}}{\mathrm{d}x}\left(\cos x\right)^{-1} = -\left(\cos x\right)^{-2}\times\left(-\sin x\right)

  4. 4

    The two minus signs cancel: =sin⁡xcos⁡2x= \frac{\sin x}{\cos^2 x}

    Losing one of these two minus signs is the usual mistake. The answer must be positive for small positive x, because sec x is increasing there.

  5. 5

    Split cos⁡2x\cos^2 x into cos⁡x×cos⁡x\cos x \times \cos x to recognise the two pieces: sin⁡xcos⁡2x=1cos⁡x×sin⁡xcos⁡x=sec⁡xtan⁡x\frac{\sin x}{\cos^2 x} = \frac{1}{\cos x}\times\frac{\sin x}{\cos x} = \sec x\tan x

Answer

ddxsec⁡x=sec⁡xtan⁡x\dfrac{\mathrm{d}}{\mathrm{d}x}\sec x = \sec x\tan x

Common mistakes
  • ddxe2x=e2x\dfrac{\mathrm{d}}{\mathrm{d}x}\mathrm{e}^{2x} = \mathrm{e}^{2x}

    2e2x2\mathrm{e}^{2x}

    The chain rule still applies: the derivative of the power, 2, is a factor.

  • ddxln⁡(3x)=13x\dfrac{\mathrm{d}}{\mathrm{d}x}\ln(3x) = \dfrac{1}{3x}

    33x=1x\dfrac{3}{3x} = \dfrac{1}{x}

    It is f′(x)/f(x), not 1/f(x). Here the 3s cancel, which can hide the error.

  • ddxcos⁡2x=sin⁡2x\dfrac{\mathrm{d}}{\mathrm{d}x}\cos 2x = \sin 2x

    −2sin⁡2x-2\sin 2x

    Two errors at once: the minus sign, and the factor 2 from the chain rule.

  • ddxtan⁡−1(2x)=11+4x2\dfrac{\mathrm{d}}{\mathrm{d}x}\tan^{-1}(2x) = \dfrac{1}{1+4x^2}

    21+4x2\dfrac{2}{1+4x^2}

    The chain rule applies to tan⁻¹ as well.

Your turn

Chain-rule practice with the new functions first — every later section assumes you can do these without pausing — then exam questions on sec, on tan⁻¹, and on the flip rule.

  1. 1

    Differentiate each of the following with respect to xx: (a) y=esin⁡xy = \mathrm{e}^{\sin x} (b) y=ln⁡ ⁣(x2+1)y = \ln\!\left(x^2+1\right) (c) y=tan⁡(3x−1)y = \tan(3x-1) (d) y=5tan⁡−1 ⁣(12x)y = 5\tan^{-1}\!\left(\tfrac12x\right)

    Stuck? Show hint

    Each one is an outside function of an inside function. Name both, differentiate each, then multiply.

    Show solution
    1. 1

      (a) Outside e(…)\mathrm{e}^{(\ldots)}, which gives esin⁡x\mathrm{e}^{\sin x}. Inside sin⁡x\sin x, which gives cos⁡x\cos x.

    2. 2

      Multiply: dydx=cos⁡x esin⁡x\frac{\mathrm{d}y}{\mathrm{d}x} = \cos x\,\mathrm{e}^{\sin x}

    3. 3

      (b) Outside ln⁡(…)\ln(\ldots), which gives 1x2+1\dfrac{1}{x^2+1}. Inside x2+1x^2+1, which gives 2x2x.

    4. 4

      Multiply: dydx=2xx2+1\frac{\mathrm{d}y}{\mathrm{d}x} = \frac{2x}{x^2+1}

    5. 5

      (c) Outside tan⁡(…)\tan(\ldots), which gives sec⁡2(3x−1)\sec^2(3x-1). Inside 3x−13x-1, which gives 33.

    6. 6

      Multiply: dydx=3sec⁡2(3x−1)\frac{\mathrm{d}y}{\mathrm{d}x} = 3\sec^2(3x-1)

      A linear inside always leaves its coefficient in front.

    7. 7

      (d) The 55 stays in front. Outside tan⁡−1(…)\tan^{-1}(\ldots), which gives 11+(12x)2=11+14x2\dfrac{1}{1+\left(\tfrac12x\right)^2} = \dfrac{1}{1+\tfrac14x^2}. Inside 12x\tfrac12x, which gives 12\tfrac12.

    8. 8

      Multiply: dydx=5×11+14x2×12=521+14x2\frac{\mathrm{d}y}{\mathrm{d}x} = 5\times\frac{1}{1+\tfrac14x^2}\times\frac12 = \frac{\tfrac52}{1+\tfrac14x^2}

    9. 9

      Clear the fractions by multiplying top and bottom by 44: dydx=104+x2\frac{\mathrm{d}y}{\mathrm{d}x} = \frac{10}{4+x^2}

      Not required, but a tidy form is much easier to use in a later part of a question.

    Answer

    (a) cos⁡x esin⁡x\cos x\,\mathrm{e}^{\sin x} (b) 2xx2+1\dfrac{2x}{x^2+1} (c) 3sec⁡2(3x−1)3\sec^2(3x-1) (d) 104+x2\dfrac{10}{4+x^2}

  2. 2

    Use the laws of logarithms to simplify y=ln⁡(x24x+1)y = \ln\left(x^2\sqrt{4x+1}\right), and hence find dydx\dfrac{\mathrm{d}y}{\mathrm{d}x}.

    Stuck? Show hint

    The log of a product is a sum of logs, and a square root is a power of ½.

    Show solution
    1. 1

      Product law: y=ln⁡x2+ln⁡4x+1y = \ln x^2 + \ln\sqrt{4x+1}

    2. 2

      Power law on each, since 4x+1=(4x+1)1/2\sqrt{4x+1} = (4x+1)^{1/2}: y=2ln⁡x+12ln⁡(4x+1)y = 2\ln x + \tfrac12\ln(4x+1)

    3. 3

      Differentiate term by term. ddx2ln⁡x=2x\dfrac{\mathrm{d}}{\mathrm{d}x}2\ln x = \dfrac2x, and ln⁡(4x+1)\ln(4x+1) gives 44x+1\dfrac{4}{4x+1} (inside derivative over inside): dydx=2x+12×44x+1\frac{\mathrm{d}y}{\mathrm{d}x} = \frac2x + \frac12\times\frac{4}{4x+1}

    4. 4

      Simplify the second term: dydx=2x+24x+1\frac{\mathrm{d}y}{\mathrm{d}x} = \frac2x + \frac{2}{4x+1}

    Answer

    dydx=2x+24x+1\dfrac{\mathrm{d}y}{\mathrm{d}x} = \dfrac2x + \dfrac{2}{4x+1}

  3. 3

    By writing csc⁡x\csc x as (sin⁡x)−1\left(\sin x\right)^{-1}, show that ddxcsc⁡x=−csc⁡xcot⁡x\dfrac{\mathrm{d}}{\mathrm{d}x}\csc x = -\csc x\cot x. Hence differentiate y=csc⁡3xy = \csc 3x.

    Stuck? Show hint

    Same method as sec x above, with sin in place of cos. For csc 3x, the inside 3x adds a factor of 3.

    Show solution
    1. 1

      The outside (…)−1(\ldots)^{-1} gives −(…)−2-(\ldots)^{-2}. The inside sin⁡x\sin x gives cos⁡x\cos x. Multiply: ddx(sin⁡x)−1=−(sin⁡x)−2cos⁡x=−cos⁡xsin⁡2x\frac{\mathrm{d}}{\mathrm{d}x}\left(\sin x\right)^{-1} = -\left(\sin x\right)^{-2}\cos x = -\frac{\cos x}{\sin^2 x}

      This time there is only one minus sign, so the answer stays negative.

    2. 2

      Split sin⁡2x\sin^2 x into sin⁡x×sin⁡x\sin x\times\sin x: −cos⁡xsin⁡2x=−1sin⁡x×cos⁡xsin⁡x=−csc⁡xcot⁡x-\frac{\cos x}{\sin^2 x} = -\frac{1}{\sin x}\times\frac{\cos x}{\sin x} = -\csc x\cot x

    3. 3

      For csc⁡3x\csc 3x: the outside csc⁡(…)\csc(\ldots) gives −csc⁡3xcot⁡3x-\csc 3x\cot 3x and the inside 3x3x gives 33: dydx=−3csc⁡3xcot⁡3x\frac{\mathrm{d}y}{\mathrm{d}x} = -3\csc 3x\cot 3x

    Answer

    −csc⁡xcot⁡x-\csc x\cot x, as required; ddxcsc⁡3x=−3csc⁡3xcot⁡3x\dfrac{\mathrm{d}}{\mathrm{d}x}\csc 3x = -3\csc 3x\cot 3x

  4. 49709/32 M/J 2024 Q10(a)2 marks

    By writing y=sec⁡3θy = \sec^3\theta as 1cos⁡3θ\dfrac{1}{\cos^3\theta}, show that dydθ=3sin⁡θsec⁡4θ\dfrac{\mathrm{d}y}{\mathrm{d}\theta} = 3\sin\theta\sec^4\theta.

    Stuck? Show hint

    Write the function as (cos θ)⁻³ and use the chain rule, exactly as for sec x above.

    Show solution
    1. 1

      Write it as a power of cos⁡θ\cos\theta: y=1cos⁡3θ=(cos⁡θ)−3y = \frac{1}{\cos^3\theta} = \left(\cos\theta\right)^{-3}

    2. 2

      The outside is (…)−3(\ldots)^{-3}, which gives −3(…)−4-3(\ldots)^{-4}. The inside is cos⁡θ\cos\theta, which gives −sin⁡θ-\sin\theta.

    3. 3

      Multiply: dydθ=−3(cos⁡θ)−4×(−sin⁡θ)\frac{\mathrm{d}y}{\mathrm{d}\theta} = -3\left(\cos\theta\right)^{-4}\times\left(-\sin\theta\right)

    4. 4

      The two minus signs cancel: dydθ=3sin⁡θcos⁡4θ\frac{\mathrm{d}y}{\mathrm{d}\theta} = \frac{3\sin\theta}{\cos^4\theta}

    5. 5

      Write 1cos⁡4θ\dfrac{1}{\cos^4\theta} as sec⁡4θ\sec^4\theta to reach the printed form: dydθ=3sin⁡θsec⁡4θ\frac{\mathrm{d}y}{\mathrm{d}\theta} = 3\sin\theta\sec^4\theta

      In a “show that”, the last line must be exactly the printed result.

    Answer

    dydθ=3sin⁡θsec⁡4θ\dfrac{\mathrm{d}y}{\mathrm{d}\theta} = 3\sin\theta\sec^4\theta, as required

  5. 59709/35 M/J 2025 Q7(a)3 marks

    The equation of a curve is y=tan⁡−1(4x)y = \tan^{-1}(4x). Find the exact values of xx when the gradient of the curve is 14\tfrac14.

    Stuck? Show hint

    The inside function is 4x. It appears twice in the derivative: squared underneath, and differentiated on top.

    Show solution
    1. 1

      The outside tan⁡−1(…)\tan^{-1}(\ldots) gives 11+(4x)2=11+16x2\dfrac{1}{1+(4x)^2} = \dfrac{1}{1+16x^2}. The inside 4x4x gives 44.

      The mark scheme gives nothing beyond the method mark for 11+4x2\dfrac{1}{1+4x^2}: the whole inside, 4x4x, must be squared.

    2. 2

      Multiply: dydx=41+16x2\frac{\mathrm{d}y}{\mathrm{d}x} = \frac{4}{1+16x^2}

    3. 3

      Set the gradient equal to 14\tfrac14: 41+16x2=14\frac{4}{1+16x^2} = \frac14

    4. 4

      Cross-multiply: 16=1+16x216 = 1 + 16x^2, so 16x2=1516x^2 = 15 and x2=1516x^2 = \dfrac{15}{16}.

    5. 5

      Take both square roots: x=±154x = \pm\frac{\sqrt{15}}{4}

      Both signs work, because the gradient only depends on x².

    Answer

    x=154x = \dfrac{\sqrt{15}}{4} or x=−154x = -\dfrac{\sqrt{15}}{4}

  6. 69709/31 M/J 2024 Q10(a)3 marks

    Given that 2x=tan⁡y2x = \tan y, show that dydx=21+4x2\dfrac{\mathrm{d}y}{\mathrm{d}x} = \dfrac{2}{1 + 4x^2}.

    Stuck? Show hint

    This is the flip rule: differentiate both sides with respect to y, then turn dx/dy upside down.

    Show solution
    1. 1

      Differentiate both sides of 2x=tan⁡y2x = \tan y with respect to yy: 2dxdy=sec⁡2y2\frac{\mathrm{d}x}{\mathrm{d}y} = \sec^2 y

    2. 2

      So dxdy=sec⁡2y2\dfrac{\mathrm{d}x}{\mathrm{d}y} = \dfrac{\sec^2 y}{2}, and by the flip rule dydx=2sec⁡2y\frac{\mathrm{d}y}{\mathrm{d}x} = \frac{2}{\sec^2 y}

    3. 3

      Use sec⁡2y=1+tan⁡2y\sec^2 y = 1 + \tan^2 y: dydx=21+tan⁡2y\frac{\mathrm{d}y}{\mathrm{d}x} = \frac{2}{1 + \tan^2 y}

    4. 4

      Replace tan⁡y\tan y by 2x2x, so tan⁡2y=(2x)2=4x2\tan^2 y = (2x)^2 = 4x^2: dydx=21+4x2\frac{\mathrm{d}y}{\mathrm{d}x} = \frac{2}{1 + 4x^2}

      Check: this is the derivative of tan⁻¹(2x) by the chain rule, 2 × 1/(1 + (2x)²).

    Answer

    dydx=21+4x2\dfrac{\mathrm{d}y}{\mathrm{d}x} = \dfrac{2}{1 + 4x^2}, as required

Practise the standard derivativesReal past-paper questions · Derivatives of e^x, ln x, sin x, cos x, tan x, tan^-1(x) and composites

The rest of this note

Checking your access…

Can you do all of these?

  • Differentiate eˣ, ln x, sin x, cos x, tan x and tan⁻¹x, and composites of them, without dropping the chain-rule factor

  • Work in radians, and leave answers exact when asked

  • Simplify a logarithm with the log laws before differentiating it

  • Use dy/dx = 1 ÷ dx/dy when x is easier to write in terms of y

  • Differentiate sec, cosec and cot by writing them in terms of sin and cos

  • Name u and v, differentiate each on its own line, then use the product or quotient rule

  • Put the quotient rule the right way round: bottom × derivative of top first

  • Factorise the derivative, and divide only by factors that can never be zero, saying why

  • Find y as well as x for a stationary point, and state whether it is a maximum or a minimum

  • Reduce a trig equation to one trig function with an identity, and keep only the roots in the interval

  • Rearrange dy/dx = 0 into a given form, reaching the tan, ln or e line first

  • Show that a curve has no stationary points by a range argument, stated in words

  • For a parametric curve, find t first, then the gradient; use the point's x and y in the line equation

  • Find horizontal tangents from dy/dt = 0 and vertical tangents from dx/dt = 0

  • Attach dy/dx every time y is differentiated, and use the product rule on terms like xy

  • Find the missing coordinate before evaluating an implicit gradient

  • For tangents parallel to an axis or a line, get a relationship between x and y, then substitute into the curve

  • Use −1 ÷ (tangent gradient) for a normal, and work backwards from a given normal gradient to the tangent gradient

  • Show a curve has no horizontal tangent, or no stationary point, with a negative discriminant

Now do the questions
95 real Paper 3 parts from 2021–2025, sorted by difficulty, with mark schemes