Differential equations: 6 exam questions solved step by step
What this lesson covers
- A differential equation gives a rate; solving it gives the quantity itself.
- Separating variables and integrating both sides leaves one constant, found from the starting condition.
6 questions, one method
- 1. Separate: y terms left, x terms right.
- 2. Integrate both sides, one + c.
- 3. Find the constant from the condition.
- 4. Logs to find k; exact until the end.
Question 1 · Achieved
- dy/dx = 6x − 2/x, for x > 0,
- and y = 4 when x = 1. Find y.
Q1: dy/dx = 6x − 2/x
- Integrate, keep the + c.
- The point finds c.
- y = ∫ (6x − 2/x) dxintegrate
- = 3x² − 2 ln x + ckeep the + c
- 4 = 3(1)² − 2 ln 1 + cx = 1, y = 4
- 4 = 3 − 0 + c, so c = 1ln 1 = 0
- y = 3x² − 2 ln x + 1
- dy/dx = 6x − 2/xdifferentiate back
Question 2 · Achieved
- d²y/dx² = 12x² − 6. The gradient is 3
- at x = 1, and the curve passes
- through (0, 2). Find y.
Q2: d²y/dx² = 12x² − 6
- Integrate twice.
- Two constants, two facts.
- dy/dx = ∫ (12x² − 6) dxintegrate once
- = 4x³ − 6x + c₁
- 3 = 4 − 6 + c₁, so c₁ = 5x = 1, dy/dx = 3
- y = ∫ (4x³ − 6x + 5) dxintegrate again
- = x⁴ − 3x² + 5x + c₂a new constant
- 2 = 0 + c₂, so c₂ = 2point (0, 2)
- y = x⁴ − 3x² + 5x + 2
Question 3 · Merit
- dy/dx = 2x/y, and y = 3 when x = 0.
- Find y in terms of x.
Q3: dy/dx = 2x/y
- Separate the variables.
- One + c, one side only.
- ∫ y dy = ∫ 2x dxseparate
- y²/2 = x² + cone constant
- 9/2 = 0 + c, so c = 9/2x = 0, y = 3
- y²/2 = x² + 9/2
- y² = 2x² + 9× 2, every term
- y = ±√(2x² + 9)
- y = −√(2x² + 9)gives y = −3 at x = 0
- y = √(2x² + 9)
Question 4 · Merit, in context
- Kiwi on a predator-free island grow at
- a rate proportional to the number, N.
- N = 120 now, and 180 after 5 years.
- When will there be 400 kiwi?
Q4: the model, and k
- Rate ∝ N: dN/dt = kN.
- Two facts: A, then k.
- dN/dt = kNrate ∝ number
- ∫ (1/N) dN = ∫ k dtseparate
- ln N = kt + cN > 0
- N = Ae^(kt)A = e^c
- 120 = Ae⁰, so A = 120t = 0
- 180 = 120e^(5k)t = 5
- e^(5k) = 1.5÷ 120
- k = (ln 1.5)/5 ≈ 0.081093ln both sides
Q4: when N = 400
- Keep k exact.
- Answer in years.
- N = 120e^(kt), k = (ln 1.5)/5
- 400 = 120e^(kt)N = 400
- e^(kt) = 10/3÷ 120
- kt = ln(10/3)ln both sides
- t = 5 ln(10/3) / ln 1.5k exact
- ≈ 14.847
- k ≈ 0.08 gives t ≈ 15.05k rounded too early
- after about 14.8 years
Question 5 · Excellence, in context
- A pie at 90 °C cools in a room at 18 °C,
- by Newton's law: dT/dt = −k(T − 18).
- After 5 minutes it is 60 °C.
- When will it reach 30 °C?
Q5: solve the equation
- Separate, integrate.
- T(0) = 90 finds A.
- dT/dt = −k(T − 18)Newton's law
- ∫ dT/(T − 18) = ∫ −k dtseparate
- ln(T − 18) = −kt + cT > 18
- T − 18 = Ae^(−kt)A = e^c
- 90 − 18 = Ae⁰, so A = 72t = 0
- T = 18 + 72e^(−kt)
Q5: find k
- Isolate the e first.
- Then ln both sides.
- T = 18 + 72e^(−kt)
- 60 = 18 + 72e^(−5k)t = 5, T = 60
- 42 = 72e^(−5k)subtract 18
- e^(−5k) = 7/12÷ 72
- −5k = ln(7/12)ln both sides
- k = ln(12/7)/5 ≈ 0.10780÷ −5, flip the fraction
Q5: when T = 30
- Same steps again.
- Answer in minutes.
- T = 18 + 72e^(−kt), k ≈ 0.10780
- 30 = 18 + 72e^(−kt)T = 30
- 12 = 72e^(−kt)subtract 18
- e^(−kt) = 1/6÷ 72
- kt = ln 6ln both sides
- t = 5 ln 6 / ln(12/7)k exact
- ≈ 16.62
- after about 16.6 minutes
Question 6 · Excellence, in context
- A drink at 4 °C is left in a room at 22 °C.
- dT/dt = −k(T − 22). After 10 minutes
- it is 10 °C. Find T in terms of t,
- and when it reaches 16 °C.
Q6: warming, not cooling
- T starts below the room.
- So A is negative.
- dT/dt = −k(T − 22)Newton's law
- T < 22, so T − 22 < 0the drink warms
- ln|T − 22| = −kt + cseparate, integrate
- T − 22 = Ae^(−kt)A = ±e^c
- 4 − 22 = Ae⁰, so A = −18t = 0
- T = 22 − 18e^(−kt)
- T = 22 + 18e^(−kt)T(0) would be 40
Q6: k, then T = 16
- Isolate the e each time.
- k exact, round at the end.
- T = 22 − 18e^(−kt)
- 10 = 22 − 18e^(−10k)t = 10, T = 10
- e^(−10k) = 12/18 = 2/3−22, then ÷ −18
- k = −ln(2/3)/10 = ln 1.5/10ln both sides
- 16 = 22 − 18e^(−kt)T = 16
- e^(−kt) = 6/18 = 1/3−22, then ÷ −18
- t = 10 ln 3 / ln 1.5 ≈ 27.10
- after about 27.1 minutes
The method that solved all six
- Separate, integrate, find the constant, then k.
| Step | How |
|---|---|
| y′ = f(x) | integrate, then find c |
| y″ = f(x) | twice: two constants |
| Separate | y terms left, x terms right |
| Constant | one c, found from the start |
| Find k | isolate e, then take ln |
| Answer | exact k, round at the end |
More in AS 91579
The integration toolkit: surds, e, trig and the chain rule6 min
Integrating fractions: when it is ln, and when it is not6 min
The constant of integration: find c, never assume it6 min
Definite integrals and area, including between two curves6 min
Trapezium and Simpson's rules: numerical areas6 min
Differential equations: growth, decay and Newton's cooling6 min
Integration toolkit: 7 exam questions solved step by step10 min
Integrating fractions: 7 exam questions solved step by step10 min
Constant of integration: 7 exam questions solved step by step11 min
Definite integrals: 7 exam questions solved step by step11 min
Numerical integration: 6 exam questions solved step by step11 min
Differential equations: 6 exam questions solved step by step11 minIs your child on track?
Take the free placement test