mastree

Constant of integration: 7 exam questions solved step by step

What this lesson covers

  • Every indefinite integral carries a constant, and the question's conditions decide its value.
  • A starting value of zero does not mean the constant is zero.
Key idea

Finding the constant c

  1. Add + c to every indefinite integral.
  2. Substitute the condition given.
  3. Solve for c before going on.
  4. Each new integral gets a new constant.
Your turn

Question 1 · Achieved

  • Dy/dx = 4x³ − 6x + 1
  • The curve passes through (2, 9).
  • Find the equation of the curve.
Worked example

Q1: through (2, 9)

  • Integrate, keep + c.
  • The point finds c.
  1. y = ∫ (4x³ − 6x + 1) dx
  2. = x⁴ − 3x² + x + ckeep + c
  3. 9 = 2⁴ − 3(2)² + 2 + cx = 2, y = 9
  4. 9 = 16 − 12 + 2 + c
  5. 9 = 6 + c, so c = 3
  6. y = x⁴ − 3x² + x + 3
  7. 16 − 12 + 2 + 3 = 9
Key idea

Try it: through (2, 9)

Your turn

Question 2 · Achieved

  • f′(x) = 6√x and f(4) = 20
  • Find f(x).
Worked example

Q2: f′(x) = 6√x, f(4) = 20

  • Root as a power.
  • c can be negative.
  1. f(x) = ∫ 6x^(1/2) dxroot as a power
  2. = 6x^(3/2) ÷ (3/2) + cpower 1/2 to 3/2
  3. = 4x^(3/2) + c
  4. 4 × 4^(3/2) + c = 20f(4) = 20
  5. 4^(3/2) = (√4)³ = 8root, then cube
  6. 32 + c = 20, so c = −12
  7. f(x) = 4x^(3/2) − 12
Your turn

Question 3 · Merit

  • d²y/dx² = 12x − 4
  • At (1, 2) on the curve, the gradient is 5.
  • Find the equation of the curve.
Worked example

Q3: integrate twice

  • Gradient finds c.
  • Point finds d.
  1. dy/dx = ∫ (12x − 4) dx
  2. = 6x² − 4x + cfirst constant, c
  3. 5 = 6 − 4 + c, so c = 3gradient 5 at x = 1
  4. dy/dx = 6x² − 4x + 3
  5. y = 2x³ − 2x² + 3x + dsecond constant, d
  6. 2 = 2 − 2 + 3 + dthrough (1, 2)
  7. d = −1
  8. y = 2x³ − 2x² + 3x − 1
Your turn

Question 4 · Merit, in context

  • A jet ski moves in a straight line
  • With acceleration a = 4 − 2t m/s².
  • At t = 0, v = 1 m/s and s = 0.
  • Find its displacement after 3 s.
Worked example

Q4: a to v to s

  • v first, find c.
  • Then s, a new constant.
  1. v = ∫ (4 − 2t) dt = 4t − t² + c
  2. 1 = 0 − 0 + c, so c = 1v = 1 at t = 0
  3. v = 4t − t² + 1
  4. s = ∫ (4t − t² + 1) dt
  5. = 2t² − t³/3 + t + da new constant, d
  6. 0 = 0 + d, so d = 0s = 0 at t = 0
  7. s(3) = 2(9) − 27/3 + 3
  8. = 18 − 9 + 3 = 12
  9. 12 m from its start after 3 s
Key idea

Try it: a to v to s

Your turn

Question 5 · Merit, in context

  • A cyclist starts from rest with velocity
  • v = 10 − 10e^(−0.5t) m/s.
  • Her displacement is 0 at t = 0.
  • Find her displacement after 4 s.
  • Careful with the constant.
Worked example

Q5: find c

  • Integrate, keep + c.
  • e⁰ is 1, not 0.
  1. s = ∫ (10 − 10e^(−0.5t)) dt
  2. −10 ÷ (−0.5) = 20÷ a = −0.5
  3. s = 10t + 20e^(−0.5t) + c
  4. 0 = 0 + 20e⁰ + cs = 0 at t = 0
  5. 0 = 20 + c, so c = −20e⁰ = 1, not 0
  6. s = 10t + 20e^(−0.5t) − 20
Worked example

Q5: after 4 seconds

  • Substitute t = 4.
  • Round at the end.
  1. s = 10t + 20e^(−0.5t) − 20
  2. s(4) = 10(4) + 20e^(−2) − 20
  3. = 20 + 20e^(−2)
  4. = 20 + 2.707 = 22.707
  5. about 22.7 m after 4 s
  6. c = 0 gives 42.7 mstarts 20 m out
  7. ds/dt = 10 − 10e^(−0.5t)
Your turn

Question 6 · Excellence, in context

  • A float bobs on a wave, with
  • a = −8cos 2t cm/s² (up positive).
  • At t = 0 it is at rest, with s = 0.
  • Find s, and its lowest point.
Worked example

Q6: v, then s

  • Sin 0 = 0, so c = 0.
  • Cos 0 = 1, so d ≠ 0.
  1. v = ∫ −8cos 2t dt
  2. = −4 sin 2t + ccos to sin, ÷ 2
  3. 0 = −4 sin 0 + c, so c = 0sin 0 = 0
  4. v = −4 sin 2t
  5. s = ∫ −4 sin 2t dt
  6. = 2cos 2t + dsin to −cos, ÷ 2
  7. 0 = 2cos 0 + d = 2 + dcos 0 = 1, not 0
  8. d = −2
  9. s = 2cos 2t − 2
Key idea

Try it: find the constant

Worked example

Q6: the lowest point

  • Cos is never below −1.
  • Answer in words.
  1. s = 2cos 2t − 2
  2. −1 ≤ cos 2t ≤ 1
  3. lowest when cos 2t = −1
  4. s = 2(−1) − 2 = −4
  5. 2t = π, so t = π/2 ≈ 1.57the first time
  6. 4 cm below its start
  7. first at t = π/2 ≈ 1.57 s
Your turn

Question 7 · Excellence

  • A curve has dy/dx = 3x² + kx
  • And a stationary point at (2, −1).
  • Find the equation of the curve.
Worked example

Q7: find k, then c

  • Stationary: dy/dx = 0.
  • Then the point finds c.
  1. stationary at x = 2: dy/dx = 0
  2. 3(2)² + 2k = 0
  3. 12 + 2k = 0, so k = −6
  4. dy/dx = 3x² − 6x
  5. y = x³ − 3x² + cintegrate, + c
  6. −1 = 2³ − 3(2)² + cthrough (2, −1)
  7. −1 = 8 − 12 + c, so c = 3
  8. y = x³ − 3x² + 3
  9. 8 − 12 + 3 = −1

Common mistakes

  • s = 0 at t = 0, so c = 0.
    Substitute t = 0 into the whole expression. With an exponential, c is often not zero.
  • Using one constant for two integrations.
    Each integration brings its own constant, so use two conditions.
  • Finding c, then stopping.
    Write the full equation, then answer what was asked.
Summary

The method that solved all seven

  • Integrate with + c, then let the question decide it.
StepHow
Integrate+ c, every time
Find csubstitute the condition
a, v, sa new constant each time
At t = 0e⁰ = 1 and cos 0 = 1
Stationarydy/dx = 0 there
Checkit fits the start

Challenge

1

A curve has d²ydx² = 4cos 2x. At the point where x = π4 its tangent is horizontal, and the curve passes through the origin. (a) Find the equation of the curve. (b) Show that the gradient of the curve is never positive. (c) Hence describe the stationary point at x = π4, and give its exact coordinates.

Hint

Integrate twice, with a new constant each time. The horizontal tangent fixes the first constant and the origin fixes the second. For (b), what is the largest value sin 2x can take?

Answer

(a) y = 1 − cos 2x − 2x (which is the same as 2sin²x − 2x). (b) dydx = 2sin 2x − 2 = 2(sin 2x − 1) ≤ 0, because sin 2x ≤ 1. (c) A horizontal point of inflection at (π4, 1 − π2): the gradient is 0 there but negative on both sides, so it is neither a maximum nor a minimum.

Step by step
  1. Integrating 4cos 2x gives dydx = 2sin 2x + A.
  2. The tangent is horizontal at x = π4, so 2sin(π2) + A = 0 and A = −2.
  3. Integrating again gives y = −cos 2x − 2x + B, and the origin gives −1 + B = 0, so B = 1.
  4. dydx = 2(sin 2x − 1), and sin 2x is never more than 1, so the gradient is never positive.
  5. At x = π4 the gradient is 0, but just before and just after it is negative, so the curve keeps falling through a flat point: a horizontal point of inflection.
Full working
  1. dydx = ∫ 4cos 2x dx = 2sin 2x + Aintegrate
  2. 2sin(π2) + A = 0, so A = −2horizontal at x = π4
  3. y = ∫ (2sin 2x − 2) dx = −cos 2x − 2x + Bintegrate again
  4. 0 = −cos 0 − 0 + B, so B = 1through the origin
  5. y = 1 − cos 2x − 2xthe curve
  6. dydx = 2(sin 2x − 1) ≤ 0sin 2x ≤ 1
  7. y(π4) = 1 − cos(π2) − π2 = 1 − π2height
  8. d²ydx² = 4cos(π2) = 0 at x = π4consistent with an inflection
  9. y = 1 − cos 2x − 2x; horizontal point of inflection at (π4, 1 − π2)
2

A curve y = f(x) has gradient f′(x) = 2e^(2x) − 4eˣ. Its lowest point lies on the x axis. Find f(x), show that f(x) = (eˣ − 2)², and find the exact area of the region bounded by the curve, the x axis and the y axis.

Hint

The lowest point is a stationary point, so solve f′(x) = 0 first (take out a common factor). 'On the x axis' tells you the height there, which finds c.

Answer

f(x) = e^(2x) − 4eˣ + 4 = (eˣ − 2)²; area = 4 ln 2 − 52 ≈ 0.273 square units

Step by step
  1. Integrate: f(x) = e^(2x) − 4eˣ + c.
  2. f′(x) = 2eˣ(eˣ − 2) = 0. Since eˣ is never 0, eˣ = 2 and x = ln 2. This is the lowest point.
  3. The lowest point is on the x axis, so f(ln 2) = 0: 4 − 8 + c = 0 and c = 4.
  4. e^(2x) − 4eˣ + 4 is a perfect square, (eˣ − 2)², so f is never negative and touches the axis only at x = ln 2.
  5. The region runs from the y axis (x = 0) to where the curve touches the x axis (x = ln 2). It is above the axis, so integrate f from 0 to ln 2.
Full working
  1. f(x) = ∫ (2e^(2x) − 4eˣ) dx = e^(2x) − 4eˣ + ckeep + c
  2. 2eˣ(eˣ − 2) = 0, so eˣ = 2, x = ln 2eˣ > 0
  3. e^(2 ln 2) − 4e^(ln 2) + c = 0, so 4 − 8 + c = 0, c = 4lowest point on the x axis
  4. f(x) = e^(2x) − 4eˣ + 4 = (eˣ − 2)²perfect square
  5. A = [e^(2x)2 − 4eˣ + 4x] from 0 to ln 2f ≥ 0, no + c
  6. = (2 − 8 + 4 ln 2) − (12 − 4)e^(2 ln 2) = 4, e⁰ = 1
  7. f(x) = (eˣ − 2)²; area = 4 ln 2 − 52 ≈ 0.273 square units
3

A particle moves in a straight line with acceleration a = −4(t + 1)² m s⁻², for t ≥ 0. It starts at O, and in the long run its velocity gets closer and closer to −2 m s⁻¹. (a) Find its velocity v in terms of t, and its starting velocity. (b) Find when it is momentarily at rest, and its displacement from O at that moment. (c) Show that the total distance it travels in the first 3 seconds is exactly 2 m.

Hint

Integrate a to get v with a constant, then let t grow very large to find the constant. Integrate v, using s = 0 at t = 0. The particle turns round once, so split the distance at that time.

Answer

(a) v = 4t + 1 − 2, so it starts at 2 m s⁻¹. (b) At rest at t = 1 s, when s = 4 ln 2 − 2 ≈ 0.773 m. (c) s(3) = 8 ln 2 − 6 ≈ −0.455 m, so the distance is (4 ln 2 − 2) + (4 ln 2 − 2) − (8 ln 2 − 6) = 2 m.

Step by step
  1. Integrating a gives v = 4t + 1 + c. As t grows, 4t + 1 shrinks to 0, so v approaches c, which means c = −2.
  2. At t = 0, v = 4 − 2 = 2 m s⁻¹.
  3. v = 0 when 4t + 1 = 2, so t = 1. Before that v > 0 and after it v < 0, so the particle turns round once.
  4. Integrating v with s = 0 at t = 0 gives s = 4 ln(t + 1) − 2t, so s(1) = 4 ln 2 − 2.
  5. s(3) = 4 ln 4 − 6 = 8 ln 2 − 6. It goes out to s(1), then back to s(3), and the ln 2 terms cancel, leaving exactly 2 m.
Full working
  1. v = ∫ −4(t + 1)⁻² dt = 4t + 1 + cintegrate
  2. t → ∞: v → c, so c = −2long-run velocity
  3. v(0) = 4 − 2 = 2 m s⁻¹starting velocity
  4. 4t + 1 = 2, so t = 1 sat rest
  5. s = 4 ln(t + 1) − 2t + d, d = 0integrate, s(0) = 0
  6. s(1) = 4 ln 2 − 2 ≈ 0.773 mwhere it turns
  7. s(3) = 4 ln 4 − 6 = 8 ln 2 − 6 ≈ −0.455 mafter 3 s
  8. distance = 2(4 ln 2 − 2) − (8 ln 2 − 6) = 2out, then back
  9. v = 4t + 1 − 2, starting at 2 m s⁻¹; at rest at t = 1 s with s = 4 ln 2 − 2 ≈ 0.773 m; distance in 3 s = 2 m

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 91579