← Return to lesson

Class materials · 7.9

Logistic Models with Differential Equations

Lecture transcript

0:00

Picture a school of one thousand students. A big rumor breaks first period. Let P be the number of students who have heard it. At first only two know: you and your best friend. Say it doubles every break: two, four, eight, sixteen. That's the exponential model from the AB lessons, d P d t equals k P.

0:26

Its graph shoots up forever. Keep doubling, and soon more students know than the school even has. The rest would have to be aliens. Real growth always hits a ceiling: a number it can never pass. Here the ceiling is one thousand, everyone in the school. P can never pass it.

0:49

We call it L. In AP Calculus, L is called the carrying capacity: the most the situation can hold. For fish in a pond, L is the most fish the pond can feed. It's the same idea in a different story. Let's build the equation instead of memorizing it. A rumor needs two kinds of students.

1:11

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. Early on, P is two: only two mouths, and nine hundred ninety-eight listeners. So it's slow.

1:36

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.

2:01

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.

2:28

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.

2:59

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. When is the rumor spreading fastest? Graph the rate against P, not against time.

3:24

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. 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.

4:00

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.

4:23

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.

4:49

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.

5:15

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.

5:45

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.

6:09

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 one, free response style.

6:43

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. Part c: for what R is it spreading fastest, and at what rate?

7:16

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.

7:42

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.

8:17

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. 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.

8:37

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. And always find L where the rate is zero, whatever the form looks like. Example two, multiple choice. dP/dt is P over four, times one minus P over six hundred, and P of zero is nine hundred.

9:06

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.

9:32

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. 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.

10:11

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.

10:41

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.

11:12

So the answer is B. So, back to the rumor. What stops it, and when is it fastest? Knows times hasn't heard: the rate is jointly proportional to both. It's fastest at half of L, when P passes it. To get how fast, plug half of L into the rate.

11:33

Any positive start heads to L, while the rate heads to zero. Which form tripped you up? Tell me in the comments. Next up: eight point one, average value.