Kim’s Math NotesCourse index

Exponential Models with Differential Equations

Why does a rate proportional to the amount produce an exponential model?

Use the model dydt=ky and its solution y=y0ekt: find k from two values, work with doubling times and half-lives, and find the rate from the amount.

Not a straight line

Common mistake Doubles every 5 years, so it is 3 times its size after 7.5 years.

Correction 2t/5=3, so t=5ln3ln2≈7.9 years.

Only for a rate times the amount

Common mistake dTdt=−12(T−70), T(0)=150: T=150e−t/2.

Correction The rate is proportional to T−70: T=70+80e−t/2 (Lesson 7.7).

Idea 1: solve dy/dt = ky

Picture an amount whose rate of growth is proportional to how much is already there. The bigger it gets, the faster it grows, like bacteria in a dish. What function does that? You've met it before. One. Proportional to the amount means k times the amount: d y d t equals k y. Solve it once and for all.

Separate: one over y d y equals k d t.

Watch this part of the concept lesson

Read the rest of this scene

k is just a constant, so it stays with d t. Integrate to get the natural log of the absolute value of y equals k t, plus C. Raise e to both sides, just like in seven point six, and plus or minus e to the C becomes a new constant, A: y equals A e to the k t. Plug in t equals zero: e to the zero is one, so y is A. A is the starting amount.

So we write y equals y naught, e to the k t. y naught is the amount at time zero, and for a real amount, it's positive. Start at two. With k positive, it grows, steeper and steeper. With k negative, it glides down toward zero, gentler and gentler. When k is positive, the amount grows faster and faster: exponential growth.

When k is negative, it shrinks toward zero: exponential decay. One catch: y naught e to the k t is only for a rate that's k times the amount itself. A rate like k times the quantity T minus seventy, like last time's cocoa, needs its own separation. That's why the seventy stayed.

Idea 2: k from two values

With the starting amount and one more reading at a later time, we can solve for the constant k. Say y of zero is five, and y of two is twenty. Five is the start, so at t equals two, twenty equals five e to the two k. Divide by five: e to the two k is four. Take the natural log: two k is the natural log of four, which is two times the natural log of two, so k is the natural log of two.

Leave it exact, with no decimals.

Watch this part of the concept lesson

Read the rest of this scene

Here's why: e to the natural log of two, to the t, is just two to the t. So y equals five times two to the t. At t equals zero, it's five. At t equals one, it's ten. At t equals two, it's twenty.

Every one unit of time, the amount doubles. Every time t goes up by one, the amount is multiplied by two. The time it takes to double is called the doubling time, and here it is one.

No starting amount?

Now a curveball: we don't know the starting amount. It's the same model, y equals y naught e to the k t, but y naught is unknown too. Say all we know is y of one is six and y of three is twenty-four. That's two points, and no time zero. Stack the second over the first and divide: twenty-four over six, and y naught cancels.

Three k minus k leaves e to the two k equals four, so k is the natural log of two, same as before.

Watch this part of the concept lesson

Read the rest of this scene

Then go back to y of one: y naught e to the k is six, and e to the k is two. So two y naught is six, and y naught is three. That's the starting amount they hid from us. So y equals three times two to the t. Check it against the data. At t equals one, three times two is six.

At t equals three, three times eight is twenty-four.

Idea 3: the rate from the amount

Alright, three. We get the rate straight from the amount. Don't make extra work. d y d t, the rate, is just k times y: the natural log of two, times y. The rate is k times y, with k equal to ln two.

When y is ten, the rate is ten ln two.

Watch this part of the concept lesson

Read the rest of this scene

When y is twenty, the rate is twenty ln two. Twice the amount means twice the rate. Or, go back to y equals five times two to the t. y prime is five times two to the t, times the natural log of two. y is ten when t is one, and that gives ten times the natural log of two.

It's the same answer either way. But the equation only needs the amount, not t and not a formula for y, so it's the shorter way. And say what it means: when the amount is ten, it's growing at ten times the natural log of two per unit of time. The moment, the rate, and the units: interpreting a rate like that is a common AP task. On the AP exam you'll read: an amount grows, or decays, at a rate proportional to its size.

Translate it right away: d y d t equals k y. Then find the function, the constant, and a rate.

Example 1: decay of a drug

Example one. A patient has eighty milligrams of a drug. The amount decreases at a rate proportional to the amount, and after six hours, twenty milligrams remain. Part a: write A of t, and find k. Part b: when do ten milligrams remain? Part c: find d A d t when A is forty, and explain what it means.

Decreasing at a rate proportional to the amount present means A equals eighty e to the k t.

Watch this part of the concept lesson

Read the rest of this scene

The twenty milligrams left at six hours will pin down k. In part a, it decreases at a rate proportional to the amount, starting at eighty: A equals eighty e to the k t. After six hours, twenty are left: twenty equals eighty e to the six k. Divide by eighty: e to the six k is one fourth. So six k is negative the natural log of four, which is negative two times the natural log of two.

Divide by six: k is negative the natural log of two, over three, per hour. It's negative because the drug is leaving. So A of t is eighty e to the negative natural log of two over three, times t. Right. Part b starts from this k: how long does it take to cut the amount in half? On this decay curve, the horizontal axis is time in hours, the height is the amount in milligrams, and the steepness is the rate.

Part b uses the half-life to find a time, and part c finds the rate at one particular amount. For part b, look at that k: three hours times k is negative the natural log of two, and e to that is one half. So the amount halves every three hours. The amount halves every three hours: eighty, forty, twenty, ten. That's three half-lives, so t equals nine hours.

In part c, the rate is k times the amount. Forty is the amount, not the time. So negative the natural log of two, over three, times forty, is negative forty times the natural log of two, over three. So what does it mean? At the moment forty milligrams are left, the amount is decreasing at forty times the natural log of two, over three, milligrams per hour.

We said decreasing, so the size is positive. Now, use the same recipe in the workbook: two values, then k, then the rate.

Common mistake: not a straight line

Here's a common mistake: treating the drop as the same number of milligrams every hour, when this model removes the same fraction instead. Sixty milligrams lost over six hours is ten milligrams per hour on average. That average is not the instantaneous rate of the exponential model. Do this instead: confirm that equal time steps keep the same fraction, half every three hours, and check it against the starting data, eighty down to twenty in six hours.

Watch this part of the concept lesson

Example 2: three times

Example two. An amount grows at a rate proportional to itself, and it doubles every five years. When is it three times its starting size? The plan: write the model straight from the doubling time, then set it equal to three times the starting amount. One doubling every five years means t over five counts the doublings so far. Each doubling multiplies by two, so y equals y naught times two to the t over five.

Divide out y naught, and two to the t over five equals three. Take the natural log of both sides: t over five times ln two equals ln three. So t equals five ln three over ln two. One doubling takes five years and two take ten, and tripling falls in between, so the answer should land between five and ten. It does, at about seven point nine.

Watch this part of the concept lesson

Read the rest of this scene

So, the answer is B. A just stretches the five years in proportion, and C counts three doublings. Right. The next one in your workbook counts doublings too, or halvings. Set it up the same way.

Worked examples

Example 1

A patient has 80 mg of a drug. The amount A decreases at a rate proportional to A, and after 6 hours, 20 mg remain.
(a) Write A(t) and find k.
(b) When do 10 mg remain?
(c) Find dAdt when A=40. What does it mean?
Hint

Two values give k. The rate comes from the amount: dAdt=kA.

Answer and solution
  1. A(t)=80ekt, k=−ln23
  2. t=9 hours
  3. −40ln23: when A=40 mg, the amount is decreasing at 40ln23 mg per hour
  1. 20=80e6k→e6k=14→k=ln(1/4)6=−ln23
  2. 10=80ekt→ekt=18→t=9
  3. A=40:dAdt=kA=−40ln23
  4. (c) When A = 40 mg, the amount is decreasing at (40 ln 2)/3 mg per hour.

Example 2

An amount grows at a rate proportional to itself and doubles every 5 years. When is it 3 times its starting size?
  1. 7.5
  2. 5ln3ln2
  3. 15
  4. 5ln2ln3
Hint

Doubling every 5 years: y=y0⋅2t/5. Set it equal to 3y0.

Answer and solution

Answer B. 5ln3ln2

  1. y=y0⋅2t/5=3y0→2t/5=3
  2. t5ln2=ln3→t=5ln3ln2
  3. Answer B. 7.5 stretches the five years in proportion; growth is not a line.

Workbook

Problem 1

A population P grows at a rate proportional to its size. P(0)=200 and P(2)=1800. Find k and write P(t).
Hint

Write P=200ekt and put in t=2. Leave k as a natural log.

Answer and solution

Answer k=ln3; P(t)=200e(ln3)t=200⋅3t

  1. 1800=200e2k→e2k=9→k=ln92=ln3
  2. P=200e(ln3)t=200⋅3t

Common mistake Using decimals for k, or forgetting that e^{2k} = 9.

Watch the worked solution to Problem 1

Problem 2

If dydt=ky with k=ln25 and y(0)>0, which of the following is true?
  1. y doubles every 5 units of time.
  2. y doubles every ln25 units of time.
  3. y increases by 2 every 5 units of time.
  4. y is cut in half every 5 units of time.
Hint

Find e5k. What is y multiplied by every 5 units of time?

Answer and solution

Answer A. y doubles every 5 units of time.

  1. e5k=eln2=2
  2. Every 5 units, y is multiplied by e^{5k} = 2. Answer A.

Common mistake Reading k itself as the doubling time.

Watch the worked solution to Problem 2

Problem 3

A substance decays at a rate proportional to the amount A present. Its half-life is 10 days, and A(0)=400 grams.
  1. How much is left after 30 days?
  2. Find dAdt when A=100. Explain the meaning of your answer in the context of the problem.
Hint

30 days is three half-lives. For the rate, dAdt=kA with the amount A=100.

Answer and solution
  1. 50 grams (three half-lives)
  2. −10ln2: when A=100 g, the amount is decreasing at 10ln2 grams per day
  1. 400→200→100→50
  2. k=−ln210,dAdt=kA=−10ln2

Common mistake Treating the decay as a straight line, or putting the time into dA/dt = kA.

Watch the worked solution to Problem 3

Problem 4

An amount grows at a rate proportional to itself and triples every 2 years. After how many years is it 27 times its starting size?
  1. 4
  2. 6
  3. 13.5
  4. 18
Hint

27=33. How many triplings is that?

Answer and solution

Answer B. 6

  1. 27=33→3triplings→3⋅2=6
  2. Answer B.

Common mistake Multiplying 2 by 27 or dividing linearly.

Watch the worked solution to Problem 4

Problem 5

The number of bacteria B in a culture satisfies dBdt=kB, with t in hours. B(2)=400 and B(5)=3200.
  1. Find k.
  2. Find B(0).
  3. When is B=12800?
Hint

Divide the two values: the starting amount cancels.

Answer and solution
  1. k=ln2
  2. B(0)=100
  3. t=7 hours
  1. e3k=8→k=ln83=ln2
  2. 400=B0e2ln2=4B0→B0=100
  3. 100⋅2t=12800→2t=128→t=7

Common mistake Taking the ratio upside down, or forgetting B0 cancels.

Watch the worked solution to Problem 5

Problem 6

A lake has 1000 fish, and the number P grows at a rate proportional to P. At the start, P is increasing at 50 fish per year. How many fish are there after 20 years?
  1. 1000e
  2. 2000
  3. 1000e20
  4. 1050
Hint

The starting rate gives k: 50=k⋅1000.

Answer and solution

Answer A. 1000e

  1. 50=k⋅1000→k=120,P(20)=1000e1
  2. Answer A.

Common mistake Adding 50 per year for 20 years (a line).

Watch the worked solution to Problem 6

Problem 7

A quantity y satisfies dydt=3(y−10), with y(0)=12.
  1. A student writes y=12e3t. Explain why this is not the solution.
  2. Find the solution. (Hint: let u=y−10.)
Hint

y0ekt fits only when the rate is k times the quantity itself. Here the rate is k times y−10.

Answer and solution
  1. the rate is proportional to y−10, not to y: 12e3t gives dydt=3y≠3(y−10)
  2. y=10+2e3t
  1. y=12e3t:dydt=36e3t=3y≠3(y−10)
  2. u=y−10:dudt=dydt=3u,u(0)=12−10=2→u=2e3t
  3. y=10+2e3t

Common mistake Writing y0 e^{3t} for a rate proportional to y - 10.

Watch the worked solution to Problem 7