AS & A Level Mathematics · Pure Mathematics 2 & 3 · Chapter 4
Differentiation
- In Pure Mathematics 1 you differentiated powers of x and composite functions using the chain rule.
- This chapter extends differentiation to products, quotients, exponential functions (eˣ, aˣ), natural logarithms (ln x) and trigonometric functions (sin x, cos x, tan x).
- You will also differentiate equations where x and y are mixed together (implicit) or linked through a third parameter t or θ (parametric).
Learning objectives
- Differentiate products and quotients of functions using the product rule and the quotient rule.
- Use the derivatives of eˣ, ln x, sin x, cos x and tan x, together with constant multiples, sums, differences and composites (chain rule).
- Find and use the first derivative of a function defined implicitly or parametrically, including equations of tangents, normals and stationary points.
Book exercises: Prerequisite knowledge, Exercises 4A to 4G, and End-of-chapter review exercise 4.
Prerequisite knowledge recap (from Pure Mathematics 1)
- Power rule: if y = xⁿ, then dy/dx = nxⁿ⁻¹. Rewrite roots and reciprocals as fractional or negative indices first (√x = x¹/², 1/x³ = x⁻³).
- Chain rule: if y = [f(x)]ⁿ, then dy/dx = n[f(x)]ⁿ⁻¹ × f′(x) ("differentiate the outside bracket, multiply by the derivative of the inside").
- Tangents & normals: if the tangent gradient at (x₁, y₁) is m, the tangent is y − y₁ = m(x − x₁) and the normal is y − y₁ = (−1/m)(x − x₁).
- Stationary points: occur where dy/dx = 0. If d²y/dx² < 0 it is a maximum; if d²y/dx² > 0 it is a minimum.
4.1 The product rule
- When y = uv is the product of two functions u(x) and v(x), you cannot simply multiply their derivatives together.
- Key Point 4.1 (Product rule): (uv) = u + v .
- In words: (first × derivative of second) + (second × derivative of first).
- From first principles: a small increase δx in x causes small increases δu, δv and δy:
- Step 1: y + δy = (u + δu)(v + δv) = uv + u δv + v δu + δu δv.
- Step 2: Subtract y = uv to get δy = u δv + v δu + δu δv, then divide by δx: = u + v + δu .
- Step 3: As δx → 0, δu → 0, δv → 0 and the last term vanishes, leaving = u + v .
📘 Intro Example · Differentiate y = (x + 1)⁴(3x − 2)³ with respect to x
- Write y = uv with first function u = (x + 1)⁴ and second function v = (3x − 2)³.
- Differentiate each bracket using the chain rule: du/dx = 4(x + 1)³(1) = 4(x + 1)³ and dv/dx = 3(3x − 2)²(3) = 9(3x − 2)².
- Substitute into the product rule: dy/dx = (x + 1)⁴[9(3x − 2)²] + (3x − 2)³[4(x + 1)³].
- Take out the common factor (x + 1)³(3x − 2)²: dy/dx = (x + 1)³(3x − 2)² [9(x + 1) + 4(3x − 2)].
- Simplify the square bracket: 9x + 9 + 12x − 8 = 21x + 1, giving dy/dx = (x + 1)³(3x − 2)²(21x + 1).
📘 Worked Example 4.1 · Find dy/dx when y = (2x − 1)√(4x + 5)
- Rewrite the square root as a fractional power: y = (2x − 1)(4x + 5)¹/², so u = 2x − 1 and v = (4x + 5)¹/².
- Differentiate each factor: du/dx = 2, and by the chain rule dv/dx = (1/2)(4x + 5)⁻¹/² × 4 = .
- Apply the product rule: dy/dx = (2x − 1) × + √(4x + 5) × 2.
- Write over the common denominator √(4x + 5) by multiplying the second term top and bottom by √(4x + 5): dy/dx = .
- Expand and simplify the numerator: 4x − 2 + 8x + 10 = 12x + 8, giving dy/dx = .
📘 Worked Example 4.2 · Find the x-coordinates of the points on y = (2x − 3)²(x + 5)³ where the gradient is 0
- Let u = (2x − 3)² and v = (x + 5)³. By the chain rule, du/dx = 2(2x − 3)(2) = 4(2x − 3) and dv/dx = 3(x + 5)²(1) = 3(x + 5)².
- Apply the product rule: dy/dx = 3(2x − 3)²(x + 5)² + 4(2x − 3)(x + 5)³.
- Factorise out (2x − 3)(x + 5)²: dy/dx = (2x − 3)(x + 5)² [3(2x − 3) + 4(x + 5)] = (2x − 3)(x + 5)²(10x + 11).
- Set dy/dx = 0: (2x − 3)(x + 5)²(10x + 11) = 0, so 2x − 3 = 0, x + 5 = 0 or 10x + 11 = 0.
- Solve each factor: x = 3/2, x = −5 or x = −1.1.
✏️ Try it
- Use the product rule to differentiate y = x(x − 2)⁵ with respect to x, factorising your answer.
- Find the gradient of the curve y = x²√(x + 4) at the point (−3, 9).
- Find the x-coordinates of the points on y = (3 − x)³(x + 1)² where the gradient is zero.
Answers
- 1. Step 1: u = x, v = (x − 2)⁵, so du/dx = 1 and dv/dx = 5(x − 2)⁴. Step 2: dy/dx = 5x(x − 2)⁴ + (x − 2)⁵. Step 3: Factorise out (x − 2)⁴ to get (x − 2)⁴[5x + (x − 2)] = (x − 2)⁴(6x − 2) = 2(3x − 1)(x − 2)⁴.
- 2. Step 1: u = x², v = (x + 4)¹/², so du/dx = 2x and dv/dx = 1 / [2√(x + 4)]. Step 2: dy/dx = x² / [2√(x + 4)] + 2x√(x + 4). Step 3: At x = −3, √(−3 + 4) = 1, so dy/dx = 9 / 2 + 2(−3)(1) = 4.5 − 6 = −3/2 (or −1.5).
- 3. Step 1: u = (3 − x)³, v = (x + 1)², so du/dx = −3(3 − x)² and dv/dx = 2(x + 1). Step 2: dy/dx = 2(3 − x)³(x + 1) − 3(3 − x)²(x + 1)². Step 3: Factorise out (3 − x)²(x + 1): (3 − x)²(x + 1)[2(3 − x) − 3(x + 1)] = (3 − x)²(x + 1)(3 − 5x) = 0. Step 4: x = 3, x = −1 or x = 3/5.
4.2 The quotient rule
- When y = is the quotient of two functions u(x) and v(x), you can either rewrite it as y = uv⁻¹ and use the product rule, or apply the quotient rule directly.
- Key Point 4.2 (Quotient rule): () = .
- In words: [(denominator × derivative of numerator) − (numerator × derivative of denominator)] ÷ (denominator)².
- From first principles:
- Step 1: Let y = u/v. A small change δx gives y + δy = (u + δu)/(v + δv).
- Step 2: Subtract y = u/v: δy = − = = .
- Step 3: Divide by δx and let δx → 0 (so δv → 0): = .
📘 Worked Example 4.3 · Find the derivative of y =
- Identify the numerator u = x² − 5 and denominator v = 2x + 1.
- Differentiate each part: du/dx = 2x and dv/dx = 2.
- Substitute into the quotient rule: dy/dx = .
- Expand the numerator carefully (watch the double negative −(−5)(2) = +10): dy/dx = .
- Collect like terms and factorise the numerator: 2x² + 2x + 10 = 2(x² + x + 5), so dy/dx = .
📘 Worked Example 4.4 · Find the derivative of y =
- Let u = (x + 2)³ and v = (x − 1)¹/². Notice that v² = x − 1.
- Differentiate using the chain rule: du/dx = 3(x + 2)²(1) = 3(x + 2)² and dv/dx = (1/2)(x − 1)⁻¹/²(1) = .
- Substitute into the quotient rule: dy/dx = .
- Multiply numerator and denominator by 2√(x − 1) to clear the inner fraction: dy/dx = .
- Factorise (x + 2)² from the numerator: (x + 2)²[6(x − 1) − (x + 2)] = (x + 2)²(5x − 8), giving dy/dx = .
✏️ Try it
- Use the quotient rule to differentiate y = (3x − 5) / (2 − x) with respect to x.
- Find the coordinates of the points on y = (x − 1)² / (2x + 5) where the tangent is parallel to the x-axis.
- Find the x-coordinate of the point on y = (x + 1) / √(x − 1) where the gradient is 0.
Answers
- 1. Step 1: u = 3x − 5, v = 2 − x, so du/dx = 3 and dv/dx = −1. Step 2: dy/dx = [(2 − x)(3) − (3x − 5)(−1)] / (2 − x)². Step 3: Simplify numerator: 6 − 3x + 3x − 5 = 1, so dy/dx = 1 / (2 − x)².
- 2. Step 1: u = (x − 1)², v = 2x + 5, so du/dx = 2(x − 1) and dv/dx = 2. Step 2: dy/dx = [(2x + 5)·2(x − 1) − (x − 1)²·2] / (2x + 5)² = 2(x − 1)[(2x + 5) − (x − 1)] / (2x + 5)² = 2(x − 1)(x + 6) / (2x + 5)². Step 3: Set dy/dx = 0: x = 1 (y = 0) or x = −6 (y = 49 / −7 = −7). (1, 0) and (−6, −7).
- 3. Step 1: u = x + 1, v = (x − 1)¹/², so du/dx = 1 and dv/dx = 1 / [2√(x − 1)]. Step 2: dy/dx = [√(x − 1)(1) − (x + 1) / (2√(x − 1))] / (x − 1) = [2(x − 1) − (x + 1)] / [2(x − 1)³ᐟ²] = (x − 3) / [2(x − 1)³ᐟ²]. Step 3: Set dy/dx = 0: x − 3 = 0, so x = 3.
4.3 Derivatives of exponential functions
- The natural exponential function f(x) = eˣ has the unique property that its gradient function is identical to the function itself.
- Key Point 4.3: (eˣ) = eˣ.
- Why this works from first principles:
- Step 1: = limδx→0 = limδx→0 .
- Step 2: As δx → 0 (for example δx = 0.1, 0.01, 0.001, 0.0001), takes values 1.0517, 1.0050, 1.0005, 1.00005 → 1.
- Step 3: Therefore = eˣ × 1 = eˣ.
- Key Point 4.4 (Composite exponentials via the chain rule):
- Let y = ef(x), so y = eᵘ where u = f(x). By the chain rule, = × = eᵘ × f′(x) = f′(x) ef(x).
- In particular, for a linear index: (eax + b) = a eax + b.
- Extension — Derivative of aˣ (base a > 0): write a = eln a, so aˣ = (eln a)ˣ = e(ln a)x. Differentiating with respect to x gives (aˣ) = aˣ ln a (for example, (2ˣ) = 2ˣ ln 2).
📘 Worked Example 4.5 · Differentiate with respect to x: (a) e²ˣ, (b) x e⁻⁵ˣ, (c) e³ˣ / x²
- (a) Multiply the derivative of the index (2) by the original function: (e²ˣ) = 2e²ˣ.
- (b) Apply the product rule with u = x and v = e⁻⁵ˣ: (x e⁻⁵ˣ) = x(−5e⁻⁵ˣ) + e⁻⁵ˣ(1).
- Factorise out e⁻⁵ˣ: e⁻⁵ˣ(1 − 5x).
- (c) Apply the quotient rule with u = e³ˣ and v = x²: () = .
- Factorise xe³ˣ in the numerator and cancel x with x⁴: = .
📘 Worked Example 4.6 · Stationary points of y = e²ˣ − 9eˣ + 7x and their nature
- Differentiate term by term with respect to x: = 2e²ˣ − 9eˣ + 7, and differentiate again to get = 4e²ˣ − 9eˣ.
- At stationary points = 0, so 2e²ˣ − 9eˣ + 7 = 0. This is a quadratic in eˣ: (2eˣ − 7)(eˣ − 1) = 0.
- Solve for eˣ: eˣ = 7/2 or eˣ = 1, giving the exact x-coordinates x = ln(7/2) or x = 0.
- Test x = 0 in : 4(1) − 9(1) = −5 < 0, so x = 0 is a maximum point.
- Test x = ln(7/2) (where eˣ = 7/2) in : 4(7/2)² − 9(7/2) = 49 − 31.5 = 17.5 > 0, so x = ln(7/2) is a minimum point.
✏️ Try it
- Differentiate y = 5x e⁻²ˣ with respect to x.
- Find the gradient of the curve y = 8 / (5 + e²ˣ) at the point where x = 0.
- Find the exact gradient of y = x(3ˣ) at the point where x = 1.
Answers
- 1. Step 1: Product rule with u = 5x, v = e⁻²ˣ. Step 2: dy/dx = 5x(−2e⁻²ˣ) + e⁻²ˣ(5). Step 3: Factorise out 5e⁻²ˣ to get 5e⁻²ˣ(1 − 2x).
- 2. Step 1: Write y = 8(5 + e²ˣ)⁻¹ or use quotient rule. Step 2: dy/dx = −8(5 + e²ˣ)⁻² × (2e²ˣ) = −16e²ˣ / (5 + e²ˣ)². Step 3: At x = 0, e⁰ = 1, so dy/dx = −16(1) / (5 + 1)² = −16 / 36 = −4/9.
- 3. Step 1: Write 3ˣ = eˣ ˡⁿ ³, so d/dx(3ˣ) = 3ˣ ln 3. Step 2: Product rule on y = x(3ˣ) gives dy/dx = x(3ˣ ln 3) + 3ˣ(1). Step 3: At x = 1, dy/dx = 3 ln 3 + 3 (or 3(1 + ln 3)).
4.4 Derivatives of natural logarithmic functions
- Key Point 4.5: (ln x) = (for x > 0).
- Proof using the inverse function eʸ:
- Step 1: Let y = ln x, then by definition eʸ = x.
- Step 2: Differentiate both sides with respect to y: = eʸ.
- Step 3: Invert and replace eʸ by x: = = .
- Key Point 4.6 (Chain rule with natural logarithms):
- For y = ln f(x), let u = f(x) so y = ln u. Then = × f′(x) = ("inside differentiated ÷ inside").
- In particular, for a linear bracket: [ln(ax + b)] = .
- Notice that (ln kx) = = , because ln(kx) = ln k + ln x and ln k is a constant whose derivative is 0!
📘 Worked Example 4.7 · Differentiate with respect to x: (a) ln 2x, (b) ln(4x − 3), (c) ln√(5 − x)
- (a) Using : (ln 2x) = = .
- (b) Differentiate the inside (4x − 3 → 4) and divide by the inside: [ln(4x − 3)] = .
- (c) Method 1 (chain rule): Inside is (5 − x)¹/², whose derivative is (1/2)(5 − x)⁻¹/²(−1), so [ln√(5 − x)] = = −.
- (c) Method 2 (log laws first — much faster!): Rewrite ln(5 − x)¹/² = ln(5 − x), then differentiate: × = −.
📘 Worked Example 4.8 · Differentiate with respect to x: (a) 2x⁴ ln 5x, (b) (ln 2x) / x³
- (a) Product rule with u = 2x⁴ and v = ln 5x: (2x⁴ ln 5x) = 2x⁴ × + (ln 5x) × 8x³.
- Simplify 2x⁴(1/x) = 2x³: 2x³ + 8x³ ln 5x (or 2x³(1 + 4 ln 5x)).
- (b) Quotient rule with u = ln 2x and v = x³: () = = .
- Divide numerator and denominator by x²: .
📘 Example 4.8B · Using log laws on ln[] and differentiating eʸ = 3x³ + 2x
- Expand the logarithm using ln(AB/CD) = ln A + ln B − ln C − ln D: y = ln(x + 2) + ln(2x − 1) − ln x − ln(x + 5).
- Differentiate each term directly: = + − − .
- For eʸ = 3x³ + 2x, take natural logarithms of both sides: y = ln(3x³ + 2x).
- Differentiate with respect to x using f′(x)/f(x): = .
✏️ Try it
- Find the gradient of the curve y = e²ˣ − 5 ln(2x + 1) at the point where x = 0.
- Find the exact coordinates of the stationary point on y = x² ln x (for x > 0) and state its nature.
- Use the laws of logarithms to differentiate y = ln[x(x + 1)⁵] with respect to x.
Answers
- 1. Step 1: dy/dx = 2e²ˣ − 5 × 2 / (2x + 1) = 2e²ˣ − 10 / (2x + 1). Step 2: Substitute x = 0: dy/dx = 2(1) − 10 / 1 = −8.
- 2. Step 1: Product rule gives dy/dx = x²(1/x) + (ln x)(2x) = x(1 + 2 ln x). Step 2: Set dy/dx = 0 (since x > 0): 1 + 2 ln x = 0 ⇒ ln x = −1/2 ⇒ x = e⁻¹/² = 1/√e. Step 3: y = (e⁻¹/²)²(−1/2) = −1/(2e). Step 4: d²y/dx² = 1 + 2 ln x + x(2/x) = 3 + 2 ln x = 2 > 0 at ln x = −1/2, so (e⁻¹/², −1/(2e)) is a minimum point.
- 3. Step 1: Rewrite y = ln x + 5 ln(x + 1). Step 2: Differentiate term by term: dy/dx = 1/x + 5/(x + 1) (or (6x + 1)/[x(x + 1)]).
4.5 Derivatives of trigonometric functions
- Important rule: in calculus, all angles are measured in radians unless a question explicitly states otherwise.
- Key Point 4.7 & 4.8 (Base trigonometric derivatives):
- (sin x) = cos x
- (cos x) = −sin x
- (tan x) = sec² x (where sec x = 1 / cos x)
- First-principles proof for sin x (in radians):
- Step 1: = limδx→0 = limδx→0 .
- Step 2: For small angles in radians, as δx → 0 we have cos δx → 1 and sin δx → δx.
- Step 3: This simplifies to limδx→0 = cos x.
- Proof for tan x using the quotient rule:
- Step 1: Write tan x = and apply the quotient rule with u = sin x, v = cos x.
- Step 2: (tan x) = = = = sec² x.
- Key Point 4.9 (Linear arguments via the chain rule):
- [sin(ax + b)] = a cos(ax + b)
- [cos(ax + b)] = −a sin(ax + b)
- [tan(ax + b)] = a sec²(ax + b)
- Reciprocal trig derivatives (Exercise 4E Q9, proved by quotient/chain rule):
- (sec x) = [(cos x)⁻¹] = −(cos x)⁻²(−sin x) = = sec x tan x
- (cosec x) = [(sin x)⁻¹] = −(sin x)⁻²(cos x) = −cosec x cot x
- (cot x) = () = = −cosec² x
📘 Worked Example 4.9 · Differentiate with respect to x: (a) 2 sin x, (b) x cos x, (c) (tan x)/x², (d) (3 + 2 sin x)⁵
- (a) Constant multiple rule: (2 sin x) = 2 (sin x) = 2 cos x.
- (b) Product rule with u = x, v = cos x: (x cos x) = x(−sin x) + cos x(1) = −x sin x + cos x.
- (c) Quotient rule with u = tan x, v = x²: () = = .
- (d) Chain rule on [f(x)]⁵: [(3 + 2 sin x)⁵] = 5(3 + 2 sin x)⁴ × (2 cos x) = 10 cos x(3 + 2 sin x)⁴.
📘 Worked Example 4.10 · Differentiate with respect to x: (a) 2 sin 3x, (b) 4x tan 2x, (c) cos(2x − π/4) / x², (d) (3 − 2 cos 5x)⁴
- (a) Chain rule on sin 3x: (2 sin 3x) = 2 × cos 3x × 3 = 6 cos 3x.
- (b) Product rule with u = 4x, v = tan 2x: 4x(2 sec² 2x) + (tan 2x)(4) = 8x sec² 2x + 4 tan 2x.
- (c) Quotient rule with u = cos(2x − π/4) and v = x²: = .
- (d) Chain rule: the derivative of the inside (3 − 2 cos 5x) is −2(−5 sin 5x) = +10 sin 5x, so 4(3 − 2 cos 5x)³ × 10 sin 5x = 40 sin 5x(3 − 2 cos 5x)³.
✏️ Try it
- Differentiate y = 5 cos² 3x with respect to x.
- Find the exact gradient of y = 2 sin 3x − 4 cos x at the point (π/3, −2).
- Find the exact x-coordinate of the stationary point on y = eˣ cos x for 0 ≤ x ≤ π/2 and determine its nature.
Answers
- 1. Step 1: Write y = 5(cos 3x)². Step 2: By the chain rule, dy/dx = 5 × 2(cos 3x)¹ × (−3 sin 3x). Step 3: Simplify to −30 sin 3x cos 3x (or −15 sin 6x).
- 2. Step 1: dy/dx = 6 cos 3x + 4 sin x. Step 2: At x = π/3, cos(π) = −1 and sin(π/3) = √3 / 2. Step 3: dy/dx = 6(−1) + 4(√3 / 2) = 2√3 − 6.
- 3. Step 1: Product rule gives dy/dx = eˣ(−sin x) + cos x(eˣ) = eˣ(cos x − sin x). Step 2: Set dy/dx = 0: since eˣ > 0, cos x = sin x ⇒ tan x = 1 ⇒ x = π/4. Step 3: d²y/dx² = eˣ(cos x − sin x) + eˣ(−sin x − cos x) = −2eˣ sin x < 0 at x = π/4, so it is a maximum point.
4.6 Implicit differentiation
- Functions written as y = f(x) are called explicit functions because y is the subject.
- Equations like x³ + 5xy + y³ = 16 where x and y are mixed together and y is not the subject are called implicit functions.
- To differentiate a function of y with respect to x, use the chain rule: [f(y)] = [f(y)] × = f′(y) .
- For product terms involving both x and y (such as 4x²y⁵ or x sin y), apply the product rule and attach whenever you differentiate the y part.
📘 Worked Example 4.11 · Differentiate with respect to x: (a) y³, (b) 4x²y⁵, (c) x³ + 5xy
- (a) Use the chain rule (y³) = (y³) × = 3y² .
- (b) Use the product rule with u = 4x² and v = y⁵: 4x² (y⁵) + y⁵ (4x²) = 20x²y⁴ + 8xy⁵.
- (c) Differentiate term by term, using the product rule on 5xy: 3x² + 5x (y) + y (5x) = 3x² + 5x + 5y.
📘 Worked Example 4.12 · Find dy/dx for x³ + y³ = 4xy, and hence find the gradient at (2, 2)
- Differentiate every term with respect to x: (x³) + (y³) = (4xy).
- Apply the chain rule to y³ and product rule to 4xy: 3x² + 3y² = 4x + 4y.
- Collect the terms on the left and all other terms on the right: 3y² − 4x = 4y − 3x².
- Factorise out and divide: (3y² − 4x) = 4y − 3x² ⇒ = .
- Substitute x = 2 and y = 2: = = = −1.
📘 Worked Example 4.13 · Find the coordinates of the two stationary points on 3x² + 2xy + y² = 6
- Differentiate both sides with respect to x: 6x + (2x + 2y) + 2y = 0.
- Divide through by 2 and rearrange: (x + y) = −3x − y, so = .
- At stationary points = 0, so the numerator is zero: −3x − y = 0 ⇒ y = −3x.
- Substitute y = −3x back into the original curve equation 3x² + 2xy + y² = 6: 3x² + 2x(−3x) + (−3x)² = 6 ⇒ 6x² = 6 ⇒ x = ±1.
- When x = −1, y = −3(−1) = 3; when x = 1, y = −3(1) = −3. The stationary points are (−1, 3) and (1, −3).
📘 Extension Example · Find the exact x-coordinate of the stationary point on y = xˣ (for x > 0)
- Take natural logarithms of both sides so the variable exponent comes down: ln y = ln(xˣ) = x ln x.
- Differentiate both sides implicitly with respect to x: = x() + (ln x)(1) = 1 + ln x.
- Multiply by y = xˣ: = xˣ(1 + ln x).
- Set = 0: since xˣ > 0, 1 + ln x = 0 ⇒ ln x = −1 ⇒ x = e⁻¹ (or 1/e).
✏️ Try it
- Find dy/dx in terms of x and y for x³ + 2xy + y³ = 10.
- Find the equation of the tangent to 2x² + 3y² − 2x + 4y = 4 at the point (1, −2).
- For the curve y³ − 12xy + 16 = 0, find the coordinates of the point where the tangent is parallel to the y-axis.
Answers
- 1. Step 1: Differentiate w.r.t. x: 3x² + 2x(dy/dx) + 2y + 3y²(dy/dx) = 0. Step 2: Collect dy/dx terms: (2x + 3y²)(dy/dx) = −(3x² + 2y). Step 3: dy/dx = −(3x² + 2y) / (2x + 3y²).
- 2. Step 1: Differentiate: 4x + 6y(dy/dx) − 2 + 4(dy/dx) = 0 ⇒ dy/dx = (2 − 4x) / (6y + 4). Step 2: At (1, −2), dy/dx = (2 − 4) / (−12 + 4) = −2 / −8 = 1/4. Step 3: Tangent is y − (−2) = (1/4)(x − 1) ⇒ y = (1/4)x − 9/4 (or x − 4y − 9 = 0).
- 3. Step 1: Differentiate: 3y²(dy/dx) − 12x(dy/dx) − 12y = 0 ⇒ dy/dx = 12y / (3y² − 12x) = 4y / (y² − 4x). Step 2: Parallel to y-axis means denominator = 0: y² − 4x = 0 ⇒ x = y²/4. Step 3: Substitute into y³ − 12xy + 16 = 0: y³ − 12(y²/4)y + 16 = 0 ⇒ −2y³ = −16 ⇒ y³ = 8 ⇒ y = 2, and x = 4/4 = 1. (1, 2).
4.7 Parametric differentiation
- Sometimes x and y are each given in terms of a third variable t or θ, called a parameter (for example x = 1 + 4 sin t, y = 2 cos t).
- To find in terms of the parameter t, use the chain rule: = × = .
- Horizontal tangents (stationary points): occur when = 0, which means = 0 (with ≠ 0).
- Vertical tangents (parallel to y-axis): occur when = 0 (with ≠ 0).
📘 Worked Example 4.14 · For x = t², y = 5 − 2t: (a) find dy/dx in terms of t, (b) find the tangent at t = 2
- (a) Differentiate x and y with respect to t: = 2t and = −2.
- Use the chain rule: = = = −.
- (b) Substitute t = 2 to find the point and gradient: x = 2² = 4, y = 5 − 2(2) = 1, and gradient m = −1/2.
- Substitute into y − y₁ = m(x − x₁): y − 1 = −(x − 4) ⇒ y = −x + 3.
📘 Worked Example 4.15 · For x = 1 + 2 sin² θ, y = 4 tan θ (π/2 < θ < 3π/2): (a) find dy/dx, (b) find the point where the tangent is parallel to the y-axis
- (a) Differentiate with respect to θ: = 2(2 sin θ)(cos θ) = 4 sin θ cos θ, and = 4 sec² θ = .
- Divide by : = × = .
- (b) The tangent is parallel to the y-axis when the denominator of is 0: sin θ cos³ θ = 0 ⇒ sin θ = 0 or cos θ = 0.
- In the interval π/2 < θ < 3π/2, cos θ = 0 has no solutions, and sin θ = 0 gives θ = π.
- Substitute θ = π into x and y: x = 1 + 2(0)² = 1 and y = 4 tan π = 0, so the point is (1, 0).
Interactive simulation: Parametric curve & tangent explorer
- Choose a parametric curve and move the slider for the parameter t to watch the point P(x(t), y(t)), its tangent line (solid) and normal line (dashed) update live.
🎛️ Parametric Tangent & Normal Explorer
Interactive tool: Product, Quotient & Implicit Derivative Solver
- Select a rule and enter coefficients and an evaluation point to generate the complete step-by-step derivative, gradient, tangent and normal.
🧮 Step-by-step Derivative, Tangent & Normal Calculator
✏️ Try it
- For x = 2t³, y = t² − 5, find dy/dx in terms of t.
- For x = 2 sin θ, y = 1 − 3 cos 2θ, find the exact gradient at the point where θ = π/3.
- For x = e²ᵗ, y = 1 + 2t eᵗ, find the equation of the normal to the curve at the point where t = 0.
Answers
- 1. Step 1: dx/dt = 6t² and dy/dt = 2t. Step 2: dy/dx = (dy/dt) / (dx/dt) = 2t / (6t²) = 1 / (3t).
- 2. Step 1: dx/dθ = 2 cos θ and dy/dθ = 6 sin 2θ = 12 sin θ cos θ. Step 2: dy/dx = (12 sin θ cos θ) / (2 cos θ) = 6 sin θ. Step 3: At θ = π/3, dy/dx = 6(√3 / 2) = 3√3.
- 3. Step 1: At t = 0, x = e⁰ = 1 and y = 1 + 0 = 1, so the point is (1, 1). Step 2: dx/dt = 2e²ᵗ and dy/dt = 2t eᵗ + 2eᵗ = 2eᵗ(t + 1). Step 3: At t = 0, dx/dt = 2 and dy/dt = 2, so tangent gradient m_T = 2/2 = 1 and normal gradient m_N = −1. Step 4: Normal equation is y − 1 = −1(x − 1) ⇒ y = −x + 2 (or x + y = 2).
Chapter summary
- Product rule: (uv) = u + v . Always factorise out common bracket powers or exponential factors at the end.
- Quotient rule: () = .
- Exponential functions: (eˣ) = eˣ, (eax + b) = a eax + b, (ef(x)) = f′(x) ef(x), and (aˣ) = aˣ ln a.
- Logarithmic functions: (ln x) = , [ln(ax + b)] = , and [ln f(x)] = . Simplify roots, products and quotients inside logs using log laws before differentiating.
- Trigonometric functions (in radians):
- (sin x) = cos x and [sin(ax + b)] = a cos(ax + b)
- (cos x) = −sin x and [cos(ax + b)] = −a sin(ax + b)
- (tan x) = sec² x and [tan(ax + b)] = a sec²(ax + b)
- Implicit differentiation: differentiate every term with respect to x using [f(y)] = f′(y) and the product rule on mixed xy terms, then collect and factorise out .
- Parametric differentiation: = . Tangents parallel to the x-axis have = 0; tangents parallel to the y-axis have = 0.
📄 Practice questions
- The book's Exercises 4A to 4G and End-of-chapter review exercise 4 (every question and sub-part) are in the printable assignment for this chapter.
- It also includes a "Check yourself" set and a printed copy of the chapter quiz below.
Mini-quiz
Source: Cambridge International AS & A Level Mathematics: Pure Mathematics 2 & 3 Coursebook (Cambridge University Press, Sue Pemberton and Julianne Hughes), Chapter 4 (Differentiation). Explanations, extra examples, diagrams, the interactive simulation, the derivative solver tool, the Try it answers and the quiz are Guru Jazzy's own. This page is not made or endorsed by Cambridge University Press or Cambridge Assessment International Education.