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
Japanese Imperialism | World History | Khan Academy
What we’re going to discuss in this video is the evolution of Japan from being one of the most isolated countries in the world during the Tokugawa Shogunate to being the first Asian country to truly industrialize and become a world power. Historians will …
Interpreting change in speed from velocity-time graph | Differential Calculus | Khan Academy
An object is moving along a line. The following graph gives the object’s velocity over time. For each point on the graph, is the object speeding up, slowing down, or neither? So pause this video and see if you can figure that out. All right, now let’s do…
MACAWS in SlowMotion! Rainforest Research! Smarter Every Day 60
Hey, it’s me, Dtin. Welcome back to Smarter Every Day! So let’s pretend for a second that you’re a macaw, and you live in the Amazon rainforest. Life is pretty good; you have all the fruit you want. But there’s one problem: you don’t get all the nutrient…
Computing a tangent plane
Hey guys! So, in the last video, I was talking about how you can define a function whose graph is a plane, and moreover, a plane that passes through a specified point and whose orientation you can somehow specify. We ended up seeing how specifying that or…
How To Invest in 2024 (How ANYONE can be RICH)
What’s up you guys, it’s Graham here. So this is a tragedy. After posting the video about the money mistakes to avoid in your 20s, which by the way, if you haven’t seen that video already, make sure to check that out so you can smash that like button. Tw…
5 Historical Misconceptions Rundown
5. Vikings What would a Viking be without his trusty battle helmet and its impressive horns? The answer is: a more historically accurate Viking. Think, for a moment about wearing headgear like that into battle: the horns are just easy targets for your op…