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 topic, from the first year to the last, 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.
Functions and calculus
Differential equations
NicknameDate
Scan to open onlineenglish.sedifier.com/en-us/branch/f/ode/print/
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").
8. Euler's method
Warm-up
Three quick questions from earlier lessons.
f(2)=3 and f′(2)=2. Write the local linearization L(x) of f at x=2.
f(x)=x has f′(x)=2x1. Use the local linearization at x=4 to estimate 6. Give an exact fraction.
Near x=4, the graph of f is concave up. Does the local linearization at x=4 over- or underestimate f(x) for x near 4?
Underestimate: the tangent line lies below the curve.
Overestimate: the tangent line lies above the curve.
Neither: near x=4 the linearization is exact.
Discover
y′=y, y(0)=1. At (0,1) the slope is 1. Follow the tangent line for a step of 0.5. Where do you land?
(0.5,1.5)
(0.5,2)
Key idea
Walk along short tangent lines.
Euler's method for y′=f(x,y), y(x0)=y0, step h: xn+1=xn+h, yn+1=yn+hf(xn,yn). Smaller steps give better estimates.
Worked example
y′=x+y, y(0)=1, h=0.5. Estimate y(1).
y1=1+0.5⋅1=1.5
Slope at (0, 1) is 1.
y2=1.5+0.5⋅2=2.5
Slope at (0.5, 1.5) is 2.
y(1)≈2.5
Two steps reach x = 1.
Your turn, guided
Your turn: y′=2y, y(0)=3, one step with h=0.1.
y(0.1)≈3.6
3 + 0.1 × 6.
Practice ★
dxdy=3x+y and y(1)=1. Use one step of Euler's method with h=0.1 to estimate y(1.1).
dxdy=16x+y and y(1)=41. Use one step of Euler's method with h=0.1 to estimate y(1.1).
dxdy=1x+y and y(1)=3. Use one step of Euler's method with h=0.1 to estimate y(1.1).
Watch out!
Practice ★★
dxdy=y and y(0)=4. Use Euler's method with two steps of size h=21 to estimate y(1).
dxdy=y and y(0)=74. Use Euler's method with two steps of size h=21 to estimate y(1).
The solution of dxdy=y, y(0)=1, is concave up. Does Euler's method with h>0 over- or underestimate 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.
dxdy=3x+y and y(1)=1. Use one step of Euler's method with h=0.1 to estimate y(1.1).
dxdy=16x+y and y(1)=41. Use one step of Euler's method with h=0.1 to estimate y(1.1).
dxdy=1x+y and y(1)=3. Use one step of Euler's method with h=0.1 to estimate y(1.1).
Summary card
Euler's method
yn+1=yn+hf(xn,yn): 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 ★★★
dxdy=2y and y(0)=1. Use Euler's method with two steps of size h=21 to estimate y(1).
9. Logistic growth: carrying capacity and fastest growth
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 population starts at 10 and follows a logistic model with carrying capacity k. Move k.
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
Just before it reaches k
Key idea
Growth slows as resources run out.
Logistic model:dtdP=rP(1−KP). Equilibria P=0 and P=K (the carrying capacity). For 0<P0, P(t)→K. Growth is fastest at P=2K.
Worked example
dtdP=0.4P(1−500P).
Carrying capacity K=500
Set the rate to 0.
Fastest growth at P=250
Half of K.
Maximum rate 50 per unit time
0.4 × 250 × ½.
Your turn, guided
Your turn: dtdP=0.2P(1−800P). Fastest growth at…
P=400
K/2.
Practice ★
A population follows dtdP=107P(1−558P). What is its carrying capacity?
A population follows dtdP=109P(1−428P). What is its carrying capacity?
dtdP=103P(1−280P). For which population P is it growing fastest?
dtdP=109P(1−590P). For which population P is it growing fastest?
Watch out!
Practice ★★
dtdP=0.2P(1−750P) with P(0)>0. Tick all the true statements.
P=0 and P=750 are equilibrium solutions
If P(0)>750, then P decreases towards 750
t→∞limP(t)=750
Starting below 750, P eventually exceeds 750
t→∞limP(t)=0.2
Exit ticket
Three questions to check you have got it.
dtdP=103P(1−280P). For which population P is it growing fastest?
dtdP=109P(1−590P). For which population P is it growing fastest?
dtdP=101P(1−342P). For which population P is it growing fastest?
Summary card
Logistic growth
P′=rP(1−P/K); equilibria 0 and K.
P→K; fastest growth at K/2.
Watch out: r is a rate, K is a population.
One more step is optional: a challenge. Try it, or finish the lesson now.
Challenge ★★★
dtdP=107P(1−208P). Find dtdP when the population is twice the carrying capacity.
10. The logistic solution
Warm-up
Three quick questions from earlier lessons.
A population follows dtdP=107P(1−558P). What is its carrying capacity?
dtdP=103P(1−280P). For which population P is it growing fastest?
dtdP=0.2P(1−750P) with P(0)>0. Tick all the true statements.
P=0 and P=750 are equilibrium solutions
If P(0)>750, then P decreases towards 750
t→∞limP(t)=750
Starting below 750, P eventually exceeds 750
t→∞limP(t)=0.2
Discover
The logistic solution is P(t)=1+Ae−rtK. What does P(t) approach as t→∞?
K
0
Key idea
The explicit solution, fitted to the start.
dtdP=rP(1−KP), P(0)=P0 has the solution P(t)=1+Ae−rtK with A=P0K−P0.
Worked example
K=1000, P0=200, r=0.5.
A=4
(1000 − 200)/200.
P(t)=1+4e−0.5t1000
Substitute.
P(0)=200
Check t = 0: 1000/5.
Your turn, guided
Your turn: K=600, P0=100. Find A.
A=5
(600 − 100)/100.
Practice ★
The logistic solution P(t)=1+Ae−rt203 has P(0)=58. Find A.
The logistic solution P(t)=1+Ae−rt755 has P(0)=48. Find A.
P(t)=1+5e−0.3t277. Find the initial population P(0).
P(t)=1+4e−0.3t742. Find the initial population P(0).
Watch out!
Practice ★★
dtdP=102P(1−253P). How fast is the population growing when P=2253?
dtdP=107P(1−556P). How fast is the population growing when P=2556?
Exit ticket
Three questions to check you have got it.
The logistic solution P(t)=1+Ae−rt203 has P(0)=58. Find A.
The logistic solution P(t)=1+Ae−rt755 has P(0)=48. Find A.
The logistic solution P(t)=1+Ae−rt770 has P(0)=24. Find A.
Summary card
The logistic solution
P(t)=1+Ae−rtK, A=P0K−P0, P→K.
Watch out: check A by computing P(0).
One more step is optional: a challenge. Try it, or finish the lesson now.
Challenge ★★★
P(t)=1+3e−7t/10672, so P(0)=4672. When does P reach 2672? (exact)
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
A
The logistic function
B
400
900
C
225
8. Euler's method
A
2x−1
25
Underestimate: the tangent line lies below the curve.
B
57
10467
517
C
9
2333
D
Underestimate: each step follows a tangent line, which lies below a concave-up curve
E
57
10467
517
F
4
9. Logistic growth: carrying capacity and fastest growth
A
800
5e−2t
−2ln(2)
B
558
428
C
140
295
D
P=0 and P=750 are equilibrium solutions · If P(0)>750, then P decreases towards 750 · t→∞limP(t)=750
E
140
295
171
F
−51456
10. The logistic solution
A
558
140
P=0 and P=750 are equilibrium solutions · If P(0)>750, then P decreases towards 750 · t→∞limP(t)=750