Skip to content
Family Table Math

Exponential Models with Differential Equations

In Grade 11 you modelled exponential growth and decay with equations like A=A0(1.03)tA = A_0(1.03)^t. Calculus explains why those models work: whenever a quantity changes at a rate proportional to its own size, it must be exponential. This page solves that differential equation once and for all, then uses it for populations, medicine, radioactive dating, and cooling.

“The rate of change of yy is proportional to yy” is the differential equation

dydt=ky\frac{dy}{dt} = ky

Solve it by separation of variables:

1y dy=k dt⇒ln⁡∣y∣=kt+C⇒y=Aekt\frac{1}{y}\,dy = k\,dt \quad\Rightarrow\quad \ln|y| = kt + C \quad\Rightarrow\quad y = Ae^{kt}

At t=0t = 0, y=Ae0=Ay = Ae^0 = A, so AA is the initial value y0y_0:

 dydt=ky⟺y=y0ekt \boxed{\ \frac{dy}{dt} = ky \quad\Longleftrightarrow\quad y = y_0e^{kt}\ }

You can quote this result on the AP exam without re-deriving it each time, unless the question asks you to solve by separation of variables.

  • k>0k \gt 0: exponential growth (populations, bacteria, money with continuous interest).
  • k<0k \lt 0: exponential decay (radioactive material, medicine leaving the body).

The constant kk is the relative growth rate: k=1y⋅dydtk = \dfrac{1}{y}\cdot\dfrac{dy}{dt}. If k=0.04k = 0.04 per year, the quantity grows at 4%4\% of its current size per year, at every instant.

This connects to the Grade 11 form: y0ekt=y0(ek)ty_0e^{kt} = y_0\left(e^k\right)^t, so the growth factor per unit of time is b=ekb = e^k, and k=ln⁡bk = \ln b.

For growth (k>0k \gt 0), the doubling time is the time for yy to double. Set y0ekt=2y0y_0e^{kt} = 2y_0:

ekt=2⇒tdouble=ln⁡2ke^{kt} = 2 \quad\Rightarrow\quad t_{\text{double}} = \frac{\ln 2}{k}

For decay (k<0k \lt 0), the half-life is the time for yy to halve. Set y0ekt=12y0y_0e^{kt} = \tfrac{1}{2}y_0:

ekt=12⇒thalf=ln⁡(1/2)k=ln⁡2∣k∣e^{kt} = \frac{1}{2} \quad\Rightarrow\quad t_{\text{half}} = \frac{\ln(1/2)}{k} = \frac{\ln 2}{|k|}

Neither depends on y0y_0: a substance takes just as long to go from 200200 mg to 100100 mg as from 1010 mg to 55 mg.

Exponential decay curve A = 200 e^(kt) starting at 200 mg. It halves every 4 hours: 100 mg at 4 h, 50 mg at 8 h and 25 mg at 12 h, marked with dotted guide lines. 4 8 12 16 50 100 150 200 (0, 200) (4, 100) (8, 50) (12, 25) time (h) amount (mg)
With a half-life of 44 hours, the amount halves every 44 hours, no matter how much is left.

If you know two values, substitute them to find kk:

  1. Use the initial value to write y=y0ekty = y_0e^{kt}.
  2. Substitute the second data point and solve for kk with ln⁡\ln.
  3. Keep kk exact (like ln⁡1.258\dfrac{\ln 1.25}{8}) or store it in your calculator. Rounding kk early can change the 3rd decimal place of later answers.

An object’s temperature TT changes at a rate proportional to the difference between TT and the surrounding temperature TsT_s:

dTdt=k(T−Ts)\frac{dT}{dt} = k(T - T_s)

with k<0k \lt 0. Separating variables (Example 4 shows the steps) gives

T=Ts+(T0−Ts)ektT = T_s + (T_0 - T_s)e^{kt}

The difference T−TsT - T_s decays exponentially, so the temperature levels off at TsT_s, the room temperature.

On the AP exam, problems with messy logarithms are usually calculator-active, but you should be able to set up and solve dydt=ky\dfrac{dy}{dt} = ky by hand.

A bacteria population PP satisfies dPdt=0.4P\dfrac{dP}{dt} = 0.4P, where tt is in hours, and P(0)=500P(0) = 500. Find P(5)P(5) and the doubling time.

Solution. The equation has the form dPdt=kP\dfrac{dP}{dt} = kP with k=0.4k = 0.4, so

P(t)=500e0.4tP(t) = 500e^{0.4t} P(5)=500e2≈3694.528P(5) = 500e^{2} \approx 3694.528

About 36953695 bacteria. The doubling time is

t=ln⁡20.4≈1.733 hourst = \frac{\ln 2}{0.4} \approx 1.733 \text{ hours}

A patient takes 200200 mg of a medicine. The amount AA in the body decreases at a rate proportional to AA, and the half-life is 44 hours.

(a) Find kk and write A(t)A(t). (b) How much remains after 1010 hours? (c) When will 2020 mg remain?

Solution.

(a) A=200ektA = 200e^{kt}. After 44 hours, half remains:

100=200e4k⇒e4k=12⇒k=ln⁡(1/2)4=−ln⁡24≈−0.173100 = 200e^{4k} \quad\Rightarrow\quad e^{4k} = \frac{1}{2} \quad\Rightarrow\quad k = \frac{\ln(1/2)}{4} = -\frac{\ln 2}{4} \approx -0.173

So A(t)=200e−(ln⁡2/4)tA(t) = 200e^{-(\ln 2/4)t}. (This is the same as 200(12)t/4200\left(\tfrac{1}{2}\right)^{t/4}, the Grade 11 form.)

(b) A(10)=200(12)10/4=200(0.5)2.5≈35.355A(10) = 200\left(\tfrac{1}{2}\right)^{10/4} = 200(0.5)^{2.5} \approx 35.355 mg.

(c) Solve 200ekt=20200e^{kt} = 20:

ekt=0.1⇒t=ln⁡0.1k=4ln⁡10ln⁡2≈13.288 hourse^{kt} = 0.1 \quad\Rightarrow\quad t = \frac{\ln 0.1}{k} = \frac{4\ln 10}{\ln 2} \approx 13.288 \text{ hours}

A town’s population grows at a rate proportional to its size. It was 12 00012\,000 in 2015 and 15 00015\,000 in 2023. Predict the population in 2030, and find how fast it was growing in 2023.

Solution. Let tt be years since 2015, so P=12 000ektP = 12\,000e^{kt}. In 2023, t=8t = 8:

15 000=12 000e8k⇒e8k=1.25⇒k=ln⁡1.258≈0.02815\,000 = 12\,000e^{8k} \quad\Rightarrow\quad e^{8k} = 1.25 \quad\Rightarrow\quad k = \frac{\ln 1.25}{8} \approx 0.028

In 2030, t=15t = 15:

P(15)=12 000e15k=12 000(1.25)15/8≈18 234P(15) = 12\,000e^{15k} = 12\,000(1.25)^{15/8} \approx 18\,234

The growth rate in 2023 comes straight from the differential equation:

dPdt=kP=ln⁡1.258(15 000)≈418.394\frac{dP}{dt} = kP = \frac{\ln 1.25}{8}(15\,000) \approx 418.394

About 418418 people per year.

A bowl of soup at 90∘C90^\circ\text{C} is left in a 20∘C20^\circ\text{C} room. Its temperature satisfies dTdt=k(T−20)\dfrac{dT}{dt} = k(T - 20), with tt in minutes. After 1010 minutes it is 60∘C60^\circ\text{C}. When will it be 40∘C40^\circ\text{C}?

Solution. Separate variables (the soup stays hotter than the room, so T−20>0T - 20 \gt 0):

1T−20 dT=k dt⇒ln⁡(T−20)=kt+C⇒T−20=Aekt\frac{1}{T - 20}\,dT = k\,dt \quad\Rightarrow\quad \ln(T - 20) = kt + C \quad\Rightarrow\quad T - 20 = Ae^{kt}

At t=0t = 0: 90−20=A90 - 20 = A, so A=70A = 70 and T=20+70ektT = 20 + 70e^{kt}.

At t=10t = 10: 60=20+70e10k60 = 20 + 70e^{10k}, so e10k=47e^{10k} = \dfrac{4}{7} and k=ln⁡(4/7)10≈−0.056k = \dfrac{\ln(4/7)}{10} \approx -0.056.

Now solve 40=20+70ekt40 = 20 + 70e^{kt}:

ekt=27⇒t=ln⁡(2/7)k=10ln⁡(2/7)ln⁡(4/7)≈22.386 minutese^{kt} = \frac{2}{7} \quad\Rightarrow\quad t = \frac{\ln(2/7)}{k} = \frac{10\ln(2/7)}{\ln(4/7)} \approx 22.386 \text{ minutes}

Using y=ekt+y0y = e^{kt} + y_0. The initial value multiplies: y=y0ekty = y_0e^{kt}. Check at t=0t = 0: y0e0=y0y_0e^0 = y_0 ✓, but e0+y0=1+y0e^0 + y_0 = 1 + y_0 ✗.

Getting the sign of kk wrong. For decay, kk must be negative. If you find a positive kk for a cooling or decaying quantity, you have probably flipped a fraction, for example writing e4k=2e^{4k} = 2 instead of e4k=12e^{4k} = \tfrac{1}{2}.

Rounding kk too early. Rounding kk to 0.030.03 in Example 3 would give 12 000e0.45≈18 82012\,000e^{0.45} \approx 18\,820 instead of 18 23418\,234. Keep kk exact or stored in the calculator.

Forgetting the surrounding temperature in Newton’s law. It’s the difference T−TsT - T_s that decays, so T=Ts+(T0−Ts)ektT = T_s + (T_0 - T_s)e^{kt}, not T=T0ektT = T_0e^{kt}. A T0ektT_0e^{kt} model would cool all the way to 0∘C0^\circ\text{C}, which is not what happens in a 20∘C20^\circ\text{C} room.

Mixing up the rate and the amount. dPdt\dfrac{dP}{dt} is how fast the population is changing (people per year); PP is the population (people). Read the question carefully, and include units.

1. (Warm-up) Solve dydt=−0.05y\dfrac{dy}{dt} = -0.05y with y(0)=80y(0) = 80. Is this growth or decay?

Solutiony=80e−0.05ty = 80e^{-0.05t}

Since k=−0.05<0k = -0.05 \lt 0, this is decay.

2. (Warm-up) The function y=300e0.02ty = 300e^{0.02t} is the solution of a differential equation with an initial condition. Write them both.

Solutiondydt=0.02y,y(0)=300\frac{dy}{dt} = 0.02y, \qquad y(0) = 300

Check: dydt=300(0.02)e0.02t=0.02y\dfrac{dy}{dt} = 300(0.02)e^{0.02t} = 0.02y ✓.

3. (Warm-up) A substance decays according to dAdt=−0.1A\dfrac{dA}{dt} = -0.1A, with tt in years. Find its half-life.

Solutionthalf=ln⁡20.1=10ln⁡2≈6.931 yearst_{\text{half}} = \frac{\ln 2}{0.1} = 10\ln 2 \approx 6.931 \text{ years}

4. (Core) A culture of yeast starts with 10001000 cells and doubles every 66 hours. Its rate of growth is proportional to its size.

  • (a) Find kk.
  • (b) How many cells are there after 1515 hours?
  • (c) How fast is the population growing at t=15t = 15?
Solution

(a) 2=e6k2 = e^{6k}, so k=ln⁡26≈0.116k = \dfrac{\ln 2}{6} \approx 0.116 per hour.

(b) P(15)=1000e15k=1000⋅215/6=1000⋅22.5≈5656.854P(15) = 1000e^{15k} = 1000 \cdot 2^{15/6} = 1000 \cdot 2^{2.5} \approx 5656.854, about 56575657 cells.

(c) dPdt=kP=ln⁡26(1000⋅22.5)≈653.505\dfrac{dP}{dt} = kP = \dfrac{\ln 2}{6}(1000 \cdot 2^{2.5}) \approx 653.505 cells per hour.

5. (Core) Carbon-14 has a half-life of about 57305730 years. A piece of bone has 30%30\% of the carbon-14 it had originally. About how old is it?

Solution

A=A0ektA = A_0e^{kt} with k=−ln⁡25730k = -\dfrac{\ln 2}{5730}. Set A=0.3A0A = 0.3A_0:

ekt=0.3⇒t=ln⁡0.3k=5730ln⁡0.3ln⁡0.5≈9952.813e^{kt} = 0.3 \quad\Rightarrow\quad t = \frac{\ln 0.3}{k} = \frac{5730\ln 0.3}{\ln 0.5} \approx 9952.813

The bone is about 99509950 years old (the half-life is only known to the nearest few years, so a rounded answer makes sense).

6. (Core) A drink comes out of a 4∘C4^\circ\text{C} fridge into a 24∘C24^\circ\text{C} room. It warms according to dTdt=k(T−24)\dfrac{dT}{dt} = k(T - 24), with tt in minutes. After 1515 minutes it is 10∘C10^\circ\text{C}. When will it reach 18∘C18^\circ\text{C}?

Solution

T=24+(4−24)ekt=24−20ektT = 24 + (4 - 24)e^{kt} = 24 - 20e^{kt}.

At t=15t = 15: 10=24−20e15k10 = 24 - 20e^{15k}, so e15k=0.7e^{15k} = 0.7 and k=ln⁡0.715≈−0.024k = \dfrac{\ln 0.7}{15} \approx -0.024.

Now solve 18=24−20ekt18 = 24 - 20e^{kt}: ekt=0.3e^{kt} = 0.3, so

t=ln⁡0.3k=15ln⁡0.3ln⁡0.7≈50.633 minutest = \frac{\ln 0.3}{k} = \frac{15\ln 0.3}{\ln 0.7} \approx 50.633 \text{ minutes}

7. (Core) Money in an account grows according to dAdt=0.04A\dfrac{dA}{dt} = 0.04A, with tt in years, starting from $2000. How long until it reaches $3000?

Solution

A=2000e0.04tA = 2000e^{0.04t}. Solve 2000e0.04t=30002000e^{0.04t} = 3000:

e0.04t=1.5⇒t=ln⁡1.50.04≈10.137 yearse^{0.04t} = 1.5 \quad\Rightarrow\quad t = \frac{\ln 1.5}{0.04} \approx 10.137 \text{ years}

8. (Challenge) A radioactive sample decays at a rate proportional to its mass. When 3030 g remain, the mass is decreasing at 0.90.9 g per day. Find kk and the half-life.

Solution

From dmdt=km\dfrac{dm}{dt} = km with m=30m = 30 and dmdt=−0.9\dfrac{dm}{dt} = -0.9:

−0.9=k(30)⇒k=−0.03 per day-0.9 = k(30) \quad\Rightarrow\quad k = -0.03 \text{ per day}thalf=ln⁡20.03≈23.105 dayst_{\text{half}} = \frac{\ln 2}{0.03} \approx 23.105 \text{ days}

9. (Challenge) A cake comes out of a 175∘C175^\circ\text{C} oven into a 20∘C20^\circ\text{C} kitchen. At that moment its temperature is dropping at 9.3∘C9.3^\circ\text{C} per minute. Assuming Newton’s law of cooling, dTdt=k(T−20)\dfrac{dT}{dt} = k(T - 20), find kk and the cake’s temperature after 3030 minutes.

Solution

At t=0t = 0, T=175T = 175 and dTdt=−9.3\dfrac{dT}{dt} = -9.3:

−9.3=k(175−20)=155k⇒k=−0.06-9.3 = k(175 - 20) = 155k \quad\Rightarrow\quad k = -0.06

So T=20+155e−0.06tT = 20 + 155e^{-0.06t}, and

T(30)=20+155e−1.8≈45.621∘CT(30) = 20 + 155e^{-1.8} \approx 45.621^\circ\text{C}