AP Calculus AB and BC

Exponential Growth and Decay: Solving dy/dt = ky

If a quantity changes at a rate proportional to its current size, then dy/dt = ky and the solution is y = y0 e^(kt), where y0 is the amount at t = 0. Positive k means growth and negative k means decay. Doubling time is ln 2 / k and half-life is ln 2 / |k|. Neither depends on the starting amount.

The model and its solution

The phrase to watch for is 'the rate of change of yy is proportional to yy'. Proportional means equal to a constant times, so the sentence translates directly into a differential equation. This is Topic 7.8, Exponential Models with Differential Equations.

dydt=ky⟹y=y0ekt\frac{dy}{dt} = ky \quad \Longrightarrow \quad y = y_0 e^{kt}

Here y0y_0 is the value of yy at t=0t = 0 and kk is the constant of proportionality. If k>0k > 0 the quantity grows, and if k<0k < 0 it decays. The units of kk are 'per unit of time', such as per hour or per year.

You can confirm the solution by substituting it back: the derivative of y0ekty_0 e^{kt} is k⋅y0ektk \cdot y_0 e^{kt}, which is kk times yy.

Where the solution comes from

The equation is separable, so the solution follows from separation of variables. This is the derivation to reproduce if a problem asks you to solve the differential equation and show the work.

  1. Separate: 1y dy=k dt\frac{1}{y}\,dy = k\,dt.
  2. Integrate both sides: ln⁡∣y∣=kt+C\ln|y| = kt + C.
  3. Solve for yy: ∣y∣=ekt+C=eCekt|y| = e^{kt + C} = e^C e^{kt}, so y=Aekty = Ae^{kt} for a constant AA.
  4. Apply the initial condition: at t=0t = 0, y=Ay = A, so A=y0A = y_0.

Separating divides by yy, which assumes y≠0y \ne 0. The constant function y=0y = 0 also satisfies the differential equation, and the formula covers it with y0=0y_0 = 0.

Finding k from data

Most problems give two measurements and expect you to find kk. If y=y1y = y_1 at time t1t_1 and y=y2y = y_2 at time t2t_2, divide the two equations y2=y0ekt2y_2 = y_0 e^{kt_2} and y1=y0ekt1y_1 = y_0 e^{kt_1} to cancel y0y_0, then take the natural log:

k=ln⁡(y2y1)t2−t1k = \frac{\ln\left(\frac{y_2}{y_1}\right)}{t_2 - t_1}

When one of the measurements is at t=0t = 0, this reduces to k=1t1ln⁡(y1y0)k = \frac{1}{t_1}\ln\left(\frac{y_1}{y_0}\right). Keep kk in exact form, such as ln⁡43\frac{\ln 4}{3}, or store the full decimal in your calculator. Rounding kk early and then raising ee to a power magnifies the error.

Doubling time and half-life

Doubling time is how long a growing quantity takes to double. Set y=2y0y = 2y_0: 2y0=y0ekt2y_0 = y_0 e^{kt} gives ekt=2e^{kt} = 2, so t=ln⁡2kt = \frac{\ln 2}{k}. Half-life is how long a decaying quantity takes to fall to half. Set y=12y0y = \frac{1}{2}y_0: ekt=12e^{kt} = \frac{1}{2} gives t=ln⁡(1/2)k=−ln⁡2kt = \frac{\ln(1/2)}{k} = \frac{-\ln 2}{k}, which is positive because kk is negative.

QuantityConditionFormulaGoing the other way
Doubling time TTk>0k > 0T=ln⁡2kT = \frac{\ln 2}{k}k=ln⁡2Tk = \frac{\ln 2}{T}
Half-life hhk<0k < 0h=ln⁡2∣k∣h = \frac{\ln 2}{|k|}k=−ln⁡2hk = -\frac{\ln 2}{h}

The starting amount y0y_0 cancels in both derivations. A sample takes the same time to go from 4040 grams to 2020 grams as from 2020 grams to 1010 grams. When a half-life hh is given, the model can also be written without ee as y=y0(12)t/hy = y_0 \left(\frac{1}{2}\right)^{t/h}, and a doubling time TT gives y=y0⋅2t/Ty = y_0 \cdot 2^{t/T}.

Common mistakes

  • Reading a percent increase per period as kk. A population that grows by 5%5\% each year follows y=y0(1.05)ty = y_0(1.05)^t, so ek=1.05e^k = 1.05 and k=ln⁡(1.05)≈0.0488k = \ln(1.05) \approx 0.0488, which is a little less than 0.050.05.
  • Losing the sign of kk in a decay problem. If the quantity is shrinking, kk must come out negative.
  • Rounding kk to two or three decimals before using it in an exponent.
  • Solving for time when the question asks for a rate. The rate at any moment is kyky, straight from the differential equation.
  • Applying this model when the rate is proportional to something other than yy itself. If dydt=k(y−70)\frac{dy}{dt} = k(y - 70), the quantity that follows an exponential model is the difference y−70y - 70.

Quick check

Test your formula against the data you were given. Plug in the known time and confirm that the known amount comes out. Then check that the answer is reasonable: after one half-life the amount should be half, after two it should be a quarter.

Worked examples

Worked example

Growth from two measurements

A bacteria culture grows at a rate proportional to its size. It has 500500 cells at t=0t = 0 and 20002000 cells at t=3t = 3 hours. Find a formula for the population P(t)P(t), the population at t=5t = 5 hours, and the doubling time.

  1. Write the model. Rate proportional to size means dPdt=kP\frac{dP}{dt} = kP, so P=500ektP = 500e^{kt}.
  2. Find kk from the second measurement: 2000=500e3k2000 = 500e^{3k}, so e3k=4e^{3k} = 4 and k=ln⁡43≈0.4621k = \frac{\ln 4}{3} \approx 0.4621 per hour.
  3. Write the formula: P(t)=500e(ln⁡4)t/3P(t) = 500e^{(\ln 4)t/3}, which is the same as P(t)=500⋅4t/3P(t) = 500 \cdot 4^{t/3}.
  4. Evaluate at t=5t = 5: P(5)=500⋅45/3≈500(10.079)≈5040P(5) = 500 \cdot 4^{5/3} \approx 500(10.079) \approx 5040 cells.
  5. Find the doubling time: T=ln⁡2k=3ln⁡2ln⁡4=3ln⁡22ln⁡2=1.5T = \frac{\ln 2}{k} = \frac{3\ln 2}{\ln 4} = \frac{3\ln 2}{2\ln 2} = 1.5 hours. This makes sense: two doublings in 33 hours multiply the population by 44.

P(t)=500⋅4t/3P(t) = 500 \cdot 4^{t/3}, P(5)≈5040P(5) \approx 5040 cells, and the doubling time is 1.51.5 hours.

Worked example

Decay with a given half-life

A radioactive substance has a half-life of 88 days. A sample starts at 4040 grams. Find kk, the amount left after 2020 days, and the time when 55 grams remain.

  1. Find kk from the half-life: k=−ln⁡28≈−0.0866k = -\frac{\ln 2}{8} \approx -0.0866 per day.
  2. Write the model: y=40e−(ln⁡2)t/8y = 40e^{-(\ln 2)t/8}, which is the same as y=40(12)t/8y = 40\left(\frac{1}{2}\right)^{t/8}.
  3. Evaluate at t=20t = 20: y=40(12)2.5=4022.5≈405.657≈7.07y = 40\left(\frac{1}{2}\right)^{2.5} = \frac{40}{2^{2.5}} \approx \frac{40}{5.657} \approx 7.07 grams.
  4. Solve for the time when y=5y = 5: 5=40(12)t/85 = 40\left(\frac{1}{2}\right)^{t/8} gives (12)t/8=18=(12)3\left(\frac{1}{2}\right)^{t/8} = \frac{1}{8} = \left(\frac{1}{2}\right)^3, so t8=3\frac{t}{8} = 3 and t=24t = 24 days.
  5. Check with half-lives: 40→20→10→540 \to 20 \to 10 \to 5 is three halvings, and 3⋅8=243 \cdot 8 = 24 days.

k=−ln⁡28≈−0.0866k = -\frac{\ln 2}{8} \approx -0.0866 per day, about 7.077.07 grams remain after 2020 days, and 55 grams remain at t=24t = 24 days.

Worked example

Starting from the differential equation

A quantity yy satisfies dydt=−0.2y\frac{dy}{dt} = -0.2y with y(0)=50y(0) = 50, where tt is in minutes. Find y(t)y(t), the time when y=10y = 10, and the rate of change of yy at that time.

  1. Match the model: k=−0.2k = -0.2 and y0=50y_0 = 50, so y=50e−0.2ty = 50e^{-0.2t}.
  2. Solve 10=50e−0.2t10 = 50e^{-0.2t}: e−0.2t=15e^{-0.2t} = \frac{1}{5}, so −0.2t=ln⁡(15)=−ln⁡5-0.2t = \ln\left(\frac{1}{5}\right) = -\ln 5 and t=ln⁡50.2=5ln⁡5≈8.047t = \frac{\ln 5}{0.2} = 5\ln 5 \approx 8.047 minutes.
  3. Find the rate from the differential equation. When y=10y = 10, dydt=−0.2(10)=−2\frac{dy}{dt} = -0.2(10) = -2. The time is not needed for this part.

y=50e−0.2ty = 50e^{-0.2t}, y=10y = 10 at t=5ln⁡5≈8.047t = 5\ln 5 \approx 8.047 minutes, and at that moment dydt=−2\frac{dy}{dt} = -2 units per minute.

Frequently asked questions

What does 'the rate of change is proportional to the amount' mean?

It means the rate equals a constant times the amount: dydt=ky\frac{dy}{dt} = ky. When the amount doubles, the rate doubles too. Every function with this property has the form y=y0ekty = y_0 e^{kt}.

Does half-life depend on how much you start with?

No. The half-life is ln⁡2∣k∣\frac{\ln 2}{|k|}, which involves only kk. Any amount takes the same time to fall to half of itself, whether it starts at 4040 grams or 44 grams.

Is kk the same as the percent growth rate?

Not quite. If a quantity grows by rr percent per time period, written as a decimal rr, then y=y0(1+r)ty = y_0(1 + r)^t and k=ln⁡(1+r)k = \ln(1 + r). For small rates the two are close: a 5%5\% yearly increase gives k≈0.0488k \approx 0.0488.

Where this shows up outside calculus class