yego.me
💡 Stop wasting time. Read Youtube instead of watch. Download Chrome Extension

Worked example: Logistic model word problem | Differential equations | AP Calculus BC | Khan Academy


5m read
·Nov 11, 2024

The population ( p ) of ( t ) of bacteria in a petri dish satisfies the logistic differential equation. The rate of change of population with respect to time is equal to ( 2 ) times the population times the difference between ( 6 ) and the population divided by ( 8000 ), where ( t ) is measured in hours and the initial population is ( 700 ) bacteria. What is the carrying capacity of the population, and what is the population's size when it's growing the fastest?

Alright, so in order to even attempt to answer these questions, and at any point, if you're inspired, definitely pause the video and try to answer on your set by yourself. Let's just remind ourselves what we're talking about, or what they're talking about with the logistic differential equation and the carrying capacity.

So in general, a logistic differential equation is one where we're seeing the rate of change of—and it's often referring to population—so let's just stick with population. The rate of change of our population with respect to time is proportional to the product of the population and the difference between what's known as the carrying capacity and the population.

Now, why is this a model that you will see a lot, and especially why is it useful for studying things like populations? Well, when a population is small, the environment really isn't limiting it. So, assuming it starts from some non-zero value, this thing grows—this thing is not going to get much smaller. Our population's rate of change is going to increase.

Let me just draw a little graph here to show the typical solution to a logistic differential equation. So this is our population; this is time. When our population is low, let's say it's going to start from some non-zero value. If it was zero, what would happen? Well, then our rate of change would just be zero, and our population would never grow. That makes sense: if you have no bunnies on your island, then there never will be any bunnies on your island.

But if you have a few bunnies, well, initially, their rate of change—the rate of population—is going to keep accelerating. As this thing grows, it's going to keep accelerating, but then at some point, your environment is going to limit how many bunnies or, for example, bacteria can grow in your environment. Because once the population gets close to a, this thing over here is going to approach zero and it's going to make our rate of change smaller and smaller.

You can imagine in the limiting case, as ( p ) gets very, very, very, very close to ( a ), as ( p ) gets very, very, very close to ( a ), you can imagine as ( t ) approaches infinity, our rate of change is going to approach zero. So one way to think about it is our population would asymptote towards the carrying capacity. That is right over here; that is our carrying capacity.

So there's a couple of ways of answering this first question. One way is we can actually put our logistic differential equation in this form, and then we can recognize what the carrying capacity is. The other way is to think about well, what happens as ( t ) approaches infinity? As ( t ) approaches infinity, this thing approaches zero.

You can see the rate of change approaches zero, so when that approaches zero, what does ( p ) approach? We can just solve for ( 6 - \frac{p}{8000} ). Well, there are two situations—two ( p )'s for which our derivative is equal to zero. There's one case when this is equal to zero, in which case our population is zero, or the other case is when this is equal to zero.

So let's do that: ( 6 - \frac{p}{8000} = 0 ), or we could say ( \frac{p}{8000} = 6 ), and so we can say multiply both sides by ( 8000 ) ( p = 48000 ), which is exactly what we had right over there.

So now let's answer the second part: what is the population's size when it's growing the fastest? So intuitively, you can see when that is right over here. The population, the rate of change is going to grow, grow, grow, grow, grow, but then as we approach the carrying capacity the rate of change is going to start slowing down. So your maximum rate of change—it's growing the fastest—is right about, right about there.

But how do we figure it out exactly? Well, you could go back to the logistic differential equation. You can see that it's really our rate of change as a function—you could view it as a function of our population right over here, and this is actually a quadratic expression. This is a concave downward quadratic expression.

It would look like this: if you were graphing, if you were graphing rate of change ( \frac{dp}{dt} ) as a function of population. Well, when the population is small—so when the population is say ( 700 ), or that's where we're starting—well, let's just speak in generalities. When your population is small, ( \frac{dp}{dt} )—your rate—is small, but then it increases, and at some point, around there, it will start—the rate of change starts decreasing and it approaches zero as our population approaches the carrying capacity.

This right over here, for example, would actually be our carrying capacity. So one way to think about, well, what is this maximum point right over here? There are a couple of ways that you can approach it, with calculus and even algebra. We have many tools for identifying this maximum point, which is really just the vertex of this downward-opening, this concave downward parabola.

So let's just do that, and let's find this vertex. The vertex is just halfway between the zeros of this quadratic. So let's find the ( p )-values that make this equal to zero, which we actually just figured out. The maximum point—the vertex—is just going to be halfway between that.

So when the population is zero, our rate of change is zero. When the population is ( a ), which we know is ( 48000 ), our rate of change is zero. So our carrying—sorry, our maximum rate of change is going to happen halfway between those two points, which is ( 24000 ).

So it is a population of ( 24000 ). We got that by really just saying, well, at what point does this quadratic as a function of ( p ) hit a maximum point. Well, that's going to be halfway between the zeros—zeros happen when ( p ) equals zero and ( p ) is equal to ( 48000 ).

So that's going to happen when the population is ( 24000 ). This type of problem seems very intimidating at first: logistic differential equation—how do I actually solve this and then analyze it? But the key is to one, recognize the logistic differential equation, see what it's talking about, and then maybe think of this in terms of our rate of change as a function of our population.

Remember that the carrying capacity is what happens as ( t ) approaches infinity. As of ( t ) approaches infinity, our rate of change approaches zero. If that's approaching zero, what must our population be approaching?

More Articles

View All
Bill Ackman: The Biggest Investing Opportunity of Your Life
I think you can do very well as a stock market investor if you find really high quality companies, and you buy them at attractive prices. I think today, you know, is a pretty good time. It’s a pretty good point of entry. Now, it’s no secret that this year…
Reduction of Air Pollutants| Atmospheric Pollution| AP Environmental Science| Khan Academy
Hey there friends, today we’re going to learn about air pollution, and to start off, we’re going back in time to the small town of Donora, Pennsylvania, in October of 1948. Walking into this small industrial town, you can immediately sense that something…
SpaceX Makes History | MARS
T minus 20 seconds. Stage two tanks pressing for flight. Flight computer has control of the vehicle. Do we see anything on the sensors that’s a problem? Anything right now? Nothing. Well, I’ll say go for launch. T minus 10. 9. 8. 7. 6. 5. 4. 3. 2. 1…
15 Things You Should Learn from the Greatest Empires’ Mistakes
These Empires conquered, and these Empires fell. Just like we learned from their success stories, yesterday we can learn from their failures today. Every move they made can be scaled down from a rule that reached hundreds of thousands of people across the…
Geometric series word problems: hike | Algebra 2 | Khan Academy
We’re told Sloan went on a four-day hiking trip. Each day she walked 20 more than the distance that she walked the day before. She walked a total of 27 kilometers. What is the distance Sloan walked on the first day of the trip? It says to round our final …
9 RULES FOR INNER PEACE AND WISDOM FROM MARCUS AURELIUS | STOICISM INSIGHTS
Welcome back, Stoicism Insights community. Brace yourselves for a mind-bending journey into the ancient wisdom of Stoic philosophy, where Marcus Aurelius unveils nine transformative rules destined to revolutionize your approach to life’s challenges. Prepa…