Frobenius & Special Functions

Study Sheet

Frobenius & Special Functions

Singular points, indicial equations, Bessel and Legendre

Series at Singular Points

Tip
Regular singular points and the indicial equation

Where the leading coefficient vanishes (like x=0x = 0 in x2y′′+xy′+(x2−ν2)y=0x^2y'' + xy' + (x^2 - \nu^2)y = 0), plain power series can fail. Frobenius: try y=xr∑anxny = x^r\sum a_nx^n with an unknown starting power rr.

The lowest-order coefficient gives the indicial equation — for Bessel, r2−ν2=0r^2 - \nu^2 = 0, roots ±ν\pm\nu — and each admissible rr seeds its own series. The pure case is Cauchy–Euler x2y′′+αxy′+βy=0x^2y'' + \alpha xy' + \beta y = 0, where y=xry = x^r alone works and the indicial equation r(r−1)+αr+β=0r(r-1) + \alpha r + \beta = 0 is the whole story.

Tip
Bessel functions: the drumhead cosine
xy510151½−½2.4055.5208.654J₀
J0J_0 with its first three zeros, inside the envelope ±2/(πx)\pm\sqrt{2/(\pi x)} (dashed).

Bessel's equation governs radial vibrations of circular membranes and heat in cylinders. Its bounded solution J0(x)=1−x24+x464−⋯=∑(−1)k4k(k!)2x2kJ_0(x) = 1 - \tfrac{x^2}{4} + \tfrac{x^4}{64} - \cdots = \sum\tfrac{(-1)^k}{4^k(k!)^2}x^{2k} looks like a cosine whose amplitude slowly decays; its zeros (2.405, 5.520, …) set the drum's overtone frequencies — irregularly spaced, which is why a drum sounds like a thump and not a note. Half-integer orders collapse to elementary functions: J1/2(x)=2πxsin⁡xJ_{1/2}(x) = \sqrt{\tfrac{2}{\pi x}}\sin x.

Why a decaying cosine: substituting y=u/xy = u/\sqrt x into Bessel's equation gives u′′+(1+1/4−ν2x2)u=0u'' + \left(1 + \dfrac{1/4 - \nu^2}{x^2}\right)u = 0. For large xx the correction term fades, uu behaves like cos⁡(x−φ)\cos(x - \varphi), and so yy oscillates with amplitude shrinking like 1/x1/\sqrt x. The zeros are not equally spaced — gaps 5.520−2.405=3.1155.520 - 2.405 = 3.115, then 8.654−5.520=3.1348.654 - 5.520 = 3.134 — but the gaps approach π\pi as the correction dies out. For ν=12\nu = \tfrac12 the correction is exactly zero, which is why J1/2J_{1/2} is elementary.

Tip
Legendre polynomials: quantization by boundedness
xy−111−1P₁P₂P₃
Legendre polynomials P1,P2,P3P_1, P_2, P_3 on [−1,1][-1, 1]: all equal 11 at x=1x = 1, and PnP_n has nn zeros inside.

Legendre's equation (1−x2)y′′−2xy′+n(n+1)y=0(1-x^2)y'' - 2xy' + n(n+1)y = 0 appears whenever a problem lives on a sphere. Series solutions generally blow up at x=±1x = \pm1 (the poles); demanding boundedness forces the parameter to equal n(n+1)n(n+1) for a whole number nn, truncating the series to the polynomials P0=1P_0 = 1, P1=xP_1 = x, P2=3x2−12P_2 = \tfrac{3x^2-1}{2}, P3=5x3−3x2,…P_3 = \tfrac{5x^3-3x}{2}, \ldots — orthogonal on [−1,1][-1,1] and the angular half of spherical harmonics. The same mechanism that quantized Fourier eigenvalues, wearing spherical clothes.

Why boundedness truncates: with parameter λ\lambda in place of n(n+1)n(n+1), the series recurrence is ak+2=k(k+1)−λ(k+2)(k+1) aka_{k+2} = \dfrac{k(k+1) - \lambda}{(k+2)(k+1)}\,a_k. If the numerator never vanishes, the ratio ak+2/aka_{k+2}/a_k tends to 11 and the series behaves like 1+x2+x4+⋯1 + x^2 + x^4 + \cdots near x=±1x = \pm1 — the solution blows up at the poles. The only escape is a numerator that hits zero, k(k+1)=λk(k+1) = \lambda, and then one of the two series stops and becomes a polynomial. For λ=6\lambda = 6: a2=−3a0a_2 = -3a_0, a4=0a_4 = 0, giving 1−3x21 - 3x^2, a multiple of P2P_2.

Side note
Significance: the functions with their own names

Bessel, Legendre, Hermite, Laguerre — the "special functions" are the standard library of mathematical physics, and Frobenius is the compiler that builds them. Your phone's antenna design (cylindrical waves = Bessel) and every atomic orbital picture (Legendre in the angles) come from this machinery.

Try it
Try it: an indicial equation cold

For 2x2y′′+3xy′−y=02x^2y'' + 3xy' - y = 0, find the indicial roots and the general solution on x>0x > 0.

Show the answer

This is a Cauchy–Euler equation, so y=xry = x^r works exactly. Then y′=rxr−1y' = rx^{r-1} and y′′=r(r−1)xr−2y'' = r(r-1)x^{r-2}, and every term becomes a multiple of xrx^r: [2r(r−1)+3r−1]xr=0\big[2r(r-1) + 3r - 1\big]x^r = 0. The bracket is 2r2+r−1=(2r−1)(r+1)2r^2 + r - 1 = (2r - 1)(r + 1), so r=12r = \tfrac12 or r=−1r = -1, and y=Ax+Bxy = A\sqrt x + \dfrac Bx. Check y=xy = \sqrt x: 2x2⋅(−14x−3/2)+3x⋅12x−1/2−x1/2=(−12+32−1)x1/2=02x^2\cdot\left(-\tfrac14x^{-3/2}\right) + 3x\cdot\tfrac12x^{-1/2} - x^{1/2} = \left(-\tfrac12 + \tfrac32 - 1\right)x^{1/2} = 0. Fractional powers like x\sqrt x never arise from constant-coefficient equations; they are routine at a singular point.

Cauchy–Euler Equations: Three Cases

Tip
Try y = xʳ

For x2y′′+αxy′+βy=0x^2y'' + \alpha xy' + \beta y = 0 on x>0x > 0, substituting y=xry = x^r gives the indicial equation r(r−1)+αr+β=0r(r-1) + \alpha r + \beta = 0.

  • Two real roots r1≠r2r_1 \ne r_2: y=c1xr1+c2xr2y = c_1x^{r_1} + c_2x^{r_2}.
  • A double root rr: y=xr(c1+c2ln⁡x)y = x^r(c_1 + c_2\ln x).
  • Complex roots a±bia \pm bi: y=xa(c1cos⁡(bln⁡x)+c2sin⁡(bln⁡x))y = x^a\big(c_1\cos(b\ln x) + c_2\sin(b\ln x)\big).

Why exactly these three: the substitution x=etx = e^t turns xy′xy' into dydt\dfrac{dy}{dt} and x2y′′x^2y'' into d2ydt2−dydt\dfrac{d^2y}{dt^2} - \dfrac{dy}{dt}, so the equation becomes y¨+(α−1)y˙+βy=0\ddot y + (\alpha - 1)\dot y + \beta y = 0 with constant coefficients, whose characteristic equation m2+(α−1)m+β=0m^2 + (\alpha - 1)m + \beta = 0 is the indicial equation. The familiar emte^{mt}, temtte^{mt} and eatcos⁡bte^{at}\cos bt become xrx^r, xrln⁡xx^r\ln x and xacos⁡(bln⁡x)x^a\cos(b\ln x) once t=ln⁡xt = \ln x.

Example
Worked: two real powers
xy12246(1, 2)x²x⁻²
The solution x2+x−2x^2 + x^{-2} (solid) and its two power pieces (dashed); the minimum sits at the initial point (1,2)(1, 2).

Solve x2y′′+xy′−4y=0x^2y'' + xy' - 4y = 0 with y(1)=2y(1) = 2, y′(1)=0y'(1) = 0.

Substitute y=xry = x^r: r(r−1)+r−4=r2−4=0r(r-1) + r - 4 = r^2 - 4 = 0, so r=2r = 2 or r=−2r = -2.

Step 1 — two distinct real roots give y=Ax2+Bx−2y = Ax^2 + Bx^{-2}.

Step 2 — the data: y(1)=A+B=2y(1) = A + B = 2, and y′=2Ax−2Bx−3y' = 2Ax - 2Bx^{-3} gives y′(1)=2A−2B=0y'(1) = 2A - 2B = 0. So A=B=1A = B = 1 and y=x2+1x2y = x^2 + \dfrac1{x^2}.

Step 3 — check: for y=x−2y = x^{-2}, x2⋅6x−4+x⋅(−2x−3)−4x−2=(6−2−4)x−2=0x^2\cdot6x^{-4} + x\cdot(-2x^{-3}) - 4x^{-2} = (6 - 2 - 4)x^{-2} = 0, and x2x^2 works the same way.

Step 4 — read the graph: the x−2x^{-2} part dominates near the singular point x=0x = 0 and the x2x^2 part far out; the solution is smallest at x=1x = 1, where the initial slope was 00. This solution cannot be continued through x=0x = 0 — the singular point is a genuine wall.

Example
Worked: complex roots and logarithmic oscillation
xy123451−10.4562.193
y=cos⁡(2ln⁡x)y = \cos(2\ln x): zeros equally spaced in ln⁡x\ln x, piling up toward the singular point x=0x = 0.

Solve x2y′′+xy′+4y=0x^2y'' + xy' + 4y = 0 with y(1)=1y(1) = 1, y′(1)=0y'(1) = 0.

The indicial equation is r(r−1)+r+4=r2+4=0r(r-1) + r + 4 = r^2 + 4 = 0, so r=±2ir = \pm 2i.

Step 1 — interpret x2ix^{2i}: x2i=e2iln⁡x=cos⁡(2ln⁡x)+isin⁡(2ln⁡x)x^{2i} = e^{2i\ln x} = \cos(2\ln x) + i\sin(2\ln x), so the real solutions are cos⁡(2ln⁡x)\cos(2\ln x) and sin⁡(2ln⁡x)\sin(2\ln x), and y=Acos⁡(2ln⁡x)+Bsin⁡(2ln⁡x)y = A\cos(2\ln x) + B\sin(2\ln x).

Step 2 — the data: y(1)=A=1y(1) = A = 1; y′=2x(−Asin⁡(2ln⁡x)+Bcos⁡(2ln⁡x))y' = \dfrac{2}{x}\big(-A\sin(2\ln x) + B\cos(2\ln x)\big), so y′(1)=2B=0y'(1) = 2B = 0. Hence y=cos⁡(2ln⁡x)y = \cos(2\ln x).

Step 3 — the zeros are where 2ln⁡x=π2+kπ2\ln x = \tfrac\pi2 + k\pi, that is x=eπ/4+kπ/2x = e^{\pi/4 + k\pi/2}: …,0.095,0.456,2.193,10.55,…\ldots, 0.095, 0.456, 2.193, 10.55, \ldots Each zero is eπ/2≈4.81e^{\pi/2} \approx 4.81 times the previous one — equally spaced in ln⁡x\ln x, not in xx.

Step 4 — toward the singular point the zeros pile up without end, so the solution oscillates infinitely often on (0,1)(0, 1) while staying bounded by 11.

Side note
Where it goes wrong: the constant-coefficient reflex

Faced with x2y′′+xy′−4y=0x^2y'' + xy' - 4y = 0, it is tempting to write the characteristic equation r2+r−4=0r^2 + r - 4 = 0, as if the coefficients were 1,1,−41, 1, -4. Its roots r=−1±172r = \tfrac{-1 \pm \sqrt{17}}{2} are wrong: substituting y=xry = x^r produces r(r−1)xrr(r-1)x^r from the y′′y'' term, not r2xrr^2x^r, so the true condition is r(r−1)+r−4=r2−4=0r(r-1) + r - 4 = r^2 - 4 = 0. Check the reflex answer: for r=−1+172r = \tfrac{-1 + \sqrt{17}}{2}, r2−4=1−172≠0r^2 - 4 = \tfrac{1 - \sqrt{17}}{2} \ne 0, so xrx^r is not a solution.

Try it
Try it: an Euler equation with data

Solve x2y′′−2y=0x^2y'' - 2y = 0 with y(1)=0y(1) = 0, y′(1)=3y'(1) = 3.

Show the answer

Substitute y=xry = x^r: r(r−1)−2=r2−r−2=(r−2)(r+1)=0r(r-1) - 2 = r^2 - r - 2 = (r - 2)(r + 1) = 0, so r=2r = 2 or r=−1r = -1 and y=Ax2+Bxy = Ax^2 + \dfrac Bx. Then y(1)=A+B=0y(1) = A + B = 0 and y′(1)=2A−B=3y'(1) = 2A - B = 3; adding, 3A=33A = 3, so A=1A = 1 and B=−1B = -1. The solution is y=x2−1xy = x^2 - \dfrac1x. Check: x2⋅(2−2x−3)−2(x2−x−1)=2x2−2x−1−2x2+2x−1=0x^2\cdot(2 - 2x^{-3}) - 2(x^2 - x^{-1}) = 2x^2 - 2x^{-1} - 2x^2 + 2x^{-1} = 0.

Frobenius Series and the Indicial Roots

Tip
The Frobenius method

x=0x = 0 is a regular singular point of x2y′′+x p(x) y′+q(x) y=0x^2y'' + x\,p(x)\,y' + q(x)\,y = 0 when pp and qq have power series at 00. Try y=∑n≥0anxn+ry = \sum_{n\ge0} a_nx^{n+r} with a0≠0a_0 \ne 0; the lowest power gives the indicial equation r(r−1)+p(0) r+q(0)=0r(r-1) + p(0)\,r + q(0) = 0. For real roots r1≥r2r_1 \ge r_2:

  • r1−r2r_1 - r_2 not an integer: two Frobenius series, one for each root;
  • r1=r2r_1 = r_2: one series; the second solution contains y1ln⁡xy_1\ln x;
  • r1−r2r_1 - r_2 a positive integer: the r1r_1 series always works; the r2r_2 series may break down, and then the second solution contains y1ln⁡xy_1\ln x.

Why the lowest power decides rr: near 00 the equation looks like its Cauchy–Euler part x2y′′+p(0)xy′+q(0)y=0x^2y'' + p(0)xy' + q(0)y = 0, whose solutions are xrx^r with rr from the same quadratic; the higher coefficients of pp and qq only multiply xrx^r by a power series. Trouble can come only when r2+N=r1r_2 + N = r_1 for a whole number NN: at step NN the recurrence for the r2r_2 series divides by the indicial polynomial evaluated at r2+N=r1r_2 + N = r_1, which is zero.

Example
Worked: two Frobenius series that sum to cos √x and sin √x
xy102030401−1sin √xcos √x
The two Frobenius solutions: cos⁡x\cos\sqrt x (solid) and sin⁡x\sin\sqrt x (dashed), which leaves 00 vertically.

Solve 4xy′′+2y′+y=04xy'' + 2y' + y = 0 near x=0x = 0.

Multiply by x4\tfrac x4 to reach the standard form x2y′′+12xy′+x4y=0x^2y'' + \tfrac12xy' + \tfrac x4y = 0: here p(0)=12p(0) = \tfrac12 and q(0)=0q(0) = 0, so the indicial equation is r(r−1)+12r=r(r−12)=0r(r-1) + \tfrac12r = r\left(r - \tfrac12\right) = 0, with roots 00 and 12\tfrac12.

Step 1 — substitute y=∑anxn+ry = \sum a_nx^{n+r} into 4xy′′+2y′+y4xy'' + 2y' + y. The derivative terms produce xn+r−1x^{n+r-1} and the yy term xn+rx^{n+r}, so the coefficient of xn+r−1x^{n+r-1} is [4(n+r)(n+r−1)+2(n+r)]an+an−1=0\big[4(n+r)(n+r-1) + 2(n+r)\big]a_n + a_{n-1} = 0, that is 2(n+r)(2n+2r−1) an=−an−12(n+r)(2n + 2r - 1)\,a_n = -a_{n-1}.

Step 2 — root r=0r = 0: an=−an−12n(2n−1)a_n = -\dfrac{a_{n-1}}{2n(2n-1)}, so a1=−12a_1 = -\tfrac12, a2=124a_2 = \tfrac1{24}: y1=1−x2+x224−⋯y_1 = 1 - \tfrac x2 + \tfrac{x^2}{24} - \cdots, which is cos⁡x\cos\sqrt x (put u=xu = \sqrt x in 1−u22!+u44!1 - \tfrac{u^2}{2!} + \tfrac{u^4}{4!}).

Step 3 — root r=12r = \tfrac12: an=−an−1(2n+1)(2n)a_n = -\dfrac{a_{n-1}}{(2n+1)(2n)}, so a1=−16a_1 = -\tfrac16, a2=1120a_2 = \tfrac1{120}: y2=x1/2(1−x6+x2120−⋯ )=sin⁡xy_2 = x^{1/2}\left(1 - \tfrac x6 + \tfrac{x^2}{120} - \cdots\right) = \sin\sqrt x.

Step 4 — the roots differ by 12\tfrac12, not an integer, so both series exist and y=c1cos⁡x+c2sin⁡xy = c_1\cos\sqrt x + c_2\sin\sqrt x. The second solution has a vertical tangent at 00 — something no ordinary power series can have.

Example
Worked: roots an integer apart, and no logarithm
xyπ2π3π4π1−1sin x/√xcos x/√x
The two solutions of order 12\tfrac12: sin⁡x/x\sin x/\sqrt x stays bounded, cos⁡x/x\cos x/\sqrt x (dashed) blows up at 00.

Solve Bessel's equation of order 12\tfrac12: x2y′′+xy′+(x2−14)y=0x^2y'' + xy' + \left(x^2 - \tfrac14\right)y = 0.

With y=∑anxn+ry = \sum a_nx^{n+r}, the coefficient of xn+rx^{n+r} is [(n+r)2−14]an+an−2=0\left[(n+r)^2 - \tfrac14\right]a_n + a_{n-2} = 0 (the x2yx^2y term shifts the index by 22). At n=0n = 0: r2=14r^2 = \tfrac14, so r=±12r = \pm\tfrac12 — roots that differ by the integer 11.

Step 1 — take the smaller root r=−12r = -\tfrac12, the one that might fail. Then (n−12)2−14=n(n−1)(n - \tfrac12)^2 - \tfrac14 = n(n - 1) and the recurrence reads n(n−1)an=−an−2n(n-1)a_n = -a_{n-2}.

Step 2 — the danger point is n=1n = 1: the equation is 0⋅a1=−a−1=00\cdot a_1 = -a_{-1} = 0, which holds for every a1a_1. No contradiction, so no logarithm; instead a1a_1 is a second free constant.

Step 3 — from a0=1a_0 = 1: a2=−12a_2 = -\tfrac12, a4=124a_4 = \tfrac1{24}, giving x−1/2(1−x22+x424−⋯ )=cos⁡xxx^{-1/2}\left(1 - \tfrac{x^2}{2} + \tfrac{x^4}{24} - \cdots\right) = \dfrac{\cos x}{\sqrt x}; from a1=1a_1 = 1: a3=−16a_3 = -\tfrac16, a5=1120a_5 = \tfrac1{120}, giving sin⁡xx\dfrac{\sin x}{\sqrt x}.

Step 4 — so y=Acos⁡x+Bsin⁡xxy = \dfrac{A\cos x + B\sin x}{\sqrt x}, and the bounded solution sin⁡xx\dfrac{\sin x}{\sqrt x} is a multiple of J1/2(x)=2πxsin⁡xJ_{1/2}(x) = \sqrt{\tfrac{2}{\pi x}}\sin x. Had the right side at n=1n = 1 been nonzero, the r=−12r = -\tfrac12 series would have broken down, and the second solution would have needed a ln⁡x\ln x term.

Side note
Where it goes wrong: a plain power series at a singular point

Try y=∑anxny = \sum a_nx^n (no xrx^r) in 4xy′′+2y′+y=04xy'' + 2y' + y = 0. The coefficient of xn−1x^{n-1} gives 2n(2n−1)an=−an−12n(2n-1)a_n = -a_{n-1}: a0a_0 is free and everything else follows — a one-parameter family, a0cos⁡xa_0\cos\sqrt x. The recurrence gives no warning, but the second solution sin⁡x=x1/2(1−x6+⋯ )\sin\sqrt x = x^{1/2}(1 - \tfrac x6 + \cdots) is simply out of reach, because x\sqrt x has no Taylor series at 00. A second-order equation with only one series solution is the signal that xrx^r was needed.

Try it
Try it: the nonzero indicial root

For 3xy′′+y′−y=03xy'' + y' - y = 0, find the indicial roots and the first three terms of the Frobenius series for the nonzero root.

Show the answer

Multiply by x3\tfrac x3: x2y′′+13xy′−x3y=0x^2y'' + \tfrac13xy' - \tfrac x3y = 0, so p(0)=13p(0) = \tfrac13, q(0)=0q(0) = 0 and the indicial equation is r(r−1)+13r=r(r−23)=0r(r-1) + \tfrac13r = r\left(r - \tfrac23\right) = 0: r=0r = 0 or r=23r = \tfrac23. Substituting y=∑anxn+ry = \sum a_nx^{n+r}, the coefficient of xn+r−1x^{n+r-1} is [3(n+r)(n+r−1)+(n+r)]an−an−1=0\big[3(n+r)(n+r-1) + (n+r)\big]a_n - a_{n-1} = 0, so (n+r)(3n+3r−2) an=an−1(n+r)(3n + 3r - 2)\,a_n = a_{n-1}. With r=23r = \tfrac23 this is (n+23)(3n) an=n(3n+2) an=an−1\left(n + \tfrac23\right)(3n)\,a_n = n(3n + 2)\,a_n = a_{n-1}. From a0=1a_0 = 1: a1=15a_1 = \tfrac15, a2=a12⋅8=180a_2 = \dfrac{a_1}{2\cdot8} = \tfrac1{80}. So y=x2/3(1+x5+x280+⋯ )y = x^{2/3}\left(1 + \tfrac x5 + \tfrac{x^2}{80} + \cdots\right).

Proofs & Why It Matters

Tip
Proof: the Cauchy–Euler indicial equation

Substitute y=xry = x^r into x2y′′+αxy′+βy=0x^2y'' + \alpha xy' + \beta y = 0: the derivatives give x2⋅r(r−1)xr−2+αx⋅rxr−1+βxr=[r(r−1)+αr+β]xrx^2\cdot r(r-1)x^{r-2} + \alpha x\cdot rx^{r-1} + \beta x^r = \left[r(r-1) + \alpha r + \beta\right]x^r.

Since xr≠0x^r \ne 0 for x>0x > 0, the bracket must vanish — a quadratic in rr whose two roots give two power solutions (a double root contributes xrln⁡xx^r\ln x, precisely parallel to the xerxxe^{rx} of constant-coefficient theory, via the substitution x=etx = e^t which converts one theory into the other). ■\blacksquare

Tip
Proof: J₀ solves Bessel of order zero

Termwise, with y=∑ckx2ky = \sum c_kx^{2k}, ck=(−1)k4k(k!)2c_k = \tfrac{(-1)^k}{4^k(k!)^2}: compute xy′′+y′+xyxy'' + y' + xy (the ν=0\nu = 0 equation divided by xx).

The x2k+1x^{2k+1} coefficient is ck+1(2k+2)(2k+1)+ck+1(2k+2)+ck=ck+1(2k+2)2+ckc_{k+1}(2k+2)(2k+1) + c_{k+1}(2k+2) + c_k = c_{k+1}(2k+2)^2 + c_k, and indeed ck+1=−ck4(k+1)2c_{k+1} = \tfrac{-c_k}{4(k+1)^2} makes it vanish: −ck4(k+1)2⋅4(k+1)2+ck=0\tfrac{-c_k}{4(k+1)^2}\cdot4(k+1)^2 + c_k = 0. Every coefficient dies — the series solves the equation exactly. ■\blacksquare

Going Deeper: Worked Problems

Example
Worked: a Frobenius recurrence at a regular singular point

Find the first three nonzero terms of a Frobenius solution of 2xy′′+y′+y=02xy'' + y' + y = 0 for the larger indicial root.

Step 1 — try y=∑anxn+ry = \sum a_nx^{n+r}; the lowest-order terms give the indicial equation 2r(r−1)+r=r(2r−1)=02r(r-1) + r = r(2r - 1) = 0: r=0r = 0 or 12\tfrac12.

Step 2 — for r=12r = \tfrac12, matching the coefficient of xn+rx^{n+r} gives the recurrence an+1=−an(n+1)(2n+3)a_{n+1} = -\dfrac{a_n}{(n+1)(2n+3)} (from 2(n+r+1)(n+r)an+1+(n+r+1)an+1+an=02(n+r+1)(n+r)a_{n+1} + (n+r+1)a_{n+1} + a_n = 0 with r=12r = \tfrac12).

Step 3 — run it from a0=1a_0 = 1: a1=−11⋅3=−13a_1 = -\tfrac{1}{1\cdot3} = -\tfrac13, a2=1/32⋅5=130a_2 = \tfrac{1/3}{2\cdot5} = \tfrac{1}{30}.

Step 4 — the solution: y=x1/2(1−x3+x230−⋯ )y = x^{1/2}\left(1 - \tfrac x3 + \tfrac{x^2}{30} - \cdots\right) — a square-root prefactor no ordinary power series could produce, and the recurrence generates as many terms as accuracy demands.

Example
Worked: a Cauchy–Euler initial-value problem

Solve x2y′′−3xy′+4y=0x^2y'' - 3xy' + 4y = 0 with y(1)=1y(1) = 1, y′(1)=0y'(1) = 0.

Step 1 — indicial equation: r(r−1)−3r+4=r2−4r+4=(r−2)2r(r-1) - 3r + 4 = r^2 - 4r + 4 = (r-2)^2: double root r=2r = 2.

Step 2 — double root means y=x2(A+Bln⁡x)y = x^2(A + B\ln x) (the ln⁡x\ln x plays the role tt plays for repeated constant-coefficient roots).

Step 3 — data: y(1)=A=1y(1) = A = 1; y′=2x(A+Bln⁡x)+Bxy' = 2x(A + B\ln x) + Bx, so y′(1)=2A+B=0y'(1) = 2A + B = 0, B=−2B = -2.

Step 4 — solution y=x2(1−2ln⁡x)y = x^2(1 - 2\ln x).

Step 5 — verify at x=ex = e: y=e2(1−2)=−e2y = e^2(1 - 2) = -e^2; direct substitution of y=x2−2x2ln⁡xy = x^2 - 2x^2\ln x into the equation collapses to 00 term by term ✓.