Intersect Prep

Euler's method and logistic growth for AP Calculus BC

Updated

Euler's method and logistic growth are the BC-only parts of the differential equations unit. Both are very learnable, and both tend to reward a tidy setup.

This guide walks through Euler's method step by step and shows what a logistic equation tells you without solving it.

Euler's method

Euler's method estimates a solution by taking short straight steps along the slope. Starting from a known point, each new value is the old value plus the slope times the step size: ynew=yold+dydx⋅Δxy_{\text{new}} = y_{\text{old}} + \frac{dy}{dx} \cdot \Delta x.

Three steps

Let dydx=x−y\frac{dy}{dx} = x - y with y(0)=3y(0) = 3. Use Euler's method with three equal steps of size 0.50.5 to approximate y(1.5)y(1.5).
  1. 1At (0,3)(0, 3) the slope is −3-3, so y(0.5)≈3+0.5(−3)=1.5y(0.5) \approx 3 + 0.5(-3) = 1.5.
  2. 2At (0.5,1.5)(0.5, 1.5) the slope is −1-1, so y(1)≈1.5+0.5(−1)=1y(1) \approx 1.5 + 0.5(-1) = 1.
  3. 3At (1,1)(1, 1) the slope is 00, so y(1.5)≈1+0.5(0)=1y(1.5) \approx 1 + 0.5(0) = 1.

Answer: y(1.5)≈1y(1.5) \approx 1

Overestimate or underestimate?

Each step follows a tangent line. If the solution is concave up, tangent lines lie below it, so Euler's method underestimates. If it's concave down, Euler's method overestimates. To find concavity, take the derivative of dydx\frac{dy}{dx} and substitute.

Check the concavity

For the equation above, dydx=x−y\frac{dy}{dx} = x - y with y(0)=3y(0) = 3, the exact solution is y=x−1+4e−xy = x - 1 + 4e^{-x}. Is the Euler estimate of y(1.5)y(1.5) too high or too low?

d2ydx2=1−dydx=4e−x\frac{d^2y}{dx^2} = 1 - \frac{dy}{dx} = 4e^{-x}, which is always positive, so the solution is concave up and the estimate is too low. The exact value is y(1.5)=0.5+4e−1.5≈1.393y(1.5) = 0.5 + 4e^{-1.5} \approx 1.393.

0.511.522.5123(1.5, 1)
y=x−1+4e−xy = x - 1 + 4e^{-x}After the starting point, the Euler points fall below the exact solution.

Answer: Too low

Logistic growth

A logistic model starts out growing almost exponentially, speeds up until it reaches half of its limit, then levels off. Its standard form is dPdt=kP(1−PL)\frac{dP}{dt} = kP\left(1 - \frac{P}{L}\right), where LL is the carrying capacity. The solution has the form P=L1+Ae−ktP = \frac{L}{1 + Ae^{-kt}}.

  • The long-term limit is LL, for any positive starting value.
  • The population is growing fastest when P=L2P = \frac{L}{2}, which is the inflection point of the curve.
  • You can read both from the equation, with no need to solve it.

Read the equation, then solve

A population satisfies dPdt=0.4P(1−P200)\frac{dP}{dt} = 0.4P\left(1 - \frac{P}{200}\right) with P(0)=20P(0) = 20. Find lim⁡t→∞P(t)\lim_{t \to \infty} P(t), the population when it's growing fastest, and the time when that happens.

The limit is L=200L = 200, and growth is fastest at P=100P = 100.

From P(0)=20P(0) = 20, 2001+A=20\frac{200}{1 + A} = 20 gives A=9A = 9, so P=2001+9e−0.4tP = \frac{200}{1 + 9e^{-0.4t}}. Setting P=100P = 100 gives 9e−0.4t=19e^{-0.4t} = 1, so t=ln⁡90.4≈5.493t = \frac{\ln 9}{0.4} \approx 5.493.

5101550100150200(5.493, 100)
P=2001+9e−0.4tP = \frac{200}{1 + 9e^{-0.4t}}

Answer: Limit 200200, fastest at P=100P = 100, when t≈5.493t \approx 5.493

Keep practicing

Questions on these topics show up in both multiple choice and free response. See how to earn free-response points for what to write down.

Keep going

Practice on exam-style questions

Intersect Prep has 30 multiple-choice questions for Unit 7, with a full solution for each one. Create a free account to try a full lesson with the calculator. One payment of $49 unlocks the course for 6 months.

Questions

How do I know if Euler's method overestimates?
Check the concavity of the solution. Concave down means the estimate is too high, and concave up means it's too low.
When is logistic growth the fastest?
When the population is at half of the carrying capacity, P = L/2. That's the inflection point of the logistic curve.
Are Euler's method and logistic growth only on BC?
Yes. Both are in the BC course only, and AP Calculus AB doesn't include them.

Desmos is a trademark of Desmos Studio PBC.