Let's find a differential equation for a population that grows like an exponential at first, but approaches the most a lake can hold. Say our lake holds at most 1000 fish, and we start with 100 fish at time t=0, with t in months. With pure exponential growth, the population passes 1000 and keeps growing forever.
dtdP=0.5P,P(0)=100
→P=100e0.5t
100e0.5t=1000
→t=2ln10
We want a rate that's close to 0.5P while there's plenty of room, and 0 once the lake is full. So we multiply 0.5P by the fraction of the lake that's still free.
Unlimited growth
dtdP=0.5P
Growth limited by room
dtdP=0.5P(1−1000P)
Find a differential equation for a population limited to 1000 fish
Text solution
The fraction of the lake still freeWith P fish, there's room for 1000−P more. Dividing by 1000 gives the fraction that's free.
10001000−P=1−1000P
Check the endsWhen P is small, the fraction is close to 1, so the rate is close to 0.5P. At P=1000 the fraction is 0, so the rate is 0.
0.5⋅100⋅0.9=45
0.5⋅1000⋅0=0
Here's the new rate at a few populations. It starts close to the exponential rate 0.5P, falls back to 0 at 1000, and is negative when there are too many fish.
P
0.5P
1−1000P
dtdP
100
50
0.9
45
500
250
0.5
125
900
450
0.1
45
1000
500
0
0
1200
600
−0.2
−120
Because dtdP=0 at P=1000, we call 1000 the carrying capacity, written as M. Replacing 1000 with M and 0.5 with k gives the logistic equation. When P is near 0, it's approximately kP, so the population grows like an exponential at the start.
The logistic equation
dtdP=kP(1−MP)
You'll also see it with 10001 factored out. Then the rate is proportional to both the population P and the room left, M−P.
0.5P(1−1000P)=0.0005P(1000−P)=0.5P−0.0005P2
Rate proportional to population and room left
dtdP=kP(M−P)
In any form, the carrying capacity M is the non-zero population where dtdP=0. In the second form, don't reach for 0.0021=500. The rate is 0 when 600−P=0, so M=600.
0.3P(1−800P)=0
→M=800
0.002P(600−P)=0
→M=600
3P−0.01P2=P(3−0.01P)=0
→M=300
2
Where the population goes, and where it grows fastest
Where does the population end up if we start at 100 fish, 1200 fish, 0 fish, or 1000 fish? And at what population are the fish growing fastest? We can answer both questions from the differential equation, without solving it.
Notice there's no t on the right side of dtdP=0.5P(1−1000P), so the slope depends only on P. That means one graph of dtdP against P gives the slope at every t.
If we turn the rate graph a quarter turn so P is vertical, a horizontal line at any height P meets both graphs, and the rate graph gives the slope of P(t) at that height.
Find the long-term population and fastest growth from the rate graph
Text solution
Start at 100The rate is positive, so P increases. It speeds up until the vertex, then slows as dtdP falls toward 0, so P approaches 1000.
P=100:dtdP=0.5⋅100⋅0.9=45>0
Start at 1200,0 or 1000Above 1000 the rate is negative, so P decreases toward 1000. At 0 and 1000 the rate is 0, so P never changes.
P=1200:dtdP=0.5⋅1200⋅(−0.2)=−120
Fastest at the vertexAt 100 and 900 we multiply the same two numbers, 100 and 900, so the rates match. The vertex is halfway between the zeros 0 and 1000.
0.0005⋅100⋅900=45
0.0005⋅900⋅100=45
P=500:dtdP=0.5⋅500⋅0.5=125
So the sign of the rate tells us where each start goes.
0<P<1000:
dtdP>0→P increasing
P>1000:
dtdP<0→P decreasing
P=0 or P=1000:
dtdP=0→P constant
For any positive start
P(0)>0→t→∞limP(t)=1000
And growth is fastest at half the carrying capacity. That's a population, not a time. The horizontal line at P=500 passes through the vertex of the parabola and the steepest point of the solution curve.
fastest growth at P=2M
3
Concavity and inflection points
We know any positive start approaches 1000, and the population grows fastest at P=500. Next, where is the curve concave up, and where is it concave down? That comes from the sign of dt2d2P, and since P is a function of t, finding it takes the chain rule.
Find where solutions to dtdP=0.5P(1−1000P) are concave up and concave down
Text solution
Differentiate with the chain ruleWrite the rate as 0.5P−0.0005P2, differentiate with respect to P, then multiply by dtdP.
dt2d2P=(0.5−0.001P)⋅dtdP
The sign of each factorThe first factor is the slope of the rate parabola: positive below the vertex P=500, negative above it. The second is the rate itself: positive between 0 and 1000, negative above 1000.
Above 1000, don't stop at the first factorAt P=1200 the first factor is negative, but so is the rate, so the curve is concave up.
dt2d2P=(−0.7)(−120)=84>0
Multiplying the signs of the two factors gives the concavity in each band of P.
0<P<500:
(+)(+)>0→concave up
500<P<1000:
(−)(+)<0→concave down
P>1000:
(−)(−)>0→concave up
A solution never crosses 1000, so the only place its concavity can change is at P=500. A curve has an inflection point only if its population passes through 500.
P(0)=100:
concave up to P=500,concave down after
→inflection point at P=500
concave up to P=500,
concave down after
→inflection point at P=500
P(0)=700:
500<P<1000→concave down,
no inflection point
P(0)=1200:
P>1000→concave up
How does the initial population change growth and concavity?
4
Finding the formula for P(t)
We know the population starts at 100, approaches 1000, and increases fastest at 500. Now let's find the exact formula for P(t). The equation is separable, and we'll need partial fractions on the way.
Solve dtdP=0.5P(1−1000P) with P(0)=100
dtdP=0.5P(1−1000P)
P(0)=100
P(t)=?
Text solution
Separate, then split by partial fractionsFactor out 10001 to clear the fraction, then divide by P(1000−P). Adding P1 and 1000−P1 gives a numerator of 1000, so we divide by 1000.
P(1000−P)dP=0.0005dt
P(1000−P)1=10001(P1+1000−P1)
Integrate, minding the signThe derivative of 1000−P is −1, so its integral brings a minus. Both P and 1000−P stay positive, so no absolute values.
ln1000−PP=0.5t+1000C
1000−PP=Be0.5t
Flip it, so P appears onceThe reciprocal splits into P1000−1. At t=0, it's the room left over the fish at the start, 100900=9.
P1000−1=9e−0.5t
P=1+9e−0.5t1000
Check it, and find the fastest growthAt t=0 it gives 101000=100, and as t→∞ it approaches 1000. It reaches 500 when the denominator is 2.
9e−0.5t=1→e0.5t=9→t=2ln9
In the general formula, M is the carrying capacity, A is the room left over the starting population, and k is the growth rate while the population is small. When the equation is written as 0.0005P(1000−P), the exponent is −0.0005⋅1000t=−0.5t, not −0.0005t.
P(t)=1+Ae−ktM,A=P0M−P0
dtdP=0.0005P(1000−P)
→e−0.0005⋅1000t=e−0.5t
Summary
The logistic equation and carrying capacity
dtdP=kP(1−MP)
dtdP=0.002P(600−P)
→M=600
The factor 1−MP is the fraction of capacity still free. When P is near 0, it is close to 1, so growth is nearly exponential. When P=M, no room is left, and dtdP=0.
In any form of the equation, the carrying capacity M is the positive population that makes dtdP=0. For 0.002P(600−P)=0, that gives M=600.
Long-term population
P(0)>0→t→∞limP(t)=M
For any positive starting population, P(t) approaches the carrying capacity M as t goes to infinity.
When 0<P<M, the rate dtdP is positive, so the population increases toward M. When P>M,dtdP is negative, so the population decreases toward M. The values P=0 and P=M give dtdP=0, so they are constant solutions.
Fastest growth
fastest growth at P=2M
The graph of dtdP against P is a downward parabola with zeros at P=0 and P=M. The vertex is halfway between those zeros, so the growth rate is largest at P=2M. This is a population, not a time. To find the time of fastest growth, solve P(t)=2M for t.
Concavity and inflection points
dt2d2P=(0.5−0.001P)⋅dtdP
0<P<500
concave up
500<P<1000
concave down
P>1000
concave up
Because P depends on t, finding dt2d2P needs the chain rule. Differentiate dtdP with respect to P, then multiply by dtdP. The sign of dt2d2P comes from multiplying the signs of these two factors.
For our lake with M=1000, solutions are concave up for 0<P<500, concave down for 500<P<1000, and concave up for P>1000. An inflection point occurs where the curve intersects P=2M, which happens only when the starting population is between 0 and 2M.
The solution formula
P(t)=1+Ae−ktM,A=P0M−P0
The numerator M is the carrying capacity, and A=P0M−P0 is the ratio of room left to starting population at t=0. Growth is fastest when Ae−kt=1, which makes the denominator 2 and gives P=2M.
If the differential equation is written as dtdP=kP(M−P), the exponent is −kMt.
5
Practice
Give exact values, keeping ln, unless the question asks for an estimate.
1
A solution of dtdy=0.3y−0.002y2 has y(0)=20. (a) Find t→∞limy(t). (b) For which starting values y(0) does the solution curve have an inflection point?
To find the carrying capacity, set 0.3y−0.002y2=0 for y=0. What is y?
If you got ∞ Check the −0.002y2 term. It keeps y(t) from increasing without bound and makes it approach the carrying capacity.
An inflection point happens at y=2M. Which starting values make y(t) pass through 2M?
If you got 0<y(0)<150 If y(0) is between 75 and 150, the solution increases toward 150 without ever passing through 75, so the curve stays concave down the whole way.
The carrying capacity and limitFactor out 0.002y to find the carrying capacity M.
0.3y−0.002y2=0.002y(150−y)→M=150
The starting value 20 is between 0 and 150, so dtdy>0 and y increases toward the carrying capacity 150.
0<20<150:dtdy>0→t→∞limy(t)=150
The inflection pointThe curve changes concavity at y=2M=75, and y(t) only passes through 75 if it starts below 75.
2M=75:0<y(0)<75→inflection point at y=75
2
Let y(t) be the solution of dtdy=4y(10−y) with y(0)=14. (a) Find dt2d2y in terms of y. (b) Is the solution curve concave up or concave down? (c) Find t→∞limy(t).
Because y depends on t, what factor does the chain rule give when you differentiate with respect to t?
If you got dt2d2y=410−2y Remember that y depends on t, so the chain rule gives an extra factor of dtdy.
(b)
At y=14, what are the signs of 410−2y and dtdy?
If you got concave down Check the sign of dtdy at y=14. Both factors in dt2d2y are negative, so their product is positive.
The second derivativeMultiply out the numerator, then differentiate with respect to t using the chain rule.
dtdy=410y−y2
dt2d2y=410−2y⋅dtdy=410−2y⋅4y(10−y)
The limitBecause the starting value 14 is above the carrying capacity 10,dtdy is negative, so y(t) decreases toward 10.
y(0)=14>10:dtdy<0→y decreasing,t→∞limy(t)=10
The concavityFor y>10, both factors in dt2d2y are negative, so their product is positive and the curve is concave up.
y>10:410−2y<0,4y(10−y)<0→dt2d2y>0
y=14:(−4.5)(−14)=63>0
3
Solve dtdP=0.0004P(500−P),P(0)=100.
Separate the variables, then split P(500−P)1 into partial fractions with denominators P and 500−P.
Once you have 500−PP=Be0.2t, take the reciprocal of both sides to make solving for P simpler.
If you got P=1+4e−0.0004t500 In dtdP=kP(M−P), the exponent is −kMt, not −kt. Here kM=0.0004⋅500=0.2.
If you got P=1+41e−0.2t500 Check A at t=0.A=P0M−P0=100500−100=4, not 400100.
If you got P=1−4e−0.2t500 Check the split of P500−P. Dividing each term by P gives P500−1, not 1−P500.
Separate and splitSeparate the variables, then use partial fractions on the left side.
A population follows P(t)=1+Ae−kt1000 with P(0)=200 and P(2)=500. Find k.
Use P(0)=200 to find A=P0M−P0.
Plug in t=2 and set the denominator equal to 5001000=2.
If you got k=−ln2 Check your constant A.A=2001000−200=4, so e−2k=41, not 4.
Use the initial population P(0)=200 to find A.
A=2001000−200=4
Plug in t=2 and P=500, then isolate e−2k and take the natural log of both sides.
1+4e−2k1000=500→4e−2k=1→e−2k=41→k=2ln4=ln2
6
A rumour spreads through a school of 1200 students at a rate proportional to the product of the number of students who have heard it and the number who haven't. (a) Write a differential equation for N(t), the number of students who have heard it. (b) How many students have heard the rumour when it is spreading fastest?
If N students have heard the rumour, how many students have not heard it yet?
The rate dtdN is a downward-opening parabola with zeros at N=0 and N=1200. Where is its vertex?
If you got 1200 When N=1200, everyone has heard the rumour, so nobody is left to tell and dtdN=0.
The number of students who haven't heard the rumour is 1200−N, and the rate is proportional to the product of N and 1200−N.
dtdN=kN(1200−N)
The rate is a downward parabola with zeros at 0 and 1200, so its maximum is halfway between them, at N=600.