Differential equations Print Calculus BC (AP-aligned) only The lessons of this topic taught in Calculus BC (AP-aligned), ready for paper.
Print Include answers
To save a PDF, choose “Save as PDF” in the print dialog.
1. Euler's method Warm-up Three quick questions from earlier lessons.
f ( 2 ) = 3 f(2) = 3 f ( 2 ) = 3 and f ′ ( 2 ) = 2 f'(2) = 2 f ′ ( 2 ) = 2 . Write the local linearization L ( x ) L(x) L ( x ) of f f f at x = 2 x = 2 x = 2 .f ( x ) = x f(x) = \sqrt{x} f ( x ) = x has f ′ ( x ) = 1 2 x f'(x) = \dfrac{1}{2\sqrt{x}} f ′ ( x ) = 2 x 1 . Use the local linearization at x = 4 x = 4 x = 4 to estimate 6 \sqrt{ 6 } 6 . Give an exact fraction.Near x = 4 x = 4 x = 4 , the graph of f f f is concave up. Does the local linearization at x = 4 x = 4 x = 4 over- or underestimate f ( x ) f(x) f ( x ) for x x x near 4 4 4 ? Underestimate: the tangent line lies below the curve. Overestimate: the tangent line lies above the curve. Neither: near x = 4 x = 4 x = 4 the linearization is exact. Discover y ′ = y y' = y y ′ = y , y ( 0 ) = 1 y(0) = 1 y ( 0 ) = 1 . At ( 0 , 1 ) (0, 1) ( 0 , 1 ) the slope is 1. Follow the tangent line for a step of 0.5 0.5 0.5 . Where do you land?
( 0.5 , 1.5 ) (0.5,\ 1.5) ( 0.5 , 1.5 ) ( 0.5 , 2 ) (0.5,\ 2) ( 0.5 , 2 )
Key idea Walk along short tangent lines.
Euler's method for
y ′ = f ( x , y ) y' = f(x, y) y ′ = f ( x , y ) ,
y ( x 0 ) = y 0 y(x_0) = y_0 y ( x 0 ) = y 0 , step
h h h :
x n + 1 = x n + h x_{n+1} = x_n + h x n + 1 = x n + h ,
y n + 1 = y n + h f ( x n , y n ) y_{n+1} = y_n + h\,f(x_n, y_n) y n + 1 = y n + h f ( x n , y n ) . Smaller steps give better estimates.
Worked example y ′ = x + y y' = x + y y ′ = x + y , y ( 0 ) = 1 y(0) = 1 y ( 0 ) = 1 , h = 0.5 h = 0.5 h = 0.5 . Estimate y ( 1 ) y(1) y ( 1 ) .
y 1 = 1 + 0.5 ⋅ 1 = 1.5 y_1 = 1 + 0.5 \cdot 1 = 1.5 y 1 = 1 + 0.5 ⋅ 1 = 1.5 Slope at (0, 1) is 1.
y 2 = 1.5 + 0.5 ⋅ 2 = 2.5 y_2 = 1.5 + 0.5 \cdot 2 = 2.5 y 2 = 1.5 + 0.5 ⋅ 2 = 2.5 Slope at (0.5, 1.5) is 2.
y ( 1 ) ≈ 2.5 y(1) \approx 2.5 y ( 1 ) ≈ 2.5 Two steps reach x = 1.
Your turn, guided Your turn: y ′ = 2 y y' = 2y y ′ = 2 y , y ( 0 ) = 3 y(0) = 3 y ( 0 ) = 3 , one step with h = 0.1 h = 0.1 h = 0.1 .
y ( 0.1 ) ≈ 3.6 y(0.1) \approx 3.6 y ( 0.1 ) ≈ 3.6
3 + 0.1 × 6.
Practice ★ d y d x = 3 x + y \dfrac{dy}{dx} = 3x + y d x d y = 3 x + y and y ( 1 ) = 1 y(1) = 1 y ( 1 ) = 1 . Use one step of Euler's method with h = 0.1 h = 0.1 h = 0.1 to estimate y ( 1.1 ) y(1.1) y ( 1.1 ) .d y d x = 16 x + y \dfrac{dy}{dx} = 16x + y d x d y = 16 x + y and y ( 1 ) = 41 y(1) = 41 y ( 1 ) = 41 . Use one step of Euler's method with h = 0.1 h = 0.1 h = 0.1 to estimate y ( 1.1 ) y(1.1) y ( 1.1 ) .d y d x = 1 x + y \dfrac{dy}{dx} = 1x + y d x d y = 1 x + y and y ( 1 ) = 3 y(1) = 3 y ( 1 ) = 3 . Use one step of Euler's method with h = 0.1 h = 0.1 h = 0.1 to estimate y ( 1.1 ) y(1.1) y ( 1.1 ) .
Watch out! Yara ran two Euler steps for y ′ = y y' = y y ′ = y , y ( 0 ) = 2 y(0) = 2 y ( 0 ) = 2 , h = 0.5 h = 0.5 h = 0.5 . Tap the line with the mistake.
y 1 = 2 + 0.5 ⋅ 2 = 3 y_1 = 2 + 0.5 \cdot 2 = 3 y 1 = 2 + 0.5 ⋅ 2 = 3 Correct first step.
y 2 = 3 + 0.5 ⋅ 2 = 4 y_2 = 3 + 0.5 \cdot 2 = 4 y 2 = 3 + 0.5 ⋅ 2 = 4 Wrong: the second step uses the slope at the new point, y₁ = 3: y₂ = 3 + 0.5 × 3 = 4.5.
Practice ★★ d y d x = y \dfrac{dy}{dx} = y d x d y = y and y ( 0 ) = 4 y(0) = 4 y ( 0 ) = 4 . Use Euler's method with two steps of size h = 1 2 h = \tfrac{1}{2} h = 2 1 to estimate y ( 1 ) y(1) y ( 1 ) .d y d x = y \dfrac{dy}{dx} = y d x d y = y and y ( 0 ) = 74 y(0) = 74 y ( 0 ) = 74 . Use Euler's method with two steps of size h = 1 2 h = \tfrac{1}{2} h = 2 1 to estimate y ( 1 ) y(1) y ( 1 ) .
The solution of d y d x = y \dfrac{dy}{dx} = y d x d y = y , y ( 0 ) = 1 y(0) = 1 y ( 0 ) = 1 , is concave up. Does Euler's method with h > 0 h > 0 h > 0 over- or underestimate y ( 1 ) y(1) y ( 1 ) ? Underestimate: each step follows a tangent line, which lies below a concave-up curve Overestimate It is exact
Exit ticket Three questions to check you have got it.
d y d x = 3 x + y \dfrac{dy}{dx} = 3x + y d x d y = 3 x + y and y ( 1 ) = 1 y(1) = 1 y ( 1 ) = 1 . Use one step of Euler's method with h = 0.1 h = 0.1 h = 0.1 to estimate y ( 1.1 ) y(1.1) y ( 1.1 ) .d y d x = 16 x + y \dfrac{dy}{dx} = 16x + y d x d y = 16 x + y and y ( 1 ) = 41 y(1) = 41 y ( 1 ) = 41 . Use one step of Euler's method with h = 0.1 h = 0.1 h = 0.1 to estimate y ( 1.1 ) y(1.1) y ( 1.1 ) .d y d x = 1 x + y \dfrac{dy}{dx} = 1x + y d x d y = 1 x + y and y ( 1 ) = 3 y(1) = 3 y ( 1 ) = 3 . Use one step of Euler's method with h = 0.1 h = 0.1 h = 0.1 to estimate y ( 1.1 ) y(1.1) y ( 1.1 ) .
Summary card Euler's method
y n + 1 = y n + h f ( x n , y n ) y_{n+1} = y_n + h\,f(x_n, y_n) y n + 1 = y n + h f ( x n , y n ) : slope at the current point × step.
Watch out: update the slope at each new point.
One more step is optional: a challenge. Try it, or finish the lesson now.
Challenge ★★★ d y d x = 2 y \dfrac{dy}{dx} = 2y d x d y = 2 y and y ( 0 ) = 1 y(0) = 1 y ( 0 ) = 1 . Use Euler's method with two steps of size h = 1 2 h = \tfrac{1}{2} h = 2 1 to estimate y ( 1 ) y(1) y ( 1 ) .
2. Logistic growth: carrying capacity and fastest growth Warm-up Three quick questions from earlier lessons.
A population grows with d P d t = k P \dfrac{dP}{dt} = kP d t d P = k P . It starts at 100 and doubles every 3 years. What is it after 9 years? Solve d y d t = − 2 y \dfrac{dy}{dt} = -2y d t d y = − 2 y with y ( 0 ) = 5 y(0) = 5 y ( 0 ) = 5 . A substance decays with d m d t = k m \dfrac{dm}{dt} = km d t d m = k m and has a half-life of 2 years. Find k k k (exact). Discover A population starts at 10 and follows a logistic model with carrying capacity k k k . Move k k k .
3 6 9 12 15 18 21 24 12 24 36 48 60 72 84 96 108
Logistic curves starting at 10 with carrying capacity k: slow growth, then fast growth in the middle, then levelling off at k. Where on the curve is the population growing fastest?
Halfway to k k k Just before it reaches k k k
Key idea Growth slows as resources run out.
Logistic model: d P d t = r P ( 1 − P K ) \dfrac{dP}{dt} = rP\left(1 - \dfrac{P}{K}\right) d t d P = r P ( 1 − K P ) . Equilibria
P = 0 P = 0 P = 0 and
P = K P = K P = K (the
carrying capacity ). For
0 < P 0 0 < P_0 0 < P 0 ,
P ( t ) → K P(t) \to K P ( t ) → K . Growth is fastest at
P = K 2 P = \tfrac{K}{2} P = 2 K .
Worked example d P d t = 0.4 P ( 1 − P 500 ) \dfrac{dP}{dt} = 0.4P\left(1 - \dfrac{P}{500}\right) d t d P = 0.4 P ( 1 − 500 P ) .
Carrying capacity
K = 500 K = 500 K = 500 Set the rate to 0.
Fastest growth at
P = 250 P = 250 P = 250 Half of K.
Maximum rate
50 50 50 per unit time
0.4 × 250 × ½.
Your turn, guided Your turn: d P d t = 0.2 P ( 1 − P 800 ) \dfrac{dP}{dt} = 0.2P\left(1 - \dfrac{P}{800}\right) d t d P = 0.2 P ( 1 − 800 P ) . Fastest growth at…
Practice ★ A population follows d P d t = 7 10 P ( 1 − P 558 ) \dfrac{dP}{dt} = \dfrac{ 7 }{10}P\left(1 - \dfrac{P}{ 558 }\right) d t d P = 10 7 P ( 1 − 558 P ) . What is its carrying capacity? A population follows d P d t = 9 10 P ( 1 − P 428 ) \dfrac{dP}{dt} = \dfrac{ 9 }{10}P\left(1 - \dfrac{P}{ 428 }\right) d t d P = 10 9 P ( 1 − 428 P ) . What is its carrying capacity?
d P d t = 3 10 P ( 1 − P 280 ) \dfrac{dP}{dt} = \dfrac{ 3 }{10}P\left(1 - \dfrac{P}{ 280 }\right) d t d P = 10 3 P ( 1 − 280 P ) . For which population P P P is it growing fastest?d P d t = 9 10 P ( 1 − P 590 ) \dfrac{dP}{dt} = \dfrac{ 9 }{10}P\left(1 - \dfrac{P}{ 590 }\right) d t d P = 10 9 P ( 1 − 590 P ) . For which population P P P is it growing fastest?
Watch out! Zac read d P d t = 0.3 P ( 1 − P 600 ) \dfrac{dP}{dt} = 0.3P\left(1 - \dfrac{P}{600}\right) d t d P = 0.3 P ( 1 − 600 P ) . Tap the line with the mistake.
The carrying capacity is 600
Correct.
In the long run
P → 0.3 P \to 0.3 P → 0.3 Wrong: 0.3 is the growth rate for small populations, not a population. The limit is the carrying capacity, 600.
Practice ★★ d P d t = 0.2 P ( 1 − P 750 ) \dfrac{dP}{dt} = 0.2P\left(1 - \dfrac{P}{ 750 }\right) d t d P = 0.2 P ( 1 − 750 P ) with P ( 0 ) > 0 P(0) > 0 P ( 0 ) > 0 . Tick all the true statements.P = 0 P = 0 P = 0 and P = 750 P = 750 P = 750 are equilibrium solutionsIf P ( 0 ) > 750 P(0) > 750 P ( 0 ) > 750 , then P P P decreases towards 750 lim t → ∞ P ( t ) = 750 \displaystyle\lim_{t \to \infty} P(t) = 750 t → ∞ lim P ( t ) = 750 Starting below 750, P P P eventually exceeds 750 lim t → ∞ P ( t ) = 0.2 \displaystyle\lim_{t \to \infty} P(t) = 0.2 t → ∞ lim P ( t ) = 0.2
Exit ticket Three questions to check you have got it.
d P d t = 3 10 P ( 1 − P 280 ) \dfrac{dP}{dt} = \dfrac{ 3 }{10}P\left(1 - \dfrac{P}{ 280 }\right) d t d P = 10 3 P ( 1 − 280 P ) . For which population P P P is it growing fastest?d P d t = 9 10 P ( 1 − P 590 ) \dfrac{dP}{dt} = \dfrac{ 9 }{10}P\left(1 - \dfrac{P}{ 590 }\right) d t d P = 10 9 P ( 1 − 590 P ) . For which population P P P is it growing fastest?d P d t = 1 10 P ( 1 − P 342 ) \dfrac{dP}{dt} = \dfrac{ 1 }{10}P\left(1 - \dfrac{P}{ 342 }\right) d t d P = 10 1 P ( 1 − 342 P ) . For which population P P P is it growing fastest?
Summary card Logistic growth
P ′ = r P ( 1 − P / K ) P' = rP(1 - P/K) P ′ = r P ( 1 − P / K ) ; equilibria 0 0 0 and K K K .P → K P \to K P → K ; fastest growth at K / 2 K/2 K /2 .Watch out: r r r is a rate, K K K is a population.
One more step is optional: a challenge. Try it, or finish the lesson now.
Challenge ★★★ d P d t = 7 10 P ( 1 − P 208 ) \dfrac{dP}{dt} = \dfrac{ 7 }{10}P\left(1 - \dfrac{P}{ 208 }\right) d t d P = 10 7 P ( 1 − 208 P ) . Find d P d t \dfrac{dP}{dt} d t d P when the population is twice the carrying capacity.
3. The logistic solution Warm-up Three quick questions from earlier lessons.
A population follows d P d t = 7 10 P ( 1 − P 558 ) \dfrac{dP}{dt} = \dfrac{ 7 }{10}P\left(1 - \dfrac{P}{ 558 }\right) d t d P = 10 7 P ( 1 − 558 P ) . What is its carrying capacity? d P d t = 3 10 P ( 1 − P 280 ) \dfrac{dP}{dt} = \dfrac{ 3 }{10}P\left(1 - \dfrac{P}{ 280 }\right) d t d P = 10 3 P ( 1 − 280 P ) . For which population P P P is it growing fastest?d P d t = 0.2 P ( 1 − P 750 ) \dfrac{dP}{dt} = 0.2P\left(1 - \dfrac{P}{ 750 }\right) d t d P = 0.2 P ( 1 − 750 P ) with P ( 0 ) > 0 P(0) > 0 P ( 0 ) > 0 . Tick all the true statements.P = 0 P = 0 P = 0 and P = 750 P = 750 P = 750 are equilibrium solutionsIf P ( 0 ) > 750 P(0) > 750 P ( 0 ) > 750 , then P P P decreases towards 750 lim t → ∞ P ( t ) = 750 \displaystyle\lim_{t \to \infty} P(t) = 750 t → ∞ lim P ( t ) = 750 Starting below 750, P P P eventually exceeds 750 lim t → ∞ P ( t ) = 0.2 \displaystyle\lim_{t \to \infty} P(t) = 0.2 t → ∞ lim P ( t ) = 0.2 Discover The logistic solution is P ( t ) = K 1 + A e − r t P(t) = \dfrac{K}{1 + Ae^{-rt}} P ( t ) = 1 + A e − r t K . What does P ( t ) P(t) P ( t ) approach as t → ∞ t \to \infty t → ∞ ?
Key idea The explicit solution, fitted to the start.
d P d t = r P ( 1 − P K ) \dfrac{dP}{dt} = rP\left(1 - \dfrac{P}{K}\right) d t d P = r P ( 1 − K P ) ,
P ( 0 ) = P 0 P(0) = P_0 P ( 0 ) = P 0 has the solution
P ( t ) = K 1 + A e − r t P(t) = \dfrac{K}{1 + Ae^{-rt}} P ( t ) = 1 + A e − r t K with
A = K − P 0 P 0 A = \dfrac{K - P_0}{P_0} A = P 0 K − P 0 .
Worked example K = 1000 K = 1000 K = 1000 , P 0 = 200 P_0 = 200 P 0 = 200 , r = 0.5 r = 0.5 r = 0.5 .
P ( t ) = 1000 1 + 4 e − 0.5 t P(t) = \dfrac{1000}{1 + 4e^{-0.5t}} P ( t ) = 1 + 4 e − 0.5 t 1000 Substitute.
P ( 0 ) = 200 P(0) = 200 P ( 0 ) = 200 Check t = 0: 1000/5.
Your turn, guided Your turn: K = 600 K = 600 K = 600 , P 0 = 100 P_0 = 100 P 0 = 100 . Find A A A .
Practice ★ The logistic solution P ( t ) = 203 1 + A e − r t P(t) = \dfrac{ 203 }{1 + Ae^{-rt} } P ( t ) = 1 + A e − r t 203 has P ( 0 ) = 58 P(0) = 58 P ( 0 ) = 58 . Find A A A . The logistic solution P ( t ) = 755 1 + A e − r t P(t) = \dfrac{ 755 }{1 + Ae^{-rt} } P ( t ) = 1 + A e − r t 755 has P ( 0 ) = 48 P(0) = 48 P ( 0 ) = 48 . Find A A A .
P ( t ) = 277 1 + 5 e − 0.3 t P(t) = \dfrac{ 277 }{1 + 5e^{-0.3t} } P ( t ) = 1 + 5 e − 0.3 t 277 . Find the initial population P ( 0 ) P(0) P ( 0 ) .P ( t ) = 742 1 + 4 e − 0.3 t P(t) = \dfrac{ 742 }{1 + 4e^{-0.3t} } P ( t ) = 1 + 4 e − 0.3 t 742 . Find the initial population P ( 0 ) P(0) P ( 0 ) .
Watch out! Ari fitted P ( t ) = 500 1 + A e − t P(t) = \dfrac{500}{1 + Ae^{-t}} P ( t ) = 1 + A e − t 500 to P ( 0 ) = 100 P(0) = 100 P ( 0 ) = 100 . Tap the line with the mistake.
100 = 500 1 + A 100 = \dfrac{500}{1 + A} 100 = 1 + A 500 Correct.
A = 100 500 − 100 = 1 4 A = \dfrac{100}{500 - 100} = \tfrac{1}{4} A = 500 − 100 100 = 4 1 Wrong: 1 + A = 500/100 = 5, so A = 4, not 1/4.
Practice ★★ d P d t = 2 10 P ( 1 − P 253 ) \dfrac{dP}{dt} = \dfrac{ 2 }{10}P\left(1 - \dfrac{P}{ 253 }\right) d t d P = 10 2 P ( 1 − 253 P ) . How fast is the population growing when P = 253 2 P = \dfrac{ 253 }{2} P = 2 253 ?d P d t = 7 10 P ( 1 − P 556 ) \dfrac{dP}{dt} = \dfrac{ 7 }{10}P\left(1 - \dfrac{P}{ 556 }\right) d t d P = 10 7 P ( 1 − 556 P ) . How fast is the population growing when P = 556 2 P = \dfrac{ 556 }{2} P = 2 556 ?
Exit ticket Three questions to check you have got it.
The logistic solution P ( t ) = 203 1 + A e − r t P(t) = \dfrac{ 203 }{1 + Ae^{-rt} } P ( t ) = 1 + A e − r t 203 has P ( 0 ) = 58 P(0) = 58 P ( 0 ) = 58 . Find A A A . The logistic solution P ( t ) = 755 1 + A e − r t P(t) = \dfrac{ 755 }{1 + Ae^{-rt} } P ( t ) = 1 + A e − r t 755 has P ( 0 ) = 48 P(0) = 48 P ( 0 ) = 48 . Find A A A . The logistic solution P ( t ) = 770 1 + A e − r t P(t) = \dfrac{ 770 }{1 + Ae^{-rt} } P ( t ) = 1 + A e − r t 770 has P ( 0 ) = 24 P(0) = 24 P ( 0 ) = 24 . Find A A A .
Summary card The logistic solution
P ( t ) = K 1 + A e − r t P(t) = \dfrac{K}{1 + Ae^{-rt}} P ( t ) = 1 + A e − r t K , A = K − P 0 P 0 A = \dfrac{K - P_0}{P_0} A = P 0 K − P 0 , P → K P \to K P → K .
Watch out: check A A A by computing P ( 0 ) P(0) P ( 0 ) .
One more step is optional: a challenge. Try it, or finish the lesson now.
Challenge ★★★ P ( t ) = 672 1 + 3 e − 7 t / 10 P(t) = \dfrac{ 672 }{1 + 3e^{-7t/10} } P ( t ) = 1 + 3 e − 7 t /10 672 , so P ( 0 ) = 672 4 P(0) = \tfrac{ 672 }{4} P ( 0 ) = 4 672 . When does P P P reach 672 2 \tfrac{ 672 }{2} 2 672 ? (exact)
Answers: Differential equations 1. Euler's method A
2 x − 1 2 x - 1 2 x − 1 5 2 \frac{5}{2} 2 5 Underestimate: the tangent line lies below the curve. B
7 5 \frac{7}{5} 5 7 467 10 \frac{467}{10} 10 467 17 5 \frac{17}{5} 5 17 C
9 9 9 333 2 \frac{333}{2} 2 333 D
Underestimate: each step follows a tangent line, which lies below a concave-up curve E
7 5 \frac{7}{5} 5 7 467 10 \frac{467}{10} 10 467 17 5 \frac{17}{5} 5 17 2. Logistic growth: carrying capacity and fastest growth A
800 800 800 5 e − 2 t 5 e^{- 2 t} 5 e − 2 t − ln ( 2 ) 2 - \frac{\ln{\left(2 \right)}}{2} − 2 l n ( 2 ) D
P = 0 P = 0 P = 0 and P = 750 P = 750 P = 750 are equilibrium solutions · If P ( 0 ) > 750 P(0) > 750 P ( 0 ) > 750 , then P P P decreases towards 750 · lim t → ∞ P ( t ) = 750 \displaystyle\lim_{t \to \infty} P(t) = 750 t → ∞ lim P ( t ) = 750 E
140 140 140 295 295 295 171 171 171 F
− 1456 5 - \frac{1456}{5} − 5 1456 3. The logistic solution A
558 558 558 140 140 140 P = 0 P = 0 P = 0 and P = 750 P = 750 P = 750 are equilibrium solutions · If P ( 0 ) > 750 P(0) > 750 P ( 0 ) > 750 , then P P P decreases towards 750 · lim t → ∞ P ( t ) = 750 \displaystyle\lim_{t \to \infty} P(t) = 750 t → ∞ lim P ( t ) = 750 B
5 2 \frac{5}{2} 2 5 707 48 \frac{707}{48} 48 707 C
277 6 \frac{277}{6} 6 277 742 5 \frac{742}{5} 5 742 D
253 20 \frac{253}{20} 20 253 973 10 \frac{973}{10} 10 973 E
5 2 \frac{5}{2} 2 5 707 48 \frac{707}{48} 48 707 373 12 \frac{373}{12} 12 373 F
10 ln ( 3 ) 7 \frac{10 \ln{\left(3 \right)}}{7} 7 10 l n ( 3 ) Sources and credits Sources used in these lessons:
sedifier rewrote the text and added its own examples and exercises.
Written with AI assistance; every answer is checked by our math engine. Not yet reviewed by a teacher.
These pages: CC BY-SA 4.0 , © sedifier · All credits