Power Series for Linear ODEs

Power Series: the Frobenius method

If the solution is not an analytical function near \(x=0\) but satisfies certain conditions then we can use the modified power series $$ y(x) = x^r \sum_{n=0}^{\infty}{a_n x^n} = x^r (a_0 + a_1 x + a_2 x^2 + \cdots) $$ If \(p_i(x)\) are all analytical for the ODE $$ x^n y^{(n)} + p_{n-1}(x) x^{n-1} y^{(n-1)} + \cdots + p_1(x) x y' + p_0(x) y = r(x) $$ then we can use the Frobenius method. Notice that if \(p_i(x)\) are all constants then we call these equations Cauchy-Euler.

Example 1

Find the solution of the following ODE near \(x=0\) $$ x y' + (1+x) y = 0 $$

solution:

$$ y(x) = \sum_{n=0}^{\infty}{a_n x^{n+r}} $$ $$ y'(x) = \sum_{n=0}^{\infty}{a_n (n+r) x^{n+r-1}} $$ $$ x y' + (1+x) y = x \sum_{n=0}^{\infty}{a_n (n+r) x^{n+r-1}} + (1+x) \sum_{n=0}^{\infty}{a_n x^{n+r}} = 0 $$ $$ \sum_{n=0}^{\infty}{a_n (n+r) x^{n+r}} + \sum_{n=0}^{\infty}{a_n x^{n+r}} + \sum_{n=0}^{\infty}{a_n x^{n+r+1}} = 0 $$ Coefficients of \(x^r\) gives $$ a_0 r + a_0 = 0 \to r + 1 = 0 $$ This is called indicial equation and gives the value of \(r = -1\) Remining terms $$ \sum_{n=1}^{\infty}{a_n (n-1) x^{n-1}} + \sum_{n=1}^{\infty}{a_n x^{n-1}} + \sum_{n=0}^{\infty}{a_n x^{n}} = 0 $$ for the first two sums \(n = s\) for the last sum \(n = s-1\) $$ \sum_{s=1}^{\infty}{a_s (s-1) x^{s-1}} + \sum_{s=1}^{\infty}{a_s x^{s-1}} + \sum_{s=1}^{\infty}{a_{s-1} x^{s-1}} = 0 $$ $$ \sum_{s=1}^{\infty}{(s a_s + a_{s-1}) x^{s-1}} = 0 $$ $$ s a_s + a_{s-1} = 0 \to a_s = -\frac{a_{s-1}}{s} , \;\; s = 1, 2, 3, \cdots$$ $$ a_1 = -a_0 $$ $$ a_2 = -\frac{a_1}{2} = \frac{a_0}{2} $$ $$ a_3 = -\frac{a_2}{3} = -\frac{a_0}{6} $$ $$ \cdots $$ $$ y(x) = x^{-1} ( a_0 - a_0 x + a_0 \frac{x^2}{2}- a_0 \frac{x^3}{6} + \cdots ) $$ $$ y(x) = \frac{a_0}{x} (1 - x + \frac{x^2}{2}- \frac{x^3}{6} + \cdots ) $$ Compare this with the exact solution $$ y(x) = c_1 \frac{e^{-x}}{x} $$