Vertex Learn

Anti-differentiation: 7 exam questions solved step by step

What this lesson covers

  • Anti-differentiation reverses differentiation, and every answer has a family of curves, so + c is needed.
  • A known point on the curve fixes the value of c.
Key idea

Anti-differentiate term by term

  1. Raise each power by one.
  2. Divide by the new power.
  3. Always add + c.
  4. A known point on the curve finds c.
Your turn

Question 1 · Achieved

  • Find f(x) if f′(x) = 8x³ − 6x² + 2x − 5
Worked example

Q1: term by term

  • Raise the power, divide.
  • Do not forget + c.
  1. 8x³ → 8x⁴/4 = 2x⁴power 3 to 4, ÷ 4
  2. −6x² → −6x³/3 = −2x³power 2 to 3, ÷ 3
  3. 2x → 2x²/2 = x²power 1 to 2, ÷ 2
  4. −5 → −5xa constant k → kx
  5. f(x) = 2x⁴ − 2x³ + x² − 5x + c
  6. f′(x) = 8x³ − 6x² + 2x − 5differentiate back
Key idea

Try it: check by differentiating

Your turn

Question 2 · Achieved

  • f′(x) = 4x − 3 and f(2) = 9.
  • Find f(x).
Worked example

Q2: f′(x) = 4x − 3, f(2) = 9

  • Anti-differentiate, + c.
  • Substitute the point.
  1. f(x) = 4x²/2 − 3x + canti-differentiate
  2. = 2x² − 3x + c
  3. f(2) = 2(2)² − 3(2) + c = 9f(2) = 9
  4. 8 − 6 + c = 9
  5. 2 + c = 9, so c = 7
  6. f(x) = 2x² − 3x + 7
  7. f(2) = 8 − 6 + 7 = 9
Key idea

Try it: a point picks the curve

Your turn

Question 3 · Merit

  • A curve has gradient dy/dx = 3x² − x + 2
  • And passes through (2, 4).
  • Find the equation of the curve.
Worked example

Q3: through (2, 4)

  • x is x¹: power to 2.
  • Then use the point.
  1. 3x² → 3x³/3 = x³power 2 to 3, ÷ 3
  2. −x → −x²/2power 1 to 2, ÷ 2
  3. 2 → 2xa constant k → kx
  4. y = x³ − x²/2 + 2x + cadd + c
  5. 4 = 2³ − 2²/2 + 2(2) + cthrough (2, 4)
  6. 4 = 8 − 2 + 4 + c
  7. 4 = 10 + c, so c = −6
  8. y = x³ − x²/2 + 2x − 6
  9. check: 3x² − x + 2differentiate back
Your turn

Question 4 · Merit

  • f′(x) = (x + 3)(x − 1) and f(3) = 10.
  • Find f(x).
  • Careful: you cannot do each bracket.
Worked example

Q4: brackets first

  • Expand before you start.
  • Then find c.
  1. f′(x) = x² − x + 3x − 3expand
  2. = x² + 2x − 3collect
  3. f(x) = x³/3 + x² − 3x + canti-differentiate
  4. f(3) = 27/3 + 9 − 9 + c = 10
  5. 9 + c = 10, so c = 1
  6. f(x) = x³/3 + x² − 3x + 1
  7. check: f′(x) = x² + 2x − 3
Your turn

Question 5 · Merit, in context

  • A sunflower in a school garden grows at
  • Dh/dt = 12 − 0.8t cm per week.
  • It is 60 cm tall after 5 weeks.
  • How tall was it at planting, and at 10 weeks?
Worked example

Q5: the sunflower

  • c is the height at t = 0.
  • Answer with units.
  1. h = 12t − 0.8t²/2 + canti-differentiate
  2. = 12t − 0.4t² + c
  3. 60 = 12(5) − 0.4(5)² + ch = 60 at t = 5
  4. 60 = 60 − 10 + c, so c = 10
  5. h = 12t − 0.4t² + 10
  6. planted at 10 cmt = 0: h = c
  7. h = 120 − 40 + 10 = 90t = 10
  8. 90 cm tall after 10 weeks
Your turn

Question 6 · Excellence

  • A curve has gradient dy/dx = 3x² − 27.
  • Its minimum point has y-value −50.
  • Find the equation of the curve.
Worked example

Q6: which point is the minimum?

  • Two stationary points.
  • Test the signs.
  1. 3x² − 27 = 0stationary
  2. x² = 9, so x = 3 or x = −3
  3. dy/dx at 2: 12 − 27 = −15
  4. dy/dx at 4: 48 − 27 = 21
  5. − then +: minimum at x = 3
  6. x = −3 is the maximumnot the minimum
Worked example

Q6: find c at the minimum

  • Anti-differentiate, + c.
  • Use the point (3, −50).
  1. minimum at x = 3
  2. y = 3x³/3 − 27x + canti-differentiate
  3. = x³ − 27x + c
  4. −50 = 3³ − 27(3) + cthe minimum (3, −50)
  5. −50 = 27 − 81 + c
  6. −50 = −54 + c, so c = 4
  7. y = x³ − 27x + 4
  8. y(3) = 27 − 81 + 4 = −50
Key idea

Try it: undo it, then check

Your turn

Question 7 · Excellence

  • A curve has gradient dy/dx = kx − 6.
  • It has a turning point at x = 3
  • And passes through (1, 3).
  • Find the curve and where it cuts the x-axis.
Worked example

Q7: find k, then c

  • Turning point: gradient 0.
  • Then y = 0 for the axis.
  1. k(3) − 6 = 0, so k = 2turning point at x = 3
  2. dy/dx = 2x − 6
  3. y = x² − 6x + canti-differentiate
  4. 3 = 1² − 6(1) + cthrough (1, 3)
  5. 3 = −5 + c, so c = 8
  6. y = x² − 6x + 8
  7. x² − 6x + 8 = 0cuts the x-axis
  8. (x − 2)(x − 4) = 0factorise
  9. cuts at x = 2 and x = 4

Common mistakes

  • f(x) = 2x⁴ − 2x³ + x² − 5x
    Every anti-derivative needs + c: f(x) = 2x⁴ − 2x³ + x² − 5x + c.
  • 4x − 3 anti-differentiates to 4x² − 3x.
    Raise the power, then divide by the new power: 4x gives 4x²/2 = 2x², so f(x) = 2x² − 3x + c.
  • f′(x) = (x + 3)(x − 1), so f(x) = (x²/2 + 3x)(x²/2 − x)
    You cannot do each bracket; expand first to x² + 2x − 3, so f(x) = x³/3 + x² − 3x + c.
  • x = ±3, so put x = −3 and y = −50 to find c.
    Check which is the minimum: y″ = 6x is positive at x = 3, so use (3, −50), giving c = 4.
Summary

The method that solved all seven

  • Term by term, + c, then a point to find c.
StepHow
Powerraise by one, divide by it
Constantk becomes kx
Alwaysadd + c
Bracketsexpand first
A pointsubstitute it to find c
Checkdifferentiate back

Challenge

1

A curve has gradient dydx = 3x² + px, where p is a constant. The curve passes through (0, 5) and (2, 1). Find p and the equation of the curve. Then find both turning points and show which is a maximum and which is a minimum.

Hint

Anti-differentiate with p left in, and add + c. Each point gives you one equation; (0, 5) finds c straight away.

Answer

p = −6, y = x³ − 3x² + 5; maximum (0, 5), minimum (2, 1)

Step by step
  1. Anti-differentiate term by term, keeping p: y = x³ + px²2 + c.
  2. Through (0, 5): every x term is 0, so c = 5.
  3. Through (2, 1): 1 = 8 + 2p + 5, so 2p = −12 and p = −6. The curve is y = x³ − 3x² + 5.
  4. Turning points: dydx = 3x² − 6x = 3x(x − 2) = 0, so x = 0 or x = 2. Both given points are turning points.
  5. Test signs: dydx at −1 is 9, at 1 is −3, at 3 is 9. So + then − at x = 0 (maximum) and − then + at x = 2 (minimum).
Full working
  1. y = x³ + px²2 + canti-differentiate, keep p
  2. 5 = 0 + 0 + c, so c = 5through (0, 5)
  3. 1 = 8 + 4p2 + 5, so 2p = −12, p = −6through (2, 1)
  4. y = x³ − 3x² + 5substitute p and c
  5. dydx = 3x² − 6x = 3x(x − 2) = 0turning points at x = 0, 2
  6. dydx: x = −1 gives 9, x = 1 gives −3, x = 3 gives 9sign test
  7. p = −6, y = x³ − 3x² + 5; maximum (0, 5), minimum (2, 1)
2

A curve has gradient dydx = 3x² − 6x + k. It has a turning point at x = 3, and its local maximum point lies on the x-axis. Find k and the equation of the curve, the local minimum point, and every point where the curve meets the x-axis.

Hint

A turning point means dydx = 0 there, which finds k. Then find the other turning point and decide which is the maximum before you use y = 0 to find c.

Answer

k = −9, y = x³ − 3x² − 9x − 5; minimum (3, −32); meets the x-axis at (−1, 0), where it touches, and at (5, 0)

Step by step
  1. At x = 3 the gradient is 0: 27 − 18 + k = 0, so k = −9.
  2. Then dydx = 3x² − 6x − 9 = 3(x + 1)(x − 3), so the turning points are at x = −1 and x = 3. Signs + − + make x = −1 the maximum.
  3. Anti-differentiate: y = x³ − 3x² − 9x + c. The maximum is on the x-axis, so y = 0 at x = −1: −1 − 3 + 9 + c = 0, giving c = −5.
  4. Minimum: y(3) = 27 − 27 − 27 − 5 = −32.
  5. The curve touches the x-axis at its maximum, so (x + 1)² is a factor: x³ − 3x² − 9x − 5 = (x + 1)²(x − 5). It also crosses at x = 5.
Full working
  1. 27 − 18 + k = 0, so k = −9dydx = 0 at x = 3
  2. dydx = 3(x + 1)(x − 3)turning points x = −1, 3
  3. dydx at −2: 15, at 0: −9, at 4: 15+ − +: max at −1, min at 3
  4. y = x³ − 3x² − 9x + canti-differentiate
  5. 0 = −1 − 3 + 9 + c, so c = −5maximum (−1, 0)
  6. y(3) = 27 − 27 − 27 − 5 = −32the minimum
  7. (x + 1)²(x − 5) = x³ − 3x² − 9x − 5expand to check
  8. k = −9, y = x³ − 3x² − 9x − 5; min (3, −32); meets x-axis at (−1, 0) and (5, 0)
3

The gradient of the gradient function of a curve is d²ydx² = 6x − 4. The curve has a turning point at (1, 2). Find the equation of the curve, its other turning point, and the nature of each turning point.

Hint

Anti-differentiate twice, with a different constant each time. A turning point at x = 1 tells you dydx = 0 there; the curve passing through (1, 2) tells you y = 2 there.

Answer

y = x³ − 2x² + x + 2; minimum (1, 2) and maximum (13, 5827)

Step by step
  1. Anti-differentiate once to get the gradient function: dydx = 3x² − 4x + a.
  2. The turning point at x = 1 means dydx = 0 there: 3 − 4 + a = 0, so a = 1.
  3. Anti-differentiate again: y = x³ − 2x² + x + b. Through (1, 2): 1 − 2 + 1 + b = 2, so b = 2.
  4. Other turning point: 3x² − 4x + 1 = (3x − 1)(x − 1) = 0 gives x = 13, and y = 127 − 29 + 13 + 2 = 5827.
  5. Nature: d²ydx² = 6x − 4 is 2 at x = 1 (positive, a minimum) and −2 at x = 13 (negative, a maximum).
Full working
  1. dydx = 3x² − 4x + aanti-differentiate 6x − 4
  2. 3 − 4 + a = 0, so a = 1dydx = 0 at x = 1
  3. y = x³ − 2x² + x + banti-differentiate again
  4. 1 − 2 + 1 + b = 2, so b = 2through (1, 2)
  5. (3x − 1)(x − 1) = 0, so x = 13other turning point
  6. y = 127 − 627 + 927 + 5427 = 5827common denominator 27
  7. 6(1) − 4 = 2 > 0; 6(13) − 4 = −2 < 0second derivative test
  8. y = x³ − 2x² + x + 2; minimum (1, 2), maximum (13, 5827)

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 91262

Is your child on track?

Take the free placement test