Loading

Formulas · Mathematics

Differential equations

2 formulas, each with worked examples. Revision sheet · Practise these formulas

Class 12

Exponential growth and decay

What each letter means
the amount at time t
the amount at the start (t = 0)
the growth rate (negative for decay)
the time

If a quantity grows (or shrinks) at a rate proportional to its size, dy/dt = ky, then y = y₀eᵏᵗ.

Why it works

Separate the variables: dy/y = k dt. Integrating both sides gives ln y = kt + C, so y = eᶜ × eᵏᵗ, and at t = 0 this is y₀ = eᶜ.

When to use it

Population growth, money compounded continuously, radioactive decay and medicine leaving the blood (k negative).

How to use it

  1. Find y₀ (the start) and k (the rate; negative for decay).
  2. Put t in and work out y₀eᵏᵗ.
  3. To find k or t, take ln of both sides.

To remember: Rate in proportion to size gives e to the kt.

Other forms

  • Special caseWhen the quantity decays at the rate ky.
  • To remember itThe doubling time is ln 2 ÷ k, whatever the starting amount.

Worked examples

Story

₹1000 grows continuously at 5% a year. How much is there after 10 years?

  1. That is about ₹1648.72.

Answer: 1648.7212707001281

Picture

Where does the curve y = 3eᵏᵗ, with k = 0.2, cross the vertical axis (t = 0)?

  1. The curve starts at height y₀ = 3.

Answer: 3

Direct

y₀ = 100 and k = 0.1 per hour. Find y after 10 hours.

  1. That is about 271.8.

Answer: 271.8281828459045

Reverse

A population doubles in 10 years. Find its growth rate k.

Try it first, then show the working
  1. Doubling means e¹⁰ᵏ = 2, and so 10k = ln 2.
  2. So k = ln 2 ÷ 10, about 0.069 a year.

Answer: 0.06931471805599453

Exam

A radioactive substance decays so that dN/dt = −0.02N, with t in years. Starting from 500 g, how much is left after 50 years?

Try it first, then show the working
  1. Here k = −0.02, and so kt = −1.
  2. That is about 183.9 g.

Answer: 183.93972058572118

Common mistake: Using k as a percentage (5% a year is k = 0.05), or forgetting the minus sign for decay.

Sources
  • NCERT: class-12/mathematics/09 section 9.4, Differential equations with variables separable
  • OpenStax: Calculus Volume 2, 4.4 The Logistic Equation (exponential growth)
  • Wikidata: exponential growth

Class 12

Linear equation dy/dx + Py = Q, with P and Q constant

What each letter means
the solution at x
the constant on the right of dy/dx + Py = Q
the constant multiplying y (not 0)
the constant fixed by the starting value
the variable (often time)

The equation dy/dx + Py = Q, with P and Q constant numbers, has the solution y = Q/P + Ce⁻ᴾˣ: a steady level Q/P plus a part that dies away.

Why it works

Multiply by the integrating factor eᴾˣ: the left side becomes the derivative of y eᴾˣ, so y eᴾˣ = ∫Q eᴾˣ dx = (Q/P) eᴾˣ + C. Dividing by eᴾˣ gives the solution.

When to use it

A hot drink cooling in a room, a tank filling while it drains, the current in a simple circuit.

How to use it

  1. Write the equation as dy/dx + Py = Q.
  2. The steady value is Q/P.
  3. Use the starting value to find C.

To remember: A steady value plus a dying exponential.

Other forms

  • Special caseWhen Q = 0: pure decay.
  • To remember itIn general the integrating factor is e raised to the power ∫P dx, and y × IF = ∫Q × IF dx + C.

Worked examples

Story

A cup of tea at 90°C cools in a 30°C room so that dT/dt + 0.1T = 3, with t in minutes. Find its temperature after 10 minutes.

  1. The steady value is 3 ÷ 0.1 = 30°C, and 90°C at the start gives C = 60.
  2. That is about 52.1°C.

Answer: 52.07276647028654

Picture

The curve y = 4 + Ce⁻ˣ passes through (0, 1). Find C, and the height the curve levels off at.

  1. As x grows, e⁻ˣ shrinks to 0, so the curve levels off at y = 4.

Answer: -3

Direct

Solve dy/dx + 2y = 6, given y = 5 when x = 0.

  1. The steady value is 6 ÷ 2 = 3, and y = 5 at x = 0 gives C = 2: y = 3 + 2e⁻²ˣ. Check at x = 0:

Answer: y = 3 + 2e⁻²ˣ

Reverse

For dy/dx + 0.5y = Q, the steady value is 8. Find Q.

Try it first, then show the working

Answer: 4

Exam

Solve dy/dx + y = 1, given y = 0 when x = 0.

Try it first, then show the working
  1. The integrating factor is eˣ: the derivative of y eˣ is eˣ, so y eˣ = eˣ + C.
  2. At x = 0 this gives 0 = 1 + C, and so C = −1: y = 1 − e⁻ˣ.

Answer: y = 1 − e⁻ˣ

Common mistake: Getting the sign of the power wrong (it is −Px, so the extra part dies away), or forgetting to find C.