Differential equations and Maclaurin series
HL first-order differential equations: separating variables, slope fields, homogeneous equations with y = vx, integrating factors and modelling growth and cooling, plus Maclaurin series from the formula booklet, building new series by substitution, multiplication and differentiation, series from a differential equation, and limits using series.
mentorriyaz.in
In 30 seconds
- A differential equation links y, x and dy/dx. Solving it means finding y as a function of x; a boundary condition fixes the constant.
- Three methods: separate the variables (dy/dx = f(x)g(y)); substitute y = vx for homogeneous equations (dy/dx = f(y/x)); multiply by an integrating factor e∫P dx for dy/dx + P(x)y = Q(x).
- A Maclaurin series writes f(x) as a polynomial in x: f(x) = f(0) + xf′(0) + x22!f″(0) + … The series for eˣ, sin x, cos x, ln(1 + x) and (1 + x)p are in the booklet.
- Build new series from known ones by substituting, multiplying, differentiating or integrating, instead of differentiating from scratch.
- This note is HL only (AHL 5.18–5.19).
By the end you can
- Set up differential equations from a description of rates of change. HL
- Solve separable differential equations with boundary conditions. HL
- Sketch and interpret slope fields. HL
- Solve homogeneous equations with y = vx, and linear equations with an integrating factor. HL
- Find Maclaurin series by differentiation and from the standard series. HL
- Use Maclaurin series to approximate values, solve DEs and find limits. HL
1Setting up and separating variables HL
- Words to equations: "the rate of growth is proportional to the population" means dP/dt = kP. "Cools at a rate proportional to the difference from room temperature" means dT/dt = −k(T − Troom).
- Separating: get all the y terms (with dy) on one side and all the x terms (with dx) on the other, then integrate both sides. One + C is enough.
Solve dydx = xy given y = 2 when x = 0.
- ∫1y dy = ∫x dx M1
- ln ǀyǀ = x22 + C A1
- y = Aex^{2/2}; y(0) = 2 ⇒ A = 2 M1
- y = 2ex^{2/2} A1
Solve dydx = 1 + y2 with y = 0 at x = 0.
- ∫11 + y2 dy = ∫1 dx M1
- arctan y = x + C, and C = 0 A1
- y = tan x (for −π/2 < x < π/2) A1
2Slope fields HL
- Reading a slope field: where dy/dx = 0 the dashes are horizontal (here along both axes). Isoclines are curves where the gradient is the same.
3Homogeneous equations HL
- Recognise it: dy/dx = f(yx), for example x + yx = 1 + yx or x2 + y2xy.
- Method: let y = vx, so dydx = v + xdvdx. The equation becomes separable in v and x.
Solve dydx = x + yx for x > 0, given y = 2 when x = 1.
- y = vx: v + xdvdx = 1 + v M1
- dvdx = 1x ⇒ v = ln x + C A1
- y = x ln x + Cx; y(1) = 2 ⇒ C = 2 M1
- y = x ln x + 2x A1
4The integrating factor HL
Solve dydx + 2yx = x2 for x > 0, given y = 1 when x = 1.
- IF = e∫2/x dx = e2 ln x = x2 M1A1
- ddx(x2y) = x4 ⇒ x2y = x55 + C M1
- y(1) = 1 ⇒ C = 45, so y = x35 + 45x2 A1
5Models HL
Tea at 90 °C cools in a 20 °C room, with dTdt = −k(T − 20). After 10 minutes it is 60 °C. When does it reach 30 °C?
- separate: T = 20 + 70e−kt M1A1
- 60 = 20 + 70e−10k ⇒ k = ln(7/4)10 = 0.0560 M1A1
- 30 = 20 + 70e−kt ⇒ t = ln 7k = 34.8 min A1
- Logistic growth dP/dt = kP(1 − P/N) is solved with partial fractions (Proof, counting and partial fractions); the population levels off at N.
6Maclaurin series HL
| Function | Series | Valid for |
|---|---|---|
| eˣ | 1 + x + x22! + x33! + … | all x |
| ln(1 + x) | x − x22 + x33 − … | −1 < x ≤ 1 |
| sin x | x − x33! + x55! − … | all x |
| cos x | 1 − x22! + x44! − … | all x |
| arctan x | x − x33 + x55 − … | ǀxǀ ≤ 1 |
| (1 + x)p | 1 + px + p(p − 1)2!x2 + … | ǀxǀ < 1 |
Find the Maclaurin series for e2x up to the x3 term.
- substitute 2x for x in the eˣ series M1
- 1 + 2x + (2x)22 + (2x)36 M1
- = 1 + 2x + 2x2 + 43x3 A1
Find the series for eˣ sin x up to the x3 term.
- (1 + x + x22 + …)(x − x36 + …) M1
- = x + x2 + x32 − x36 + … A1
- = x + x2 + x33 A1
- Differentiate or integrate a series: differentiating sin x's series gives cos x's; integrating 11 + x2 = 1 − x2 + x4 − … term by term gives arctan x.
Use the series for e−x^{2} to estimate ∫00.5 e−x^{2} dx.
- e−x^{2} = 1 − x2 + x42 − … M1
- integrate: x − x33 + x510 from 0 to 0.5 M1
- = 0.5 − 0.04167 + 0.00313 = 0.4615 (true value 0.4613) A1
7Series from a differential equation HL
y satisfies dydx = x + y with y(0) = 1. Find the Maclaurin series up to the x3 term.
- y′(0) = 0 + 1 = 1 A1
- differentiate: y″ = 1 + y′ ⇒ y″(0) = 2; y‴ = y″ ⇒ y‴(0) = 2 M1A1
- y ≈ 1 + x + x2 + x33 A1
8Limits with series HL
Find limx → 0 1 − cos xx2.
- 1 − cos x = x22 − x424 + … M1
- 1 − cos xx2 = ½ − x224 + … → ½ A1
Test yourself — cover the answers first
Quick check
- HL Write "the rate of decay of mass m is proportional to m" as a DE.
- HL What substitution solves a homogeneous DE?
- HL Find the integrating factor for dy/dx + 3y = eˣ.
- HL Write the first three non-zero terms of the series for sin 2x.
- HL What is f″(0) if the Maclaurin series of f starts 3 + 2x + 5x² + …?
Exam-style
- HL Use an integrating factor to solve xdydx − y = x2, x > 0, given y = 3 at x = 1.
- HL Find the Maclaurin series of ln(1 + sin x) up to the x2 term.
Show answers
- dm/dt = −km
- y = vx
- e3x
- 2x − (4/3)x³ + (4/15)x⁵
- 10
- standard form dydx − yx = x; IF = e−ln x = 1x
ddx(yx) = 1 ⇒ yx = x + C
y(1) = 3 ⇒ C = 2, so y = x2 + 2x - sin x ≈ x, so ln(1 + sin x) ≈ sin x − sin2x2
≈ (x − …) − x22
≈ x − x22
Send it to me on WhatsApp. I read every message.
Want regular help? Send this to your parent →