Math Core

Lesson 7.5 · Differential Equations

Exponential growth and decay models

The simplest and most useful differential equation says that a quantity changes at a rate proportional to its own size. It describes bacteria multiplying, money compounding continuously, drugs clearing from the bloodstream and radioactive atoms decaying. With separation of variables you can solve it once and for all.

Solving dydt=ky\dfrac{dy}{dt} = ky

Suppose dydt=ky\dfrac{dy}{dt} = ky with y(0)=y0y(0) = y_0, and y>0y > 0. Separate and integrate:

1y dy=k dt⟹ln⁡y=kt+C.\frac{1}{y}\,dy = k\,dt \quad\Longrightarrow\quad \ln y = kt + C.

At t=0t = 0, ln⁡y0=C\ln y_0 = C. So ln⁡y=kt+ln⁡y0\ln y = kt + \ln y_0, and exponentiating gives y=ekteln⁡y0=y0ekty = e^{kt}e^{\ln y_0} = y_0e^{kt}.

Exponential models

The only solutions of dydt=ky\dfrac{dy}{dt} = ky are the exponential functions

y=y0ekt,y = y_0e^{kt},

where y0=y(0)y_0 = y(0) is the initial amount.

  • If k>0k > 0, yy shows exponential growth.
  • If k<0k < 0, yy shows exponential decay.

This is why AP questions can say "the rate of change of yy is proportional to yy" and expect you to write y=y0ekty = y_0e^{kt} immediately. You may quote this result without re-deriving it, though you should still be able to separate variables if asked to show the work.

Finding kk from data

Usually you're not told kk. Instead you get two data points: the initial amount and the amount at some later time. Substitute and solve for kk with a natural log.

Worked example: Bacteria growth

A bacteria population PP grows at a rate proportional to its size. There are 200 bacteria at time t=0t = 0 and 1600 after 3 hours. Find P(t)P(t) and the population after 5 hours.

Solution. The model is P=200ektP = 200e^{kt}. At t=3t = 3:

1600=200e3k⟹e3k=8⟹k=ln⁡83=3ln⁡23=ln⁡2.1600 = 200e^{3k} \quad\Longrightarrow\quad e^{3k} = 8 \quad\Longrightarrow\quad k = \frac{\ln 8}{3} = \frac{3\ln 2}{3} = \ln 2.

So P(t)=200e(ln⁡2)t=200⋅2tP(t) = 200e^{(\ln 2)t} = 200\cdot 2^t: the population doubles every hour. After 5 hours, P(5)=200⋅25=6400P(5) = 200 \cdot 2^5 = 6400 bacteria.

Half-life and doubling time

For decay, the half-life is the time it takes for half of the quantity to remain. For growth, the doubling time is the time it takes to double. Both are constants: they don't depend on how much you start with.

If the half-life is hh, then 12y0=y0ekh\tfrac12 y_0 = y_0e^{kh}, so ekh=12e^{kh} = \tfrac12 and

k=ln⁡(1/2)h=−ln⁡2h.k = \frac{\ln(1/2)}{h} = -\frac{\ln 2}{h}.

Similarly, a doubling time dd gives k=ln⁡2dk = \dfrac{\ln 2}{d}. You can also write the model directly as y=y0(12)t/hy = y_0\left(\tfrac12\right)^{t/h} or y=y0⋅2t/dy = y_0 \cdot 2^{t/d}, which is often quicker.

Worked example: Radioactive decay

A radioactive isotope has a half-life of 12 years. How much of an 80-gram sample remains after 30 years? Round to the nearest hundredth of a gram.

Solution. Thirty years is 3012=2.5\dfrac{30}{12} = 2.5 half-lives, so

y(30)=80(12)2.5=8022.5=8042=202=102≈14.14 grams.y(30) = 80\left(\tfrac12\right)^{2.5} = \frac{80}{2^{2.5}} = \frac{80}{4\sqrt2} = \frac{20}{\sqrt2} = 10\sqrt2 \approx 14.14 \text{ grams}.

Equivalently, k=−ln⁡212k = -\dfrac{\ln 2}{12} and y(30)=80e−30ln⁡2/12≈14.14y(30) = 80e^{-30\ln 2/12} \approx 14.14 grams.

Newton's law of cooling

In the modeling lesson you met dTdt=k(T−A)\dfrac{dT}{dt} = k(T - A), where AA is the constant surrounding temperature. It is not exactly dydt=ky\dfrac{dy}{dt} = ky, but a substitution makes it one. Let y=T−Ay = T - A, the temperature difference. Since AA is constant, dydt=dTdt=k(T−A)=ky\dfrac{dy}{dt} = \dfrac{dT}{dt} = k(T - A) = ky. So the difference decays exponentially:

T−A=(T0−A)ekt⟹T=A+(T0−A)ekt.T - A = (T_0 - A)e^{kt} \quad\Longrightarrow\quad T = A + (T_0 - A)e^{kt}.

Worked example: Cooling soup

A pot of soup at 190∘190^\circF is set on a counter in a 70∘70^\circF kitchen. Ten minutes later the soup is 150∘150^\circF. Assuming Newton's law of cooling, when will the soup reach 100∘100^\circF? Round to the nearest tenth of a minute.

Solution. The model is T=70+120ektT = 70 + 120e^{kt}. At t=10t = 10:

150=70+120e10k⟹e10k=80120=23⟹k=ln⁡(2/3)10.150 = 70 + 120e^{10k} \quad\Longrightarrow\quad e^{10k} = \frac{80}{120} = \frac23 \quad\Longrightarrow\quad k = \frac{\ln(2/3)}{10}.

Now set T=100T = 100: 30=120ekt30 = 120e^{kt}, so ekt=14e^{kt} = \dfrac14 and

t=ln⁡(1/4)k=10ln⁡(1/4)ln⁡(2/3)≈34.2 minutes.t = \frac{\ln(1/4)}{k} = \frac{10\ln(1/4)}{\ln(2/3)} \approx 34.2 \text{ minutes}.

T = 70 + 120e^(kt) with k = ln(2/3)/10 ≈ −0.0405. The temperature approaches the room temperature of 70°F (dashed).Open in grapher →

Common mistake

Newton's law of cooling is not T=T0ektT = T_0e^{kt}. That formula would make the soup cool toward 0∘0^\circ, not toward room temperature. It's the difference T−AT - A that decays exponentially, so the model always has the form T=A+(T0−A)ektT = A + (T_0 - A)e^{kt}.

Tip

Keep kk exact (as a logarithm) until the last step. Rounding kk early, say to −0.04-0.04, can shift a final answer enough to miss the AP's three-decimal accuracy requirement.

Practice

Practice 1

Find the solution y(t)y(t) of dydt=−0.3y\dfrac{dy}{dt} = -0.3y with y(0)=50y(0) = 50.

Enter an expression, e.g. 3x^2 - 2x + 1

Practice 2

A quantity yy satisfies dydt=ky\dfrac{dy}{dt} = ky, and it doubles every 3 years. What is kk?

Practice 3

A culture starts with 1000 cells, and the number of cells doubles every 4 hours. Assuming exponential growth, how many cells are present after 10 hours? Round to the nearest whole number.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 4

A quantity grows according to dydt=ky\dfrac{dy}{dt} = ky. If y(0)=40y(0) = 40 and y(2)=90y(2) = 90, find kk. Round to three decimal places.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 5

Carbon-14 has a half-life of 5730 years. A piece of wood has 60% of the carbon-14 that a living tree has. To the nearest year, how old is the wood?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 6

A roast at 200∘200^\circF is taken out of the oven into a 68∘68^\circF room. Its temperature satisfies dTdt=−0.05(T−68)\dfrac{dT}{dt} = -0.05(T - 68), where tt is in minutes. Find its temperature after 10 minutes, to the nearest tenth of a degree.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 7

Find the solution y(t)y(t) of dydt=−0.1(y−20)\dfrac{dy}{dt} = -0.1(y - 20) with y(0)=90y(0) = 90.

Enter an expression, e.g. 3x^2 - 2x + 1

Practice 8

A population PP grows at a rate proportional to its size. At time t=0t = 0 it has 400 members and is growing at 10 members per year. How many years will it take to reach 800 members? Round to the nearest tenth.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.