Independent study guide

Power-Series Solutions of ODEs at Ordinary Points

Align powers, match coefficients and check the residual for second-order linear ODEs. Three worked examples and six original exercises.

Nablio · 6 questionsPublished

1. Classify the centre and line up powers

For a homogeneous linear equation A(x)y′′+B(x)y′+C(x)y=0A(x)y''+B(x)y'+C(x)y=0, work on a neighbourhood where normalization to y′′+p(x)y′+q(x)y=0y''+p(x)y'+q(x)y=0 is valid. The centre x0x_0 is ordinary if the normalized coefficients p=B/Ap=B/A and q=C/Aq=C/A are analytic there: they have convergent Taylor series near the centre. For polynomial coefficients, A(x0)≠0A(x_0)\ne0 suffices. If A(x0)=0A(x_0)=0, inspect the normalized coefficients; a common factor may permit an analytic extension. That extension solves the normalized problem, but cancelling a vanishing factor does not, by itself, make the original equation equivalent at the zero.

Set u=x−x0u=x-x_0 and write y=∑n=0∞anuny=\sum_{n=0}^{\infty}a_nu^n. Since du/dx=1du/dx=1, differentiation gives y′=∑n=0∞(n+1)an+1uny'=\sum_{n=0}^{\infty}(n+1)a_{n+1}u^n and y′′=∑n=0∞(n+2)(n+1)an+2uny''=\sum_{n=0}^{\infty}(n+2)(n+1)a_{n+2}u^n. Thus a0=y(x0)a_0=y(x_0) and a1=y′(x0)a_1=y'(x_0). Write each contributor to the same unu^n before equating the sum to zero. A term from a shifted series is absent below its starting exponent. Use a separate low-power row or an explicit zero convention.

At an ordinary point the initial data determine a local analytic solution. A Taylor polynomial of degree m≥2m\ge2 of that solution cancels the normalized residual through um−2u^{m-2}. The residual is O(um−1)O(u^{m-1}) because differentiating the omitted tail twice can lower its first power by two. In general the polynomial is not an exact solution.

2. Worked example: build the coefficient row

Problem. Find the Taylor polynomial through degree five for y′′+(1+x)y=0y''+(1+x)y=0, with y(0)=1, y′(0)=0y(0)=1,\ y'(0)=0.

Solution. Here u=xu=x and a0=1, a1=0a_0=1,\ a_1=0. Expand the left side as the three contributions y′′+y+xyy''+y+xy. For the coefficient of xnx^n, the second derivative uses an+2a_{n+2}, while multiplication by xx uses an−1a_{n-1}. The following rows make the missing constant term in xyxy explicit.

Contributions from y′′y\prime\prime, yy, xyxy
Powery′′y\prime\primeyyxyxy
x0x^02a22a_2a0a_000
x1x^16a36a_3a1a_1a0a_0
x2x^212a412a_4a2a_2a1a_1

With a−1=0a_{-1}=0 for this calculation, (n+2)(n+1)an+2=−an−an−1(n+2)(n+1)a_{n+2}=-a_n-a_{n-1} for n≥0n\ge0. The rows n=0,1,2,3n=0,1,2,3 give a2=−1/2, a3=−1/6, a4=1/24, a5=1/30a_2=-1/2,\ a_3=-1/6,\ a_4=1/24,\ a_5=1/30. Hence P5(x)=1−x2/2−x3/6+x4/24+x5/30P_5(x)=1-x^2/2-x^3/6+x^4/24+x^5/30. Substituting shows P5′′+(1+x)P5=−x4/8+3x5/40+x6/30P_5''+(1+x)P_5=-x^4/8+3x^5/40+x^6/30: the terms through degree three vanish, not every term. The residual is O(x4)O(x^4).

3. Worked example: recognize an exact solution

Problem. Solve (1−x)y′′−y′=0(1-x)y''-y'=0 near zero with y(0)=0, y′(0)=1y(0)=0,\ y'(0)=1.

Solution. The coefficient of xnx^n from xy′′xy'' is n(n+1)an+1n(n+1)a_{n+1}, including zero when n=0n=0. Combining with y′y' gives (n+2)(n+1)an+2=(n+1)2an+1(n+2)(n+1)a_{n+2}=(n+1)^2a_{n+1}, hence an+2=n+1n+2an+1a_{n+2}=\frac{n+1}{n+2}a_{n+1}. Starting with a0=0, a1=1a_0=0,\ a_1=1, this yields an=1/na_n=1/n for n≥1n\ge1.

The ratio test gives radius 11. For ∣x∣<1|x|<1, differentiating the series gives ∑n=0∞xn=1/(1−x)\sum_{n=0}^{\infty}x^n=1/(1-x), so integration from zero yields y=−ln⁡(1−x)y=-\ln(1-x). Check directly: y′=1/(1−x)y'=1/(1-x) and y′′=1/(1−x)2y''=1/(1-x)^2 make the left side zero and give the required initial data. This radius is for this solution, not automatically for every solution of the equation.

4. Worked example: move the centre first

Problem. For (2−x)y′′+y=0(2-x)y''+y=0, with y(1)=2, y′(1)=1y(1)=2,\ y'(1)=1, find the Taylor polynomial through degree three about x0=1x_0=1.

Solution. Set u=x−1u=x-1, so 2−x=1−u2-x=1-u. This centre is ordinary because the leading coefficient equals 1 there. Match powers of uu to get (n+2)(n+1)an+2=n(n+1)an+1−an(n+2)(n+1)a_{n+2}=n(n+1)a_{n+1}-a_n. The term involving nn is zero at n=0n=0. With a0=2, a1=1a_0=2,\ a_1=1, first 2a2=−22a_2=-2, then 6a3=2a2−a1=−36a_3=2a_2-a_1=-3. Thus P3=2+u−u2−u3/2P_3=2+u-u^2-u^3/2. Inserting it gives residual 2u2−u3/22u^2-u^3/2, so the constant and linear coefficients vanish as expected.

5. Six practice exercises

1. Check whether a centre is ordinary

For xy′′+y=0xy''+y=0, classify the centres x0=0x_0=0 and x0=2x_0=2.

Hint

Divide by the leading coefficient away from its zeros.

Explained solution

The normalized coefficient of yy is 1/x1/x. It is analytic near 22, so 22 is ordinary. It has a nonremovable pole at 00, so 00 is not ordinary.

2. Repair the shifted index

For y=∑n=0∞anuny=\sum_{n=0}^{\infty}a_nu^n, find the coefficient of unu^n in u2y′u^2y', including the lowest powers.

Hint

Multiplication by the square raises every derivative exponent by two.

Explained solution

A term kakuk−1ka_ku^{k-1} becomes kakuk+1ka_ku^{k+1}, so k=n−1k=n-1. The coefficient is (n−1)an−1(n-1)a_{n-1} for n≥2n\ge2, and zero for n=0,1n=0,1.

3. Use the initial slope

For y′′+xy=0y''+xy=0, with y(0)=0, y′(0)=1y(0)=0,\ y'(0)=1, find the Taylor polynomial through degree four.

Hint

Look at the constant, linear and quadratic terms in the equation.

Explained solution

Matching gives 2a2=0, 6a3=−a0, 12a4=−a12a_2=0,\ 6a_3=-a_0,\ 12a_4=-a_1. So a2=a3=0a_2=a_3=0, and P4=x−x4/12P_4=x-x^4/12.

4. Take one more recurrence step

In the example centred at x0=1x_0=1, compute a4a_4.

Hint

Set n=2n=2 in the shifted recurrence.

Explained solution

We get 12a4=6a3−a2=−3+1=−212a_4=6a_3-a_2=-3+1=-2, so a4=−1/6a_4=-1/6. In the residual of P3P_3, the 2u22u^2 term is exactly cancelled by the new second derivative term.

5. Check the residual, not just the initial data

For y′′−xy=0y''-xy=0, with y(0)=1, y′(0)=0y(0)=1,\ y'(0)=0, check whether P(x)=1+x3/6P(x)=1+x^3/6 is an exact solution.

Hint

Substitute the whole polynomial into the equation.

Explained solution

It satisfies the initial data, but P′′−xP=x−x(1+x3/6)=−x4/6P''-xP=x-x(1+x^3/6)=-x^4/6. This residual is nonzero as a function, so the polynomial is not exact.

6. Change the initial data, change the radius

For (1−x)y′′−y′=0(1-x)y''-y'=0, use y(0)=3, y′(0)=0y(0)=3,\ y'(0)=0. Does the series still have radius 1?

Hint

In the recurrence, every coefficient beyond the constant comes from the initial slope.

Explained solution

No. Since a1=0a_1=0, all an=0a_n=0 for n≥1n\ge1. The constant solution y=3y=3 has infinite radius, even though the normalized coefficient of y′y' is singular at x=1x=1.

6. Final check

Check the centre, write the low powers, align exponents, set the initial coefficients, then substitute to verify. For the method’s mathematical background, see MIT OpenCourseWare: Power Series Techniques. Review finding radii and endpoints in Power Series: Find the Interval and Test the Endpoints.

Useful for

Work on the step you’re missing.

Tell us the subject and your preferred time. Nablio confirms the details by text or email.

Request a lesson