Differentiating: 7 exam questions solved step by step
What this lesson covers
- A polynomial is differentiated term by term, and a constant term differentiates to zero.
- The derivative is a new function; substituting into it gives a gradient, not a y value.
Differentiate term by term
- Expand any brackets first.
- Each term: bring the power down, then take 1 off it.
- A constant term goes to 0.
- For a gradient, substitute into dy/dx, not y.
Question 1 · Achieved
- y = 5x⁴ − 3x² + 7x − 2
- Find dy/dx.
- Find the gradient at x = 1/2.
Q1: y = 5x⁴ − 3x² + 7x − 2
- One term at a time.
- Bracket the 1/2.
- 5x⁴ → 4 × 5x³ = 20x³
- −3x² → 2 × (−3x) = −6xkeep the sign
- 7x → 7
- −2 → 0a constant
- dy/dx = 20x³ − 6x + 7
- 20(1/2)³ − 6(1/2) + 7x = 1/2
- = 20(1/8) − 3 + 7
- = 2.5 − 3 + 7 = 6.5
Try it: f and f′ together
Question 2 · Achieved
- f(x) = x⁴/2 − 2x³/3 + 5x
- Find f′(−1).
- Careful with the minus signs.
Q2: f(x) = x⁴/2 − 2x³/3 + 5x
- Multiply, then simplify.
- Square first, then minus.
- x⁴/2 → 4x³/2 = 2x³cancel the 2
- −2x³/3 → −6x²/3 = −2x²cancel the 3
- 5x → 5
- f′(x) = 2x³ − 2x² + 5
- f′(−1) = 2(−1)³ − 2(−1)² + 5bracket the −1
- = 2(−1) − 2(1) + 5
- = −2 − 2 + 5 = 1
Question 3 · Merit
- y = (3x − 2)(x + 5)
- Find the gradient at x = −1.
Q3: y = (3x − 2)(x + 5)
- Not bracket by bracket.
- Expand, then differentiate.
- dy/dx = 3 × 1 = 3brackets not expanded
- y = 3x² + 15x − 2x − 10expand
- = 3x² + 13x − 10collect x terms
- dy/dx = 6x + 13term by term
- x = −1: 6(−1) + 13
- = −6 + 13 = 7
Question 4 · Merit
- y = x³ − 3x² + 2
- Find the points where the gradient is 9.
Q4: where is the gradient 9?
- Set dy/dx equal to 9.
- y from the curve.
- dy/dx = 3x² − 6x
- 3x² − 6x = 9gradient 9
- 3x² − 6x − 9 = 0−9 both sides
- x² − 2x − 3 = 0÷ 3
- (x − 3)(x + 1) = 0factorise
- x = 3 or x = −1
- x = 3: y = 27 − 27 + 2 = 2
- x = −1: y = −1 − 3 + 2 = −2
- (3, 2) and (−1, −2)
Try it: where is the gradient zero?
Question 5 · Merit, in context
- A farm tank holds V = 40t − t² litres
- After t minutes (0 ≤ t ≤ 20).
- a) How fast is it filling at t = 5?
- b) When is it filling at 10 L/min?
Q5: the filling tank
- A rate is dV/dt, not V.
- Answer in words, with units.
- V(5) = 200 − 25 = 175litres, not a rate
- dV/dt = 40 − 2trate of change
- t = 5: 40 − 2(5) = 30
- 30 litres per minute
- 40 − 2t = 10rate = 10
- 2t = 30, so t = 15
- 0 ≤ 15 ≤ 20
- after 15 minutes
Question 6 · Excellence
- y = 2x³ + 3x² − 12x + 1
- For which values of x is
- The curve decreasing?
Q6: where is it decreasing?
- Decreasing: dy/dx < 0.
- Test a value either side.
- dy/dx = 6x² + 6x − 12
- 6x² + 6x − 12 < 0decreasing
- 6(x² + x − 2) < 0take out 6
- 6(x + 2)(x − 1) < 0factorise
- zero at x = −2 and x = 1
- x = 0: 0 + 0 − 12 = −12
- x = 2: 24 + 12 − 12 = 24
- −2 < x < 1
Question 7 · Excellence
- y = ax² + bx + 3 has gradient 7 at x = 1
- And gradient −1 at x = −1.
- Find a and b.
Q7: form two equations
- A and b are numbers.
- One equation per gradient.
- dy/dx = 2ax + ba, b are constants
- x = 1: 2a + b = 7gradient 7
- x = −1: −2a + b = −1gradient −1
Q7: solve, then check
- Add to remove a.
- Check both gradients.
- 2a + b = 7
- −2a + b = −1
- 2b = 6, so b = 3add the equations
- 2a + 3 = 7, so a = 2substitute b
- y = 2x² + 3x + 3
- dy/dx = 4x + 3
- 4(1) + 3 = 7
- 4(−1) + 3 = −1
Try it: rates, downhill and unknowns
Common mistakes
- y = (3x − 2)(x + 5), so dy/dx = 3 × 1 = 3Expand first: y = 3x² + 13x − 10, so dy/dx = 6x + 13, which is 7 at x = −1.
- f′(−1) = 2(−1)³ − 2(−1)² + 5 = −2 + 2 + 5 = 5(−1)² = 1, so −2(−1)² = −2 and f′(−1) = −2 − 2 + 5 = 1.
- V(5) = 175, so the tank is filling at 175 L/min.V(5) is the volume; the rate is dV/dt = 40 − 2t, which is 30 L per minute at t = 5.
- 6(x + 2)(x − 1) < 0, so x < −2 or x > 1A positive x² curve is below zero between its roots, so the curve is decreasing for −2 < x < 1.
The method that solved all seven
- Expand, differentiate term by term, then substitute with care.
| Step | How |
|---|---|
| Each term | power down, power minus one |
| Constants | go to zero |
| Fractions | multiply, then simplify |
| Brackets | expand before differentiating |
| Substitute | brackets around negatives |
| Gradient = k | set dy/dx = k and solve |
Challenge
Show that the curves y = x³ and y = 3x² − 3x + 1 have the same gradient at only one value of x, and that they meet at that value. Find the equation of the tangent line they share there.
Hint
Differentiate both and set the gradients equal. Then check the y values at that x on both curves.
Answer
Equal gradients only at x = 1, where both curves pass through (1, 1); shared tangent y = 3x − 2
Step by step
- Differentiate: y = x³ gives 3x², and y = 3x² − 3x + 1 gives 6x − 3.
- Set them equal: 3x² = 6x − 3, so 3x² − 6x + 3 = 0, which is 3(x − 1)² = 0.
- A perfect square has one root, so the gradients are equal only at x = 1.
- At x = 1 both curves give y = 1 (1³ = 1 and 3 − 3 + 1 = 1), so they meet at (1, 1).
- Both have gradient 3 at (1, 1), so they share the tangent y − 1 = 3(x − 1), which is y = 3x − 2.
Full working
- ddx(x³) = 3x²first curve
- ddx(3x² − 3x + 1) = 6x − 3second curve
- 3x² − 6x + 3 = 0, so 3(x − 1)² = 0gradients equal
- x = 1 onlya repeated root
- 1³ = 1 and 3(1)² − 3(1) + 1 = 1both pass through (1, 1)
- gradient 3(1)² = 3at the meeting point
- y − 1 = 3(x − 1)point and gradient
- x = 1 only, meeting at (1, 1); shared tangent y = 3x − 2
The curve y = x³ + ax² + bx is decreasing exactly when 1 < x < 5. Find a and b. Then find the coordinates of the two points on the curve where the gradient is −9.
Hint
The curve turns at the ends of the decreasing interval, so dydx = 0 at x = 1 and x = 5. A quadratic with those roots and leading term 3x² is 3(x − 1)(x − 5).
Answer
a = −9, b = 15, so y = x³ − 9x² + 15x; gradient −9 at (2, 2) and (4, −20)
Step by step
- dydx = 3x² + 2ax + b, a ∪-shaped parabola. It is negative only between its roots, so its roots must be 1 and 5.
- So dydx = 3(x − 1)(x − 5) = 3x² − 18x + 15.
- Match the terms: 2a = −18, so a = −9, and b = 15.
- Gradient −9: 3x² − 18x + 15 = −9, which gives x² − 6x + 8 = 0, so x = 2 or x = 4.
- Find y from the curve, not from dydx: y(2) = 8 − 36 + 30 = 2 and y(4) = 64 − 144 + 60 = −20.
Full working
- dydx = 3x² + 2ax + bdifferentiate
- dydx = 3(x − 1)(x − 5) = 3x² − 18x + 15negative only for 1 < x < 5
- 2a = −18, b = 15, so a = −9match coefficients
- 3x² − 18x + 15 = −9, so x² − 6x + 8 = 0gradient −9
- (x − 2)(x − 4) = 0x = 2 or 4
- y(2) = 8 − 36 + 30 = 2; y(4) = 64 − 144 + 60 = −20from the curve
- a = −9, b = 15; points (2, 2) and (4, −20)
The curve y = ax + bx has gradient 0 at the point where x = 2, and y = 12 there. Find a and b. Find the other point where the gradient is 0, and show that the gradient of this curve is less than 3 at every point.
Hint
Write bx as bx⁻¹ before differentiating. The two facts at x = 2 give two equations in a and b.
Answer
a = 3, b = 12, so y = 3x + 12x; the other point is (−2, −12); dydx = 3 − 12x², and 12x² > 0, so the gradient is always less than 3
Step by step
- Write y = ax + bx⁻¹. Then dydx = a − bx⁻² = a − bx².
- Gradient 0 at x = 2: a − b4 = 0, so b = 4a. Height 12 at x = 2: 2a + b2 = 12.
- Substitute b = 4a: 2a + 2a = 12, so a = 3 and b = 12.
- Gradient 0: 3 − 12x² = 0, so x² = 4 and x = ±2. The other point is x = −2, y = −6 − 6 = −12.
- x² is positive for every x ≠ 0, so 12x² > 0 and dydx = 3 − 12x² is always below 3.
Full working
- y = ax + bx⁻¹negative power
- dydx = a − bx⁻² = a − bx²power down, one less
- a − b4 = 0, so b = 4agradient 0 at x = 2
- 2a + b2 = 12, so 4a = 12y = 12 at x = 2
- a = 3, b = 12solve
- 3 − 12x² = 0, so x² = 4, x = ±2gradient 0
- x = −2: y = −6 + 12−2 = −12the other point
- 12x² > 0, so dydx < 3x ≠ 0
- a = 3, b = 12; other point (−2, −12); gradient always less than 3
Practise this
Report a mistake
More in AS 91262
The derivative: what the gradient function means6 min
Differentiating polynomials, fractions and all7 min
Equation of a tangent to a curve, step by step8 min
Turning points: finding and proving max or min8 min
Sketching the gradient graph of a function7 min
Optimisation with calculus: the biggest box8 min
Anti-differentiation and why you need + c7 min
Kinematics: displacement, velocity and acceleration8 min
The derivative: 7 exam questions solved step by step11 min
Differentiating: 7 exam questions solved step by step11 min
Tangents: 7 exam questions solved step by step11 min
Turning points: 7 exam questions solved step by step12 min
Gradient graphs: 7 exam questions solved step by step12 min
Optimisation: 7 exam questions solved step by step11 min
Anti-differentiation: 7 exam questions solved step by step11 min
Kinematics: 7 exam questions solved step by step11 minIs your child on track?
Take the free placement test