Kim’s Math NotesCourse index

Logistic Models with Differential Equations

What does a logistic model say about the carrying capacity and the fastest growth?

Read a logistic model without solving it: build it from the words, find L, the limit, and the fastest growth and its rate.

Amount or rate?

Common mistake Fastest rate =L2; the number in front is L.

Correction L2 is the amount; plug it in for the rate. L is where the rate is 0.

Who knows times who doesn't

Let's build the equation instead of memorizing it. A rumor needs two kinds of students. Someone who knows it has to tell it. That's P. And someone who hasn't heard yet has to hear it. If P students know, then one thousand minus P haven't heard.

In general, L minus P.

Watch this part of the concept lesson

Read the rest of this scene

Early on, P is two: only two mouths, and nine hundred ninety-eight listeners. So it's slow. Late in the day, P is nine hundred ninety-eight. Everyone is talking, but you can hardly find the two who haven't heard. It's slow again.

So the speed depends on both at once: the ones who know, times the ones who haven't heard. Why times, and not plus? A rumor only moves when a student who knows meets a student who hasn't heard. That meeting is the only way it spreads. Say three know and four haven't heard.

Each of the three can meet each of the four: three times four, or twelve possible meetings. Like three shirts and four pairs of pants make twelve outfits. If it were plus, P plus L minus P is just L, even when nobody knows. A secret nobody knows can't spread. With times, the rate is zero when nobody knows, and zero when everyone knows.

That's exactly right. Put a constant k in front: d P d t equals k P, times L minus P. That's the logistic model. AP says it in words: the rate is jointly proportional to P and to L minus P. Many books write k P, times one minus P over L.

It's the same shape, with a different k. Read it as the exponential k P with a brake attached. When P is small, P over L is tiny: almost no brake, so it grows like an exponential. When P nears L, the brake shuts it down.

The rate against P: fastest at L/2

When is the rumor spreading fastest? Graph the rate against P, not against time. k P times L minus P is a parabola that opens down. Its zeros are when nobody knows and when everyone knows. A parabola's top sits halfway between its zeros: at L over two, five hundred students.

That's when half the school knows: plenty of talkers and plenty of listeners at the same time.

Watch this part of the concept lesson

Read the rest of this scene

Careful here. When it asks when the population is growing fastest, the answer is when P is five hundred. It's P that's halfway, not the time.

P against time: the S-curve

Now P against time. Draw the ceiling at one thousand, and the halfway line at five hundred. Start with two who know. At first it's slow: only two mouths. Below five hundred, the rate keeps growing, so the curve gets steeper: concave up.

At five hundred, it's spreading fastest.

Watch this part of the concept lesson

Read the rest of this scene

The bend flips there, so that's the point of inflection. Above five hundred, P still climbs, but the rate shrinks. It's increasing at a decreasing rate, so it's concave down. In the end everyone knows. The limit of P is one thousand, and the limit of the rate is zero.

A rumor can't start above the school, but fish can: dump too many into a pond. Start above L, at twelve hundred. L minus P is negative, so the rate is negative, and P falls to L. Start at seven hundred, already past halfway. P never crosses five hundred, so there's no inflection point.

So, in every case, any positive start heads to L. Only the shape depends on where you start.

Find L in ten seconds

The exam won't always hand you the neat form. It may expand it, like three P minus zero point zero zero six P squared. Don't bother rewriting it. At the ceiling, growth stops, so the rate is zero there. Factor out P: P times three minus zero point zero zero six P.

It's zero at P equals zero, or at three over zero point zero zero six, which is five hundred.

Watch this part of the concept lesson

Read the rest of this scene

The root that isn't zero is L: five hundred. And it grows fastest at half of that, two hundred fifty. Another form: three P, times one minus P over sixty, is zero at sixty. So L is sixty, not three. The number in front only tells you how fast.

The nonzero root is L. Sometimes a question hands you the solved form: L, over one plus A e to the negative k t. It's the solution of k P, times one minus P over L. For six hundred over one plus five e to the negative two t, e to the negative two t goes to zero, so P goes to six hundred. You'll rarely be asked to solve it.

If you are, it takes the partial fractions you learned earlier in BC, and that's in the workbook.

Example 1: a rumor

Example one, free response style. A rumor spreads in a school of twelve hundred students. The rate at which R, the number who have heard it, grows is jointly proportional to R and to the number who haven't heard. R of zero is one hundred, and when R is two hundred, R grows at forty students per day. Part a: write a differential equation and find k.

Part b: find the limit of R as t goes to infinity.

Watch this part of the concept lesson

Read the rest of this scene

Part c: for what R is it spreading fastest, and at what rate? The plan: the words say size times room. This line earns the point. d R d t is k R, times twelve hundred minus R. When R is two hundred, the room left is twelve hundred minus two hundred: a thousand haven't heard.

Forty is k times two hundred times a thousand. So k is one over five thousand. For part b, look at the start. R of zero is above zero and below twelve hundred, so R heads to twelve hundred: everyone hears it. In part c, it's fastest at half of twelve hundred: twelve hundred over two, six hundred students.

And how fast: plug six hundred into the rate. The room left is twelve hundred minus six hundred, also six hundred. So it's one over five thousand, times six hundred, times six hundred: seventy-two students per day. Now try one on your own. Take a school of eight hundred, growing thirty a day at the same two hundred.

Answer the same three questions.

Common mistake: amount or rate?

Two mix-ups cost points on this topic. Here's how it goes wrong. Half the capacity is written as the fastest rate, when it's an amount. And the number in front gets taken for the capacity, which it never is. Here's the fix. Say which is which.

The amount is six hundred, the rate is seventy-two.

Watch this part of the concept lesson

Read the rest of this scene

And always find L where the rate is zero, whatever the form looks like.

Example 2: starting above L

Example two, multiple choice. dP/dt is P over four, times one minus P over six hundred, and P of zero is nine hundred. Which statements are true? One: the limit of P is six hundred. Two: P is decreasing for all t greater than zero.

Three: P has a point of inflection. The plan: L is where the rate is zero, and then look at where we start. One minus P over six hundred is zero at six hundred, so L is six hundred. And nine hundred starts above it. For the first statement, above six hundred the rate is negative, so P comes down to six hundred. True.

For the second, for t greater than zero, P stays above six hundred, so the rate stays negative, and P keeps falling. True. For the third, an inflection needs P to cross half of L, three hundred, and P never gets down there. False.

Watch this part of the concept lesson

Read the rest of this scene

So one and two are true, and the answer is B. Before you move on: change the start to one hundred, and ask the same questions.

Example 3: the top rate

Example three, multiple choice. dP/dt is three P minus zero point zero one P squared, and P of zero is twenty. What is the maximum value of d P d t? The plan: find L, take half of it, and plug that into the rate. Factor out P: P times three minus zero point zero one P.

It's zero at three hundred, so L is three hundred.

Watch this part of the concept lesson

Read the rest of this scene

The rate is fastest at half of L, one hundred fifty. We start at twenty, below it, so P does pass one hundred fifty. Had it started above, the fastest moment would be the start. Plug one hundred fifty into the rate: three times one hundred fifty, minus zero point zero one times one hundred fifty squared. That's two hundred twenty-five.

Choice A, one hundred fifty, is the amount, and C, three hundred, is L. So the answer is B.

Worked examples

Example 1

A rumor spreads in a school of 1200 students. The rate at which R, the number who have heard, grows is jointly proportional to R and to the number who haven't heard. R(0)=100, and when R=200, R grows at 40 students per day.
(a) Write the equation and find k. (b) Find limt→∞R(t). (c) At what R is it spreading fastest, and how fast?
Hint

Size times room: kR(1200−R).

Answer and solution
  1. 1⋅15000
  2. 1200
  3. 72
  1. dRdt=kR(1200−R);R=200:1200−200=1000;40=k⋅200⋅1000→k=15000
  2. (b) 0<R(0)<1200, so limt→∞R(t)=1200.
  3. (c) Fastest at R=600; the rate there is 15000⋅600⋅(1200−600)=72 students per day.

Example 2

dPdt=P4(1−P600) and P(0)=900. Which are true?
I. limt→∞P(t)=600 II. P is decreasing for all t>0 III. P has a point of inflection
  1. I only
  2. I and II only
  3. II and III only
  4. I, II, and III
Hint

L=600; where does P start?

Answer and solution

Answer B. I and II only

  1. L=600 and P(0)=900>600: the rate is negative, so P falls toward 600 (I, II true).
  2. An inflection needs P to cross 6002=300; it never does (III false). Answer B.

Example 3

dPdt=3P−0.01P2 and P(0)=20. What is the maximum value of dPdt?
  1. 150
  2. 225
  3. 300
  4. 900
Hint

Find L, take half, plug it into the rate.

Answer and solution

Answer B. 225

  1. P(3−0.01P)=0→L=300;3002=150,P(0)=20<150
  2. 3(150)−0.01(150)2=450−225=225.Answer B.

Workbook

Problem 1

A rumor spreads in a school of 800 students. The rate at which R, the number who have heard, grows is jointly proportional to R and to the number who haven't heard. When R=200, R grows at 30 students per day, and R(0)=50. How fast is the rumor spreading when it spreads fastest?
Hint

Size times room: kR(800−R); then half of 800.

Answer and solution

Answer 40 per day

  1. dRdt=kR(800−R);800−200=600;30=k⋅200⋅600→k=14000
  2. 0<R(0)<8002, so R passes 400, where it is fastest.
  3. dRdt=14000⋅400⋅(800−400)=40students per day

Common mistake Answering 400, the amount, instead of the rate.

Watch the worked solution to Problem 1

Problem 2

Consider the differential equation dPdt=P4(1−P600) with P(0)=100. Which of the following are true?
I. limt→∞P(t)=600
II. P is decreasing for all t>0
III. P has a point of inflection for t>0
  1. I only
  2. I and II only
  3. I and III only
  4. I, II, and III
Hint

Same equation as Example 2, a start below L2.

Answer and solution

Answer C. I and III only

  1. L=600 and 0<100<600: P rises to 600 (I true, II false).
  2. 100<300=L2, so P crosses 300: an inflection (III true). Answer C.

Common mistake Keeping the answers of Example 2.

Watch the worked solution to Problem 2

Problem 3

Consider the differential equation dPdt=0.04P−0.0001P2 with P(0)=50. Find the carrying capacity, the value of P where P grows fastest, and the fastest rate.
Hint

Factor out P; the nonzero root is L.

Answer and solution

Answer L=400, P=200, rate 4

  1. P(0.04−0.0001P)=0→L=0.040.0001=400
  2. Fastest at P=200 (P(0)=50<200).
  3. 0.04(200)−0.0001(200)2=8−4=4

Common mistake Taking 0.04 as the capacity.

Watch the worked solution to Problem 3

Problem 4

Consider the differential equation dydt=0.2y(600−y) with y(0)=50. For which values of y is y increasing at a decreasing rate?
  1. 0<y<300
  2. 300<y<600
  3. y>600
  4. 0<y<600
Hint

Increasing: the rate is positive. Decreasing rate: past the top of the rate.

Answer and solution

Answer B. 300<y<600

  1. Increasing: dydt>0 for 0<y<600.
  2. The rate 0.2y(600−y) is largest at y=300 and shrinks after it, so the rate decreases for 300<y<600. Answer B.

Common mistake Choosing 0<y<300, where the rate is still growing.

Watch the worked solution to Problem 4

Problem 5

Consider the differential equation dPdt=2P(1−P50) with P(0)=5. What is limt→∞dPdt?
  1. 0
  2. 25
  3. 50
  4. ∞
Hint

The amount levels off; what happens to its rate?

Answer and solution

Answer A. 0

  1. 0<5<50, so limt→∞P(t)=50.
  2. As P→50, dPdt=2P(1−P50)→2⋅50⋅0=0. Answer A.

Common mistake Answering 50, the limit of P.

Watch the worked solution to Problem 5

Problem 6

Solve dydt=y(1−y) with y(0)=13, using separation of variables and partial fractions.
Hint

1y(1−y)=1y+11−y (the 6.12 shortcut).

Answer and solution

Answer y=11+2e−t

  1. dyy(1−y)=dt,1y(1−y)=1y+11−y
  2. ln|y|−ln|1−y|=t+C→y1−y=Aet,y(0)=13→A=131−13=12
  3. y=12et1+12et=11+2e−t

Common mistake Losing the minus sign from ∫dy1−y=−ln|1−y|.

Watch the worked solution to Problem 6