Educerie

Educerie · AP · Calculus

AP Calculus AB and BC 7.8

Exponential Models with Differential Equations

Why do populations, medicines and money change by the same percentage each time unit, and how do you predict them?

What you will learn

  • Understand that a rate proportional to the size of a quantity gives dy ÷ dt = ky and the solution y = y0 e^(kt)
  • Know that k is positive for growth and negative for decay and has units of per time
  • Understand how to find k from two measurements and how doubling and half-life relate to k
  • Know how to solve motion along a line and a shifted model such as dy ÷ dt = k(y - A) by separation

You must be able to

  1. Write dy ÷ dt = ky from a sentence and state the solution with its starting value
  2. Find k from two values of the quantity
  3. Interpret a rate and a value in context, with units and a time
  4. Calculate the time for a quantity to reach a given value
  5. Solve a shifted model by separating the variables
  6. Find position from a velocity and a starting position

In the exam. Section I multiple choice: recognize the model from a sentence, pick the formula for a quantity, or find the constant from two measurements. Section II: a growth or decay equation in context is a common setting for question 3 (shared by AB and BC). Units and an interpretation in context are marked. Common slips: missing units on rates, and a derivative written as a number with no point.

1The model and its solution

A sentence such as "the rate of change of the quantity is proportional to how much of it there is" gives the equation:

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

The solution for y(0)=y0y(0)=y_0 is:

y=y0 ekty = y_0\,e^{kt}

You can check this by Topic 7.2: dydt=y0kekt=ky\frac{dy}{dt}=y_0ke^{kt}=ky. It also follows from separation. When y>0y>0:

1y dy=k dt  ⟹  ln⁡y=kt+C  ⟹  y=eCekt\frac{1}{y}\,dy = k\,dt \;\Longrightarrow\; \ln y = kt + C \;\Longrightarrow\; y = e^{C}e^{kt}

At t=0t=0, y=eC=y0y=e^{C}=y_0. So y=y0ekty=y_0e^{kt}.

If a question says solve, show the separation anyway. It costs three lines. If it says only to use the model, write down y=y0ekty=y_0e^{kt}.

Figure 1. Left: solutions of dy/dt = ky with the same start y0. A positive k grows without bound, a negative k decays toward 0. Right: the rate dy/dt against y is a straight line through the origin, rising for k > 0 and falling for k < 0 (a) y = y0 ekt 1 2 3 4 5 y t y0 k > 0 k < 0 Figure 1. Left: solutions of dy/dt = ky with the same start y0. A positive k grows without bound, a negative k decays toward 0. Right: the rate dy/dt against y is a straight line through the origin, rising for k > 0 and falling for k < 0 (b) dy/dt against y dy/dt y k > 0 k < 0
Figure 1 · Left: solutions of dy ÷ dt = ky with the same start y0. A positive k grows without bound, a negative k decays toward 0. Right: the rate dy ÷ dt against y is a straight line through the origin, rising for k > 0 and falling for k < 0

Read Figure 1.

  • On the left, both curves start at the same value y0y_0. The k>0k>0 curve rises ever more steeply. The k<0k<0 curve falls ever more slowly toward 00.
  • On the right, the rate dydt=ky\frac{dy}{dt}=ky is a straight line through the origin. When yy doubles, the rate doubles.

2What kk means

Divide the equation by yy: k=dy/dtyk=\dfrac{dy/dt}{y}. So kk is the rate of change per unit of the quantity, the relative rate.

  • k=0.3k=0.3 per hour means the quantity grows at a rate equal to 30% of its current size each hour, at every moment.
  • k=−0.058k=-0.058 per day means it decays at a rate equal to 5.8% of what is left.
  • The unit of kk is "per unit of time", the reciprocal of the time unit.

Doubling and half-life. A growing quantity doubles in a fixed time TT, whatever the starting value. Solving y0ekT=2y0y_0e^{kT}=2y_0 gives T=ln⁡2kT=\dfrac{\ln2}{k}. A decaying quantity halves in a fixed time T=ln⁡2∣k∣T=\dfrac{\ln 2}{|k|}.

3Worked examples

Worked example 1 (invented). The number NN of bacteria in a dish satisfies dNdt=0.3N\frac{dN}{dt}=0.3N, with tt in hours and N(0)=500N(0)=500. Find N(4)N(4) and interpret dNdt\frac{dN}{dt} at t=4t=4.

N(t)=500e0.3t,N(4)=500e1.2≈1660N(t) = 500e^{0.3t}, \qquad N(4) = 500e^{1.2}\approx1660
dNdt∣t=4=0.3N(4)≈0.3(1660)≈498\left.\frac{dN}{dt}\right|_{t=4} = 0.3N(4)\approx0.3(1660)\approx498

At t=4t=4 hours, there are about 1660 bacteria, and the number is increasing at a rate of about 498 bacteria per hour.

Worked example 2 (finding kk from two values). A substance decays at a rate proportional to the amount MM present. The amount is 600 mg at t=0t=0 and 450 mg at t=5t=5 days. Find M(10)M(10), and the time for it to fall to 150 mg.

The model is M=600ektM=600e^{kt}. At t=5t=5: 600e5k=450600e^{5k}=450, so e5k=0.75e^{5k}=0.75.

For M(10)M(10), do not find kk. Use e10k=(e5k)2=0.752e^{10k}=(e^{5k})^2=0.75^2:

M(10)=600(0.75)2=337.5 mgM(10) = 600(0.75)^2 = 337.5\ \text{mg}

For M=150M=150: ekt=14e^{kt}=\frac14. Since k=ln⁡0.755≈−0.0575k=\frac{\ln0.75}{5}\approx-0.0575:

t=ln⁡(1/4)k=5ln⁡4ln⁡(4/3)≈24.1 dayst = \frac{\ln(1/4)}{k} = \frac{5\ln4}{\ln(4/3)}\approx24.1\ \text{days}

Worked example 3 (shifted model: a tank filling). The volume VV of water in a tank, in liters, changes at a rate proportional to the room left until the tank holds 500 liters:

dVdt=0.05 (500−V),V(0)=100, t in minutes\frac{dV}{dt} = 0.05\,(500-V), \qquad V(0)=100,\ t\text{ in minutes}

The right side is not of the form kyky, but it separates.

1500−V dV=0.05 dt  ⟹  −ln⁡∣500−V∣=0.05t+C\frac{1}{500-V}\,dV = 0.05\,dt \;\Longrightarrow\; -\ln|500-V| = 0.05t + C

Use the condition V(0)=100V(0)=100: −ln⁡400=C-\ln400=C. Then:

ln⁡∣500−V∣=ln⁡400−0.05t  ⟹  500−V=400e−0.05t\ln|500-V| = \ln400 - 0.05t \;\Longrightarrow\; 500-V = 400e^{-0.05t}

The volume is V<500V<500, so the absolute value is just 500−V500-V:

V=500−400e−0.05tV = 500 - 400e^{-0.05t}

At first, dVdt=0.05(400)=20\frac{dV}{dt}=0.05(400)=20 liters per minute. As t→∞t\to\infty, V→500V\to500: the tank fills toward its capacity and never passes it. After ten minutes, V=500−400e−0.5≈257.4V=500-400e^{-0.5}\approx257.4 liters.

In general, dydt=k(y−A)\frac{dy}{dt}=k(y-A) has the solution y=A+(y0−A)ekty=A+(y_0-A)e^{kt}. The quantity y−Ay-A, the distance from the target AA, behaves like the yy in the basic model. Use it as a check, but show the separation.

Worked example 4 (motion along a line). A particle moves along a line, and its velocity is dxdt=3t2−4\frac{dx}{dt}=3t^2-4, with x(0)=2x(0)=2. Find x(t)x(t).

x=∫(3t2−4) dt=t3−4t+C,2=Cx = \int(3t^2-4)\,dt = t^3-4t+C, \qquad 2=C

So x(t)=t3−4t+2x(t)=t^3-4t+2. The course lists motion along a line, with exponential growth and decay, as an application of finding general and particular solutions.

Worked example 5 (time to reach a value). Money in an account grows continuously at a rate proportional to the balance: dAdt=0.05A\frac{dA}{dt}=0.05A, with tt in years and A(0)=2000A(0)=2000 dollars. Find when the balance reaches \$6000.

A(t)=2000e0.05t,2000e0.05t=6000  ⟹  e0.05t=3  ⟹  t=ln⁡30.05≈21.97 yearsA(t)=2000e^{0.05t}, \qquad 2000e^{0.05t}=6000 \;\Longrightarrow\; e^{0.05t}=3 \;\Longrightarrow\; t=\frac{\ln 3}{0.05}\approx21.97\ \text{years}

The answer ln⁡30.05\frac{\ln3}{0.05} does not depend on the starting amount of \$2000. Any balance triples in that time. This is why the doubling time ln⁡2k\frac{\ln2}{k} is the same wherever you start.

Using the equation without solving. A question may ask only for a rate. With dAdt=0.05A\frac{dA}{dt}=0.05A, when the balance is \$4000 the rate is 0.05(4000)=2000.05(4000)=200 dollars per year. You never needed A(t)A(t).

4Reading a situation

Some sentences are the exponential model in disguise.

  • "Increases by 4% a year, compounded continuously": k=0.04k=0.04 per year.
  • "Decays at a rate of 12% of the current amount per day": k=−0.12k=-0.12 per day.
  • "The population doubles every 10 years": k=ln⁡210k=\frac{\ln2}{10}. The number 2 is the doubling factor, not kk.
  • "Falls to 75% of its value every 5 days": e5k=0.75e^{5k}=0.75.

Pay attention to what the number refers to. A rate of 4% a year, compounded once a year, gives 1.04t1.04^t, not e0.04te^{0.04t}. The differential equation dydt=ky\frac{dy}{dt}=ky models change at every instant.

Practice questions

30 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.