Lessons and exercises follow the school system and stay in its language.Les leçons et les exercices suivent le système scolaire et restent dans sa langue.Lektionen und Übungen folgen dem Schulsystem und bleiben in seiner Sprache.
Every lesson of the chapter, ready for paper. Exercise sets are lettered A, B, C… and answered at the end.
To save a PDF, choose “Save as PDF” in the print dialog.
Calculus AB (AP-aligned)
Differential equations
NicknameDate
Scan to open onlineenglish.sedifier.com/en-us/us-ma-2017/calculus-ab/us.calcab.diff-equations/
1. Differential equations: solutions and equilibria
Warm-up
Three quick questions from earlier lessons.
f(x)=(3x+6)2. Find f′(x).
f(x)=sin(3x2). Find f′(x).
f(x)=e3x2. Find f′(x).
Discover
A differential equation links a function with its derivatives. Is y=e2x a solution of y′=2y?
Yes
No
Key idea
A solution is a function, not a number.
A differential equation relates y, its derivatives and the variable. A function is a solution if substituting it makes both sides equal for every x. A constant solution y=c (an equilibrium) has y′=0.
Worked example
Find the equilibrium of dtdy=3(y−5), and check y=5+2e3t.
3(y−5)=0⇒y=5
Constant solution: y' = 0.
y′=6e3t
Differentiate the proposed solution.
It is a solution
Right side: 3(2e^{3t}) = 6e^{3t}. Equal.
Your turn, guided
Your turn: the equilibrium of dtdy=2(4−y).
y=4
Set 2(4 − y) = 0.
Practice ★
Which function is a solution of dxdy=5y?
y=3e5x
y=e3x
y=5xy
y=ex+5
Which function is a solution of dxdy=6y?
y=3e6x
y=e3x
y=6xy
y=ex+6
dtdy=2(y−3). Find the constant (equilibrium) solution y=c.
dtdy=19(y−25). Find the constant (equilibrium) solution y=c.
Watch out!
Practice ★★
For which k>0 is y=ekx a solution of y′′−9y=0?
For which k>0 is y=ekx a solution of y′′−289y=0?
Exit ticket
Three questions to check you have got it.
dtdy=2(y−3). Find the constant (equilibrium) solution y=c.
dtdy=19(y−25). Find the constant (equilibrium) solution y=c.
dtdy=4(y−9). Find the constant (equilibrium) solution y=c.
Summary card
Differential equations
Check a solution: compute its derivatives, substitute, compare.
Equilibrium: set the rate equal to 0.
Watch out: equilibrium means y′=0, not y=0.
One more step is optional: a challenge. Try it, or finish the lesson now.
Challenge ★★★
For which k>0 is y=ekx a solution of y′′−y′−2y=0?
2. Slope fields
Warm-up
Three quick questions from earlier lessons.
Which function is a solution of dxdy=5y?
y=3e5x
y=e3x
y=5xy
y=ex+5
For which k>0 is y=ekx a solution of y′′−9y=0?
dtdy=2(y−3). Find the constant (equilibrium) solution y=c.
Discover
For dxdy=x−y, a slope field draws a short segment at each grid point with that slope. What is the slope at (3,1)?
2
−2
Key idea
A slope field shows the shape of all solutions without solving.
At each point (x,y) draw a segment of slope f(x,y). Solution curves follow the segments. If f depends only on x, segments are parallel along vertical lines; only on y, along horizontal lines; where f=0, segments are horizontal.
Worked example
Describe the field of dxdy=y−2.
Same slope along each horizontal line
Depends only on y.
Horizontal segments along y=2
y − 2 = 0.
Rising above y=2, falling below
Signs.
Your turn, guided
Your turn: dxdy=xy at (2,−3).
slope −6
2 × (−3).
Practice ★
In the slope field of dxdy=x+2y, what is the slope of the segment at (3,0)?
In the slope field of dxdy=x+11y, what is the slope of the segment at (−7,−8)?
In the slope field of dxdy=x+2y, what is the slope of the segment at (−2,3)?
Watch out!
Practice ★★
In the slope field of dxdy=9x2, which segments are all parallel?
Those along any vertical line x=c
Those along any horizontal line y=c
None: every segment has its own slope
Slope field of dxdy=y(3−y). Tick all the true statements.
Segments are horizontal along y=0 and y=3
Slopes are positive for 0<y<3
Slopes are negative for y>3
Slopes are positive for y>3
Segments are horizontal along x=3
Slope field of dxdy=y(5−y). Tick all the true statements.
Segments are horizontal along y=0 and y=5
Slopes are positive for 0<y<5
Slopes are negative for y>5
Slopes are positive for y>5
Segments are horizontal along x=5
Exit ticket
Three questions to check you have got it.
In the slope field of dxdy=x+2y, what is the slope of the segment at (3,0)?
In the slope field of dxdy=x+11y, what is the slope of the segment at (−7,−8)?
In the slope field of dxdy=x+2y, what is the slope of the segment at (−2,3)?
Summary card
Slope fields
Slope at (x,y): substitute into f(x,y).
Only x: parallel along verticals. Only y: along horizontals.
f=0: horizontal segments (equilibria if constant in y).
Watch out: (x,y) in that order.
One more step is optional: a challenge. Try it, or finish the lesson now.
Challenge ★★★
In the slope field of dxdy=x−y, at which point on the y-axis is the slope −3? Give its y-coordinate.
3. Separation of variables and initial conditions
Warm-up
Three quick questions from earlier lessons.
Find F with F′(x)=2xcos(x2)+3 and F(0)=0.
Find F with F′(x)=xex2 and F(0)=3.
Find F with F′(x)=(5x+2)2 and F(0)=0.
Discover
To solve dxdy=2xy, Ana integrates both sides with respect to x and writes y=x2y+C. Why is that not a solution method?
y is not a constant: the variables must be separated first
It is fine, it just needs a value for C
Key idea
Gather each variable with its own differential.
Separable equationdxdy=g(x)h(y): write h(y)dy=g(x)dx, integrate both sides (one constant C), solve for y, then use the initial condition to find C.
Worked example
Solve dxdy=2xy with y(0)=3.
ydy=2xdx
Separate.
ln∣y∣=x2+C
Integrate.
y=3ex2
Exponentiate: y = Ae^{x²}; y(0) = 3 gives A = 3.
Your turn, guided
Your turn: dxdy=3y, y(0)=2.
y=2e3x
ln|y| = 3x + C, so y = Ae^{3x}.
Practice ★
Solve dxdy=4xy with y(0)=5.
Solve dxdy=4xy with y(0)=9.
Solve dxdy=4xy with y(0)=2.
Watch out!
Practice ★★
Solve dxdy=yx with y(0)=8 (so y>0). Give y in terms of x.
Solve dxdy=yx with y(0)=6 (so y>0). Give y in terms of x.
Solve dxdy=y2 with y(0)=31.
Exit ticket
Three questions to check you have got it.
Solve dxdy=4xy with y(0)=5.
Solve dxdy=4xy with y(0)=9.
Solve dxdy=4xy with y(0)=2.
Summary card
Separation of variables
h(y)dy=g(x)dx.
Integrate both sides, one +C.
Solve for y; use the initial value.
Watch out: ex+C=Aex, not ex+C.
One more step is optional: a challenge. Try it, or finish the lesson now.
Challenge ★★★
Solve dxdy=−yx with y(0)=3 (so y>0). Give y in terms of x.
4. Exponential growth and decay
Warm-up
Three quick questions from earlier lessons.
A sample of 160 mg of a radioactive substance has a half-life of 10 years. How many mg are left after 30 years?
A dose of 200 mg of a medicine has a half-life of 2 hours. Write the amount A(t), in mg, left after t hours.
A sample of 200 mg has a half-life of 2 years. How much is left after 8 years? Round to 2 decimal places.
Discover
The blue curve is y=aekt, a solution of y′=ky with y(0)=a. Move k through 0.
Solutions y = a e^(kt) of y' = ky. For k > 0 they grow faster and faster; for k < 0 they decay towards 0; k = 0 gives a constant.
For k<0, what happens to y?
It decays towards 0
It falls in a straight line and crosses 0
Key idea
Rate proportional to amount means exponential.
dtdy=ky with y(0)=y0 has the solution y=y0ekt. k>0: growth, doubling time kln2. k<0: decay, half-life ∣k∣ln2.
Worked example
Bacteria double every 3 hours, starting from 500. How many after 12 hours?
500⋅24
12 hours = 4 doubling times.
=8000
Compute.
y=500e(ln2/3)t
Equivalently k = ln 2 / 3.
Your turn, guided
Your turn: half-life 5 years, find k.
k=−5ln2
e^{5k} = ½.
Practice ★
A population grows with dtdP=kP. It starts at 100 and doubles every 3 years. What is it after 9 years?
A population grows with dtdP=kP. It starts at 127 and doubles every 29 years. What is it after 87 years?
Solve dtdy=−2y with y(0)=5.
Solve dtdy=4y with y(0)=8.
Watch out!
Practice ★★
A substance decays with dtdm=km and has a half-life of 2 years. Find k (exact).
A substance decays with dtdm=km and has a half-life of 92 years. Find k (exact).
Exit ticket
Three questions to check you have got it.
Solve dtdy=−2y with y(0)=5.
Solve dtdy=4y with y(0)=8.
Solve dtdy=3y with y(0)=4.
Summary card
Exponential models
y′=ky, y(0)=y0⇒y=y0ekt.
Decay: k<0; k=−ln2/(half-life).
Watch out: equal times multiply by equal factors.
One more step is optional: a challenge. Try it, or finish the lesson now.
Challenge ★★★
A substance with a half-life of 23 years decays exponentially. What fraction of it is left after 69 years?
5. Newton's law of cooling
Warm-up
Three quick questions from earlier lessons.
A population grows with dtdP=kP. It starts at 100 and doubles every 3 years. What is it after 9 years?
Solve dtdy=−2y with y(0)=5.
A substance decays with dtdm=km and has a half-life of 2 years. Find k (exact).
Discover
A cup at temperature b °C cools in a 20 °C room. The violet line is the room temperature. Move b and the cooling constant k.
Newton's law of cooling: T = 20 + (b − 20)e^(−kt). Whatever the start, the temperature approaches the room's 20 °C, faster for larger k.
Which temperature does the cup approach?
20 °C
0 °C
Key idea
The difference with the surroundings decays exponentially.
Newton's law of cooling:dtdT=−k(T−A), with A the surrounding temperature and k>0. Solution: T=A+(T0−A)e−kt.
Worked example
Tea at 90 °C in a 20 °C room, k=0.1 per minute.
T−20=70e−0.1t
u = T − 20 satisfies u' = −0.1u.
T=20+70e−0.1t
So:
It starts cooling at 7 °C per minute
At t = 0 the rate is −0.1 × 70.
Your turn, guided
Your turn: soup at 80 °C in a 25 °C room, k=0.2. The rate at t=0?
−11 °C/min
−0.2 × (80 − 25).
Practice ★
Soup at 90 °C is left in a 20 °C kitchen and follows Newton's law of cooling. Which temperature does it approach in the long run?
dtdT=−102(T−22) and T(0)=83. How fast is the temperature changing at t=0, in °C/min?
dtdT=−107(T−23) and T(0)=61. How fast is the temperature changing at t=0, in °C/min?
Watch out!
Practice ★★
A drink at 65 °C cools in a 18 °C room: dtdT=−103(T−18). Find T(t).
A drink at 89 °C cools in a 16 °C room: dtdT=−102(T−16). Find T(t).
Exit ticket
Three questions to check you have got it.
A drink at 65 °C cools in a 18 °C room: dtdT=−103(T−18). Find T(t).
A drink at 89 °C cools in a 16 °C room: dtdT=−102(T−16). Find T(t).
A drink at 79 °C cools in a 15 °C room: dtdT=−102(T−15). Find T(t).
Summary card
Newton's law of cooling
T′=−k(T−A).
T=A+(T0−A)e−kt, approaching A.
Watch out: it is the difference T−A that decays.
One more step is optional: a challenge. Try it, or finish the lesson now.
Challenge ★★★
dtdT=−102(T−20) with T(0)=80. When is the temperature 50 °C? (exact)
6. Euler's method
Discover
y′=y and y(0)=1. Without solving, how could you estimate y(0.1)?
Follow the slope for a short step: 1+0.1×1
You cannot: you must solve the equation first
Key idea
Euler's method.
For y′=f(x,y), step by step with step size h:
yn+1=yn+hf(xn,yn), xn+1=xn+h.
Worked example
y′=y, y(0)=1, two steps of h=0.1:
y1=1+0.1×1=1.1
First step.
y2=1.1+0.1×1.1=1.21
Second step.
Your turn, guided
Your turn: one step of h=0.1 for y′=y, y(0)=5.
5.5
5+0.1×5.
Practice ★
y′=y and y(0)=14. Estimate y(0.1) with one step of Euler's method.
y′=y and y(0)=6. Estimate y(0.1) with one step of Euler's method.
y′=y and y(0)=1. Estimate y(0.1) with one step of Euler's method.
Practice ★★
y′=2y and y(0)=2. Estimate y(0.2) with two steps of h=0.1.
y′=2y and y(0)=17. Estimate y(0.2) with two steps of h=0.1.
Exit ticket
Two questions to check.
y′=y and y(0)=14. Estimate y(0.1) with one step of Euler's method.
y′=y and y(0)=6. Estimate y(0.1) with one step of Euler's method.
Summary card
Euler's method
Next value = current value + step × slope.
Smaller steps, better estimates.
Weather and climate models solve differential equations step by step, with much finer methods.
7. History of differential equations: Euler and Verhulst
Discover
In 1838 the Belgian mathematician Pierre-François Verhulst studied how populations grow. Before him, many believed a population grows forever like a geometric sequence. What did Verhulst add?
Growth is limited by the size and fertility of the country
Populations always shrink
Key idea
Equations that describe change.
Step 1Leonhard Euler1707–1783Jakob Emanuel Handmann, 1753. Public domain1768–70: Euler's Institutiones calculi integralis: integrals and methods for differential equations.
Step 2Pierre François Verhulst1804–1849Unknown artist. Public domain1838: Verhulst's law of population growth: growth is limited by the country.
Step 3Pierre François Verhulst1804–1849Unknown artist. Public domain1844: Verhulst names the solution of his equation the 'logistic function'.
Euler's Institutiones calculi integralis (1768–70) studied integrals and methods for differential equations, such as integrating factors. In 1838 Verhulst proposed his law of population growth, and in 1844 he named its solution the logistic function.
Worked example
A logistic model: P′=0.5P(1−1000P). How fast does the population grow when P=200?
0.5×200×(1−0.2)
Substitute P=200.
=80 per unit of time
100×0.8.
Practice ★
What name did Verhulst give in 1844 to the solution of his population equation?
The logistic function
The exponential function
The normal distribution
Verhulst's model P′=0.5P(1−400P): at which population P>0 does growth stop?
Verhulst's model P′=0.5P(1−900P): at which population P>0 does growth stop?
Same model with limit 900: how fast does the population grow when it is half the limit?
Summary card
Differential equations today
Medicine: how a drug's concentration falls in the blood.
Ecology and epidemics: logistic and related models.
Physics and engineering: motion, circuits, heat.
Sources: MacTutor biographies of Euler and Verhulst (see "Sources and credits").
Answers: Differential equations
1. Differential equations: solutions and equilibria
A
18x+36
6xcos(3x2)
6xe3x2
B
y=3e5x
y=3e6x
C
3
25
D
3
17
E
3
25
9
F
2
2. Slope fields
A
y=3e5x
3
3
B
3
−95
4
C
Those along any vertical line x=c
D
Segments are horizontal along y=0 and y=3 · Slopes are positive for 0<y<3 · Slopes are negative for y>3
Segments are horizontal along y=0 and y=5 · Slopes are positive for 0<y<5 · Slopes are negative for y>5
E
3
−95
4
F
3
3. Separation of variables and initial conditions
A
3x+sin(x2)
2ex2+25
15(5x+2)3−158
B
5e2x2
9e2x2
2e2x2
C
x2+64
x2+36
D
3−x1
E
5e2x2
9e2x2
2e2x2
F
9−x2
4. Exponential growth and decay
A
20
200⋅2−2t
225 mg
B
800
1016
C
5e−2t
8e4t
D
−2ln(2)
−92ln(2)
E
5e−2t
8e4t
4e3t
F
81
5. Newton's law of cooling
A
800
5e−2t
−2ln(2)
B
20
C
−561
−5133
D
18+47e−103t
16+73e−5t
E
18+47e−103t
16+73e−5t
15+64e−5t
F
5ln(2)
6. Euler's method
A
15.4
6.6
1.1
B
2.88
24.48
C
15.4
6.6
7. History of differential equations: Euler and Verhulst