MTH 340 · Ordinary Differential Equation
Our notes
2 min readWhen we need series
Linear equations with variable coefficients (other than Cauchy-Euler) usually have no solution in elementary functions. We look for y as a power series.
Ordinary and singular points
Write y″ + P(x)y′ + Q(x)y = 0. A point x₀ is ordinary if P and Q are analytic there (have Taylor series); otherwise it is singular.
Theorem: about an ordinary point there are two independent solutions y = Σ aₙ(x − x₀)ⁿ, converging at least out to the nearest singular point (in the complex plane).
Method
- Put y = Σ aₙxⁿ, y′ = Σ n aₙxⁿ⁻¹, y″ = Σ n(n − 1)aₙxⁿ⁻².
- Substitute and shift indices so every sum has xⁿ.
- Set each coefficient to zero: a recurrence relation.
- a₀ and a₁ stay arbitrary (they are y(0) and y′(0)).
Worked example. y″ + y = 0.
Σ (n + 2)(n + 1)aₙ₊₂xⁿ + Σ aₙxⁿ = 0, so aₙ₊₂ = −aₙ/((n + 2)(n + 1)).
Even terms: a₂ = −a₀/2, a₄ = a₀/24, ... ; odd: a₃ = −a₁/6, a₅ = a₁/120, ...
y = a₀(1 − x²/2! + x⁴/4! − ...) + a₁(x − x³/3! + x⁵/5! − ...) = a₀ cos x + a₁ sin x ✓.
Worked example (Airy's equation). y″ − xy = 0.
Σ (n + 2)(n + 1)aₙ₊₂xⁿ − Σ aₙ₋₁xⁿ (n ≥ 1) = 0.
n = 0 gives 2a₂ = 0, a₂ = 0. For n ≥ 1: aₙ₊₂ = aₙ₋₁/((n + 2)(n + 1)).
a₃ = a₀/6, a₄ = a₁/12, a₅ = a₂/20 = 0, a₆ = a₃/30 = a₀/180.
y = a₀(1 + x³/6 + x⁶/180 + ...) + a₁(x + x⁴/12 + ...).
Check the first series: y = 1 + x³/6 + x⁶/180: y″ = x + x⁴/6; xy = x + x⁴/6 + ...: they match up to x⁴ ✓.
Airy's equation models light near a caustic and a quantum particle in a uniform field.
Legendre's equation
(1 − x²)y″ − 2xy′ + n(n + 1)y = 0. Ordinary point at 0 (singular at ±1, so series converge for |x| < 1). Recurrence: aₖ₊₂ = −(n − k)(n + k + 1)aₖ/((k + 2)(k + 1)). When n is a whole number one series stops: the Legendre polynomials P₀ = 1, P₁ = x, P₂ = (3x² − 1)/2, P₃ = (5x³ − 3x)/2. They appear in potential problems with spherical symmetry.
Check P₂ (n = 2): y = (3x² − 1)/2, y′ = 3x, y″ = 3. (1 − x²)3 − 2x(3x) + 6(3x² − 1)/2 = 3 − 3x² − 6x² + 9x² − 3 = 0 ✓.
Series for IVPs and with Taylor's method
For an IVP, aₙ = y⁽ⁿ⁾(x₀)/n!: compute derivatives from the equation itself. Example: y′ = x + y², y(0) = 1: y′(0) = 1, y″ = 1 + 2yy′, y″(0) = 3, so y ≈ 1 + x + 3x²/2.
Exams usually ask: classify points as ordinary or singular; find a recurrence relation and the first few terms of two independent series solutions; radius of convergence; recognise Legendre polynomials.
Common mistake: shifting one sum's index but not its starting value. After replacing n by n + 2, a sum that began at n = 2 now begins at n = 0; check the starting index of every sum before combining them.
Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.
Read
-
Best pick Calculus Volume 3, 7.4 Series Solutions of Differential Equations
(opens openstax.org in a new tab)
OpenStax, Calculus Volume 3, 7.4 Series Solutions of Differential Equations, CC BY-NC-SA 4.0 · licence
-
Differential Equations - Series Solutions
Paul's Online Notes: worked examples step by step. About 0.5 MB a page.
(opens tutorial.math.lamar.edu in a new tab)
-
Differential Equations - Review : Power Series
Paul's Online Notes: worked examples step by step. About 0.5 MB a page.
(opens tutorial.math.lamar.edu in a new tab)
-
Power series solution of differential equations
(opens en.wikipedia.org in a new tab)
Wikipedia, Power series solution of differential equations, CC BY-SA 4.0 · licence
-
Lebl, Notes on Diffy Qs: Differential Equations for Engineers
A whole free textbook: read online or download the PDF (about 4 MB). Every MTH 340 topic, with exercises and answers.
(opens jirka.org in a new tab)
Jiří Lebl, Notes on Diffy Qs, CC BY-NC-SA 4.0 · licence
-
Trench, Elementary Differential Equations (free edition)
A whole free textbook (PDF from the page). Strong on existence and uniqueness, linear theory, Cauchy-Euler, series and Frobenius, Laplace and boundary-value problems.
(opens digitalcommons.trinity.edu in a new tab)
William F. Trench, Elementary Differential Equations, CC BY-NC-SA 3.0 · licence
Watch
We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.