Differential Equation Modelling: dy/dx = Ky Explained with Worked Examples

If a quantity grows at a rate proportional to its size, , then .

Write 2x or 2*x to multiply, ^ for powers, and ; between simultaneous equations. You can also type factor, expand, derivative of, integrate … from a to b, limit … as x->0 or 15% of 80.

Try an example

Before you start

This page is easier if you are comfortable with:

What Differential equation modelling: dy/dx = ky means

The equation says that the rate of change of is proportional to . It models population growth, radioactive decay and compound interest.

Separate the variables: , giving , so . The constant is the value of when .

If the quantity grows, and if it decays. The solution is the law in the exponential growth and decay model, and the method is a case of the separable differential equation.

This page is part of Differentiation in Calculus. Topics that work alongside it: Exponential growth and decay model, Separable differential equation, Derivative of e^{kx}, Connected rates of change, Inverse function derivative and Parametric differentiation.

What is it used for?

The equation dy/dx = ky says that a quantity changes at a rate proportional to its size. Its solution is exponential growth or decay.

How to use differential equation modelling: dy/dx = ky

  1. Write the differential equation.
  2. Separate and integrate.
  3. Use an initial condition to find .
  4. Use another condition to find .

Graph

Solutions of dy/dx = ky for k = 0.5 and k = −0.5(0, 2)00.511.522.533.544.55024681012Solutions of dy/dx = ky for k = 0.5 and k = −0.5xyk = 0.5: growthk = −0.5: decayGraph with x from 0 to 5 and y from 0 to 12. Shows the curve k = 0.5: growth; the curve k = −0.5: decay; point (0, 2) at (0, 2).

Both start at y = 2. A positive k gives growth; a negative k gives decay.

Worked examples

These examples are worked by hand, step by step, so you can compare your own working.

Example 1: solve and use a condition

A population satisfies with when . Find when .

Worked example
Answer
P≈675P\approx675
  1. General solution
  2. Use P(0) = 500
  3. Find P(10)

Example 2: find k

A quantity doubles when . Find .

Worked example
Answer
k=ln⁡25k=\dfrac{\ln2}{5}
  1. Doubling condition
  2. Take logs

Example 3: radioactive decay

A substance decays so that , with g at . Find when .

Worked example
Answer
73.6 g73.6\ \text{g}
  1. Solve the equation
  2. Substitute t = 10
  3. Evaluate

Special cases

A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.

y(0) = 3, y(2) = 12

k = ln 4/2

0.6931.

y(3)

3e^(3k)

24.

Decay k = −0.1

half-life ln 2/0.1

6.9315.

y = 100e^(−0.1x) at x = 5

100e^(−0.5)

60.6531.

Word problems

If dy/dx = ky then y = Ae^(kx). Use two data points to find A and k; for k > 0 the doubling time is ln 2/k, for k < 0 the half-life is ln 2/|k|.

Find k

y(0) = 3 and y(2) = 12. Find k = ln(12/3)/2.

  1. ln 4/2
  2. Check: ✓0.6931

Predict

Find y(3).

  1. 3e^(3 × 0.6931)
  2. Check: ✓24

Half-life Higher

k = −0.1: find ln 2/0.1.

  1. 0.6931/0.1
  2. Check: ✓6.9315

Decay Higher

y = 100e^(−0.1x) at x = 5.

  1. 100e^(−0.5)
  2. Check: ✓60.6531

Common mistakes

Linear growth

y = A + kx ✗

y = Ae^(kx) ✓

Exponential.

k sign for decay

positive ✗

negative ✓

Decay.

Forgetting A

y = e^(kx) ✗

y = Ae^(kx) ✓

Initial value.

log₁₀ for k

log ✗

ln ✓

Natural log.

Exam tips

  1. y = Ae^(kx).
  2. k = ln(ratio)/Δx.
  3. A = y(0).
  4. Doubling time ln 2/k.
  5. Decay: k < 0.

Practice questions

Try each one on paper, then open the answer. Use the solver above to see the full working.

1. k for y(0) = 2, y(1) = 6 to 4 d.p. Foundation

1.0986

2. Doubling time for k = 0.2 to 4 d.p. Foundation

3.4657

3. y(2) for y = 10e^(0.3x) to 4 d.p. Foundation

18.2212

4. Half-life for k = −0.05 to 4 d.p. Higher

13.8629

5. y(10) for 80e^(−0.1x) to 4 d.p. Higher

29.4304

6. k for y(0) = 50, y(5) = 25 to 4 d.p. Higher

-0.1386

Practice generator

Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.

Solve: …

Key terms

Exponential growth
dy/dx = ky, k > 0.
Exponential decay
k < 0.
Growth constant (k)
Relative rate.
Doubling time
ln 2/k.
Half-life
ln 2/
Initial value (A)
y(0).

Frequently asked questions

What does dy/dx = ky model?

Growth or decay proportional to size.

What is the solution?

y = Ae^(kx).

How do I find k?

Use two data points.

What is the half-life?

ln 2/|k|.

Which page covers separable equations?

separable differential equations.

Which page covers ln and exp?

exp and ln inverses.

More in Calculus and the formula sheets.