100%
PAGE 1

Series Solutions to ODEs

2nd-order linear: \( P(x)y'' + Q(x)y' + R(x)y = F(x) \)

We can solve completely (in principle) if \( P, Q, R \) are constants.

If not constants, methods are limited.

Last time: \( P = x^2 \), \( Q = \alpha x \), \( R = \beta \), \( F = 0 \rightarrow \) Euler's equation.

In general cases, what do we do?

One method: using power series

Concept Breakdown: When coefficients are variable functions instead of constants, standard characteristic equation methods fail. Power series expansions allow us to construct analytic solutions term-by-term.

Basic idea: assume solution looks like

\[ y = a_0 + a_1(x - x_0) + a_2(x - x_0)^2 + a_3(x - x_0)^3 + \dots \]

where:

  • \( x_0 \): point about which we expand (think Taylor series)

Goal: find \( a_0, a_1, \dots, a_n \)

Solution is not closed-form solution (like \( e^x \), \( \cos(x) \), etc)

PAGE 2

Series Solutions of Differential Equations: Ordinary Points

Definition of an Ordinary Point

Let's assume \( x_0 \) is such that \( P(x_0) \neq 0 \) → ordinary point.

Example

Consider \( y'' + y = 0 \) about \( x_0 = 0 \).

We can solve this directly, but we will use series to demonstrate the procedure and show the solution is correct.

Assumption of power series solution about \( x_0 = 0 \):

Assume \( y = a_0 + a_1(x-0) + a_2(x-0)^2 + \dots = a_0 + a_1 x + a_2 x^2 + a_3 x^3 + \dots = \sum_{n=0}^{\infty} a_n x^n \)

To find \( a_i \), substitute into \( y'' + y = 0 \):

\( y = a_0 + a_1 x + a_2 x^2 + \dots = \sum_{n=0}^{\infty} a_n x^n \)

\( y' = a_1 + 2 a_2 x + 3 a_3 x^2 + \dots = \sum_{n=1}^{\infty} a_n \cdot n x^{n-1} \)

\( y'' = 2 a_2 + 3 \cdot 2 a_3 x + 4 \cdot 3 a_4 x^2 + \dots = \sum_{n=2}^{\infty} a_n (n)(n-1) x^{n-2} \)

Starting index shifted due to loss of constants

PAGE 3

Power Series Solution Method

The differential equation:

\( y'' + y = 0 \) becomes

\[ \sum_{n=2}^{\infty} n(n-1)a_n x^{n-2} + \sum_{n=0}^{\infty} a_n x^n = 0 \]

\[ [(2)(1)a_2 x^0 + (3)(2)a_3 x + (4)(3)a_4 x^2 + \dots] + [a_0 x^0 + a_1 x + a_2 x^2 + \dots] = 0 + 0\cdot x + 0\cdot x^2 + 0\cdot x^3 + \dots \]

In principle, you just need to match coefficients, but this can be tedious.

Cleaning Up the Series

Let's clean it up:

\[ \sum_{n=2}^{\infty} n(n-1)a_n x^{n-2} + \sum_{n=0}^{\infty} a_n x^n = \sum_{n=0}^{\infty} 0 \cdot x^n \]

Combine into one series summation

(then just match coefficients of right side)

Problem:

One has \( x^{n-2} \), one has \( x^n \).

Can't combine cleanly.

PAGE 4

Power Series Solutions: Re-indexing and Recurrence Relations

re-index so both have \( x^n \)

let \( m = n - 2 \) then \( \sum_{n=2}^{\infty} n(n-1)a_n x^{n-2} = \sum_{m=0}^{\infty} (m+2)(m+1)a_{m+2} x^m \)

and \( n = m + 2 \)

Step-by-Step Breakdown:

To combine series into a single summation, the powers of \( x \) must match. Shifting the index via substitution allows both sums to be expressed in terms of \( x^n \).

rename \( m \) to \( n \), put back into \( y'' + y = 0 \)

\[ \sum_{n=0}^{\infty} (n+2)(n+1)a_{n+2} x^n + \sum_{n=0}^{\infty} a_n x^n = \sum_{n=0}^{\infty} 0 \cdot x^n \]
\[ \sum_{n=0}^{\infty} \left[ (n+2)(n+1)a_{n+2} + a_n \right] x^n = \sum_{n=0}^{\infty} 0 \cdot x^n \]

so, \( (n+2)(n+1)a_{n+2} + a_n = 0 \)

recurrence relation:

\[ a_{n+2} = \frac{-a_n}{(n+2)(n+1)} \]

let's work with that

PAGE 5

Series Solution Recurrence Relations (Continued)

if \( n = 0 \to \quad a_2 = \frac{-a_0}{2 \cdot 1} \)

if \( n = 2 \to \quad a_4 = \frac{-a_2}{4 \cdot 3} \)

\( = -\frac{1}{4 \cdot 3} \cdot \frac{a_0}{2 \cdot 1} \)

\( = \frac{a_0}{4 \cdot 3 \cdot 2 \cdot 1} \)

if \( n = 4 \to \quad a_6 = \frac{-a_4}{6 \cdot 5} \)

\( = \frac{-a_0}{6 \cdot 5 \cdot 4 \cdot 3 \cdot 2 \cdot 1} \)

if \( n = 1 \to \quad a_3 = \frac{-a_1}{3 \cdot 2} \)

if \( n = 3 \to \quad a_5 = \frac{-a_3}{5 \cdot 4} \)

\( = \frac{a_1}{5 \cdot 4 \cdot 3 \cdot 2 \cdot 1} \)

if \( n = 5 \to \quad a_7 = \frac{-a_5}{7 \cdot 6} \)

\( = \frac{-a_1}{7 \cdot 6 \cdot 5 \cdot 4 \cdot 3 \cdot 2 \cdot 1} \)

Note: Attempting to generalize the recurrence relation patterns observed from the coefficient derivations.

generalize: \( a_k = \frac{-a_{k-2}}{k!} \) (not quite)

more simply : \( a_k = \frac{a_0}{k!} (-1)^{k+1} \) if \( k \) is even

Similar for \( k \) is odd

PAGE 6

Series Solution Derivation

Solution:

The general series solution is expressed as:

Step-by-Step Breakdown: We start with a power series expansion and regroup the terms by even and odd powers of \( x \) to recognize standard trigonometric series.

\[ \begin{aligned} y &= a_0 + a_1 x + a_2 x^2 + a_3 x^3 + \dots \\ &= \left(a_0 + \frac{-a_0}{2!} x^2 + \frac{a_0}{4!} x^4 - \frac{a_0}{6!} x^6 + \dots\right) + \left(a_1 x - \frac{a_1}{3!} x^3 + \frac{a_1}{5!} x^5 - \frac{a_1}{7!} x^7 + \dots\right) \\ &= a_0 \left(1 - \frac{x^2}{2!} + \frac{x^4}{4!} - \frac{x^6}{6!} + \dots\right) + a_1 \left(x - \frac{x^3}{3!} + \frac{x^5}{5!} - \frac{x^7}{7!} + \dots\right) \end{aligned} \]

where the bracketed series represent standard trigonometric functions:

  • \( 1 - \frac{x^2}{2!} + \frac{x^4}{4!} - \frac{x^6}{6!} + \dots = \cos(x) \)
  • \( x - \frac{x^3}{3!} + \frac{x^5}{5!} - \frac{x^7}{7!} + \dots = \sin(x) \)

Resulting general solution:

\[ y = a_0 \cos(x) + a_1 \sin(x) \]

where \( a_0, a_1 \leftrightarrow C_1, C_2 \) correspond to the initial conditions.

Overkill, but good for procedure illustration.

PAGE 7

Power Series Solution Example

example \(y'' + xy' + y = 0\) about \(x_0 = 0\)

\[ y = \sum_{n=0}^{\infty} a_n x^n, \quad y' = \sum_{n=1}^{\infty} a_n n x^{n-1}, \quad y'' = \sum_{n=2}^{\infty} a_n n(n-1) x^{n-2} \]

\[ \sum_{n=2}^{\infty} a_n n(n-1) x^{n-2} + x \sum_{n=1}^{\infty} a_n n x^{n-1} + \sum_{n=0}^{\infty} a_n x^n = 0 \]

Note: Bump up power by 1 for the second series.

\[ \sum_{n=2}^{\infty} a_n n(n-1) x^{n-2} + \sum_{n=1}^{\infty} a_n n x^n + \sum_{n=0}^{\infty} a_n x^n = 0 \]

re-index so it is \(x^n\) (see last example)

\[ \sum_{n=0}^{\infty} (n+2)(n+1) a_{n+2} x^n + \sum_{n=1}^{\infty} a_n n x^n + \sum_{n=0}^{\infty} a_n x^n = 0 \]

\[ \sum_{n=0}^{\infty} \left[ (n+2)(n+1) a_{n+2} + n a_n + a_n \right] x^n = 0 \]

middle one starts w/ \(n=1\)

PAGE 8

Series Solutions of Differential Equations: Recurrence Relations

Case for \( n = 0 \) (middle not there)

From the coefficient equation:

\( (2)(1)a_2 + a_0 = 0 \quad \rightarrow \quad a_0 = -\frac{1}{2} a_2 \)

(1st series) (last series)

Case for \( n \ge 1 \) (everybody participates)

Summation equation:

\[ \sum_{n=1}^{\infty} \left[ (n+2)(n+1)a_{n+2} + (n)a_n + a_n \right] x^n = 0 \]

The expression inside the brackets must vanish for each coefficient of \( x^n \).

So,

\[ a_{n+2} = \frac{-a_n}{n+2} \]

recurrence relation (includes \( a_0 = -\frac{1}{2} a_2 \))

Generating Series Coefficients

Evaluating the recurrence relation for successive values of \( n \):

  • If \( n = 0 \), \( a_2 = -\frac{1}{2} a_0 \)
  • If \( n = 1 \), \( a_3 = -\frac{1}{3} a_1 \)
  • If \( n = 2 \), \( a_4 = -\frac{1}{4} a_2 = \frac{1}{4 \cdot 2} a_0 \)
  • If \( n = 3 \), \( a_5 = -\frac{1}{5} a_3 = \frac{1}{5 \cdot 3} a_1 \)
  • If \( n = 4 \), \( a_6 = -\frac{1}{6} a_4 = \frac{-1}{6 \cdot 4 \cdot 2} a_0 \)
  • etc. (continue next time)