Differential EquationsSeries Solutions3 of 5
Series Solutions · 3

The Method of Frobenius

We need to find series solutions to differential equations around x=0x = 0 when x=0x = 0 is a regular singular point and a plain power series fails.

Suppose we want to solve this differential equation near x=0x = 0:

2x2y′′+3xy′−(1+x)y\displaystyle 2x^2\ydd{y''} + 3x\yd{y'} - (1 + x)\ysol{y} =0\displaystyle = 0

Dividing by 2x22x^2 puts the equation in standard form y′′+P(x)y′+Q(x)y=0\ydd{y''} + P(x)\yd{y'} + Q(x)\ysol{y} = 0:

y′′+32xy′−1+x2x2y\displaystyle \ydd{y''} + \frac{3}{2x}\yd{y'} - \frac{1 + x}{2x^2}\ysol{y} =0\displaystyle = 0

Because P(x)P(x) and Q(x)Q(x) blow up at x=0x = 0, the solutions themselves can shoot off to infinity or enter the origin with a vertical tangent, which a smooth polynomial a0+a1x+a2x2+…a_0 + a_1x + a_2x^2 + \dots can never match.

x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
a0a_0
a1\htmlClass{lc-pink}{a_1}
y=a0+a1x+a2x2\htmlClass{lc-blue}{y} = a_0 + a_1x + a_2x^2
1x=x−1\htmlClass{lc-violet}{\dfrac{1}{x} = x^{-1}}
x=x1/2\htmlClass{lc-green}{\sqrt{x} = x^{1/2}}

How can we adjust the power series so it can take on these shapes at x=0x = 0?

Why Power Series Fail at a Singular Point and How xʳ Fixes It
y=a0+a1x+a2x2+a3x3+…\htmlClass{lc-blue}{y} = a_0 + a_1x + a_2x^2 + a_3x^3 + \dots
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
y(x)\htmlClass{lc-blue}{y(x)}
x=0x = 0

When we distribute the front factor xr\ysol{x^r} across the series, each derivative drops the power of xx, and the x2x^2 and xx coefficients in the equation push the power right back up to xr\ysol{x^r}:

y=xr(a0+a1x+a2x2+… )=a0xr+a1xr+1+a2xr+2+…2x2y′′=2r(r−1)a0xr+…3xy′=3ra0xr+…−y=−a0xr−…\displaystyle \begin{aligned} \ysol{y} &= \ysol{x^r}(a_0 + a_1x + a_2x^2 + \dots) \\ &= a_0\ysol{x^r} + a_1x^{r+1} + a_2x^{r+2} + \dots \\[0.4em] 2x^2\ydd{y''} &= 2\ydd{r(r - 1)}a_0\ysol{x^r} + \dots \\ 3x\yd{y'} &= 3\yd{r}a_0\ysol{x^r} + \dots \\ -\ysol{y} &= -a_0\ysol{x^r} - \dots \end{aligned}

In this family of curves, you can adjust the starting power rr to see how xr\ysol{x^r} shapes the curve at x=0x = 0 and keeps the leading terms lined up at xr\ysol{x^r}, whereas at r=0r = 0 the curve is smooth and the derivative terms drop out of the lowest power.

The polynomial part only shapes the curve away from the origin, while the front power sets the curve's shape right at the y-axis and gives all three parts of the equation the same starting power.
1

Finding the Starting Powers and Coefficients

To solve 2x2y′′+3xy′−y−xy=02x^2\ydd{y''} + 3x\yd{y'} - \ysol{y} - x\ysol{y} = 0, we need to find the allowed starting powers rr from the lowest power of xx and a recurrence relation that builds the coefficients a1,a2,a3,…a_1, a_2, a_3, \dots for each rr.

The Indicial Equation, Recurrence Relation, and First Example
2x2y′′+3xy′−y−xy\displaystyle 2x^2\ydd{y''} + 3x\yd{y'} - \ysol{y} - x\ysol{y} =0\displaystyle = 0
y=a0xr+a1xr+1+…r=  ?\displaystyle \begin{aligned} \ysol{y} &= a_0\ysol{x^r} + a_1x^{r+1} + \dots \\ r &= \;? \end{aligned}
Text solution
Collect the xrx^r column to find the starting powers rrOnly the pieces 2x2y′′+3xy′−y2x^2\ydd{y''} + 3x\yd{y'} - \ysol{y} stay in the lowest column xrx^r, and setting their combined coefficient to zero lets a0a_0 be non-zero:
[2r(r−1)+3r−1]a0=02r2+r−1⏟indicial polynomial I(r)=0(2r−1)(r+1)=0  ⟹  r1=12,r2=−1\displaystyle \begin{aligned} \bigl[2\ydd{r(r - 1)} + 3\yd{r} - \ysol{1}\bigr]a_0 &= 0 \\ \underbrace{2r^2 + r - 1}_{\text{indicial polynomial } I(r)} &= 0 \\ \bone{(2r - 1)}\btwo{(r + 1)} &= 0 \implies \bone{r_1 = \frac{1}{2}}, \quad \btwo{r_2 = -1} \end{aligned}
Collect the xr+nx^{r+n} column to build the recurrence relationAt step n≥1n \ge 1, the first three pieces act on anxr+na_nx^{r+n} just as they acted on a0xra_0x^r with r+nr + n in place of rr, while −xy-x\ysol{y} shifts the previous term an−1xr+n−1a_{n-1}x^{r+n-1} one column right into the xr+nx^{r+n} column:
I(r+n)an−an−1=0an=an−1I(r+n)=an−1(2(r+n)−1)(r+n+1)\displaystyle \begin{aligned} I(r + n)a_n - a_{n-1} &= 0 \\ a_n &= \frac{a_{n-1}}{I(r + n)} \\ &= \frac{a_{n-1}}{\bone{\bigl(2(r + n) - 1\bigr)}\btwo{(r + n + 1)}} \end{aligned}
Plug in r1=12\bone{r_1 = \frac{1}{2}} and step through n=1,2n = 1, 2Substituting r=12r = \bone{\frac{1}{2}} into the recurrence relation with a0=1a_0 = 1 gives the coefficients of the first series solution one by one:
an=an−1(2(12+n)−1)(12+n+1)=an−1n(2n+3)n=1:a1=11(2(1)+3)=15n=2:a2=152(2(2)+3)=1514=170y1(x)=x1/2(1+15x+170x2+… )\displaystyle \begin{aligned} a_n &= \frac{a_{n-1}}{\bone{\bigl(2(\frac{1}{2} + n) - 1\bigr)}\btwo{(\bone{\frac{1}{2}} + n + 1)}} = \frac{a_{n-1}}{n(2n + 3)} \\ n = 1:\quad a_1 &= \frac{1}{1(2(1) + 3)} = \frac{1}{5} \\ n = 2:\quad a_2 &= \frac{\tfrac{1}{5}}{2(2(2) + 3)} = \frac{\tfrac{1}{5}}{14} = \frac{1}{70} \\ \bone{y_1(x)} &= \bone{x^{1/2}}\left(1 + \frac{1}{5}x + \frac{1}{70}x^2 + \dots\right) \end{aligned}
Plug in r2=−1\btwo{r_2 = -1} and step through n=1,2n = 1, 2Substituting r=−1r = \btwo{-1} into the same recurrence relation with a0=1a_0 = 1 gives the second linearly independent series solution:
an=an−1(2(−1+n)−1)(−1+n+1)=an−1n(2n−3)n=1:a1=11(2(1)−3)=−1n=2:a2=−12(2(2)−3)=−12y2(x)=x−1(1−x−12x2−… )\displaystyle \begin{aligned} a_n &= \frac{a_{n-1}}{\bone{\bigl(2(\btwo{-1} + n) - 1\bigr)}\btwo{(-1 + n + 1)}} = \frac{a_{n-1}}{n(2n - 3)} \\ n = 1:\quad a_1 &= \frac{1}{1(2(1) - 3)} = -1 \\ n = 2:\quad a_2 &= \frac{-1}{2(2(2) - 3)} = -\frac{1}{2} \\ \btwo{y_2(x)} &= \btwo{x^{-1}}\left(1 - x - \frac{1}{2}x^2 - \dots\right) \end{aligned}

Combining the two independent solutions as y(x)=C1y1(x)+C2y2(x)\ysol{y(x)} = C_1\bone{y_1(x)} + C_2\btwo{y_2(x)} gives the general solution near x=0x = 0, built from a x\bone{\sqrt{x}} curve and a 1x\btwo{\tfrac{1}{x}} curve.

2

Shifted Derivatives and Roots That Differ by an Integer

Now we want to solve an equation where the piece that shifts columns differentiates y\ysol{y}, and where the two indicial roots r1\bone{r_1} and r2\btwo{r_2} differ by a whole number:

x2y′′+x(x−3)y′+3y\displaystyle x^2\ydd{y''} + x(x - 3)\yd{y'} + 3\ysol{y} =0\displaystyle = 0
Shifted Derivatives and Roots That Differ by an Integer
r2=−1\htmlClass{lc-violet}{r_2 = -1}
r1=12\htmlClass{lc-green}{r_1 = \tfrac{1}{2}}
n=1n = 1
n=2n = 2
n=3n = 3
0\htmlClass{lc-mute}{0}
1\htmlClass{lc-mute}{1}
2\htmlClass{lc-mute}{2}
r2\htmlClass{lc-violet}{r_2}
r1\htmlClass{lc-green}{r_1}
r2+n=r1⇒?\htmlClass{lc-violet}{r_2} + n = \htmlClass{lc-green}{r_1} \Rightarrow {?}
Text solution
Distribute and sort the pieces by how they shift the power of xxExpanding the middle term separates the three pieces that stay in their own column from the +x2y′+x^2\yd{y'} piece, which drops the power by 11 when it differentiates and raises it by 22 when it multiplies by x2x^2:
x2y′′+x(x−3)y′+3y\displaystyle x^2\ydd{y''} + x(x - 3)\yd{y'} + 3\ysol{y} =x2y′′−3xy′+3y⏟shift 0+x2y′⏟shift +1\displaystyle = \underbrace{x^2\ydd{y''} - 3x\yd{y'} + 3\ysol{y}}_{\text{shift } 0} + \underbrace{x^2\yd{y'}}_{\text{shift } +1} =0\displaystyle = 0
Collect the xrx^r column to find the indicial rootsThe shift-00 pieces give the indicial equation and two roots separated by the integer r1−r2=2\bone{r_1} - \btwo{r_2} = 2:
I(r)=r(r−1)−3r+3=r2−4r+3=(r−3)(r−1)=0  ⟹  r1=3,r2=1\displaystyle \begin{aligned} I(r) &= \ydd{r(r - 1)} - 3\yd{r} + \ysol{3} \\ &= r^2 - 4r + 3 \\ &= \bone{(r - 3)}\btwo{(r - 1)} = 0 \implies \bone{r_1 = 3}, \quad \btwo{r_2 = 1} \end{aligned}
Differentiate the shifted term to build the xr+nx^{r+n} recurrence relationApplying +x2y′+x^2\yd{y'} to the previous term an−1xr+n−1a_{n-1}x^{r+n-1} brings down its exponent r+n−1\yd{r + n - 1}, and we leave the I(r+n)I(r + n) factors on the left-hand side so we do not divide by zero when testing the smaller root:
x2ddx(an−1xr+n−1)=(r+n−1)an−1xr+nI(r+n)an+(r+n−1)an−1=0(r+n−3)(r+n−1)an=−(r+n−1)an−1\displaystyle \begin{aligned} x^2\frac{d}{dx}\bigl(a_{n-1}x^{r+n-1}\bigr) &= \yd{(r + n - 1)}a_{n-1}x^{r+n} \\ I(r + n)a_n + \yd{(r + n - 1)}a_{n-1} &= 0 \\ \bone{(r + n - 3)}\btwo{(r + n - 1)}a_n &= -\yd{(r + n - 1)}a_{n-1} \end{aligned}
Plug in the larger root r1=3\bone{r_1 = 3} to find y1(x)\bone{y_1(x)}Starting from the larger root steps away from r2=1\btwo{r_2 = 1}, so the left-hand factors never equal zero and we can divide to find the coefficients from a0=1a_0 = 1:
n(n+2)an=−(n+2)an−1  ⟹  an=−an−1nn=1:a1=−11=−1n=2:a2=−−12=12n=3:a3=−123=−16y1(x)=x3(1−x+12x2−16x3+… )\displaystyle \begin{aligned} \bone{n}\btwo{(n + 2)}a_n &= -\yd{(n + 2)}a_{n-1} \implies a_n = -\frac{a_{n-1}}{\bone{n}} \\ n = 1:\quad a_1 &= -\frac{1}{1} = -1 \\ n = 2:\quad a_2 &= -\frac{-1}{2} = \frac{1}{2} \\ n = 3:\quad a_3 &= -\frac{\tfrac{1}{2}}{3} = -\frac{1}{6} \\ \bone{y_1(x)} &= \bone{x^3}\left(1 - x + \frac{1}{2}x^2 - \frac{1}{6}x^3 + \dots\right) \end{aligned}
Test the smaller root r2=1\btwo{r_2 = 1} up to step n=2n = 2Setting r=1r = \btwo{1} with a0=1a_0 = 1 gives a1=1a_1 = 1 at step 11, but at step n=2n = 2 the exponent r2+2=3\btwo{r_2} + 2 = 3 lands on r1=3\bone{r_1 = 3}, turning the left-hand side into zero while the right-hand side is −2-2:
(n−2)nan=−nan−1n=1:(−1)(1)a1=−1(1)  ⟹  a1=1n=2:(0)(2)a2=−2(1)  ⟹  0⋅a2=−2\displaystyle \begin{aligned} \bone{(n - 2)}\btwo{n}a_n &= -\yd{n}a_{n-1} \\ n = 1:\quad \bone{(-1)}\btwo{(1)}a_1 &= -\yd{1}(1) \implies a_1 = 1 \\ n = 2:\quad \bone{(0)}\btwo{(2)}a_2 &= -\yd{2}(1) \implies 0 \cdot a_2 = -2 \end{aligned}

Because no value of a2a_2 satisfies 0⋅a2=−20 \cdot a_2 = -2, the recurrence breaks down at n=2n = 2 and the second solution needs a logarithmic term:

y2(x)\displaystyle \btwo{y_2(x)} =Cy1(x)ln⁡(x)+x1(b0+b1x+b2x2+… )\displaystyle = C\bone{y_1(x)}\btwo{\ln(x)} + \btwo{x^1}(b_0 + b_1x + b_2x^2 + \dots)

On the exponent line below, compare what happens to the factor I(r+n)I(r + n) as you step up by whole numbers from the larger root versus the smaller root.

Stepping up from a root by whole numbers gives a zero in the recurrence only when one of those steps lands directly on the other root.
3

When Integer-Spaced Roots Do Not Need a Logarithm

Even when the roots differ by a whole number NN, the smaller root still gives a Frobenius series without a logarithm if the right-hand side of the recurrence relation also becomes zero at step n=Nn = N, as in:

x2y′′+x(1+x)y′−y\displaystyle x^2\ydd{y''} + x(1 + x)\yd{y'} - \ysol{y} =0\displaystyle = 0
When Integer-Spaced Roots Do Not Need a Logarithm
n\displaystyle n =2\displaystyle = 2
0⋅a2=−20⋅a2=0  ⇒  a2=  ?\displaystyle \begin{aligned} 0 \cdot a_2 &= -2 \\ 0 \cdot a_2 &= 0 \;\Rightarrow\; a_2 = \;? \end{aligned}
Text solution
Distribute and find the indicial roots from the xrx^r columnExpanding gives x2y′′+xy′−y+x2y′=0x^2\ydd{y''} + x\yd{y'} - \ysol{y} + x^2\yd{y'} = 0, where the first three pieces stay in the xrx^r column and give roots separated by r1−r2=2\bone{r_1} - \btwo{r_2} = 2:
I(r)=r(r−1)+r−1=r2−1=(r−1)(r+1)=0  ⟹  r1=1,r2=−1\displaystyle \begin{aligned} I(r) &= \ydd{r(r - 1)} + \yd{r} - \ysol{1} \\ &= r^2 - 1 \\ &= \bone{(r - 1)}\btwo{(r + 1)} = 0 \implies \bone{r_1 = 1}, \quad \btwo{r_2 = -1} \end{aligned}
Build the recurrence relation in the xr+nx^{r+n} columnThe shifted +x2y′+x^2\yd{y'} piece differentiates an−1xr+n−1a_{n-1}x^{r+n-1} to bring down the factor r+n−1\yd{r + n - 1}:
(r+n−1)(r+n+1)an\displaystyle \bone{(r + n - 1)}\btwo{(r + n + 1)}a_n =−(r+n−1)an−1\displaystyle = -\yd{(r + n - 1)}a_{n-1}
Step from the smaller root r2=−1\btwo{r_2 = -1} through n=2n = 2Setting r=−1r = \btwo{-1} and a0=1a_0 = 1 gives a1=−1a_1 = -1 at step 11, and at step n=2n = 2 the right-hand side becomes zero at the exact same step as the left-hand side because the derivative of the constant term a1x0a_1x^0 is zero:
(n−2)nan=−(n−2)an−1n=1:(−1)(1)a1=−(−1)(1)  ⟹  −a1=1  ⟹  a1=−1n=2:(0)(2)a2=−(0)(−1)  ⟹  0⋅a2=0\displaystyle \begin{aligned} \bone{(n - 2)}\btwo{n}a_n &= -\yd{(n - 2)}a_{n-1} \\ n = 1:\quad \bone{(-1)}\btwo{(1)}a_1 &= -\yd{(-1)}(1) \implies -a_1 = 1 \implies a_1 = -1 \\ n = 2:\quad \bone{(0)}\btwo{(2)}a_2 &= -\yd{(0)}(-1) \implies 0 \cdot a_2 = 0 \end{aligned}
Choose the free coefficient a2=0a_2 = 0 to write y2(x)\btwo{y_2(x)}Because 0⋅a2=00 \cdot a_2 = 0 holds for any number a2a_2, choosing a2=0a_2 = 0 makes a3=a4=⋯=0a_3 = a_4 = \dots = 0 and gives a second series solution with no ln⁡(x)\btwo{\ln(x)} term (C=0C = 0):
y2(x)=x−1(1−x)=1x−1\displaystyle \begin{aligned} \btwo{y_2(x)} &= \btwo{x^{-1}}(1 - x) \\ &= \frac{1}{x} - 1 \end{aligned}
4

Game Plan and the Three Cases

Every Frobenius problem around a regular singular point x=0x = 0 follows one game plan from the indicial equation to the recurrence relation and the three root cases.

Game Plan and the Three Cases of the Method of Frobenius
regular singular point x\displaystyle \text{regular singular point } x =0\displaystyle = 0
I(r)=0,r1≥r2y1, y2=  ?\displaystyle \begin{aligned} I(r) &= 0, \quad \bone{r_1} \ge \btwo{r_2} \\ \bone{y_1},\ \btwo{y_2} &= \;? \end{aligned}

Key concepts

Before starting a series solution around x=0x = 0, check the standard form y′′+P(x)y′+Q(x)y=0\ydd{y''} + P(x)\yd{y'} + Q(x)\ysol{y} = 0. If P(x)P(x) and Q(x)Q(x) stay finite at x=0x = 0, it is an ordinary point and a plain power series y=a0+a1x+a2x2+…\ysol{y} = a_0 + a_1x + a_2x^2 + \dots already works without needing xr\ysol{x^r}. If P(x)P(x) blows up worse than 1x\tfrac{1}{x} (such as 1x3y′\frac{1}{x^3}\yd{y'}) or Q(x)Q(x) blows up worse than 1x2\tfrac{1}{x^2} (such as 1x5y\frac{1}{x^5}\ysol{y}), x=0x = 0 is an irregular singular point and multiplying by xr\ysol{x^r} will not line up the lowest powers. Use the Frobenius series

y\displaystyle \ysol{y} =xr∑n=0∞anxn\displaystyle = \ysol{x^r}\sum_{n=0}^{\infty} a_nx^n =a0xr+a1xr+1+a2xr+2+…\displaystyle = a_0\ysol{x^r} + a_1x^{r+1} + a_2x^{r+2} + \dots

when x=0x = 0 is a regular singular point, where the lowest-power pieces look like x2y′′x^2\ydd{y''}, xy′x\yd{y'}, and y\ysol{y}.

Those same-column pieces give the indicial equation I(r)=0I(r) = 0 in the xrx^r column (for 2x2y′′+3xy′−y2x^2\ydd{y''} + 3x\yd{y'} - \ysol{y}, I(r)=2r(r−1)+3r−1=0I(r) = 2\ydd{r(r - 1)} + 3\yd{r} - \ysol{1} = 0) and automatically give I(r+n)anI(r + n)a_n in the xr+nx^{r+n} column. Pieces with an extra power of xx shift an−1xr+n−1a_{n-1}x^{r+n-1} into the xr+nx^{r+n} column, bringing down exponent factors whenever they differentiate y\ysol{y}: a shifted −xy-x\ysol{y} gives −an−1-a_{n-1}, a shifted x2y′x^2\yd{y'} gives (r+n−1)an−1\yd{(r + n - 1)}a_{n-1}, and a shifted x3y′′x^3\ydd{y''} gives (r+n−1)(r+n−2)an−1\ydd{(r + n - 1)(r + n - 2)}a_{n-1}.

With the indicial roots ordered as r1≥r2\bone{r_1} \ge \btwo{r_2} and a0=1a_0 = 1, the larger root r1\bone{r_1} always gives a Frobenius series y1(x)=xr1(1+a1x+a2x2+… )\bone{y_1(x)} = \bone{x^{r_1}}(1 + a_1x + a_2x^2 + \dots). How you find the second solution y2(x)\btwo{y_2(x)} depends on the gap r1−r2\bone{r_1} - \btwo{r_2}:

Non-integer gap

(such as r1=12,r2=−1\bone{r_1 = \frac{1}{2}}, \btwo{r_2 = -1}): I(r2+n)I(\btwo{r_2} + n) is never zero, so plugging r2\btwo{r_2} into the recurrence relation gives a second series y2(x)=xr2(1+a1x+a2x2+… )\btwo{y_2(x)} = \btwo{x^{r_2}}(1 + a_1x + a_2x^2 + \dots).

Repeated root

(r1=r2\bone{r_1} = \btwo{r_2}): There is only one starting exponent, so the second solution always takes the logarithmic form

y2(x)\displaystyle \btwo{y_2(x)} =y1(x)ln⁡(x)+xr1∑n=0∞bnxn\displaystyle = \bone{y_1(x)}\btwo{\ln(x)} + \bone{x^{r_1}}\sum_{n=0}^{\infty} b_nx^n

Positive integer gap

(r1−r2=N\bone{r_1} - \btwo{r_2} = N, such as r1=3,r2=1\bone{r_1 = 3}, \btwo{r_2 = 1} with N=2N = 2): Leave the I(r+n)I(r + n) factors on the left-hand side of the recurrence relation and step from r2\btwo{r_2} up to n=Nn = N. If step NN gives 0⋅aN=non-zero0 \cdot a_N = \text{non-zero} (like 0⋅a2=−20 \cdot a_2 = -2), the recurrence breaks down and you need the logarithmic form

y2(x)\displaystyle \btwo{y_2(x)} =Cy1(x)ln⁡(x)+xr2∑n=0∞bnxn\displaystyle = C\bone{y_1(x)}\btwo{\ln(x)} + \btwo{x^{r_2}}\sum_{n=0}^{\infty} b_nx^n
If step NN gives 0⋅aN=00 \cdot a_N = 0, then aNa_N can be any number; choosing aN=0a_N = 0 gives a second series solution with no ln⁡(x)\btwo{\ln(x)} term (C=0C = 0).

5

Practice

1

Use the Method of Frobenius around x=0x = 0 to find the indicial equation, the recurrence relation, and the first three non-zero terms of two linearly independent series solutions (with a0=1a_0 = 1) for 2x2y′′+xy′−(1+x)y=02x^2\ydd{y''} + x\yd{y'} - (1 + x)\ysol{y} = 0.

Distribute −(1+x)y-(1 + x)\ysol{y} first: which three pieces stay in the xrx^r column, and which piece shifts one column to the right?

Rewriting the equation as 2x2y′′+xy′−y−xy=02x^2\ydd{y''} + x\yd{y'} - \ysol{y} - x\ysol{y} = 0, the xrx^r column comes from the first three pieces:
I(r)\displaystyle I(r) =2r(r−1)+r−1\displaystyle = 2\ydd{r(r - 1)} + \yd{r} - \ysol{1} =2r2−r−1\displaystyle = 2r^2 - r - 1 =(2r+1)(r−1)\displaystyle = \btwo{(2r + 1)}\bone{(r - 1)} =0\displaystyle = 0
(Watch out when expanding 2r(r−1)+r2\ydd{r(r - 1)} + \yd{r}: distributing 2r2r to −1-1 gives −2r+r=−r-2r + r = -r, whereas forgetting to distribute the 22 gives 2r2−r+r−1=2r2−1=02r^2 - r + r - 1 = 2r^2 - 1 = 0 and the wrong roots ±12\pm\frac{1}{\sqrt{2}}.)
The roots are r1=1\bone{r_1 = 1} and r2=−12\btwo{r_2 = -\frac{1}{2}}. In the xr+nx^{r+n} column, the shifted −xy-x\ysol{y} piece brings over −an−1-a_{n-1}, giving I(r+n)an−an−1=0I(r + n)a_n - a_{n-1} = 0, so for n≥1n \ge 1:
an\displaystyle a_n =an−1(2(r+n)+1)(r+n−1)\displaystyle = \frac{a_{n-1}}{\btwo{\bigl(2(r + n) + 1\bigr)}\bone{(r + n - 1)}}
For r1=1\bone{r_1 = 1}, the recurrence relation simplifies to
an\displaystyle a_n =an−1n(2n+3)\displaystyle = \frac{a_{n-1}}{n(2n + 3)}
With a0=1a_0 = 1, step n=1n = 1 gives a1=15a_1 = \frac{1}{5} and step n=2n = 2 gives a2=152(7)=170a_2 = \frac{\tfrac{1}{5}}{2(7)} = \frac{1}{70}. (Be sure to plug a1=15a_1 = \frac{1}{5}, not a0=1a_0 = 1, into the numerator at n=2n = 2; using a0=1a_0 = 1 gives the wrong coefficient a2=114a_2 = \frac{1}{14}.)
y1(x)\displaystyle \bone{y_1(x)} =x(1+15x+170x2+… )\displaystyle = \bone{x}\left(1 + \frac{1}{5}x + \frac{1}{70}x^2 + \dots\right)
For r2=−12\btwo{r_2 = -\frac{1}{2}}, the recurrence relation simplifies to
an\displaystyle a_n =an−1n(2n−3)\displaystyle = \frac{a_{n-1}}{n(2n - 3)}
With a0=1a_0 = 1, step n=1n = 1 gives a1=−1a_1 = -1 and step n=2n = 2 gives a2=−12a_2 = -\frac{1}{2}:
y2(x)\displaystyle \btwo{y_2(x)} =x−1/2(1−x−12x2−… )\displaystyle = \btwo{x^{-1/2}}\left(1 - x - \frac{1}{2}x^2 - \dots\right)
2

For x2y′′−x(1−x)y′+y=0x^2\ydd{y''} - x(1 - x)\yd{y'} + \ysol{y} = 0, find the indicial equation, the recurrence relation, the first four non-zero terms of the Frobenius series solution y1(x)\bone{y_1(x)} (with a0=1a_0 = 1), and the form of the second linearly independent solution y2(x)\btwo{y_2(x)} near x=0x = 0.

Watch the sign when distributing −x(1−x)y′-x(1 - x)\yd{y'}, and remember what +x2y′+x^2\yd{y'} does to the exponent of an−1xr+n−1a_{n-1}x^{r+n-1} before multiplying by x2x^2.

Distributing gives x2y′′−xy′+y+x2y′=0x^2\ydd{y''} - x\yd{y'} + \ysol{y} + x^2\yd{y'} = 0. The xrx^r column gives the indicial equation:
I(r)\displaystyle I(r) =r(r−1)−r+1\displaystyle = \ydd{r(r - 1)} - \yd{r} + \ysol{1} =r2−2r+1\displaystyle = r^2 - 2r + 1 =(r−1)2\displaystyle = (r - 1)^2 =0\displaystyle = 0
So r1=r2=1\bone{r_1} = \btwo{r_2} = 1 is a repeated root. In the xr+nx^{r+n} column, +x2y′+x^2\yd{y'} shifts an−1xr+n−1a_{n-1}x^{r+n-1} one column right and brings down the exponent (r+n−1)\yd{(r + n - 1)} when differentiating:
(r+n−1)2an+(r+n−1)an−1\displaystyle (r + n - 1)^2a_n + \yd{(r + n - 1)}a_{n-1} =0\displaystyle = 0
(Do not forget the (r+n−1)\yd{(r + n - 1)} factor from differentiating on the shifted +x2y′+x^2\yd{y'} term; leaving it off gives n2an=−an−1n^2a_n = -a_{n-1} and the wrong coefficients 1,−1,14,−1361, -1, \frac{1}{4}, -\frac{1}{36}.)
Setting r=1r = 1 gives n2an=−nan−1n^2a_n = -\yd{n}a_{n-1}, or an=−an−1na_n = -\frac{a_{n-1}}{n} for n≥1n \ge 1. With a0=1a_0 = 1, we get a1=−1a_1 = -1, a2=12a_2 = \frac{1}{2}, and a3=−16a_3 = -\frac{1}{6}, so
y1(x)\displaystyle \bone{y_1(x)} =x(1−x+12x2−16x3+… )\displaystyle = \bone{x}\left(1 - x + \frac{1}{2}x^2 - \frac{1}{6}x^3 + \dots\right)
Because r1=r2=1\bone{r_1} = \btwo{r_2} = 1, the second solution has the form
y2(x)\displaystyle \btwo{y_2(x)} =y1(x)ln⁡(x)+x∑n=0∞bnxn\displaystyle = \bone{y_1(x)}\btwo{\ln(x)} + \bone{x}\sum_{n=0}^{\infty} b_nx^n
3

For x2y′′+xy′+(x−1)y=0x^2\ydd{y''} + x\yd{y'} + (x - 1)\ysol{y} = 0, find the first three non-zero terms of the series solution y1(x)\bone{y_1(x)} for the larger root (with a0=1a_0 = 1), show what happens in the recurrence relation for the smaller root at n=1n = 1 and n=2n = 2, and write the form of the second solution y2(x)\btwo{y_2(x)}.

After distributing (x−1)y=xy−y(x - 1)\ysol{y} = x\ysol{y} - \ysol{y}, leave the I(r+n)I(r + n) factors on the left-hand side of the recurrence relation so you can test r2\btwo{r_2} through n=2n = 2 without dividing by zero.

Rewriting as x2y′′+xy′−y+xy=0x^2\ydd{y''} + x\yd{y'} - \ysol{y} + x\ysol{y} = 0, the xrx^r column gives
I(r)\displaystyle I(r) =r(r−1)+r−1\displaystyle = \ydd{r(r - 1)} + \yd{r} - \ysol{1} =r2−1\displaystyle = r^2 - 1 =(r−1)(r+1)\displaystyle = \bone{(r - 1)}\btwo{(r + 1)} =0\displaystyle = 0
so r1=1\bone{r_1 = 1} and r2=−1\btwo{r_2 = -1} (which differ by 22). The xr+nx^{r+n} column gives
(r+n−1)(r+n+1)an\displaystyle \bone{(r + n - 1)}\btwo{(r + n + 1)}a_n =−an−1\displaystyle = -a_{n-1}
For r1=1\bone{r_1 = 1}, n(n+2)an=−an−1\bone{n}\btwo{(n + 2)}a_n = -a_{n-1}, so with a0=1a_0 = 1 we get a1=−13a_1 = -\frac{1}{3} and a2=124a_2 = \frac{1}{24}, giving
y1(x)\displaystyle \bone{y_1(x)} =x(1−13x+124x2−… )\displaystyle = \bone{x}\left(1 - \frac{1}{3}x + \frac{1}{24}x^2 - \dots\right)
For r2=−1\btwo{r_2 = -1}, the recurrence relation is (n−2)nan=−an−1\bone{(n - 2)}\btwo{n}a_n = -a_{n-1}. With a0=1a_0 = 1, step n=1n = 1 gives (−1)(1)a1=−1\bone{(-1)}\btwo{(1)}a_1 = -1 so a1=1a_1 = 1 (watch the negative sign on n−2=−1\bone{n - 2} = -1 at n=1n = 1, or you will get a1=−1a_1 = -1 and 0⋅a2=10 \cdot a_2 = 1 at the next step), and step n=2n = 2 gives 0⋅a2=−a1=−10 \cdot a_2 = -a_1 = -1, where the recurrence breaks down. Therefore the second solution has the form
y2(x)\displaystyle \btwo{y_2(x)} =Cy1(x)ln⁡(x)+x−1∑n=0∞bnxn\displaystyle = C\bone{y_1(x)}\btwo{\ln(x)} + \btwo{x^{-1}}\sum_{n=0}^{\infty} b_nx^n
4

For x2(1+x)y′′−2y=0x^2(1 + x)\ydd{y''} - 2\ysol{y} = 0, find the indicial equation and recurrence relation, find the first four non-zero terms of the series solution y1(x)\bone{y_1(x)} for the larger root (with a0=1a_0 = 1), and test the smaller root through step n=3n = 3 to find a second linearly independent solution y2(x)\btwo{y_2(x)}.

Expanding x2(1+x)y′′x^2(1 + x)\ydd{y''} gives a shifted +x3y′′+x^3\ydd{y''} piece. How many exponent factors come down when you differentiate an−1xr+n−1a_{n-1}x^{r+n-1} twice?

Distributing gives x2y′′−2y+x3y′′=0x^2\ydd{y''} - 2\ysol{y} + x^3\ydd{y''} = 0. The xrx^r column gives
I(r)\displaystyle I(r) =r(r−1)−2\displaystyle = \ydd{r(r - 1)} - \ysol{2} =r2−r−2\displaystyle = r^2 - r - 2 =(r−2)(r+1)\displaystyle = \bone{(r - 2)}\btwo{(r + 1)} =0\displaystyle = 0
so r1=2\bone{r_1 = 2} and r2=−1\btwo{r_2 = -1} (which differ by 33). In the xr+nx^{r+n} column, the shifted +x3y′′+x^3\ydd{y''} piece differentiates an−1xr+n−1a_{n-1}x^{r+n-1} twice to bring down (r+n−1)(r+n−2)\ydd{(r + n - 1)(r + n - 2)}, giving
(r+n−2)(r+n+1)an\displaystyle \bone{(r + n - 2)}\btwo{(r + n + 1)}a_n =−(r+n−1)(r+n−2)an−1\displaystyle = -\ydd{(r + n - 1)(r + n - 2)}a_{n-1}
(Bringing down only one exponent factor (r+n−1)\yd{(r + n - 1)} instead of both (r+n−1)(r+n−2)\ydd{(r + n - 1)(r + n - 2)} from +x3y′′+x^3\ydd{y''} is a common mistake here: for r1=2\bone{r_1 = 2} it gives a2=320a_2 = \frac{3}{20} instead of 310\frac{3}{10}, and for r2=−1\btwo{r_2 = -1} it gives a1=−12a_1 = -\frac{1}{2} instead of 11.)
For r1=2\bone{r_1 = 2}, n(n+3)an=−(n+1)nan−1\bone{n}\btwo{(n + 3)}a_n = -\ydd{(n + 1)n}a_{n-1}, so an=−n+1n+3an−1a_n = -\frac{n + 1}{n + 3}a_{n-1}. With a0=1a_0 = 1, we get a1=−12a_1 = -\frac{1}{2}, a2=310a_2 = \frac{3}{10}, and a3=−15a_3 = -\frac{1}{5}, giving
y1(x)\displaystyle \bone{y_1(x)} =x2(1−12x+310x2−15x3+… )\displaystyle = \bone{x^2}\left(1 - \frac{1}{2}x + \frac{3}{10}x^2 - \frac{1}{5}x^3 + \dots\right)
For r2=−1\btwo{r_2 = -1}, the recurrence relation is (n−3)nan=−(n−2)(n−3)an−1\bone{(n - 3)}\btwo{n}a_n = -\ydd{(n - 2)(n - 3)}a_{n-1}. Starting with a0=1a_0 = 1, step n=1n = 1 gives −2a1=−2-2a_1 = -2 so a1=1a_1 = 1, step n=2n = 2 gives −2a2=0-2a_2 = 0 so a2=0a_2 = 0, and step n=3n = 3 gives 0⋅a3=00 \cdot a_3 = 0. So a3a_3 can be any number, and choosing a3=0a_3 = 0 makes all higher coefficients 00, giving the second solution with no logarithm needed:
y2(x)\displaystyle \btwo{y_2(x)} =x−1(1+x)\displaystyle = \btwo{x^{-1}}(1 + x) =1x+1\displaystyle = \frac{1}{x} + 1