From substitution to a determined series

A power series turns a differential equation into equations for its coefficients. Write y=∑n=0∞anxny=\sum_{n=0}^{\infty}a_nx^n, substitute into the equation, and compare terms with the same power of xx. The initial data then select the free coefficients needed to determine the series.

Align the powers

The derivatives are y′=∑n=0∞(n+1)an+1xny'=\sum_{n=0}^{\infty}(n+1)a_{n+1}x^n and y′′=∑n=0∞(n+2)(n+1)an+2xny''=\sum_{n=0}^{\infty}(n+2)(n+1)a_{n+2}x^n. Multiplying by x2x^2 changes the power attached to each term, so reindexing is necessary before coefficients can be compared. Write any exceptional constant or linear terms separately; a formula valid only from n=2n=2 does not determine what happens at n=0n=0 or n=1n=1.


Setting each aligned coefficient to zero yields a recurrence, which connects one coefficient to earlier ones. Keep its starting index visible and divide by the derivative multiplier only after writing the coefficient equation. This makes it easier to check both the shift introduced by a factor of xx and the factorial factors introduced by differentiation.

Use the free coefficients

For a second-order equation, initial values y(0)y(0) and y′(0)y'(0) set a0a_0 and a1a_1 separately. These seed coefficients may start different even and odd chains; a zero in one chain does not force every coefficient to vanish. Work through both chains until the given data and the recurrence show which terms remain.

Worked example

Take y′=3x2yy'=3x^2y with y(0)=1y(0)=1. The constant and linear coefficient equations give a1=a2=0a_1=a_2=0, while for n≥2n\geq2, matching xnx^n gives (n+1)an+1=3an−2(n+1)a_{n+1}=3a_{n-2}. Thus a3=a0=1a_3=a_0=1 and 6a6=3a36a_6=3a_3, so a6=1/2a_6=1/2. The resulting beginning, 1+x3+x6/2+⋯1+x^3+x^6/2+\cdots, can be differentiated and substituted back to check the computed orders.



Let y′ = xy and y(0)=2. If y = Σaₙxⁿ, what is a₂?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

For y″ + 4y = 0 with y(0)=1 and y′(0)=0, what is the coefficient a₄ in y=Σaₙxⁿ?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

For y′=(1+x)y and y(0)=1, what is a₃?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors