Cambridge International AS & A Level · Topic 3.4
A-Level Maths 9709 / Topic 3.4 / AS & A Level

Beyond powers of x.

Papers 2 and 3 (the derivative of \(\tan^{-1} x\) is Paper 3 only). Six new standard derivatives, \(e^{x}\), \(\ln x\), \(\sin x\), \(\cos x\), \(\tan x\) and \(\tan^{-1} x\), combined with the chain rule, let you differentiate almost any function you meet, then find gradients, tangents and stationary points.

The key idea

\(\dfrac{d}{dx}e^{x} = e^{x}\), \(\dfrac{d}{dx}\ln x = \dfrac{1}{x}\), \(\dfrac{d}{dx}\sin x = \cos x\), \(\dfrac{d}{dx}\cos x = -\sin x\), \(\dfrac{d}{dx}\tan x = \sec^2 x\), \(\dfrac{d}{dx}\tan^{-1} x = \dfrac{1}{1 + x^2}\) (x in radians). For a composite, multiply by the derivative of the inside: \(\dfrac{d}{dx}e^{f(x)} = f'(x)e^{f(x)}\) and \(\dfrac{d}{dx}\ln f(x) = \dfrac{f'(x)}{f(x)}\).

x y 123456 12−1 P(2, ln 2) y = ln x tangent, gradient ½
Fig. 1: the gradient of y = ln x is 1/x. At P(2, ln 2) the tangent has gradient ½, and it crosses the y-axis at ln 2 − 1 ≈ −0.307. As x grows, 1/x shrinks, so the curve keeps rising but ever more slowly
Section 01

Exponentials and logarithms.

\(e^{x}\) is the one function that is its own derivative. Its inverse, \(\ln x\), has derivative \(\dfrac{1}{x}\) (Fig. 1). With the chain rule, the inside function's derivative appears as a factor.

\(y\)\(\dfrac{dy}{dx}\)Example
\(e^{x}\)\(e^{x}\)\(\dfrac{d}{dx}5e^{x} = 5e^{x}\)
\(e^{ax + b}\)\(ae^{ax + b}\)\(\dfrac{d}{dx}e^{3x - 1} = 3e^{3x - 1}\)
\(e^{f(x)}\)\(f'(x)e^{f(x)}\)\(\dfrac{d}{dx}e^{x^2} = 2xe^{x^2}\)
\(\ln x\)\(\dfrac{1}{x}\)\(\dfrac{d}{dx}4\ln x = \dfrac{4}{x}\)
\(\ln(ax + b)\)\(\dfrac{a}{ax + b}\)\(\dfrac{d}{dx}\ln(5x + 2) = \dfrac{5}{5x + 2}\)
\(\ln f(x)\)\(\dfrac{f'(x)}{f(x)}\)\(\dfrac{d}{dx}\ln(x^2 + 1) = \dfrac{2x}{x^2 + 1}\)
Worked example Exponentials
Differentiate \(y = 5e^{3x} - 2e^{-x} + e^{1 - x^2}\).
  1. \(\dfrac{d}{dx}5e^{3x} = 5 \times 3e^{3x} = 15e^{3x}\).
  2. \(\dfrac{d}{dx}(-2e^{-x}) = -2 \times (-1)e^{-x} = 2e^{-x}\).
  3. \(\dfrac{d}{dx}e^{1 - x^2} = -2x\,e^{1 - x^2}\) (derivative of the power is \(-2x\)).
Answer: \(\dfrac{dy}{dx} = 15e^{3x} + 2e^{-x} - 2xe^{1 - x^2}\)
Worked example Use log laws first
Differentiate \(y = \ln\dfrac{\sqrt{2x - 1}}{x + 3}\).
  1. Simplify with the laws of logarithms: \(y = \dfrac{1}{2}\ln(2x - 1) - \ln(x + 3)\).
  2. \(\dfrac{d}{dx}\dfrac{1}{2}\ln(2x - 1) = \dfrac{1}{2} \times \dfrac{2}{2x - 1} = \dfrac{1}{2x - 1}\).
  3. \(\dfrac{d}{dx}\ln(x + 3) = \dfrac{1}{x + 3}\).
Answer: \(\dfrac{dy}{dx} = \dfrac{1}{2x - 1} - \dfrac{1}{x + 3}\)
Examiner trap

\(\dfrac{d}{dx}\ln(4x) = \dfrac{4}{4x} = \dfrac{1}{x}\), NOT \(\dfrac{4}{x}\) and not \(\dfrac{1}{4x}\). (Check: \(\ln 4x = \ln 4 + \ln x\), and \(\ln 4\) is a constant.)

Section 02

Trigonometric functions.

These results are only true when \(x\) is in radians. In calculus questions, assume radians unless told otherwise, and set your calculator to radian mode.

Worked example Chain rule with trig
Differentiate (a) \(y = 4\sin 2x - 3\cos\dfrac{x}{2}\) (b) \(y = \sin^3 x\).
  1. (a) \(\dfrac{d}{dx}4\sin 2x = 4 \times 2\cos 2x = 8\cos 2x\).
  2. \(\dfrac{d}{dx}\left(-3\cos\dfrac{x}{2}\right) = -3 \times \left(-\dfrac{1}{2}\sin\dfrac{x}{2}\right) = \dfrac{3}{2}\sin\dfrac{x}{2}\).
  3. (b) \(y = (\sin x)^3\): bring down the 3, reduce the power, multiply by the derivative of \(\sin x\).
  4. \(\dfrac{dy}{dx} = 3(\sin x)^2 \times \cos x = 3\sin^2 x\cos x\).
Answer: (a) \(8\cos 2x + \dfrac{3}{2}\sin\dfrac{x}{2}\)   (b) \(3\sin^2 x\cos x\)
Worked example A gradient
Find the gradient of \(y = \tan 3x\) at \(x = \dfrac{\pi}{12}\).
  1. \(\dfrac{dy}{dx} = 3\sec^2 3x\).
  2. At \(x = \dfrac{\pi}{12}\): \(3x = \dfrac{\pi}{4}\), and \(\cos\dfrac{\pi}{4} = \dfrac{1}{\sqrt{2}}\), so \(\sec^2\dfrac{\pi}{4} = 2\).
  3. Gradient \(= 3 \times 2 = 6\).
Answer: \(6\)
Examiner trap

The minus sign belongs to cosine: \(\dfrac{d}{dx}\cos x = -\sin x\), but \(\dfrac{d}{dx}\sin x = +\cos x\). A memory aid: going round sin, cos, \(-\sin\), \(-\cos\), each step is one derivative.

Stage 1 · Learn

Check your understanding

Four quick checks. Each correct answer earns XP and records this skill on your profile.

Quick check+10 XP

Differentiate \(e^{5x}\).

Quick check+10 XP

Differentiate \(\ln(4x)\).

Quick check+10 XP

Differentiate \(\cos 3x\).

Quick check+10 XP

(Paper 3 only) Differentiate \(\tan^{-1} x\).

Section 03

The inverse tangent.

Paper 3 only. The derivative of \(\tan^{-1} x\) is a rational function, which is why \(\tan^{-1}\) appears again when you integrate \(\dfrac{1}{x^2 + a^2}\).

Worked example Tangent to y = tan⁻¹ x
Find the equation of the tangent to \(y = \tan^{-1} x\) at the point where \(x = 1\).
  1. At \(x = 1\), \(y = \tan^{-1} 1 = \dfrac{\pi}{4}\).
  2. \(\dfrac{dy}{dx} = \dfrac{1}{1 + x^2} = \dfrac{1}{2}\) at \(x = 1\).
  3. \(y - \dfrac{\pi}{4} = \dfrac{1}{2}(x - 1)\).
Answer: \(y = \dfrac{1}{2}x + \dfrac{\pi}{4} - \dfrac{1}{2}\)
Examiner trap

\(\tan^{-1} x\) is the inverse function, not \(\dfrac{1}{\tan x} = \cot x\). Their derivatives are completely different: \(\dfrac{1}{1 + x^2}\) versus \(-\operatorname{cosec}^2 x\).

Section 04

Using the derivatives.

Everything from Pure 1 still applies: the gradient gives tangents and normals, and \(\dfrac{dy}{dx} = 0\) gives stationary points. The equations you solve now involve \(e\), \(\ln\) and trig, so exact answers often contain \(\ln\).

Worked example A stationary point
Find the exact coordinates of the stationary point of \(y = e^{2x} - 6x\) and determine its nature.
  1. \(\dfrac{dy}{dx} = 2e^{2x} - 6 = 0\), so \(e^{2x} = 3\).
  2. Take logs: \(2x = \ln 3\), so \(x = \dfrac{1}{2}\ln 3\).
  3. \(y = e^{\ln 3} - 6 \times \dfrac{1}{2}\ln 3 = 3 - 3\ln 3\).
  4. \(\dfrac{d^2y}{dx^2} = 4e^{2x} > 0\) for all \(x\), so the point is a minimum.
Answer: Minimum at \(\left(\dfrac{1}{2}\ln 3,\ 3 - 3\ln 3\right)\)
Worked example A normal
Find the equation of the normal to \(y = \ln(2x - 3)\) at the point where \(x = 2\).
  1. At \(x = 2\): \(y = \ln 1 = 0\).
  2. \(\dfrac{dy}{dx} = \dfrac{2}{2x - 3} = 2\) at \(x = 2\).
  3. Normal gradient \(= -\dfrac{1}{2}\): \(y - 0 = -\dfrac{1}{2}(x - 2)\).
Answer: \(x + 2y = 2\)
Your turn
Find the gradient of \(y = e^{2x} + \ln x\) at the point where \(x = 1\). Give an exact answer.
Examiner trap

When solving \(e^{2x} = 3\), take \(\ln\) of both sides: \(2x = \ln 3\). Writing \(2x = e^{3}\) or \(x = \ln\dfrac{3}{2}\) are the two classic slips.

Stage 2 · Exam

Exam-style questions

Unlocks once the four checks above are done. Worth more XP, written to AS & A Level Paper 1 to 6 standard.

Finish the four checks above to unlock the exam questions
Exam style+20 XP

Find the gradient of \(y = \ln(x^3 - 2x)\) at the point where \(x = 2\).

Exam style+20 XP

Find the gradient of \(y = 3\sin 2x + e^{-x}\) at \(x = 0\).

Exam style+20 XP

Find the \(x\)-coordinate of the stationary point of \(y = 4x - e^{2x}\).

Exam style+20 XP

(Paper 3 only) Find the equation of the tangent to \(y = \tan^{-1}(2x)\) at the point where \(x = \dfrac{1}{2}\).

Skill unlocked

Standard derivatives, ready.

This skill is now recorded on your profile. Keep the chain going.

-Rank -Level -Score -Topics
Go deeper · practice
Six original Cambridge-style questions
Differentiating \(e^{x}\), \(\ln x\), trig functions and \(\tan^{-1} x\) with the chain rule, then normals, stationary points and a cooling model.