Finding analytic solutions to differential equations using power series expansions
Many important differential equations arising in physics and engineering have no closed-form solutions using the methods of Chapters 1–4. Power series solutions provide a systematic way to find analytic solutions in the form of infinite series. This approach is particularly valuable for:
Consider the second-order linear differential equation:
Divide by $P(x)$ (where $P(x) \neq 0$) to obtain the standard form:
where $p(x) = \frac{Q(x)}{P(x)}$ and $q(x) = \frac{R(x)}{P(x)}$.
A point $x_0$ is called an ordinary point of the differential equation if both $p(x)$ and $q(x)$ are analytic (have convergent Taylor series) at $x_0$. Otherwise, $x_0$ is a singular point.
If $x_0$ is an ordinary point of $y'' + p(x)y' + q(x)y = 0$, then the general solution can be expressed as:
This series converges at least for $|x - x_0| < R$, where $R$ is the distance from $x_0$ to the nearest singular point.
Key facts about power series that we'll use:
When we substitute the power series $y = \sum a_n(x-x_0)^n$ into the differential equation, we obtain an identity in powers of $(x-x_0)$. Equating coefficients of like powers yields a recurrence relation — a formula expressing each coefficient in terms of earlier coefficients. The first few coefficients $a_0, a_1, \ldots$ are determined by initial or boundary conditions, and the recurrence relation then determines all subsequent coefficients uniquely.
Setup: We solve $y'' - y = 0$ using power series around $x_0 = 0$. (Note: This has the known solution $y = c_1 e^x + c_2 e^{-x}$, so we can verify our result.)
Point type: $x_0 = 0$ is an ordinary point (no singular points).
Assume: $y = \sum_{n=0}^{\infty} a_n x^n$
Derivatives:
Substitute into $y'' - y = 0$:
Shift index: Let $m = n-2$ in the first sum:
Combine:
Recurrence relation: Each coefficient must vanish:
Two families of solutions:
General solution:
This matches the known solution $c_1 e^x + c_2 e^{-x}$ (with different constants).
Setup: The Airy equation $y'' - xy = 0$ has no solution in terms of elementary functions. This classic example demonstrates the power of series methods.
Assume: $y = \sum_{n=0}^{\infty} a_n x^n$
Derivatives:
Substitute into $y'' - xy = 0$:
Shift indices: First sum: $m = n-2$; second sum: $m = n+1$
Separate by power:
Recurrence relation:
First few terms:
The solutions are called Airy functions $\text{Ai}(x)$ and $\text{Bi}(x)$, which are essential in quantum mechanics and wave theory.
Setup: This is Legendre's equation with $n=2$. It's important in electrostatics and gravitational theory.
Singular points: $P(x) = 1-x^2 = 0$ at $x = \pm 1$, so $R = 1$.
Assume: $y = \sum_{n=0}^{\infty} a_n x^n$
Compute derivatives:
Substitute:
Expand and align powers: (After shifting indices)
Recurrence:
Key observation: For $n=2$, we get $a_4 = \frac{(5)(0)}{(4)(3)}a_2 = 0$, and all subsequent even terms vanish. The solution terminates to a polynomial:
This is the Legendre polynomial of degree 2, a terminating power series (polynomial).
Assume: $y = \sum_{n=0}^{\infty} a_n x^n$
Substitute:
Shift and align (first sum: $m=n-2$, second: $m=n+2$):
Recurrence:
Solution forms:
Setup: This is Hermite's equation with $n=2$. The initial conditions will force the solution to be a polynomial.
Assume: $y = \sum_{n=0}^{\infty} a_n x^n$
From ICs: $y(0) = a_0 = 1$ and $y'(0) = a_1 = 0$
Compute derivatives:
Substitute into $y'' - 2xy' + 4y = 0$:
Align powers (after shifting):
Recurrence:
Compute coefficients:
Solution:
The solution is exactly the Hermite polynomial $H_2(x) = 4x^2 - 2$ (up to scaling), proving that Hermite polynomials are solutions to Hermite's equation.
These problems match the style and difficulty of past exam questions on series solutions about an ordinary point. Work each one on paper first, then click to reveal the full solution.
Step 1: Put the equation in standard form
$$y'' + \underbrace{\frac{x}{x^2+4}}_{p(x)}y' + \underbrace{\frac{-1}{x^2+4}}_{q(x)}y = 0$$Both $p$ and $q$ are rational functions, so they fail to be analytic only where the denominator vanishes.
Step 2: Locate the singular points
$$x^2 + 4 = 0 \quad\Longrightarrow\quad x = \pm 2i$$There are no real singular points, so every real number is an ordinary point. But the radius of convergence is governed by the nearest singularity in the complex plane, and $\pm 2i$ certainly counts.
Step 3: Radius about $x_0 = 0$
$$R \ge |0 - 2i| = 2$$Step 4: Radius about $x_0 = 1$
$$R \ge |1 - 2i| = \sqrt{1^2 + 2^2} = \sqrt{5} \approx 2.236$$ $$\boxed{\text{Ordinary everywhere on }\mathbb{R};\qquad R_{x_0=0} = 2,\qquad R_{x_0=1} = \sqrt{5}}$$Step 1: Check the point and substitute the series
Here $p(x) = x$ and $q(x) = 2$ are polynomials, so $x_0 = 0$ is an ordinary point and $R = \infty$. Put $y = \sum_{n\ge0} a_n x^n$:
$$\sum_{n=2}^{\infty} n(n-1)a_n x^{n-2} + \sum_{n=1}^{\infty} n a_n x^{n} + 2\sum_{n=0}^{\infty} a_n x^{n} = 0$$Step 2: Shift the first sum so every term carries $x^n$
$$\sum_{n=0}^{\infty}\Big[(n+2)(n+1)a_{n+2} + n a_n + 2a_n\Big]x^n = 0$$(The $n a_n$ term contributes nothing at $n = 0$, so the bracket is valid for all $n \ge 0$.)
Step 3: Simplify the recurrence
$$(n+2)(n+1)a_{n+2} + (n+2)a_n = 0 \quad\Longrightarrow\quad \boxed{a_{n+2} = -\frac{a_n}{n+1}},\qquad n \ge 0$$The factor $(n+2)$ cancels — a very common place to lose a step.
Step 4: Even family ($a_0 = 1,\ a_1 = 0$)
$$a_2 = -\frac{a_0}{1} = -1,\qquad a_4 = -\frac{a_2}{3} = \frac{1}{3},\qquad a_6 = -\frac{a_4}{5} = -\frac{1}{15},\qquad a_8 = -\frac{a_6}{7} = \frac{1}{105}$$ $$y_1(x) = 1 - x^2 + \frac{x^4}{3} - \frac{x^6}{15} + \frac{x^8}{105} - \cdots$$Step 5: Odd family ($a_0 = 0,\ a_1 = 1$)
$$a_3 = -\frac{a_1}{2} = -\frac{1}{2},\qquad a_5 = -\frac{a_3}{4} = \frac{1}{8},\qquad a_7 = -\frac{a_5}{6} = -\frac{1}{48}$$ $$y_2(x) = x - \frac{x^3}{2} + \frac{x^5}{8} - \frac{x^7}{48} + \cdots = x\,e^{-x^2/2}$$Check: with $y = xe^{-x^2/2}$ we get $y' = (1-x^2)e^{-x^2/2}$ and $y'' = (x^3-3x)e^{-x^2/2}$, so
$$y'' + xy' + 2y = \big[(x^3-3x) + x(1-x^2) + 2x\big]e^{-x^2/2} = 0. \;\checkmark$$ $$\boxed{y = c_1\left(1 - x^2 + \frac{x^4}{3} - \frac{x^6}{15} + \cdots\right) + c_2\left(x - \frac{x^3}{2} + \frac{x^5}{8} - \frac{x^7}{48} + \cdots\right)}$$Step 1: Derive the recurrence
This is Hermite's equation with $2\nu = 4$, i.e. $\nu = 2$. Substituting $y = \sum a_n x^n$ and collecting $x^n$:
$$(n+2)(n+1)a_{n+2} - 2n a_n + 4a_n = 0 \quad\Longrightarrow\quad a_{n+2} = \frac{2(n-2)}{(n+2)(n+1)}\,a_n$$Step 2: Spot the termination
The numerator $2(n-2)$ vanishes at $n = 2$, so $a_4 = 0$ — and then $a_6 = a_8 = \cdots = 0$. The even branch terminates.
$$a_2 = \frac{2(0-2)}{2\cdot 1}a_0 = -2a_0,\qquad a_4 = 0$$ $$y_1(x) = 1 - 2x^2 \qquad (\text{taking } a_0 = 1)$$Check: $y_1'' - 2xy_1' + 4y_1 = -4 - 2x(-4x) + 4(1-2x^2) = -4 + 8x^2 + 4 - 8x^2 = 0.\;\checkmark$
Step 3: The odd branch never terminates
With $a_1 = 1$ the numerator $2(n-2)$ is never zero for odd $n$:
$$a_3 = \frac{2(1-2)}{3\cdot 2}a_1 = -\frac{1}{3},\qquad a_5 = \frac{2(3-2)}{5\cdot 4}a_3 = \frac{a_3}{10} = -\frac{1}{30},\qquad a_7 = \frac{2(5-2)}{7\cdot 6}a_5 = \frac{a_5}{7} = -\frac{1}{210}$$ $$y_2(x) = x - \frac{x^3}{3} - \frac{x^5}{30} - \frac{x^7}{210} - \cdots$$Step 4: General solution
$$\boxed{y = c_1\left(1 - 2x^2\right) + c_2\left(x - \frac{x^3}{3} - \frac{x^5}{30} - \frac{x^7}{210} - \cdots\right)}$$Test your understanding with these multiple-choice questions. Each correct answer earns one point.
0 / 6 correct
$y = \sum_{n=0}^{\infty} a_n(x-x_0)^n$
Converges for $|x-x_0| < R$
$y' = \sum_{n=1}^{\infty} n a_n(x-x_0)^{n-1}$
Term-by-term differentiation
$y'' = \sum_{n=2}^{\infty} n(n-1)a_n(x-x_0)^{n-2}$
Valid in the interval of convergence
$\sum_{n=k}^{\infty} a_n x^{n-r} = \sum_{m=k-r}^{\infty} a_{m+r} x^m$
Use to align powers
$R = $ distance to nearest singular point
Find singular points from $p(x), q(x)$
Solve: $a_{n} = f(a_{n-1}, a_{n-2}, \ldots)$
Determined by equating coefficients