Educerie

Educerie · AP · Calculus

Unit 7 Differential Equations · 7.9 Logistic Models with Differential Equations

BC only. This topic is on the AP Calculus BC exam and not on the AB exam.

Big ideas: FUN (Analysis of Functions): when growth slows as a quantity nears a ceiling, the differential equation alone tells you the limit, the sign of the change and the moment of fastest growth.

The question this unit answers: What happens to a population that grows quickly at first but cannot grow for ever?

Where it is examined: BC only. Section I multiple choice: match a sentence to the logistic equation, find the limiting value, or find the value at which the quantity grows fastest. A logistic equation may also open a Section II question, set in a context, with a limit, a rate or a concavity to find. The course says the logistic equation can be interpreted without solving it, and that is how most questions work. Common slips: missing units on rates, and conclusions about signs that name no function.


AP Calculus AB and BC 7.9

Logistic Models with Differential Equations

What happens to a population that grows quickly at first but cannot grow for ever?

What you will learn

  • Understand the logistic equation dy ÷ dt = ky(a - y) as a rate jointly proportional to the quantity and the room left
  • Know that the limiting value is the carrying capacity a when the quantity starts above zero
  • Understand that growth is fastest at y = a ÷ 2, where the graph has its inflection point
  • Know how to interpret the model in context without solving it

You must be able to

  1. Identify the carrying capacity from the equation, including after factoring
  2. Find the limit of the quantity as t grows without solving
  3. Say whether the quantity rises or falls from its starting value
  4. Find the value of y at fastest growth and the rate there, with units
  5. Find the second derivative and decide concavity
  6. Write a logistic equation from a sentence

1Reading the equation

Take dydt=ky(a−y)\frac{dy}{dt}=ky(a-y) with k>0k>0 and a>0a>0. The sign of the right side comes from the factors.

Where yy isyya−ya-ydydt\frac{dy}{dt}What happens
0<y<a0<y<apositivepositivepositiveyy rises toward aa
y=ay=apositivezerozeroyy stays at aa
y>ay>apositivenegativenegativeyy falls toward aa
y=0y=0zeropositivezeroyy stays at 00

Two constant solutions appear: y=0y=0 and y=ay=a. They are equilibrium solutions. A solution that starts above zero is drawn toward aa and does not cross it.

The limiting value is found by asking where the rate is zero, apart from y=0y=0:

lim⁡t→∞y=awhen y(0)>0\lim_{t\to\infty}y = a \quad\text{when } y(0)>0

2Equivalent forms

Exams may not write the equation as ky(a−y)ky(a-y). Factor to find aa.

  • dPdt=0.02P(1−P500)\frac{dP}{dt}=0.02P\left(1-\frac{P}{500}\right). Write 1−P500=500−P5001-\frac P{500}=\frac{500-P}{500}, so dPdt=0.02500P(500−P)\frac{dP}{dt}=\frac{0.02}{500}P(500-P). Here a=500a=500 and k=0.00004k=0.00004.
  • dydt=0.4y−0.002y2\frac{dy}{dt}=0.4y-0.002y^2. Factor out 0.002y0.002y: 0.002y(200−y)0.002y(200-y). Here a=200a=200 and k=0.002k=0.002.

The two zeros of the right side, treated as a function of yy, are 00 and aa. The larger one is the carrying capacity.

3The shape of the solution, without solving

Figure 1. Left: a logistic solution rises toward the carrying capacity a and is steepest, with an inflection point, at height a/2. Right: dy/dt against y is a downward parabola, zero at 0 and a, largest at a/2 (a) y against t y t a a/2 steepest Figure 1. Left: a logistic solution rises toward the carrying capacity a and is steepest, with an inflection point, at height a/2. Right: dy/dt against y is a downward parabola, zero at 0 and a, largest at a/2 (b) dy/dt against y dy/dt y a/2 a largest
Figure 1 · Left: a logistic solution rises toward the carrying capacity a and is steepest, with an inflection point, at height a ÷ 2. Right: dy ÷ dt against y is a downward parabola, zero at 0 and a, largest at a ÷ 2

Read Figure 1.

  • Left. The curve rises, flattens at height aa, and has an S shape. It is steepest where it crosses the height a2\frac a2.
  • Right. The right side ky(a−y)ky(a-y) is a parabola in yy that opens downward, with zeros at 00 and aa. It is largest halfway between the zeros, at y=a2y=\frac a2.

The greatest value of dydt\frac{dy}{dt} is the value at the top of the parabola:

dydt∣y=a/2=k⋅a2⋅a2=ka24\left.\frac{dy}{dt}\right|_{y=a/2} = k\cdot\frac a2\cdot\frac a2 = \frac{ka^2}{4}

So the quantity grows fastest when y=a2y=\frac a2, if its path passes through that value. For 0<y(0)<a20<y(0)<\frac a2, it does, and the graph has an inflection point there. If a2<y(0)<a\frac a2<y(0)<a, the quantity is already past the fastest point, so for t≥0t\ge0 it grows fastest at t=0t=0. If y(0)>ay(0)>a, it is falling, and its rate is most negative at t=0t=0 and shrinks toward zero as yy nears aa.

4Concavity from the equation

Differentiate dydt=ky(a−y)=kay−ky2\frac{dy}{dt}=ky(a-y)=kay-ky^2 with respect to tt, using the chain rule on yy:

d2ydt2=kadydt−2kydydt=k(a−2y)dydt\frac{d^2y}{dt^2} = ka\frac{dy}{dt}-2ky\frac{dy}{dt} = k(a-2y)\frac{dy}{dt}

Now read the sign.

  • For 0<y<a20<y<\frac a2: a−2y>0a-2y>0 and dydt>0\frac{dy}{dt}>0, so d2ydt2>0\frac{d^2y}{dt^2}>0. The graph is concave up.
  • For a2<y<a\frac a2<y<a: a−2y<0a-2y<0 and dydt>0\frac{dy}{dt}>0, so d2ydt2<0\frac{d^2y}{dt^2}<0. The graph is concave down.
  • At y=a2y=\frac a2, d2ydt2\frac{d^2y}{dt^2} changes sign, so there is a point of inflection.

The inflection point is where dydt\frac{dy}{dt} is largest, as expected: the slope of the graph stops getting steeper and starts to flatten.

5Worked examples

Worked example 1 (invented). The number PP of deer in a reserve, in hundreds, satisfies dPdt=0.2P(1−P10)\frac{dP}{dt}=0.2P\left(1-\frac{P}{10}\right), with tt in years and P(0)=2P(0)=2.

(a) Find lim⁡t→∞P\lim_{t\to\infty}P. (b) Find the value of PP when the herd grows fastest, and that rate.

(a) The right side is zero at P=0P=0 and at P=10P=10. The herd starts above zero, so it approaches the larger value. The limit is 1010 hundred deer, 10001000 deer. This is the carrying capacity.

(b) Fastest growth is at half the carrying capacity: P=5P=5 hundred deer. The rate there is:

dPdt=0.2(5)(1−510)=0.5 hundred deer per year\frac{dP}{dt} = 0.2(5)\left(1-\frac{5}{10}\right) = 0.5\ \text{hundred deer per year}

That is 50 deer per year. Compare with the start: at P=2P=2, dPdt=0.2(2)(0.8)=0.32\frac{dP}{dt}=0.2(2)(0.8)=0.32 hundred per year, which is less.

Worked example 2 (concavity). For the same herd, find d2Pdt2\frac{d^2P}{dt^2} at P=2P=2.

Write the equation as dPdt=0.02P(10−P)\frac{dP}{dt}=0.02P(10-P). Then:

d2Pdt2=0.02 (10−2P) dPdt\frac{d^2P}{dt^2} = 0.02\,(10-2P)\,\frac{dP}{dt}

At P=2P=2, dPdt=0.32\frac{dP}{dt}=0.32. So d2Pdt2=0.02(6)(0.32)=0.0384>0\frac{d^2P}{dt^2}=0.02(6)(0.32)=0.0384>0. The graph is concave up, so the growth is speeding up at that moment.

Worked example 3 (start above the capacity). A population satisfies dydt=0.003y(100−y)\frac{dy}{dt}=0.003y(100-y) and y(0)=120y(0)=120.

At y=120y=120, dydt=0.003(120)(−20)=−7.2<0\frac{dy}{dt}=0.003(120)(-20)=-7.2<0. The population falls. It cannot cross y=100y=100, so it levels off at 100100. The limit is 100100, the same carrying capacity as for a start below it.

Worked example 4 (from a sentence). The number NN of members of an online group, in thousands, grows at a rate jointly proportional to NN and to 80−N80-N. Write the differential equation, and state the limit if the group has 5 thousand members at the start.

dNdt=kN(80−N)\frac{dN}{dt} = kN(80-N)

The carrying capacity is 80 thousand members. Starting from 5 thousand, NN rises toward 80, so lim⁡t→∞N=80\lim_{t\to\infty}N=80.

6Interpreting in context

Say what the numbers mean.

  • aa is the carrying capacity: the largest value that the environment can support, which the quantity approaches.
  • kk is the constant of proportionality. For small yy, dydt≈kay\frac{dy}{dt}\approx kay, so it grows nearly exponentially with relative rate kaka.
  • dydt\frac{dy}{dt} at y=a2y=\frac a2 is the greatest rate of growth.
  • A negative dydt\frac{dy}{dt} with y>ay>a means the quantity is above what the environment supports and shrinking.

The equation can also be solved, using separation of variables and partial fractions (Topic 6.12). The course description says that the logistic equation and its initial conditions can be interpreted without solving, and this topic does not require the solution.

Practice questions

30 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.