Power Series Solutions of Differential Equations
Why Use Power Series Methods?
Power series methods are indispensable tools for solving ordinary differential equations (ODEs), particularly when other methods fall short. Here are key reasons for their use:
- Variable Coefficients: They are effective for linear ODEs with variable coefficients.
- Non-Elementary Solutions: For ODEs (e.g., Bessel's, Legendre's) whose solutions aren't elementary functions.
- Solutions Near Singular Points: The Frobenius method handles regular singular points.
- Approximation: Truncated series provide polynomial approximations.
- Defining Special Functions: Many special functions are defined via ODEs solved by power series.
The idea is to assume $y(x) = \sum_{n=0}^{\infty} a_n (x-x_0)^n$.
Higher-Order Differential Coefficients as a Series
If $y(x) = \sum_{n=0}^{\infty} a_n x^n = a_0 + a_1 x + a_2 x^2 + \dots$
First Derivative:
Second Derivative:
k-th Derivative:
Leibniz's Theorem for the n-th Derivative of a Product
If $y = uv$, its $n$-th derivative is:
Leibniz-Maclaurin Method
Finds series solution $y(x) = \sum_{n=0}^{\infty} \frac{y^{(n)}(0)}{n!}x^n$ by repeatedly differentiating the ODE and evaluating at $x_0=0$.
Interactive Solver for $y' = y + x$
Frobenius Method
For linear ODEs around a regular singular point $x_0$. Assume $y(x) = x^r \sum_{n=0}^{\infty} a_n x^n$.
Steps:
- Verify regular singular point.
- Substitute series into ODE.
- Find Indicial Equation for $r$.
- Find Recurrence Relation for $a_n$.
- Determine solutions based on roots $r_1, r_2$.
Bessel's Equation
Bessel's equation of order $\nu$: $x^2 y'' + xy' + (x^2 - \nu^2)y = 0$.
Solution $J_\nu(x)$ (Bessel function of the first kind):
Calculate Terms of $J_\nu(x)$
Bessel's Equation and Gamma Functions
Gamma function $\Gamma(z) = \int_0^\infty t^{z-1}e^{-t} dt$. Properties: $\Gamma(z+1) = z\Gamma(z)$, $\Gamma(n) = (n-1)!$. Crucial for $J_\nu(x)$ for non-integer $\nu$.
Legendre's Equation
Legendre's equation: $(1-x^2)y'' - 2xy' + n(n+1)y = 0$.
$x=0$ is ordinary point. Solution $y(x) = \sum_{k=0}^{\infty} a_k x^k$. Recurrence:
Legendre Polynomials
When $n$ is a non-negative integer, one solution is $P_n(x)$, normalized by $P_n(1)=1$.
$P_0(x)=1, P_1(x)=x, P_2(x)=\frac{1}{2}(3x^2-1)$, etc.
Generate and Evaluate $P_n(x)$ (using Series)
Legendre Polynomials using Rodrigue's Formula
Rodrigue's formula: