Series Solution Solver
Find power series solutions $y(x) = \sum a_n x^n$ for second-order linear ODEs around $x=0$.
ODE Definition
Coeff of y’. Use ‘x’. Example: -2x
Coeff of y. Use ‘x’. Example: 1
Initial Conditions at x=0
Power Series Expansion
ApproximationConvergence Plot
Power Series Method Explained
When a differential equation cannot be solved using elementary functions, we assume the solution can be represented as a Power Series: $$ y(x) = \sum_{n=0}^{\infty} a_n x^n = a_0 + a_1 x + a_2 x^2 + \dots $$
The Method:
1. Substitute the series and its derivatives ($y’, y”$) into the ODE.
2. Shift indices so all powers of $x$ match (usually $x^n$).
3. Set the total coefficient of each power of $x$ to zero to find a Recurrence Relation.
This tool automates finding the coefficients $a_n$. $a_0$ and $a_1$ are determined by the initial conditions $y(0)$ and $y'(0)$. Subsequent terms ($a_2, a_3, \dots$) are calculated recursively.
Ordinary Points
This method is valid around an Ordinary Point $x=0$, meaning $P(x)$ and $Q(x)$ are analytic at $x=0$. If $P(x)$ or $Q(x)$ have singularities (like $1/x$), we would need the method of Frobenius, which allows for fractional or negative powers.