mastree

Derivative toolkit: 7 exam questions solved step by step

What this lesson covers

  • Every Level 3 derivative is built from a few standard results and three rules for combining them.
  • A dropped factor or a missing bracket loses the whole question, even if later working is right.
Key idea

Choosing a differentiation rule

  1. Rewrite roots and fractions as powers.
  2. Choose the rule: chain, product or quotient.
  3. Write one line per rule, with brackets.
  4. Substitute or simplify only if asked.
Your turn

Question 1 · Achieved

  • y = 2x√x − 6/√x
  • Find dy/dx, and the gradient
  • Of the curve at x = 4.
Worked example

Q1: y = 2x√x − 6/√x

  • Powers first.
  • Then the power rule.
  1. y = 2x√x − 6/√x
  2. = 2x^³ᐟ² − 6x^−½x × x^½ = x^³ᐟ²
  3. dy/dx = 2(3/2)x^½ − 6(−½)x^−³ᐟ²
  4. = 3x^½ + 3x^−³ᐟ²power rule
  5. x = 4: 3(4)^½ + 3(4)^−³ᐟ²
  6. = 3(2) + 3(1/8)4^½ = 2, 4^³ᐟ² = 8
  7. = 6 + 3/8 = 51/8
Your turn

Question 2 · Achieved

  • Differentiate y = cot(x²) + sec 4x
  • You do not need to simplify.
Worked example

Q2: y = cot(x²) + sec 4x

  • A chain rule for each term.
  • Not simplified: stop.
  1. d/du cot u = −cosec² ubooklet
  2. cot(x²): u = x², u′ = 2x
  3. → −cosec²(x²) × 2xchain rule
  4. d/du sec u = sec u tan ubooklet
  5. sec 4x: u = 4x, u′ = 4
  6. → sec 4x tan 4x × 4chain rule
  7. dy/dx = −2x cosec²(x²)
  8. + 4sec 4x tan 4x
Your turn

Question 3 · Merit

  • y = x³ ln(2x)
  • Find the gradient of the curve
  • At x = e/2.
Worked example

Q3: y = x³ ln(2x)

  • Product rule.
  • Ln(2x) needs the chain.
  1. u = x³, u′ = 3x²product rule
  2. v = ln(2x)
  3. v′ = 1/(2x)chain factor dropped
  4. v′ = (1/(2x)) × 2 = 1/xchain: × 2
  5. dy/dx = 3x² ln(2x) + x³(1/x)
  6. = 3x² ln(2x) + x²x³/x = x²
  7. x = e/2: ln(2x) = ln e = 1
  8. 3(e/2)² + (e/2)²
  9. = 3e²/4 + e²/4 = e²
Key idea

Try it: a product

Your turn

Question 4 · Merit

  • y = e³ˣ/(x + 2)
  • Find dy/dx, and the gradient
  • At x = 0.
Worked example

Q4: y = e³ˣ/(x + 2)

  • Quotient rule.
  • Brackets on every part.
  1. u = e³ˣ, u′ = 3e³ˣchain: × 3
  2. v = x + 2, v′ = 1
  3. dy/dx = (u′v − uv′)/v²quotient rule
  4. = (3e³ˣ(x + 2) − e³ˣ(1))/(x + 2)²
  5. = e³ˣ(3x + 6 − 1)/(x + 2)²take out e³ˣ
  6. = e³ˣ(3x + 5)/(x + 2)²
  7. x = 0: e⁰(5)/2² = 5/4e⁰ = 1
Key idea

Try it: a quotient

Key idea

Try it: pick the rule, spot the slip

Your turn

Question 5 · Merit, in context

  • Tea cools in a Wellington café.
  • After t minutes its temperature is
  • T = 20 + 70e^−0.05t (°C).
  • How fast is it cooling at t = 10?
Worked example

Q5: dT/dt at t = 10

  • Chain rule.
  • Negative rate: falling.
  1. T = 20 + 70e^−0.05t
  2. dT/dt = 70(−0.05)e^−0.05tchain; 20 → 0
  3. = −3.5e^−0.05t
  4. t = 10: −3.5e^−0.5
  5. = −2.1229calculator
  6. ≈ −2.123 s.f.
  7. cooling at about 2.12 °C per min
Your turn

Question 6 · Excellence

  • y = e^−x sin 2x
  • Show that y″ + 2y′ + 5y = 0
Worked example

Q6: first derivative

  • Product rule.
  • Keep the −1 and the 2.
  1. u = e^−x, u′ = −e^−xchain: × −1
  2. v = sin 2x, v′ = 2cos 2xchain: × 2
  3. y′ = u′v + uv′product rule
  4. = −e^−x sin 2x + 2e^−x cos 2x
  5. = e^−x(2cos 2x − sin 2x)take out e^−x
Worked example

Q6: second derivative

  • Product rule again.
  • Brackets round each part.
  1. y′ = e^−x(2cos 2x − sin 2x)
  2. u = e^−x, u′ = −e^−x
  3. v = 2cos 2x − sin 2x
  4. v′ = −4sin 2x − 2cos 2xchain: × 2 each
  5. y″ = −e^−x(2cos 2x − sin 2x)
  6. + e^−x(−4sin 2x − 2cos 2x)
  7. = e^−x(−4cos 2x − 3sin 2x)collect
Worked example

Q6: show it is zero

  • Like terms together.
  • Each set cancels.
  1. y″ = e^−x(−4cos 2x − 3sin 2x)
  2. 2y′ = e^−x(4cos 2x − 2sin 2x)
  3. 5y = 5e^−x sin 2x
  4. cos 2x: −4 + 4 = 0the cos terms
  5. sin 2x: −3 − 2 + 5 = 0the sin terms
  6. y″ + 2y′ + 5y = 0as required
Your turn

Question 7 · Excellence

  • k is a constant. y = eᵏˣ cos 2x
  • The gradient is 0 at x = π/8.
  • Find k.
Worked example

Q7: y = eᵏˣ cos 2x

  • Product rule with k.
  • eᵏˣ is never zero.
  1. u = eᵏˣ, u′ = keᵏˣchain: × k
  2. v = cos 2x, v′ = −2sin 2xchain: × 2
  3. dy/dx = keᵏˣ cos 2x − 2eᵏˣ sin 2x
  4. x = π/8: 2x = π/4cos = sin = √2/2
  5. e^(kπ/8)(√2/2)(k − 2) = 0factorise
  6. e^(kπ/8) > 0, √2/2 ≠ 0neither is 0
  7. k − 2 = 0, so k = 2
  8. e^(π/4)(√2 − √2) = 0k = 2

Common mistakes

  • d/dx cot(x²) = −cosec²(x²)
    Apply the chain rule as well: −2x cosec²(x²).
  • The derivative of x³ ln(2x) is 3x² × 2/x.
    It is a product, so use the product rule: 3x² ln(2x) + x³ × 1/x.
  • dT/dt = −2.12 means the tea is at −2.12 °C.
    It is a rate: the temperature is falling at 2.12 °C per minute.
Summary

The method that solved all seven

  • Powers first, name the rule, one line each, brackets always.
StepHow
Surdspowers first, then bring down
Chaintimes the inside’s derivative
Productu′v + uv′
Quotient(u′v − uv′)/v², in brackets
In contexta rate, with its units
Show thatcollect like terms to 0

Challenge

1

y = ln(1 + sin x1 − sin x), for −π2 < x < π2. Show that dydx = 2sec x.

Hint

Use a log law to split y into two logs before you differentiate. Each log then needs the chain rule. To finish, put the two fractions over a common denominator and use sin²x + cos²x = 1.

Answer

dydx = cos x1 + sin x + cos x1 − sin x = 2cos xcos²x = 2sec x.

Step by step
  1. The log of a quotient is a difference of logs, so y = ln(1 + sin x) − ln(1 − sin x). This avoids the quotient rule inside a log.
  2. The derivative of ln u is u′u, so each term needs the derivative of its inside.
  3. The inside 1 − sin x has derivative −cos x, so the minus signs combine into a plus.
  4. Add the fractions. The bottom becomes 1 − sin²x, which is cos²x.
  5. Cancel one cos x to get 2 over cos x, which is 2sec x.
Full working
  1. y = ln(1 + sin x) − ln(1 − sin x)ln(ab) = ln a − ln b
  2. ddx ln(1 + sin x) = cos x1 + sin xchain: u′u
  3. ddx ln(1 − sin x) = −cos x1 − sin xinside derivative is −cos x
  4. dydx = cos x1 + sin x + cos x1 − sin xminus × minus
  5. = cos x((1 − sin x) + (1 + sin x))(1 + sin x)(1 − sin x)common denominator
  6. = 2cos x1 − sin²xsin x terms cancel
  7. = 2cos xcos²x1 − sin²x = cos²x
  8. dydx = 2cos x = 2sec x
2

f(x) = ax + bx² + 1, where a and b are constants. The curve y = f(x) has a stationary point at (2, 1). Find a and b, and then find the other stationary point of the curve.

Hint

You need two equations for two unknowns: one from the point lying on the curve, and one from the gradient being zero there. Use the quotient rule with a and b left in.

Answer

a = 4, b = −3, so f(x) = 4x − 3x² + 1. The other stationary point is (−12, −4).

Step by step
  1. The point (2, 1) is on the curve, so f(2) = 1 gives 2a + b = 5.
  2. Differentiate with the quotient rule, keeping a and b as letters.
  3. The gradient is zero at x = 2. Only the top of the fraction can be zero, so set the top equal to 0 at x = 2.
  4. Solve the two equations together to get a and b.
  5. Put a and b back into the top of f′(x), set it to zero and factorise. One root is x = 2, as expected; the other gives the second stationary point.
Full working
  1. f(2) = 2a + b5 = 1, so 2a + b = 5point on the curve
  2. f′(x) = a(x² + 1) − (ax + b)(2x)(x² + 1)²quotient rule
  3. top at x = 2: 5a − 4(2a + b) = 0f′(2) = 0
  4. −3a − 4b = 0simplify
  5. b = 5 − 2a: −3a − 20 + 8a = 0, so a = 4substitute
  6. b = 5 − 8 = −3
  7. top: 4(x² + 1) − (4x − 3)(2x) = −4x² + 6x + 4a = 4, b = −3
  8. −2(2x² − 3x − 2) = −2(x − 2)(2x + 1) = 0factorise
  9. x = −12: f(−12) = −2 − 314 + 1 = −5 ÷ 54 = −4the other root
  10. a = 4, b = −3; the other stationary point is (−12, −4)
3

y = tan x. (a) Show that dydx = 1 + y². (b) Hence show that d²ydx² = 2y(1 + y²), and find the exact value of d³ydx³ at x = π4.

Hint

For (a), ddx tan x = sec²x, and there is an identity linking sec²x and tan²x. For (b), differentiate 1 + y² with respect to x using the chain rule: the derivative of y² is 2y × dydx.

Answer

(a) dydx = sec²x = 1 + tan²x = 1 + y². (b) d²ydx² = 2y × dydx = 2y(1 + y²); at x = π4, d³ydx³ = 16.

Step by step
  1. The derivative of tan x is sec²x, and sec²x = 1 + tan²x, which is 1 + y².
  2. Differentiate dydx = 1 + y². The 1 goes to 0, and y² needs the chain rule because y is a function of x.
  3. That gives 2y × dydx, and dydx is 1 + y², which proves (b).
  4. Differentiate d²ydx² = 2y + 2y³ the same way, getting (2 + 6y²) × dydx.
  5. At x = π4, y = tan(π4) = 1, so everything becomes numbers.
Full working
  1. dydx = sec²xstandard result
  2. = 1 + tan²x = 1 + y²sec²x = 1 + tan²x
  3. d²ydx² = ddx(1 + y²) = 2y × dydxchain rule
  4. = 2y(1 + y²)(b) shown
  5. d²ydx² = 2y + 2y³expand
  6. d³ydx³ = (2 + 6y²) × dydx = (2 + 6y²)(1 + y²)chain rule again
  7. x = π4: y = tan(π4) = 1substitute
  8. d³ydx³ = (2 + 6)(1 + 1) = 8 × 2y = 1
  9. d³ydx³ = 16 at x = π4

More challenge problems

Practice

Practise this

Worksheet with answersWithout answersDownload PDF
2026 practice paper with worked answersOpen the paper
Report a mistake

More in AS 91578