Survey of Mathematics

7.5 Power series solutions, Legendre and Bessel

When the coefficients of a linear equation change with x, assume a power series (or a power series times a power of x) and the equation turns into a recurrence for the coefficients. At an ordinary point the series converges as far as the coefficients do. At a regular singular point the indicial equation says which power to start with. Legendre's equation gives orthogonal polynomials, Bessel's gives the function J0, and Airy's equation is the model of a turning point.

Taught in 375/376Apostol, not taughtBeyond the courseApostol 6.16 to 6.24Technau, MATH 376 lecture of April 22 (Examples 8.12 and 8.14)MATH 376 worksheets 26 #5, #6 and 28 #7NIST Digital Library of Mathematical Functions, chapters 9, 10 and 18

The recipe of 7.2 needs constant coefficients: guess erte^{rt} and read the exponent off a polynomial. Change the coefficients and the recipe fails. The equation y′′=xyy'' = xy looks harmless, but none of erxe^{rx}, sin⁡\sin, cos⁡\cos or any other function you know solves it. The substitute is a more flexible guess, an infinite polynomial ∑anxn\sum a_n x^n, which turns the equation into a rule for computing the numbers ana_n one after another. This chapter asks when that works, how far the series reaches, and what to do at a point where the coefficients themselves blow up. The answers produce three families of functions that physics uses constantly: Legendre polynomials, Bessel functions and the Airy function.

Before you start

You need power series and their radius of convergence from 1.6, the inner product and orthogonality from 2.9 and 3.1, and the Wronskian from 7.3. Three quick checks:

Quick checkA power series ∑anxn\sum a_nx^n has an+1/an→12a_{n+1}/a_n \to \frac12. What is its radius of convergence?
Quick checkAfter putting y=∑n≥0anxny = \sum_{n \ge 0} a_nx^n into an equation, the term y′′=∑n≥2n(n−1)anxn−2y'' = \sum_{n \ge 2} n(n-1)a_nx^{n-2} is rewritten as a sum of multiples of xkx^k. What is the coefficient of xkx^k?
Quick checkWith the inner product ⟨f,g⟩=∫−11f(x)g(x) dx\langle f, g \rangle = \int_{-1}^{1} f(x)g(x)\,dx, are f(x)=xf(x) = x and g(x)=x2−13g(x) = x^2 - \frac13 orthogonal?

The picture

Below, each equation is solved by a power series. The black dashed curve is the true solution, computed numerically (or from a closed form). The blue curve is the partial sum of the series up to degree NN. Raise NN and watch the blue curve lock onto the black one from the middle outwards. For the arctangent equation and for the Legendre equation with ν=1.5\nu = 1.5 the red lines mark the radius of convergence: the blue curve never crosses them successfully, however large NN is. For Legendre with ν=2\nu = 2 the series stops by itself.

Three things to notice. For the Airy and Bessel equations the series converges at every xx, but the number of terms needed grows with ∣x∣\lvert x \rvert. For the arctangent equation the radius is exactly 11, although nothing is wrong with the equation at x=1x = 1. And for Legendre with ν=2\nu = 2, a polynomial appears. Each of these is explained below.

Where this came from· Spheroids, planets and a rainbow

Series solutions come from astronomy. Legendre was computing the gravitational pull of a spheroid such as the flattened Earth, and the polynomials that carry his name appear in a memoir on that problem which he read to the Paris Académie in the early 1780s (it was printed in 1785). The closed formula for them was found by Olinde Rodrigues around 1816. Bessel studied planetary perturbations in a memoir of 1824 and worked out the general properties of the functions that now carry his name. Special cases were older: Daniel Bernoulli met them in a hanging chain in the 1730s and Euler in a vibrating membrane in 1764. Frobenius gave the general method for equations with a singular point in 1873, in Crelle’s Journal. Airy introduced his function in 1838, in a paper on the light near a caustic, to explain the faint bands inside a rainbow.

The idea, in words

Why· Replace the guess e^(rx) by an infinite polynomial

For constant coefficients the derivative of erxe^{rx} is again a multiple of erxe^{rx}, so substituting turns the equation into a polynomial equation for rr. When a coefficient depends on xx, the factor xx spoils this. A power series y=∑anxny = \sum a_nx^n is flexible enough to absorb it: differentiating lowers the power of xx by one, and multiplying by xx raises it by one, so after substitution every power xkx^k gets a coefficient made of a few of the ana_n. Setting each coefficient to zero gives a recurrence, a rule for ak+2a_{k+2} in terms of earlier ones. Two numbers (a0a_0 and a1a_1) stay free, and they are the starting values y(0)y(0) and y′(0)y'(0) of 7.1.

Two questions remain. First, does the series converge, and where? The answer (below) is that it converges at least as far as the coefficients of the equation do. Second, what if the coefficients are infinite at the point we expand about, as in Bessel’s equation at x=0x = 0? Then close to that point the equation looks like an Euler equation x2y′′+p0xy′+q0y=0x^2y'' + p_0xy' + q_0y = 0, whose solutions are the powers xsx^s (7.2, problem on t2y′′+ty′−y=0t^2y'' + ty' - y = 0). The Frobenius method multiplies the series by one such power xsx^s, and the number ss comes from a quadratic equation, the indicial equation.

Definitions and theorems

Matching coefficients

Every power series method ends with a step like “so each coefficient must be zero”. That step needs a reason.

Theorem T MATH 376 lecture of April 22 (Example 8.12); standard

Matching coefficients

Suppose f(x)=∑n≥0cn(x−x0)nf(x) = \sum_{n \ge 0} c_n(x - x_0)^n converges for ∣x−x0∣<r\lvert x - x_0 \rvert < r and f(x)=0f(x) = 0 on an interval around x0x_0. Then cn=0c_n = 0 for all nn. Equivalently: two power series that agree on an interval have the same coefficients.

In one lineIf a power series ∑cn(x−x0)n\sum c_n(x - x_0)^n equals 00 at every point of an interval around x0x_0, then every coefficient cnc_n is 00.

Why it is trueA power series can be differentiated term by term, and the kk-th derivative at the centre is k! ckk!\,c_k. A function that is zero on an interval has all derivatives zero.

ProofMATH 376 lecture of April 22; 1.6
The idea: Differentiate k times at the centre to read off c_k, then use that f is the zero function.
f(k)(x)=∑n≥kn(n−1)⋯(n−k+1) cn(x−x0)n−kf^{(k)}(x) = \sum_{n \ge k} n(n-1)\cdots(n-k+1)\,c_n(x - x_0)^{n-k}.
A power series may be differentiated term by term inside its radius of convergence (1.6); each differentiation lowers every power by one.
So f(k)(x0)=k! ckf^{(k)}(x_0) = k!\,c_k.
At x=x0x = x_0 every term with n>kn > k contains the factor (x−x0)n−k=0(x - x_0)^{n-k} = 0, and only n=kn = k survives.
Hence k! ck=0k!\,c_k = 0, and ck=0c_k = 0 for every kk.
ff is the zero function on an interval, so all its derivatives there are 00. ■\blacksquare

The April 22 notes justify this step loosely (they cite the fundamental theorem of algebra, which is about roots of polynomials). The reason is the theorem above, which is about derivatives of series.

Analytic functions and ordinary points

Definition A

Analytic function

A function ff is analytic on the interval (x0−r,x0+r)(x_0 - r, x_0 + r) if there are numbers a0,a1,…a_0, a_1, \dots with f(x)=∑n≥0an(x−x0)nf(x) = \sum_{n \ge 0} a_n(x - x_0)^n for every xx in the interval. Apostol (6.17) uses this definition. Example: 11−x2=∑n≥0x2n\frac{1}{1 - x^2} = \sum_{n \ge 0} x^{2n} is analytic on (−1,1)(-1, 1) (geometric series, 1.6) and nowhere else around 00, because the function is infinite at ±1\pm 1.

In one lineA function ff is analytic on (x0−r,x0+r)(x_0 - r, x_0 + r) if it equals a power series ∑an(x−x0)n\sum a_n(x - x_0)^n at every point of that interval.

Why it existsIt is the class of functions that a power series method can handle, and it contains every polynomial, exe^x, sin⁡\sin, cos⁡\cos, and every quotient of those where the denominator is not zero.

Consider a second-order equation in the form with leading coefficient 11:

y′′+p(x) y′+q(x) y=0.(∗)y'' + p(x)\,y' + q(x)\,y = 0. \tag{$\ast$}

(If the equation is given as A(x)y′′+B(x)y′+C(x)y=0A(x)y'' + B(x)y' + C(x)y = 0, divide by AA where A(x)≠0A(x) \ne 0: p=B/Ap = B/A and q=C/Aq = C/A.)

Definition A

Ordinary point

The point x0x_0 is an ordinary point of (∗)(\ast) if pp and qq are both analytic on some interval (x0−r,x0+r)(x_0 - r, x_0 + r).

In one lineA point x0x_0 is an ordinary point of y′′+py′+qy=0y'' + py' + qy = 0 if both pp and qq are analytic on an interval around x0x_0.

Why it existsAt an ordinary point the equation is as well behaved as a constant-coefficient one, and a power series centred there solves it.

Definition A

Singular point

A point x0x_0 that is not an ordinary point of (∗)(\ast) is a singular point. Example: for (1−x2)y′′−2xy′+ν(ν+1)y=0(1 - x^2)y'' - 2xy' + \nu(\nu + 1)y = 0 we get p=−2x1−x2p = \frac{-2x}{1 - x^2} and q=ν(ν+1)1−x2q = \frac{\nu(\nu + 1)}{1 - x^2}, which are infinite at x=±1x = \pm 1, so ±1\pm 1 are singular points, and every other point is ordinary.

In one lineA point that is not an ordinary point of y′′+py′+qy=0y'' + py' + qy = 0: pp or qq fails to be analytic there, usually because it is infinite.

Why it existsSingular points are where the equation can change character, and where the interesting special functions live.

The main theorem at an ordinary point

Theorem A Apostol 6.17 (Theorem 6.13)

Series solutions at an ordinary point

Let p(x)=∑k≥0bk(x−x0)kp(x) = \sum_{k \ge 0} b_k(x - x_0)^k and q(x)=∑k≥0ck(x−x0)kq(x) = \sum_{k \ge 0} c_k(x - x_0)^k on (x0−r,x0+r)(x_0 - r, x_0 + r). Then the equation y′′+py′+qy=0y'' + py' + qy = 0 has two linearly independent solutions u1,u2u_1, u_2, each a power series ∑an(x−x0)n\sum a_n(x - x_0)^n that converges on the whole interval. They are given by a0=1,a1=0a_0 = 1, a_1 = 0 for u1u_1 and a0=0,a1=1a_0 = 0, a_1 = 1 for u2u_2, and for all n≥0n \ge 0

(n+2)(n+1) an+2=−∑k=0n[(k+1) ak+1 bn−k+ak cn−k].(R)(n+2)(n+1)\,a_{n+2} = -\sum_{k=0}^{n}\Big[(k+1)\,a_{k+1}\,b_{n-k} + a_k\,c_{n-k}\Big]. \tag{R}

In one lineIf pp and qq are analytic on (x0−r,x0+r)(x_0 - r, x_0 + r), then y′′+py′+qy=0y'' + py' + qy = 0 has two independent solutions that are power series in x−x0x - x_0 converging on the whole interval. The coefficients come from a recurrence, with a0a_0 and a1a_1 free.

Why it is trueSubstituting a series gives a recurrence for the coefficients. The coefficients of pp and qq are bounded by a geometric sequence, and that makes the solution's coefficients bounded by a geometric sequence too, so the series converges as far as pp and qq do.

ProofApostol 6.17; the induction is arranged differently from Apostol's, to avoid the ratio test
The idea: Define the coefficients by the recurrence (R). Show that |a_n| is at most K times rho^(-n) for every rho below r, by induction, using that b_k and c_k are bounded by M times s^(-k). Then the series converges on the interval, and term-by-term differentiation shows it solves the equation.
The coefficient of (x−x0)n(x - x_0)^n in y′′+py′+qyy'' + py' + qy is (n+2)(n+1)an+2+∑k=0n[(k+1)ak+1bn−k+akcn−k](n+2)(n+1)a_{n+2} + \sum_{k=0}^n[(k+1)a_{k+1}b_{n-k} + a_kc_{n-k}]. By matching coefficients, the equation holds exactly when this is 00 for every nn, which is (R).
Put y=∑an(x−x0)ny = \sum a_n(x - x_0)^n in the equation and use term-by-term differentiation: y′=∑(n+1)an+1(x−x0)ny' = \sum (n+1)a_{n+1}(x - x_0)^n and y′′=∑(n+2)(n+1)an+2(x−x0)ny'' = \sum (n+2)(n+1)a_{n+2}(x - x_0)^n. The products py′py' and qyqy are products of absolutely convergent series (Cauchy product, 1.6), so their coefficient of (x−x0)n(x - x_0)^n is ∑k=0n(k+1)ak+1bn−k\sum_{k=0}^n (k+1)a_{k+1}b_{n-k}, respectively ∑k=0nakcn−k\sum_{k=0}^n a_kc_{n-k}.
Choose a0,a1a_0, a_1 and define a2,a3,…a_2, a_3, \dots by (R).
(R) gives an+2a_{n+2} from a0,…,an+1a_0, \dots, a_{n+1}, so after the free choice of a0a_0 and a1a_1 every coefficient is determined. This is a definition of the numbers ana_n, and it remains to show the series converges.
There is a number MM with ∣bk∣≤Ms−k\lvert b_k \rvert \le M s^{-k} and ∣ck∣≤Ms−k\lvert c_k \rvert \le Ms^{-k} for all kk.
Pick 0<ρ<s<r0 < \rho < s < r. The series ∑bksk\sum b_ks^k and ∑cksk\sum c_ks^k converge (inside the radius), so their terms tend to 00 and are bounded.
Choose N0N_0 so that Mρ(n+1+ρ)(1−θ)(n+2)(n+1)≤1\frac{M\rho(n+1+\rho)}{(1-\theta)(n+2)(n+1)} \le 1 for all n≥N0n \ge N_0. Put K=max⁡j≤N0+1∣aj∣ρjK = \max_{j \le N_0 + 1}\lvert a_j \rvert\rho^j.
Let θ=ρ/s<1\theta = \rho/s < 1. The expression Mρ(n+1+ρ)(1−θ)(n+2)(n+1)\frac{M\rho(n+1+\rho)}{(1-\theta)(n+2)(n+1)} tends to 00 as n→∞n \to \infty (the numerator grows like nn, the denominator like n2n^2), so it is at most 11 from some nn on.
(n+2)(n+1)∣an+2∣≤MK[ρ−n−1∑k=0n(k+1)θn−k+ρ−n∑k=0nθn−k](n+2)(n+1)\lvert a_{n+2} \rvert \le MK\Big[\rho^{-n-1}\sum_{k=0}^n(k+1)\theta^{n-k} + \rho^{-n}\sum_{k=0}^n\theta^{n-k}\Big].
Strong induction on nn. Suppose ∣aj∣≤Kρ−j\lvert a_j \rvert \le K\rho^{-j} for all j≤n+1j \le n + 1, where n≥N0n \ge N_0 (true for j≤N0+1j \le N_0 + 1 by the choice of KK). Take absolute values in (R), use ∣bn−k∣,∣cn−k∣≤Msk−n\lvert b_{n-k} \rvert, \lvert c_{n-k} \rvert \le Ms^{k-n} and the hypothesis. Since sk−n=ρk−nθn−ks^{k-n} = \rho^{k-n}\theta^{n-k}, the term (k+1)ρ−k−1sk−n(k+1)\rho^{-k-1}s^{k-n} equals (k+1)ρ−n−1θn−k(k+1)\rho^{-n-1}\theta^{n-k} and the term ρ−ksk−n\rho^{-k}s^{k-n} equals ρ−nθn−k\rho^{-n}\theta^{n-k}.This is the step where the geometric decay of the coefficients of pp and qq is turned into geometric decay of the ana_n.
So ∣an+2∣ρn+2≤K Mρ(n+1+ρ)(1−θ)(n+2)(n+1)≤K\lvert a_{n+2} \rvert\rho^{n+2} \le K\,\frac{M\rho(n+1+\rho)}{(1-\theta)(n+2)(n+1)} \le K, which completes the induction: ∣an∣≤Kρ−n\lvert a_n \rvert \le K\rho^{-n} for all nn.
Geometric series: ∑k=0nθn−k≤11−θ\sum_{k=0}^n\theta^{n-k} \le \frac{1}{1-\theta} and ∑k=0n(k+1)θn−k≤n+11−θ\sum_{k=0}^n(k+1)\theta^{n-k} \le \frac{n+1}{1-\theta}. Multiply by ρn+2\rho^{n+2} and divide by (n+2)(n+1)(n+2)(n+1), then use the choice of N0N_0.
So ∑an(x−x0)n\sum a_n(x - x_0)^n converges absolutely for ∣x−x0∣<r\lvert x - x_0 \rvert < r: its radius of convergence is at least rr.
Comparison with the geometric series ∑K(∣x−x0∣/ρ)n\sum K(\lvert x - x_0 \rvert/\rho)^n, which converges for ∣x−x0∣<ρ\lvert x - x_0 \rvert < \rho. Since ρ<r\rho < r was arbitrary, this covers the whole interval.
The sum yy satisfies the equation on (x0−r,x0+r)(x_0 - r, x_0 + r).
Inside the radius the series can be differentiated term by term, and the Cauchy products are legitimate. The computation of the first step then shows that every coefficient of y′′+py′+qyy'' + py' + qy is zero by (R), so the sum is zero.
W(u1,u2)(x0)=1⋅1−0⋅0=1≠0W(u_1, u_2)(x_0) = 1\cdot1 - 0\cdot0 = 1 \ne 0, so u1,u2u_1, u_2 are independent.
The Wronskian of 7.3 at x0x_0: u1(x0)=1u_1(x_0) = 1, u1′(x0)=a1=0u_1'(x_0) = a_1 = 0, u2(x0)=0u_2(x_0) = 0, u2′(x0)=1u_2'(x_0) = 1. A non-zero Wronskian at one point proves independence. ■\blacksquare
Proof workshopRebuild the convergence proof for series at an ordinary pointApostol 6.17

Tap the lines in the order a proof would write them. Each line can only use what is already above it.

    Beyond the course: for understanding· B: the radius is set by the complex plane

    The theorem says “at least rr”. It can be larger, and it cannot always be larger than the nearest singularity in the complex plane. The equation (1+x2)y′′+2xy′=0(1 + x^2)y'' + 2xy' = 0 has no singular point on the real line, yet its solution arctan⁡x\arctan x has radius 11 around 00: the coefficient 2x1+x2\frac{2x}{1+x^2} is infinite at x=±ix = \pm i, which are at distance 11 from the origin. This is the first picture’s second equation. Over the complex numbers (MATH 521) the guarantee is sharp: the radius of convergence is the distance to the nearest singular point of the coefficients.

    Quick checkThe equation (1+x2)y′′+2xy′=0(1 + x^2)y'' + 2xy' = 0 is expanded about x0=0x_0 = 0. What does the theorem guarantee?

    Example: the Airy equation

    Worked example MATH 376 worksheet 26 #5 (the method); Apostol 6.17
    Find two independent power series solutions of y'' = xy (Airy's equation) and say where they converge.

    Solution. Use the stepper to watch the recurrence appear.

    Answer. y=a0u1+a1u2y = a_0u_1 + a_1u_2 with u1,u2u_1, u_2 as above, converging for all real xx. The first picture shows u1u_1. For x>0x > 0 the solution curves away from the axis (because y′′=xyy'' = xy has the sign of yy), and for x<0x < 0 it oscillates (because y′′=xyy'' = xy has the opposite sign to yy). This is the whole character of the Airy function.

    Your answerFor y′′=xyy'' = xy with y(0)=1y(0) = 1, y′(0)=0y'(0) = 0 the recurrence gives a3=16a_3 = \frac16. What is a6a_6? (A fraction.)
    Quick checkWithout solving y′′=xyy'' = xy: for large positive xx, what do the solutions do?

    The Legendre equation

    Definition A

    Legendre polynomial

    Legendre’s equation is

    (1−x2) y′′−2x y′+ν(ν+1) y=0,(1 - x^2)\,y'' - 2x\,y' + \nu(\nu + 1)\,y = 0,

    where ν\nu (Greek nu) is a constant. The Legendre polynomial of degree nn (n=0,1,2,…n = 0, 1, 2, \dots) is defined by Rodrigues’ formula

    Pn(x)=12n n! dndxn(x2−1)n.P_n(x) = \frac{1}{2^n\,n!}\,\frac{d^n}{dx^n}\big(x^2 - 1\big)^n .

    The first ones are P0=1P_0 = 1, P1=xP_1 = x, P2=3x2−12P_2 = \frac{3x^2 - 1}{2}, P3=5x3−3x2P_3 = \frac{5x^3 - 3x}{2}, P4=35x4−30x2+38P_4 = \frac{35x^4 - 30x^2 + 3}{8}.

    In one lineThe polynomial Pn(x)=12nn!dndxn(x2−1)nP_n(x) = \dfrac{1}{2^n n!}\dfrac{d^n}{dx^n}(x^2 - 1)^n of degree nn (Rodrigues' formula). It solves Legendre's equation with ν=n\nu = n and has Pn(1)=1P_n(1) = 1.

    Why it existsLegendre's equation (1−x2)y′′−2xy′+ν(ν+1)y=0(1-x^2)y'' - 2xy' + \nu(\nu+1)y = 0 describes gravity and electric fields around a sphere. Its polynomial solutions are the angular patterns, and they are mutually orthogonal.

    We find the series first, then show the polynomials are among its solutions.

    Theorem A Apostol 6.18 (formula 6.36)

    Recurrence for Legendre's equation

    For Legendre’s equation, with y=∑anxny = \sum a_nx^n, the coefficients satisfy an+2=(n−ν)(n+ν+1)(n+1)(n+2)ana_{n+2} = \frac{(n - \nu)(n + \nu + 1)}{(n+1)(n+2)}a_n for n≥0n \ge 0, and a0,a1a_0, a_1 are free. The even chain (a0,a2,a4,…a_0, a_2, a_4, \dots) and the odd chain (a1,a3,…a_1, a_3, \dots) never mix. Both series converge for ∣x∣<1\lvert x \rvert < 1. If ν=m\nu = m is a non-negative integer, the chain that contains ama_m stops: am+2=am+4=⋯=0a_{m+2} = a_{m+4} = \cdots = 0, and it is a polynomial of degree mm.

    In one lineSeries solutions y=∑anxny = \sum a_nx^n of Legendre's equation satisfy an+2=(n−ν)(n+ν+1)(n+1)(n+2) ana_{n+2} = \dfrac{(n-\nu)(n+\nu+1)}{(n+1)(n+2)}\,a_n. They converge for ∣x∣<1\lvert x \rvert < 1, and they stop (are polynomials) when ν\nu is an integer of the right parity.

    Why it is trueThe two singular points ±1\pm1 limit the radius to 11. The factor (n−ν)(n - \nu) is zero when n=νn = \nu, and then the chain of coefficients ends.

    ProofApostol 6.18
    The idea: Compute each of the three terms as a sum of multiples of x^n, collect, and read off the recurrence. The radius comes from the theorem of this chapter, since 1/(1-x^2) is a geometric series.
    −2xy′=∑−2nanxn-2xy' = \sum -2na_nx^n,  y′′=∑(n+2)(n+1)an+2xn\ y'' = \sum (n+2)(n+1)a_{n+2}x^n and −x2y′′=∑−n(n−1)anxn-x^2y'' = \sum -n(n-1)a_nx^n.
    Term-by-term differentiation: y′=∑nanxn−1y' = \sum na_nx^{n-1}, y′′=∑n(n−1)anxn−2y'' = \sum n(n-1)a_nx^{n-2}. Multiplying by xx or x2x^2 shifts the power, and the shift for y′′y'' is the one from the quiz.
    (n+2)(n+1)an+2−n(n−1)an−2nan+ν(ν+1)an=0(n+2)(n+1)a_{n+2} - n(n-1)a_n - 2na_n + \nu(\nu+1)a_n = 0.
    Matching coefficients: the coefficient of each xnx^n must be 00.
    (n+2)(n+1)an+2=[n(n+1)−ν(ν+1)]an=(n−ν)(n+ν+1)an(n+2)(n+1)a_{n+2} = \big[n(n+1) - \nu(\nu+1)\big]a_n = (n - \nu)(n + \nu + 1)a_n.
    Algebra: n(n−1)+2n=n(n+1)n(n-1) + 2n = n(n+1), and n(n+1)−ν(ν+1)=(n−ν)(n+ν+1)n(n+1) - \nu(\nu+1) = (n - \nu)(n + \nu + 1) (expand the right side).
    an+2=(n−ν)(n+ν+1)(n+1)(n+2) ana_{n+2} = \dfrac{(n-\nu)(n+\nu+1)}{(n+1)(n+2)}\,a_n.
    Divide by (n+1)(n+2)(n+1)(n+2).
    The radius is at least 11, and the chain stops when n=ν=mn = \nu = m.
    The equation in the form (∗)(\ast) has p=−2x1−x2p = \frac{-2x}{1-x^2} and q=ν(ν+1)1−x2q = \frac{\nu(\nu+1)}{1-x^2}, and 11−x2=∑x2n\frac{1}{1-x^2} = \sum x^{2n} is analytic on (−1,1)(-1, 1). Series solutions converge there by the main theorem. If ν=m\nu = m then the factor n−νn - \nu is 00 at n=mn = m, so am+2=0a_{m+2} = 0 and every later coefficient of the same chain is 00. ■\blacksquare
    Worked example Apostol 6.18 (formulas 6.38 to 6.40)
    Legendre's equation for ν = 2 and for ν = 1/2: find the first coefficients of the even solution.

    Solution.

    1. Write the recurrence for the even chain. an+2=(n−ν)(n+ν+1)(n+1)(n+2)ana_{n+2} = \frac{(n-\nu)(n+\nu+1)}{(n+1)(n+2)}a_n for n=0,2,4,…n = 0, 2, 4, \dots with a0=1a_0 = 1. The odd coefficients belong to a different chain and are not needed for the even solution.
    2. Take ν=2\nu = 2. a2=(0−2)(0+3)1⋅2a0=−3a_2 = \frac{(0-2)(0+3)}{1\cdot2}a_0 = -3, and a4=(2−2)(2+3)3⋅4a2=0a_4 = \frac{(2-2)(2+3)}{3\cdot4}a_2 = 0. The factor n−νn - \nu is 00 at n=2n = 2, so the chain ends.
    3. Read off the solution. u1=1−3x2u_1 = 1 - 3x^2. Check: y′′=−6y'' = -6, y′=−6xy' = -6x, so (1−x2)(−6)−2x(−6x)+6(1−3x2)=−6+6x2+12x2+6−18x2=0(1-x^2)(-6) - 2x(-6x) + 6(1 - 3x^2) = -6 + 6x^2 + 12x^2 + 6 - 18x^2 = 0. Substituting the answer into the equation is the check.
    4. Normalise. P2(1)=1P_2(1) = 1 forces the multiple −12(1−3x2)=3x2−12-\frac12(1 - 3x^2) = \frac{3x^2 - 1}{2}. PnP_n is defined to equal 11 at x=1x = 1, and every multiple of a solution is a solution.
    5. Take ν=12\nu = \frac12. a2=(0−12)(0+32)2a0=−38a_2 = \frac{(0 - \frac12)(0 + \frac32)}{2}a_0 = -\frac38, a4=(2−12)(2+32)12a2=5.2512⋅(−38)=−21128a_4 = \frac{(2 - \frac12)(2 + \frac32)}{12}a_2 = \frac{5.25}{12}\cdot\left(-\frac38\right) = -\frac{21}{128}. Now n−νn - \nu is never 00 for nn even, so no coefficient is zero and the series does not stop.

    Answer. For ν=2\nu = 2: 1−3x2=−2P21 - 3x^2 = -2P_2. For ν=12\nu = \frac12: 1−38x2−21128x4−⋯1 - \frac38x^2 - \frac{21}{128}x^4 - \cdots, an infinite series with radius 11.

    Quick checkFor which ν\nu is the EVEN series solution of Legendre's equation (the one starting a0=1a_0 = 1, a1=0a_1 = 0) a polynomial?
    Theorem A Apostol 6.19 and 6.20; the proof by Leibniz's rule is the standard one

    Legendre polynomials solve Legendre's equation

    For every integer n≥0n \ge 0 the Rodrigues polynomial Pn=12nn!dndxn(x2−1)nP_n = \frac{1}{2^nn!}\frac{d^n}{dx^n}(x^2-1)^n has degree nn, satisfies Legendre’s equation with ν=n\nu = n, and has Pn(1)=1P_n(1) = 1. It is the only polynomial solution with these properties: the other series solution for ν=n\nu = n does not stop.

    In one linePnP_n has degree nn and satisfies (1−x2)Pn′′−2xPn′+n(n+1)Pn=0(1 - x^2)P_n'' - 2xP_n' + n(n+1)P_n = 0 and Pn(1)=1P_n(1) = 1.

    Why it is trueDifferentiating the identity (x2−1)w′=2nxw(x^2-1)w' = 2nxw for w=(x2−1)nw = (x^2-1)^n exactly n+1n + 1 times gives Legendre's equation for w(n)w^{(n)}.

    Proofstandard
    The idea: Write w for (x^2 - 1)^n. It satisfies a first-order identity. Differentiate that identity n + 1 times with Leibniz's product rule and recognise Legendre's equation for the n-th derivative of w.
    Let w=(x2−1)nw = (x^2-1)^n. Then (x2−1) w′=2nx w(x^2 - 1)\,w' = 2nx\,w.
    Product and chain rule: w′=n(x2−1)n−1⋅2xw' = n(x^2-1)^{n-1}\cdot2x. Multiply by x2−1x^2 - 1.
    Differentiate n+1n + 1 times: (x2−1)w(n+2)+(n+1) 2x w(n+1)+(n+1)n2 2 w(n)=2n[x w(n+1)+(n+1) w(n)](x^2-1)w^{(n+2)} + (n+1)\,2x\,w^{(n+1)} + \tfrac{(n+1)n}{2}\,2\,w^{(n)} = 2n\big[x\,w^{(n+1)} + (n+1)\,w^{(n)}\big].
    Leibniz's rule: (fg)(m)=∑j(mj)f(j)g(m−j)(fg)^{(m)} = \sum_j\binom mj f^{(j)}g^{(m-j)}. For f=x2−1f = x^2 - 1 only f,f′=2x,f′′=2f, f' = 2x, f'' = 2 are non-zero, so only three terms occur. For f=xf = x only two terms occur.
    (x2−1)w(n+2)+2x w(n+1)−n(n+1) w(n)=0(x^2-1)w^{(n+2)} + 2x\,w^{(n+1)} - n(n+1)\,w^{(n)} = 0.
    Collect the terms: 2(n+1)x−2nx=2x2(n+1)x - 2nx = 2x, and n(n+1)−2n(n+1)=−n(n+1)n(n+1) - 2n(n+1) = -n(n+1).
    So y=w(n)y = w^{(n)} satisfies (1−x2)y′′−2xy′+n(n+1)y=0(1 - x^2)y'' - 2xy' + n(n+1)y = 0.
    PnP_n is a constant multiple of y=w(n)y = w^{(n)}. Multiply the equation by −1-1.
    The degree of w(n)w^{(n)} is nn.
    ww has degree 2n2n, and each derivative lowers the degree by one.
    At x=1x = 1: w(n)(1)=n! (1+1)n=2nn!w^{(n)}(1) = n!\,(1+1)^n = 2^nn!, so Pn(1)=1P_n(1) = 1.
    Write w=(x−1)n(x+1)nw = (x-1)^n(x+1)^n and apply Leibniz's rule to the nn-th derivative. Every term that differentiates (x−1)n(x-1)^n fewer than nn times still contains a factor (x−1)(x-1) and vanishes at x=1x = 1. The one remaining term has all nn derivatives on (x−1)n(x-1)^n.This is why the factor 12nn!\frac{1}{2^nn!} is in the definition: it makes the value at 11 equal to 11.
    PnP_n is the unique polynomial solution with Pn(1)=1P_n(1) = 1.
    The solution space is spanned by the even and the odd series. For ν=n\nu = n one of them is a polynomial and the other is not, because for the other parity no factor (m−ν)(m - \nu) ever vanishes. So up to a multiple there is one polynomial solution, and Pn(1)=1P_n(1) = 1 fixes the multiple. ■\blacksquare
    Worked example Apostol 6.19
    Compute P_3 by Rodrigues' formula and check that it solves Legendre's equation with ν = 3.

    Solution.

    1. Expand (x2−1)3(x^2 - 1)^3. x6−3x4+3x2−1x^6 - 3x^4 + 3x^2 - 1. The binomial theorem with a=x2a = x^2, b=−1b = -1.
    2. Differentiate three times. First 6x5−12x3+6x6x^5 - 12x^3 + 6x, then 30x4−36x2+630x^4 - 36x^2 + 6, then 120x3−72x120x^3 - 72x. Each step lowers every power by one and multiplies by it.
    3. Divide by 23 3!=482^3\,3! = 48. P3=120x3−72x48=5x3−3x2P_3 = \frac{120x^3 - 72x}{48} = \frac{5x^3 - 3x}{2}. This is Rodrigues’ formula.
    4. Check the value at 11. P3(1)=5−32=1P_3(1) = \frac{5 - 3}{2} = 1. The normalisation.
    5. Check the equation. P3′=15x2−32P_3' = \frac{15x^2 - 3}{2}, P3′′=15xP_3'' = 15x. Then (1−x2)(15x)−2x⋅15x2−32+12⋅5x3−3x2=15x−15x3−15x3+3x+30x3−18x=0(1-x^2)(15x) - 2x\cdot\frac{15x^2-3}{2} + 12\cdot\frac{5x^3-3x}{2} = 15x - 15x^3 - 15x^3 + 3x + 30x^3 - 18x = 0. ν(ν+1)=12\nu(\nu+1) = 12 for ν=3\nu = 3.

    Answer. P3(x)=5x3−3x2P_3(x) = \frac{5x^3 - 3x}{2}.

    Your answerUsing P4(x)=35x4−30x2+38P_4(x) = \frac{35x^4 - 30x^2 + 3}{8}, what is P4 ⁣(12)P_4\!\left(\frac12\right)? (A fraction.)

    Orthogonality

    Now the property that makes Legendre polynomials useful. Use the inner product ⟨f,g⟩=∫−11f(x)g(x) dx\langle f, g \rangle = \int_{-1}^{1}f(x)g(x)\,dx of 2.9. Legendre’s equation can be written ((1−x2)y′)′=−ν(ν+1)y\big((1 - x^2)y'\big)' = -\nu(\nu+1)y, which says that yy is an eigenvector of the operator T(y)=((1−x2)y′)′T(y) = \big((1 - x^2)y'\big)' with eigenvalue −ν(ν+1)-\nu(\nu+1). That operator is symmetric in the sense of 3.1, and eigenvectors for different eigenvalues of a symmetric operator are orthogonal (3.1). The proof below is that argument written for this operator.

    Theorem A Apostol 6.19 and 6.20

    Orthogonality of the Legendre polynomials

    For non-negative integers m≠nm \ne n: ∫−11PmPn dx=0\int_{-1}^{1}P_mP_n\,dx = 0. For every nn: ∫−11Pn2 dx=22n+1\int_{-1}^{1}P_n^2\,dx = \frac{2}{2n+1}.

    In one line∫−11Pm(x)Pn(x) dx=0\int_{-1}^{1}P_m(x)P_n(x)\,dx = 0 for m≠nm \ne n, and ∫−11Pn(x)2 dx=22n+1\int_{-1}^{1}P_n(x)^2\,dx = \dfrac{2}{2n+1}.

    Why it is trueEach PnP_n is an eigenvector of the symmetric operator y↦((1−x2)y′)′y \mapsto ((1-x^2)y')' with eigenvalue −n(n+1)-n(n+1). The eigenvalues for different nn are different, and the boundary terms of integration by parts vanish because 1−x2=01 - x^2 = 0 at ±1\pm1.

    ProofApostol 6.19 and 6.20
    The idea: Write Legendre's equation for P_m and P_n in the form (p y')' = -lambda y, multiply by the other polynomial, subtract and integrate. The left side integrates to boundary terms that vanish. For the norm, integrate Rodrigues' formula by parts n times.
    ((1−x2)Pn′)′=−n(n+1)Pn\big((1-x^2)P_n'\big)' = -n(n+1)P_n and ((1−x2)Pm′)′=−m(m+1)Pm\big((1-x^2)P_m'\big)' = -m(m+1)P_m.
    Legendre's equation is ((1−x2)y′)′=−ν(ν+1)y\big((1 - x^2)y'\big)' = -\nu(\nu+1)y, because ((1−x2)y′)′=(1−x2)y′′−2xy′\big((1-x^2)y'\big)' = (1-x^2)y'' - 2xy'. Use it for PmP_m with ν=m\nu = m and for PnP_n with ν=n\nu = n.
    Pm((1−x2)Pn′)′−Pn((1−x2)Pm′)′=[m(m+1)−n(n+1)]PmPnP_m\big((1-x^2)P_n'\big)' - P_n\big((1-x^2)P_m'\big)' = \big[m(m+1) - n(n+1)\big]P_mP_n.
    Multiply the first equation by PmP_m, the second by PnP_n, and subtract. The right sides give [m(m+1)−n(n+1)]PmPn\big[m(m+1) - n(n+1)\big]P_mP_n.
    The left side equals ddx[(1−x2)(PmPn′−PnPm′)]\dfrac{d}{dx}\Big[(1 - x^2)\big(P_mP_n' - P_nP_m'\big)\Big].
    The left side is the derivative of (1−x2)(PmPn′−PnPm′)(1-x^2)(P_mP_n' - P_nP_m'): expand the derivative, the terms Pm′(1−x2)Pn′P_m'(1-x^2)P_n' cancel in pairs.This is the picture of a symmetric operator: moving the derivative from one function to the other costs only a boundary term.
    So [m(m+1)−n(n+1)]∫−11PmPn dx=[(1−x2)(⋯ )]−11=0\big[m(m+1) - n(n+1)\big]\displaystyle\int_{-1}^{1}P_mP_n\,dx = \Big[(1-x^2)(\cdots)\Big]_{-1}^{1} = 0.
    Integrate from −1-1 to 11. The bracket contains the factor 1−x21 - x^2, which is 00 at both ends, and the polynomials are finite there.
    For m≠nm \ne n: ∫−11PmPn dx=0\int_{-1}^{1}P_mP_n\,dx = 0.
    m(m+1)=n(n+1)m(m+1) = n(n+1) means (m−n)(m+n+1)=0(m - n)(m + n + 1) = 0, and m+n+1>0m + n + 1 > 0. So for m≠nm \ne n the bracket is non-zero and can be divided out.
    ∫−11Pn2 dx=1(2nn!)2∫−11w(n)w(n) dx=(−1)n(2nn!)2∫−11w w(2n) dx\displaystyle\int_{-1}^{1}P_n^2\,dx = \frac{1}{(2^nn!)^2}\int_{-1}^{1}w^{(n)}w^{(n)}\,dx = \frac{(-1)^n}{(2^nn!)^2}\int_{-1}^{1}w\,w^{(2n)}\,dx.
    For the norm write Pn=12nn!w(n)P_n = \frac{1}{2^nn!}w^{(n)} with w=(x2−1)nw = (x^2-1)^n and integrate by parts nn times, moving one derivative at a time from one factor to the other. Each boundary term contains some w(k)w^{(k)} with k<nk < n at ±1\pm1, and these vanish because ww has a zero of order nn at ±1\pm 1.
    =(2n)!(2nn!)2∫−11(1−x2)n dx= \dfrac{(2n)!}{(2^nn!)^2}\displaystyle\int_{-1}^{1}(1-x^2)^n\,dx.
    ww is a polynomial of degree 2n2n with leading coefficient 11, so w(2n)=(2n)!w^{(2n)} = (2n)!. Also (−1)nw=(1−x2)n(-1)^nw = (1-x^2)^n.
    (2n+1)In=2nIn−1(2n+1)I_n = 2nI_{n-1}, so In=22n+1(n!)2(2n+1)!I_n = \dfrac{2^{2n+1}(n!)^2}{(2n+1)!}.
    Let In=∫−11(1−x2)ndxI_n = \int_{-1}^{1}(1-x^2)^n dx. Integrate by parts with u=(1−x2)nu = (1-x^2)^n, dv=dxdv = dx: the boundary term vanishes and In=2n∫x2(1−x2)n−1dx=2n (In−1−In)I_n = 2n\int x^2(1-x^2)^{n-1}dx = 2n\,(I_{n-1} - I_n), because x2=1−(1−x2)x^2 = 1 - (1 - x^2). Solve for InI_n and start from I0=2I_0 = 2.
    So ∫−11Pn2 dx=22n+1\displaystyle\int_{-1}^{1}P_n^2\,dx = \dfrac{2}{2n+1}.
    Multiply the two constants: (2n)!(2nn!)2⋅22n+1(n!)2(2n+1)!=2 (2n)!(2n+1)!=22n+1\frac{(2n)!}{(2^nn!)^2}\cdot\frac{2^{2n+1}(n!)^2}{(2n+1)!} = \frac{2\,(2n)!}{(2n+1)!} = \frac{2}{2n+1}. ■\blacksquare

    In the picture above: for m=1m = 1, n=2n = 2 the product of an odd and an even function is odd, and it cancels by symmetry. For m=1m = 1, n=3n = 3 or m=2m = 2, n=4n = 4 the product is even, so nothing cancels by symmetry: the areas above and below the axis are equal for a reason that comes from the argument above.

    Proof workshopRebuild: Legendre polynomials of different degree are orthogonalApostol 6.19

    Each line of the proof is shown in order. Choose the reason that justifies it, then press Check.

    1. ((1−x2)Pn′)′=−n(n+1)Pn\big((1-x^2)P_n'\big)' = -n(n+1)P_n and ((1−x2)Pm′)′=−m(m+1)Pm\big((1-x^2)P_m'\big)' = -m(m+1)P_m.
    2. Pm((1−x2)Pn′)′−Pn((1−x2)Pm′)′=[m(m+1)−n(n+1)]PmPnP_m\big((1-x^2)P_n'\big)' - P_n\big((1-x^2)P_m'\big)' = \big[m(m+1) - n(n+1)\big]P_mP_n.
    3. The left side equals ddx[(1−x2)(PmPn′−PnPm′)]\frac{d}{dx}\big[(1-x^2)(P_mP_n' - P_nP_m')\big].
    4. Integrating from −1-1 to 11, the left side gives 00.
    5. So [m(m+1)−n(n+1)]∫−11PmPn dx=0\big[m(m+1) - n(n+1)\big]\int_{-1}^{1}P_mP_n\,dx = 0, and the bracket is non-zero when m≠nm \ne n.
    Quick checkWhich of these integrals is NOT zero?
    Your answerWhat is ∫−11P3(x)2 dx\int_{-1}^{1}P_3(x)^2\,dx? (A fraction.)
    Corollary A Apostol 6.20 (properties list)

    Expansion in Legendre polynomials

    (a) If qq is a polynomial of degree less than nn then ∫−11Pnq dx=0\int_{-1}^{1}P_nq\,dx = 0. (b) If ff is a polynomial of degree at most NN, then f=∑k=0NckPkf = \sum_{k=0}^{N}c_kP_k with ck=2k+12∫−11f(x)Pk(x) dxc_k = \frac{2k+1}{2}\int_{-1}^{1}f(x)P_k(x)\,dx.

    In one linePnP_n is orthogonal to every polynomial of degree less than nn. A polynomial ff of degree at most NN equals ∑k=0NckPk\sum_{k=0}^{N}c_kP_k with ck=2k+12∫−11fPk dxc_k = \frac{2k+1}{2}\int_{-1}^{1}fP_k\,dx.

    Why it is trueP0,…,PNP_0, \dots, P_{N} have degrees 0,…,N0, \dots, N, so they are a basis of the polynomials of degree at most NN. Taking the inner product of f=∑cjPjf = \sum c_jP_j with PkP_k kills every term but one.

    ProofApostol 6.20
    The idea: Change basis from powers of x to Legendre polynomials, then use orthogonality.
    A polynomial qq of degree below nn is a combination q=∑k<ndkPkq = \sum_{k<n}d_kP_k.
    PkP_k has degree exactly kk, so P0,…,Pn−1P_0, \dots, P_{n-1} are nn independent polynomials in the nn-dimensional space of polynomials of degree below nn, hence a basis (2.2).
    So ∫Pnq=∑k<ndk∫PnPk=0\int P_nq = \sum_{k<n}d_k\int P_nP_k = 0. This is (a).
    Linearity of the integral and orthogonality of PnP_n to PkP_k for k<nk < n.
    ∫fPk=ck⋅22k+1\int fP_k = c_k\cdot\frac{2}{2k+1}, so ck=2k+12∫fPkc_k = \frac{2k+1}{2}\int fP_k. ■\blacksquare
    The same basis argument for degree at most NN gives f=∑j≤NcjPjf = \sum_{j \le N}c_jP_j for some numbers cjc_j. Multiply by PkP_k and integrate: orthogonality leaves only j=kj = k, and the norm formula gives ∫Pk2=22k+1\int P_k^2 = \frac{2}{2k+1}.

    This also says what the Legendre polynomials are in the language of 2.9. Run the Gram–Schmidt process on 1,x,x2,…1, x, x^2, \dots with the inner product ∫−11fg dx\int_{-1}^{1}fg\,dx. The nn-th output is a polynomial of degree nn orthogonal to all lower degrees, and by part (a) so is PnP_n. Such a polynomial is unique up to a constant multiple, so Gram–Schmidt produces PnP_n up to a scale. (If you never rescale, Gram–Schmidt on 1,x,x2,…1, x, x^2, \dots gives the version with leading coefficient 11, while Rodrigues’ formula gives the version with value 11 at x=1x = 1.)

    Worked example Apostol 6.20; new numbers
    Expand x² in Legendre polynomials, and check the answer at x = 1.

    Solution.

    1. Choose the range of kk. x2x^2 has degree 22, so ck=0c_k = 0 for k>2k > 2. By part (a): ∫x2Pk=0\int x^2P_k = 0 when deg⁡x2<k\deg x^2 < k.
    2. Compute c0c_0. c0=12∫−11x2 dx=12⋅23=13c_0 = \frac12\int_{-1}^{1}x^2\,dx = \frac12\cdot\frac23 = \frac13. P0=1P_0 = 1 and the formula with k=0k = 0.
    3. Compute c1c_1. x2P1=x3x^2P_1 = x^3 is odd, so c1=0c_1 = 0. An odd function integrates to 00 over [−1,1][-1, 1].
    4. Compute c2c_2. c2=52∫−11x2⋅3x2−12 dx=54(3⋅25−23)=54⋅815=23c_2 = \frac52\int_{-1}^{1}x^2\cdot\frac{3x^2 - 1}{2}\,dx = \frac54\left(3\cdot\frac25 - \frac23\right) = \frac54\cdot\frac{8}{15} = \frac23. ∫x4=25\int x^4 = \frac25 and ∫x2=23\int x^2 = \frac23 over [−1,1][-1, 1].
    5. Assemble and check. x2=13P0+23P2=13+3x2−13x^2 = \frac13P_0 + \frac23P_2 = \frac13 + \frac{3x^2 - 1}{3}. At x=1x = 1 the right side is 13+23=1\frac13 + \frac23 = 1. Pn(1)=1P_n(1) = 1 for every nn, so the coefficients must add up to f(1)f(1).

    Answer. x2=13P0(x)+23P2(x)x^2 = \frac13P_0(x) + \frac23P_2(x).

    Beyond the course: for understanding· B: why physics only uses integer ν

    For ν\nu not an integer, neither the even nor the odd series stops. The ratio of consecutive coefficients in a chain is an+2an=1−2n+O(n−2)\frac{a_{n+2}}{a_n} = 1 - \frac2n + O(n^{-2}), so the coefficients behave like 1n\frac1n, as in the harmonic series, and ∑an\sum a_n diverges at x=±1x = \pm1. In fact the solutions are unbounded there (like ln⁡(1−x)\ln(1 - x)). When Legendre’s equation comes from a problem on a sphere, x=cos⁡θx = \cos\theta and the points x=±1x = \pm1 are the north and south poles, where the answer must be finite. That forces ν=0,1,2,…\nu = 0, 1, 2, \dots, and the allowed angular patterns are exactly the Legendre polynomials. A sketch of the divergence is problem S1 below.

    Regular singular points and the Frobenius method

    Bessel’s equation x2y′′+xy′+(x2−ν2)y=0x^2y'' + xy' + (x^2 - \nu^2)y = 0 has p(x)=1xp(x) = \frac1x and q(x)=1−ν2x2q(x) = 1 - \frac{\nu^2}{x^2}, which are infinite at x=0x = 0. So 00 is a singular point, and the theorem of this chapter says nothing there. Yet the infinity is mild: x p(x)x\,p(x) and x2q(x)x^2q(x) are fine. That is the pattern to isolate.

    Definition A

    Regular singular point

    A singular point x0x_0 of (∗)(\ast) is regular if (x−x0) p(x)(x - x_0)\,p(x) and (x−x0)2 q(x)(x - x_0)^2\,q(x) are both analytic around x0x_0. Equivalently, the equation can be written

    (x−x0)2 y′′+(x−x0) P(x) y′+Q(x) y=0,P,Q analytic around x0,(x - x_0)^2\,y'' + (x - x_0)\,P(x)\,y' + Q(x)\,y = 0, \qquad P, Q \text{ analytic around } x_0,

    with P=(x−x0)pP = (x - x_0)p and Q=(x−x0)2qQ = (x - x_0)^2q. A singular point that is not regular is irregular. From now on x0=0x_0 = 0 (shift the variable otherwise), and P=∑pnxnP = \sum p_nx^n, Q=∑qnxnQ = \sum q_nx^n.

    In one lineA singular point x0x_0 of y′′+py′+qy=0y'' + py' + qy = 0 where (x−x0)p(x)(x - x_0)p(x) and (x−x0)2q(x)(x - x_0)^2q(x) are analytic. Any other singular point is irregular.

    Why it existsIt marks the singular points where the equation is close to an Euler equation, and so a power xsx^s times a series can still solve it.

    The simplest equation of this type has P≡p0P \equiv p_0 and Q≡q0Q \equiv q_0 constant. It is the Euler equation x2y′′+p0xy′+q0y=0x^2y'' + p_0xy' + q_0y = 0, and the guess y=xsy = x^s gives xs[s(s−1)+p0s+q0]=0x^s\big[s(s-1) + p_0s + q_0\big] = 0. This is the origin of the next definition.

    Definition A

    Indicial equation

    The indicial equation of the regular singular point 00 is F(s)=s(s−1)+p0s+q0=0F(s) = s(s-1) + p_0s + q_0 = 0, that is s2+(p0−1)s+q0=0s^2 + (p_0 - 1)s + q_0 = 0. Its roots α1,α2\alpha_1, \alpha_2 (with α1≥α2\alpha_1 \ge \alpha_2 if real) are the indicial roots. Note that α1+α2=1−p0\alpha_1 + \alpha_2 = 1 - p_0.

    In one lineFor x2y′′+xP(x)y′+Q(x)y=0x^2y'' + xP(x)y' + Q(x)y = 0 with P(0)=p0P(0) = p_0 and Q(0)=q0Q(0) = q_0: the quadratic F(s)=s(s−1)+p0s+q0=0F(s) = s(s-1) + p_0s + q_0 = 0. Its roots are the possible starting exponents ss of a Frobenius series.

    Why it existsIt is the characteristic equation of the Euler equation that the real equation resembles near 00. It tells you which power of xx the solution begins with.

    Definition A

    Frobenius series

    A Frobenius series is a function of the form y=xs∑n=0∞anxny = x^s\sum_{n=0}^{\infty}a_nx^n with a0≠0a_0 \ne 0. For s=0,1,2,…s = 0, 1, 2, \dots it is an ordinary power series.

    In one lineA function xs∑n≥0anxnx^s\sum_{n \ge 0}a_nx^n with a0≠0a_0 \ne 0, defined for x>0x > 0 (use ∣x∣s\lvert x \rvert^s for x<0x < 0). The exponent ss need not be a whole number.

    Why it existsThe factor xsx^s carries the singular behaviour at 00, and the power series carries the rest.

    Theorem A Apostol 6.22 and 6.23 (the computation is done there for Bessel's equation)

    The Frobenius recurrence

    Let P=∑pnxnP = \sum p_nx^n and Q=∑qnxnQ = \sum q_nx^n near 00. A Frobenius series y=xs∑anxny = x^s\sum a_nx^n with a0=1a_0 = 1 solves x2y′′+xPy′+Qy=0x^2y'' + xPy' + Qy = 0 on an interval (0,r)(0, r) if and only if F(s)=0F(s) = 0 and for all n≥1n \ge 1

    F(s+n) an=−∑k=0n−1[(s+k) pn−k+qn−k]ak.(F)F(s + n)\,a_n = -\sum_{k=0}^{n-1}\Big[(s + k)\,p_{n-k} + q_{n-k}\Big]a_k . \tag{F}

    In one lineThe Frobenius series xs∑anxnx^s\sum a_nx^n with a0=1a_0 = 1 solves x2y′′+xPy′+Qy=0x^2y'' + xPy' + Qy = 0 exactly when F(s)=0F(s) = 0 and, for every n≥1n \ge 1, F(s+n) an=−∑k=0n−1[(s+k)pn−k+qn−k]akF(s+n)\,a_n = -\sum_{k=0}^{n-1}\big[(s+k)p_{n-k} + q_{n-k}\big]a_k.

    Why it is trueEach power xs+kx^{s+k} is sent to a multiple of itself by the part x2y′′+p0xy′+q0yx^2y'' + p_0xy' + q_0y, namely F(s+k)xs+kF(s+k)x^{s+k}, and the remaining terms of PP and QQ push contributions to higher powers. So the coefficients can be solved one at a time.

    ProofApostol 6.23
    The idea: Apply the operator to one term x^(s+k), expand P and Q as series, collect the coefficient of x^(s+n), and set each to zero.
    For one term, x2(xs+k)′′+xP (xs+k)′+Q xs+k=xs+k[(s+k)(s+k−1)+(s+k)∑jpjxj+∑jqjxj]x^2(x^{s+k})'' + xP\,(x^{s+k})' + Q\,x^{s+k} = x^{s+k}\Big[(s+k)(s+k-1) + (s+k)\sum_jp_jx^j + \sum_jq_jx^j\Big].
    For a power xmx^m: x2(xm)′′=m(m−1)xmx^2(x^m)'' = m(m-1)x^m and x(xm)′=mxmx(x^m)' = mx^m. With P=∑pjxjP = \sum p_jx^j and Q=∑qjxjQ = \sum q_jx^j this gives the expression on the right.
    The coefficient of xs+nx^{s+n} in the result is an[(s+n)(s+n−1)+(s+n)p0+q0]+∑k<n[(s+k)pn−k+qn−k]aka_n\big[(s+n)(s+n-1) + (s+n)p_0 + q_0\big] + \sum_{k<n}\big[(s+k)p_{n-k} + q_{n-k}\big]a_k.
    Sum over kk with coefficients aka_k, and collect the power xs+nx^{s+n}: it comes from k=nk = n with j=0j = 0 and from k<nk < n with j=n−kj = n - k. Term-by-term differentiation is allowed inside the radius of convergence.
    So F(s+n)an+∑k<n[⋯ ]ak=0F(s+n)a_n + \sum_{k<n}[\cdots]a_k = 0 for every n≥0n \ge 0.
    The bracket in front of ana_n is F(s+n)F(s+n) by the definition of FF. Matching coefficients: each must be 00. For n=0n = 0 there is no sum and a0≠0a_0 \ne 0, so F(s)=0F(s) = 0. For n≥1n \ge 1 solve for F(s+n)anF(s+n)a_n. ■\blacksquare

    (F) can be solved for ana_n whenever F(s+n)≠0F(s + n) \ne 0. Now see what that means for each root. Write F(s)=(s−α1)(s−α2)F(s) = (s - \alpha_1)(s - \alpha_2) with α1≥α2\alpha_1 \ge \alpha_2. Then

    F(α1+n)=n (n+α1−α2)≠0(n≥1),F(α2+n)=n (n−(α1−α2)).F(\alpha_1 + n) = n\,(n + \alpha_1 - \alpha_2) \ne 0 \quad (n \ge 1), \qquad F(\alpha_2 + n) = n\,(n - (\alpha_1 - \alpha_2)).

    The larger root α1\alpha_1 always works: (F) can be solved for every nn. The smaller root α2\alpha_2 fails at n=Nn = N exactly when α1−α2=N\alpha_1 - \alpha_2 = N is a positive whole number. That is the origin of the three cases.

    Theorem A Apostol 6.22 (Theorems 6.14 and 6.15); Frobenius 1873

    The Frobenius theorem

    Let 00 be a regular singular point, with P,QP, Q analytic on (−r,r)(-r, r), and let α1≥α2\alpha_1 \ge \alpha_2 be the indicial roots (if they are complex, see below). For 0<x<r0 < x < r:

    1. α1−α2\alpha_1 - \alpha_2 not a whole number. There are two independent solutions u1=xα1∑anxnu_1 = x^{\alpha_1}\sum a_nx^n and u2=xα2∑bnxnu_2 = x^{\alpha_2}\sum b_nx^n, with a0=b0=1a_0 = b_0 = 1.
    2. α1=α2\alpha_1 = \alpha_2. There is u1=xα1∑anxnu_1 = x^{\alpha_1}\sum a_nx^n and a second solution u2=u1ln⁡x+xα1∑bnxnu_2 = u_1\ln x + x^{\alpha_1}\sum b_nx^n.
    3. α1−α2=N\alpha_1 - \alpha_2 = N, a positive whole number. There is u1=xα1∑anxnu_1 = x^{\alpha_1}\sum a_nx^n and a second solution u2=C u1ln⁡x+xα2∑bnxnu_2 = C\,u_1\ln x + x^{\alpha_2}\sum b_nx^n with b0=1b_0 = 1, where the constant CC may or may not be 00.

    The series converge for ∣x∣<r\lvert x \rvert < r. (Complex roots α±iβ\alpha \pm i\beta differ by 2iβ2i\beta, which is not a whole number, so case 1 applies; real solutions are the real and imaginary parts of xα+iβ∑anxnx^{\alpha+i\beta}\sum a_nx^n.)

    In one lineAt a regular singular point with indicial roots α1≥α2\alpha_1 \ge \alpha_2, the larger root always gives a Frobenius series solution u1u_1. If α1−α2\alpha_1 - \alpha_2 is not a whole number, the smaller root gives a second one. If the roots are equal, or differ by a whole number, a second solution contains u1ln⁡xu_1\ln x.

    Why it is trueThe recurrence (F) can be solved for the smaller root unless F(α2+N)=0F(\alpha_2 + N) = 0 for some N≥1N \ge 1. When it fails, the second solution needs a logarithm, as the reduction-of-order computation below shows.

    The theorem is stated without a full proof here, as in Apostol, who refers to Coddington and Hille for the convergence argument (a majorant argument like the proof of the ordinary-point theorem). The recurrence (F) shows how u1u_1 is built and why the three cases arise. What (F) does not show is that the series converge on the whole interval, which the references prove, and why the second solution carries a logarithm, which is explained now. For Bessel’s equation the convergence is checked directly below.

    Why· Why a logarithm appears exactly when the roots differ by a whole number

    Use Abel’s formula of 7.3. Any two solutions of y′′+py′+qy=0y'' + py' + qy = 0 have Wronskian W=c e−∫pW = c\,e^{-\int p}. Here p=p0x+(series)p = \frac{p_0}{x} + (\text{series}), so W=c x−p0(1+e1x+⋯ )W = c\,x^{-p_0}(1 + e_1x + \cdots). If u1=xα1(1+⋯ )u_1 = x^{\alpha_1}(1 + \cdots) is known, reduction of order gives a second solution u2=u1∫Wu12 dxu_2 = u_1\int\frac{W}{u_1^2}\,dx. Insert WW and u1u_1, and use −p0=α1+α2−1-p_0 = \alpha_1 + \alpha_2 - 1:

    Wu12=c xα2−α1−1(1+d1x+d2x2+⋯).\frac{W}{u_1^2} = c\,x^{\alpha_2 - \alpha_1 - 1}\big(1 + d_1x + d_2x^2 + \cdots\big).

    Integrate term by term. The term djxα2−α1−1+jd_jx^{\alpha_2-\alpha_1-1+j} integrates to a power xα2−α1+j/(α2−α1+j)x^{\alpha_2-\alpha_1+j}/(\alpha_2 - \alpha_1 + j), unless the exponent α2−α1−1+j\alpha_2 - \alpha_1 - 1 + j equals −1-1, in which case the integral is djln⁡xd_j\ln x. That happens for some j≥0j \ge 0 exactly when α1−α2=j\alpha_1 - \alpha_2 = j is a whole number. If the roots are equal, j=0j = 0 and d0=1≠0d_0 = 1 \ne 0, so the logarithm is unavoidable. If they differ by N>0N > 0, the logarithm has the coefficient dNd_N, which may happen to be 00. That is the constant CC of the theorem. The powers that remain, times u1u_1, form xα2∑bnxnx^{\alpha_2}\sum b_nx^n.

    Worked example Apostol 6.22; new
    Find and classify the singular points at x = 0 of: x²y'' + 3xy' + y = 0; x²y'' + xy' + (x² − 4)y = 0; x²y'' + y' + y = 0; and at x = 1 of Legendre's equation.

    Solution.

    EquationPP, QQ (standard form)p0p_0, q0q_0Indicial polynomial F(s)F(s)Type
    x2y′′+3xy′+y=0x^2y'' + 3xy' + y = 0P=3P = 3, Q=1Q = 133, 11s2+2s+1=(s+1)2s^2 + 2s + 1 = (s+1)^2regular, equal roots −1,−1-1, -1
    x2y′′+xy′+(x2−4)y=0x^2y'' + xy' + (x^2 - 4)y = 0P=1P = 1, Q=x2−4Q = x^2 - 411, −4-4s2−4s^2 - 4regular, roots 2,−22, -2 (differ by 44)
    x2y′′+y′+y=0x^2y'' + y' + y = 0xP=1xP = 1 gives P=1xP = \frac1xnonenoneirregular
    Legendre at x=1x = 1P=2x1+xP = \frac{2x}{1+x}, Q=−(x−1)ν(ν+1)1+xQ = -\frac{(x-1)\nu(\nu+1)}{1+x}11, 00s(s−1)+s=s2s(s-1) + s = s^2regular, equal roots 0,00, 0
    1. Put the equation in standard form. Divide so that y′′y'' has coefficient x2x^2, then read off xPxP as the coefficient of y′y' and QQ as the coefficient of yy. The indicial equation is stated for x2y′′+xPy′+Qy=0x^2y'' + xPy' + Qy = 0. A common mistake is to read p0p_0 off the original coefficient of y′y'.
    2. Test analyticity. In the third row the coefficient of y′y' is 1=xP1 = xP, so P=1xP = \frac1x, which is not analytic at 00: irregular. An irregular singular point has no indicial equation, and power series methods may fail (see the traps).
    3. Legendre at x=1x = 1. Use the variable x−1x - 1. With p=−2x1−x2p = \frac{-2x}{1-x^2} we get (x−1)p=2x1+x(x - 1)p = \frac{2x}{1+x}, and with q=ν(ν+1)1−x2q = \frac{\nu(\nu+1)}{1-x^2} we get (x−1)2q=−(x−1)ν(ν+1)1+x(x-1)^2q = -\frac{(x-1)\nu(\nu+1)}{1+x}. At x=1x = 1: p0=1p_0 = 1, q0=0q_0 = 0. Both are analytic at 11 (the denominator 1+x1 + x is 22 there), so 11 is a regular singular point.
    4. Read the consequence. Equal indicial roots mean case 2: Legendre’s equation has one solution analytic at x=1x = 1 (the series in powers of x−1x - 1) and a second with ln⁡(x−1)\ln(x - 1). That second solution is the one that is unbounded at the pole. This matches the box on non-integer ν\nu.

    Answer. As in the table.

    Quick checkWhat is the indicial equation of the Euler equation x2y′′+2xy′−6y=0x^2y'' + 2xy' - 6y = 0?
    Worked example Apostol 6.22 style; new numbers
    Case 1: solve 2xy'' + y' − y = 0 for x > 0 by the Frobenius method.

    Solution.

    1. Standard form. Multiply by x2\frac x2: x2y′′+x2 y′−x2 y=0x^2y'' + \frac x2\,y' - \frac x2\,y = 0. So P=12P = \frac12 and Q=−x2Q = -\frac x2, giving p0=12p_0 = \frac12, q0=0q_0 = 0, q1=−12q_1 = -\frac12, and all other pn,qnp_n, q_n equal 00. Read PP and QQ off the standard form.
    2. Indicial equation. F(s)=s(s−1)+s2=s(s−12)F(s) = s(s-1) + \frac s2 = s\left(s - \frac12\right), with roots α1=12\alpha_1 = \frac12 and α2=0\alpha_2 = 0. They differ by 12\frac12, not a whole number: case 1, two Frobenius series.
    3. Recurrence. Only q1q_1 is non-zero, so (F) reads F(s+n)an=−q1an−1=12an−1F(s+n)a_n = -q_1a_{n-1} = \frac12a_{n-1}. The sum in (F) has only the term k=n−1k = n - 1, with qn−k=q1q_{n-k} = q_1.
    4. Root s=0s = 0. F(n)=n(n−12)F(n) = n\left(n - \frac12\right), so an=an−1n(2n−1)a_n = \frac{a_{n-1}}{n(2n-1)}: a1=1a_1 = 1, a2=16a_2 = \frac16, a3=190a_3 = \frac1{90}. n(n−12)an=12an−1n\left(n - \frac12\right)a_n = \frac12a_{n-1}; multiply by 22.
    5. Root s=12s = \frac12. F(12+n)=(n+12)nF\left(\frac12 + n\right) = \left(n + \frac12\right)n, so an=an−1n(2n+1)a_n = \frac{a_{n-1}}{n(2n+1)}: a1=13a_1 = \frac13, a2=130a_2 = \frac1{30}. Same computation with the other exponent.
    6. Recognise the sums. u2=1+x+x26+x390+⋯=cosh⁡2xu_2 = 1 + x + \frac{x^2}{6} + \frac{x^3}{90} + \cdots = \cosh\sqrt{2x} and x1/2(1+x3+x230+⋯ )=sinh⁡2x2x^{1/2}\left(1 + \frac x3 + \frac{x^2}{30} + \cdots\right) = \frac{\sinh\sqrt{2x}}{\sqrt2}. Expand cosh⁡t=∑t2n(2n)!\cosh t = \sum\frac{t^{2n}}{(2n)!} and sinh⁡t=∑t2n+1(2n+1)!\sinh t = \sum\frac{t^{2n+1}}{(2n+1)!} with t=2xt = \sqrt{2x}: the coefficients of xnx^n are 2n(2n)!\frac{2^n}{(2n)!} and 2n(2n+1)!\frac{2^n}{(2n+1)!}, the values above.
    7. Check one by hand. For y=cosh⁡2xy = \cosh\sqrt{2x}: y′=sinh⁡2x2xy' = \frac{\sinh\sqrt{2x}}{\sqrt{2x}} and y′′=cosh⁡2x2x−sinh⁡2x(2x)3/2y'' = \frac{\cosh\sqrt{2x}}{2x} - \frac{\sinh\sqrt{2x}}{(2x)^{3/2}}. Then 2xy′′+y′−y=cosh⁡2x−sinh⁡2x2x+sinh⁡2x2x−cosh⁡2x=02xy'' + y' - y = \cosh\sqrt{2x} - \frac{\sinh\sqrt{2x}}{\sqrt{2x}} + \frac{\sinh\sqrt{2x}}{\sqrt{2x}} - \cosh\sqrt{2x} = 0. Substitution is the final check.

    Answer. y=Acosh⁡2x+Bsinh⁡2xy = A\cosh\sqrt{2x} + B\sinh\sqrt{2x} for x>0x > 0.

    Your answerThe Frobenius series for 2xy′′+y′−y=02xy'' + y' - y = 0 at the root s=0s = 0 has an=an−1n(2n−1)a_n = \frac{a_{n-1}}{n(2n-1)} with a0=1a_0 = 1. What is a3a_3? (A fraction.)

    Bessel’s equation

    Definition A

    Bessel function

    For a whole number n≥0n \ge 0 the Bessel function of the first kind and order nn is the series above. The case n=0n = 0 is

    J0(x)=∑k=0∞(−1)k(k!)2(x2)2k=1−x24+x464−x62304+⋯ .J_0(x) = \sum_{k=0}^{\infty}\frac{(-1)^k}{(k!)^2}\left(\frac x2\right)^{2k} = 1 - \frac{x^2}{4} + \frac{x^4}{64} - \frac{x^6}{2304} + \cdots .

    (For orders that are not whole numbers, (k+n)!(k+n)! is replaced by the gamma function; see the box below.)

    In one lineJn(x)=∑k≥0(−1)kk! (k+n)!(x2)2k+nJ_n(x) = \sum_{k \ge 0}\dfrac{(-1)^k}{k!\,(k+n)!}\left(\dfrac x2\right)^{2k+n}, the solution of Bessel's equation x2y′′+xy′+(x2−n2)y=0x^2y'' + xy' + (x^2 - n^2)y = 0 that is finite at x=0x = 0 (for n=0,1,2,…n = 0, 1, 2, \dots).

    Why it existsBessel's equation is what the wave equation becomes in polar coordinates, so JnJ_n describes the shape of a vibrating drumhead and of waves in a cylinder.

    Theorem A Apostol 6.23

    J0 solves Bessel's equation of order zero

    For x2y′′+xy′+x2y=0x^2y'' + xy' + x^2y = 0: the point 00 is regular singular with F(s)=s2F(s) = s^2. The Frobenius series for s=0s = 0 is J0(x)J_0(x), which converges for all xx, satisfies J0(0)=1J_0(0) = 1, and is an even function. Every solution that is not a multiple of J0J_0 is unbounded as x→0+x \to 0^+.

    In one lineThe series J0J_0 converges for every real xx and solves x2y′′+xy′+x2y=0x^2y'' + xy' + x^2y = 0. The indicial equation is s2=0s^2 = 0 (a double root), so a second solution contains ln⁡x\ln x.

    Why it is trueBessel's equation has a regular singular point at 00 with p0=1p_0 = 1 and q0=0q_0 = 0 (order zero). The recurrence n2an=−an−2n^2a_n = -a_{n-2} links every second coefficient, and the factorials make the series converge everywhere.

    ProofApostol 6.23
    The idea: Read P and Q off the equation, apply the Frobenius recurrence, solve it, and apply the ratio test. For the unboundedness use Abel's formula.
    F(s)=s(s−1)+s=s2F(s) = s(s-1) + s = s^2. Double root s=0s = 0.
    Standard form: the equation already has the form x2y′′+xPy′+Qy=0x^2y'' + xPy' + Qy = 0 with P=1P = 1 and Q=x2Q = x^2. So p0=1p_0 = 1, q2=1q_2 = 1, and all other pn,qnp_n, q_n are 00.
    F(1)a1=0F(1)a_1 = 0, so a1=0a_1 = 0; and n2an=−an−2n^2a_n = -a_{n-2} for n≥2n \ge 2.
    (F) with s=0s = 0. For n=1n = 1 the sum has only k=0k = 0 and the coefficients p1,q1p_1, q_1 are 00. For n≥2n \ge 2 the only non-zero term in the sum is k=n−2k = n - 2, with q2=1q_2 = 1.
    With a0=1a_0 = 1: y=∑k≥0(−1)k4k(k!)2x2k=J0(x)y = \sum_{k \ge 0}\frac{(-1)^k}{4^k(k!)^2}x^{2k} = J_0(x).
    Odd coefficients all vanish because a1=0a_1 = 0. For even indices, a2k=−a2k−2(2k)2=−a2k−24k2a_{2k} = -\frac{a_{2k-2}}{(2k)^2} = -\frac{a_{2k-2}}{4k^2}, so by induction a2k=(−1)k4k(k!)2a_{2k} = \frac{(-1)^k}{4^k(k!)^2}.
    The series converges for all xx.
    Ratio test: ∣a2k+2x2k+2a2kx2k∣=x24(k+1)2→0\left\lvert\frac{a_{2k+2}x^{2k+2}}{a_{2k}x^{2k}}\right\rvert = \frac{x^2}{4(k+1)^2} \to 0 for every fixed xx, so the radius of convergence is infinite.
    So u=J0∫c dxxJ02=cJ0ln⁡x+(bounded)u = J_0\int\frac{c\,dx}{xJ_0^2} = cJ_0\ln x + (\text{bounded}) near 00, and ∣u∣→∞\lvert u \rvert \to \infty unless c=0c = 0. ■\blacksquare
    Abel's formula (7.3): in standard form y′′+1xy′+y=0y'' + \frac1xy' + y = 0 has p=1xp = \frac1x, so any Wronskian is cx\frac cx. For a second solution uu this gives (u/J0)′=WJ02=cxJ02(u/J_0)' = \frac{W}{J_0^2} = \frac{c}{xJ_0^2} near 00, where J0≠0J_0 \ne 0. As J0(x)→1J_0(x) \to 1, the right side is about cx\frac cx.

    The unbounded second solution is a combination of J0ln⁡xJ_0\ln x and a power series. Its name is Y0Y_0 (the Bessel function of the second kind), which differs from the one computed below by a constant multiple and a multiple of J0J_0.

    Worked example Apostol 6.23; check against tables
    Evaluate J0(2) from the series and find the zero of J0 near 2.4; then find the second solution of Bessel's equation of order 0 in two ways.

    Solution.

    1. Write the terms at x=2x = 2. (x2)2k=1\left(\frac x2\right)^{2k} = 1, so J0(2)=∑k(−1)k(k!)2=1−1+14−136+1576−114400+⋯J_0(2) = \sum_k\frac{(-1)^k}{(k!)^2} = 1 - 1 + \frac14 - \frac1{36} + \frac1{576} - \frac1{14400} + \cdots. The factor x2\frac x2 is 11.
    2. Add. The partial sums are 1, 0, 0.25, 0.22222, 0.22396, 0.223891,\ 0,\ 0.25,\ 0.22222,\ 0.22396,\ 0.22389, converging to J0(2)=0.22389J_0(2) = 0.22389. This is an alternating series, so the error is less than the first omitted term (1518400\frac{1}{518400} after the last one shown).
    3. Locate the zero. At x=2.4x = 2.4 the terms (1.2)2k(k!)2\frac{(1.2)^{2k}}{(k!)^2} are 1, 1.44, 0.5184, 0.0829, 0.0075, 0.00041,\ 1.44,\ 0.5184,\ 0.0829,\ 0.0075,\ 0.0004, with alternating signs, and J0(2.4)=0.0025>0J_0(2.4) = 0.0025 > 0. The slope is J0′(2.4)=−J1(2.4)=−0.52J_0'(2.4) = -J_1(2.4) = -0.52, so the graph reaches zero about 0.00250.52≈0.005\frac{0.0025}{0.52} \approx 0.005 further on, at x≈2.405x \approx 2.405. One step of Newton’s method on the series. The exact zero is 2.40482.4048.
    4. Second solution, method 1: the logarithm ansatz. By case 2, u=J0ln⁡x+vu = J_0\ln x + v with v=∑n≥2bnxnv = \sum_{n \ge 2}b_nx^n. Let L[y]=x2y′′+xy′+x2yL[y] = x^2y'' + xy' + x^2y. Then L[J0ln⁡x]=ln⁡x⋅L[J0]+2xJ0′=2xJ0′L[J_0\ln x] = \ln x\cdot L[J_0] + 2xJ_0' = 2xJ_0', so L[v]=−2xJ0′=x2−x48+x6192−⋯L[v] = -2xJ_0' = x^2 - \frac{x^4}{8} + \frac{x^6}{192} - \cdots. Differentiating J0ln⁡xJ_0\ln x twice gives J0′′ln⁡x+2J0′x−J0x2J_0''\ln x + \frac{2J_0'}{x} - \frac{J_0}{x^2}; the terms with ln⁡x\ln x vanish because L[J0]=0L[J_0] = 0, and −J0+J0-J_0 + J_0 cancel.
    5. Match coefficients. L[xn]=n2xn+xn+2L[x^n] = n^2x^n + x^{n+2}, so the coefficient of x2x^2: 4b2=14b_2 = 1; of x4x^4: 16b4+b2=−1816b_4 + b_2 = -\frac18; of x6x^6: 36b6+b4=119236b_6 + b_4 = \frac1{192}. This gives b2=14b_2 = \frac14, b4=−3128b_4 = -\frac3{128}, b6=1113824b_6 = \frac{11}{13824}. The solution is unique up to adding multiples of J0J_0; choosing no x0x^0 term fixes it.
    6. Method 2: Abel and reduction of order. u=J0∫dxxJ02u = J_0\int\frac{dx}{xJ_0^2}. Since J02=1−x22+3x432−⋯J_0^2 = 1 - \frac{x^2}{2} + \frac{3x^4}{32} - \cdots, we get 1J02=1+x22+5x432+⋯\frac{1}{J_0^2} = 1 + \frac{x^2}{2} + \frac{5x^4}{32} + \cdots, so ∫dxxJ02=ln⁡x+x24+5x4128+⋯\int\frac{dx}{xJ_0^2} = \ln x + \frac{x^2}{4} + \frac{5x^4}{128} + \cdots. Multiply by J0=1−x24+⋯J_0 = 1 - \frac{x^2}{4} + \cdots: u=J0ln⁡x+x24+(5128−116)x4+⋯=J0ln⁡x+x24−3x4128+⋯u = J_0\ln x + \frac{x^2}{4} + \left(\frac5{128} - \frac1{16}\right)x^4 + \cdots = J_0\ln x + \frac{x^2}{4} - \frac{3x^4}{128} + \cdots. Both methods give the same series, which is the check.

    Answer. J0(2)=0.2239J_0(2) = 0.2239; the first zero of J0J_0 is 2.40482.4048; the second solution is J0(x)ln⁡x+x24−3x4128+11x613824−⋯J_0(x)\ln x + \frac{x^2}{4} - \frac{3x^4}{128} + \frac{11x^6}{13824} - \cdots.

    Your answerSum the series for J0(2)J_0(2) until the terms are below 10−510^{-5}. What is J0(2)J_0(2) to four decimals?
    Worked example Apostol 6.22 (Theorem 6.15); new numbers
    Case 3: solve x y'' + y = 0 near x = 0 (the roots differ by 1 and a logarithm is needed), and show that Bessel's equation of order 1/2 has no logarithm.

    Solution.

    1. Standard form. Multiply by xx: x2y′′+xy=0x^2y'' + xy = 0, so P=0P = 0 and Q=xQ = x (q1=1q_1 = 1). The indicial polynomial is F(s)=s(s−1)F(s) = s(s-1), with roots α1=1\alpha_1 = 1, α2=0\alpha_2 = 0, differing by N=1N = 1. A whole-number difference is case 3.
    2. Larger root. (F) gives F(1+n)an=−an−1F(1+n)a_n = -a_{n-1} with F(1+n)=n(n+1)F(1+n) = n(n+1), so an=−an−1n(n+1)a_n = -\frac{a_{n-1}}{n(n+1)} and u1=x−x22+x312−x4144+⋯u_1 = x - \frac{x^2}{2} + \frac{x^3}{12} - \frac{x^4}{144} + \cdots. The larger root always works.
    3. Smaller root fails. For s=0s = 0 and n=1n = 1, (F) says F(1)a1=−q1a0F(1)a_1 = -q_1a_0, that is 0⋅a1=−10\cdot a_1 = -1. This is impossible. F(α2+N)=0F(\alpha_2 + N) = 0 at N=1N = 1, and the right side is not 00.
    4. Allow a logarithm. Try u2=Cu1ln⁡x+vu_2 = Cu_1\ln x + v with v=1+b1x+b2x2+⋯v = 1 + b_1x + b_2x^2 + \cdots. Since xu1′′+u1=0xu_1'' + u_1 = 0, we get xu2′′+u2=C(2u1′−u1x)+xv′′+vxu_2'' + u_2 = C\left(2u_1' - \frac{u_1}{x}\right) + xv'' + v. Differentiating u1ln⁡xu_1\ln x twice gives u1′′ln⁡x+2u1′x−u1x2u_1''\ln x + \frac{2u_1'}{x} - \frac{u_1}{x^2}; multiply by xx.
    5. Match the constant term. 2u1′−u1x=1−32x+⋯2u_1' - \frac{u_1}{x} = 1 - \frac32x + \cdots, and xv′′+v=1+(b1+2b2)x+⋯xv'' + v = 1 + (b_1 + 2b_2)x + \cdots. The constant term gives C+1=0C + 1 = 0, so C=−1C = -1. The logarithm is forced: C≠0C \ne 0.
    6. Match the next term. The xx coefficient: 32+b1+2b2=0\frac32 + b_1 + 2b_2 = 0. With b1=0b_1 = 0 (a free choice, adding a multiple of u1u_1), b2=−34b_2 = -\frac34. The next terms give b3=736b_3 = \frac7{36}.
    7. Compare with Bessel of order 12\frac12. Here F(s)=s2−14F(s) = s^2 - \frac14, roots ±12\pm\frac12, difference 11. For s=−12s = -\frac12 and n=1n = 1: (F) says F(12)a1=−(…)a0=0F(\frac12)a_1 = -(\ldots)a_0 = 0, and F(12)=0F(\frac12) = 0 too. So 0⋅a1=00\cdot a_1 = 0 holds for any a1a_1: nothing goes wrong and C=0C = 0. The right side happens to vanish because PP and QQ have no x1x^1 terms. The two free numbers a0,a1a_0, a_1 give x−1/2cos⁡xx^{-1/2}\cos x and x−1/2sin⁡xx^{-1/2}\sin x.

    Answer. u1=x−x22+x312−⋯u_1 = x - \frac{x^2}{2} + \frac{x^3}{12} - \cdots and u2=1−u1ln⁡x−34x2+736x3−⋯u_2 = 1 - u_1\ln x - \frac34x^2 + \frac7{36}x^3 - \cdots for xy′′+y=0xy'' + y = 0. For Bessel’s equation of order 12\frac12 the solutions are sin⁡xx\frac{\sin x}{\sqrt x} and cos⁡xx\frac{\cos x}{\sqrt x}, with no logarithm.

    Quick checkThe equation x2y′′+xy′+(x2−14)y=0x^2y'' + xy' + \left(x^2 - \frac14\right)y = 0 has indicial roots ±12\pm\frac12, which differ by the whole number 11. What does the Frobenius theorem predict?
    Beyond the course: for understanding· B: other orders, the gamma function, and what J0 looks like for large x

    For an order ν\nu that is not a whole number, (k+ν)!(k + \nu)! is replaced by Γ(k+ν+1)\Gamma(k + \nu + 1), where the gamma function Γ(s)=∫0∞ts−1e−tdt\Gamma(s) = \int_0^\infty t^{s-1}e^{-t}dt satisfies Γ(s+1)=sΓ(s)\Gamma(s+1) = s\Gamma(s) and Γ(n+1)=n!\Gamma(n+1) = n!. Then Jν(x)=∑k(−1)kk! Γ(k+ν+1)(x2)2k+νJ_\nu(x) = \sum_k\frac{(-1)^k}{k!\,\Gamma(k+\nu+1)}\left(\frac x2\right)^{2k+\nu}, and J±νJ_{\pm\nu} are independent when 2ν2\nu is not a whole number. Half-integer orders are elementary: J1/2(x)=2πxsin⁡xJ_{1/2}(x) = \sqrt{\frac{2}{\pi x}}\sin x. For large xx one has J0(x)≈2πxcos⁡(x−π4)J_0(x) \approx \sqrt{\frac{2}{\pi x}}\cos\left(x - \frac\pi4\right): an oscillation with a slowly decaying amplitude. At x=10x = 10 the exact value is −0.2459-0.2459 and the formula gives −0.2468-0.2468. The zeros 2.405,5.520,8.654,11.7922.405, 5.520, 8.654, 11.792 are almost equally spaced by π\pi, but not quite; that explains the sound of a drum (see below).

    Beyond the course: for understanding· B: the Airy functions Ai and Bi

    The series u1,u2u_1, u_2 of the Airy equation y′′=xyy'' = xy both grow as x→+∞x \to +\infty. One special combination does not: Ai⁡(x)=Ai⁡(0) u1+Ai⁡′(0) u2\operatorname{Ai}(x) = \operatorname{Ai}(0)\,u_1 + \operatorname{Ai}'(0)\,u_2 with Ai⁡(0)=0.35503\operatorname{Ai}(0) = 0.35503 and Ai⁡′(0)=−0.25882\operatorname{Ai}'(0) = -0.25882. It decays like e−23x3/22π x1/4\frac{e^{-\frac23x^{3/2}}}{2\sqrt\pi\,x^{1/4}} for large positive xx. For large negative xx it oscillates, like sin⁡(23∣x∣3/2+π4)π ∣x∣1/4\frac{\sin\left(\frac23\lvert x\rvert^{3/2} + \frac\pi4\right)}{\sqrt\pi\,\lvert x\rvert^{1/4}}, with zeros at −2.338,−4.088,−5.521,…-2.338, -4.088, -5.521, \dots. A second solution Bi⁡\operatorname{Bi} grows. The Airy function is the model of a turning point: on one side of x=0x = 0 the equation has oscillating solutions and on the other exponentials.

    Python labThe Airy series against a numerical solution
    import numpy as np
    
    # Power series for y'' = x*y with y(0) = 1, y'(0) = 0, from the recurrence a[n+3] = a[n] / ((n+3)(n+2))
    def coefficients(N):
        a = np.zeros(N + 1)
        a[0] = 1.0
        for n in range(N - 2):
            a[n + 3] = a[n] / ((n + 3) * (n + 2))
        return a
    
    def partial_sum(a, x):
        return sum(c * x**k for k, c in enumerate(a))
    
    # The same equation solved numerically (RK4), with no series anywhere
    def rk4(x_end, h=5e-4):
        n = int(round(abs(x_end) / h)); h = x_end / n
        x, y, v = 0.0, 1.0, 0.0
        for _ in range(n):
            k1y, k1v = v, x * y
            k2y, k2v = v + h/2 * k1v, (x + h/2) * (y + h/2 * k1y)
            k3y, k3v = v + h/2 * k2v, (x + h/2) * (y + h/2 * k2y)
            k4y, k4v = v + h * k3v, (x + h) * (y + h * k3y)
            y += h/6 * (k1y + 2*k2y + 2*k3y + k4y)
            v += h/6 * (k1v + 2*k2v + 2*k3v + k4v)
            x += h
        return y
    
    a = coefficients(120)
    print("    x        RK4 value   rel. error of the series with degree 10, 30, 60, 120")
    for x in [1.0, 5.0, -5.0, 12.0, -12.0]:
        ref = rk4(x)
        errs = [abs(partial_sum(a[:N + 1], x) - ref) / abs(ref) for N in (10, 30, 60, 120)]
        print(f"{x:6.1f}  {ref:14.6g}   " + "  ".join(f"{e:9.2e}" for e in errs))

    Try this. Run it. At x=1x = 1 ten terms give 7 digits (5×10−75 \times 10^{-7}) and 30 terms reach the floor set by the numerical solution itself (4×10−154 \times 10^{-15}). At x=5x = 5 ten terms are 52% off and 60 terms are exact to 14 digits. The farther out you go, the more terms you need: at x=12x = 12 even 60 terms are 0.8% off, and 120 terms are good to 10−1210^{-12}. Now look at x=−12x = -12, where the solution oscillates and has size 0.330.33. Even with 120 terms the error is 6×10−56 \times 10^{-5}, because the individual terms anxna_nx^n reach about 4×10104 \times 10^{10} and cancel down to 0.330.33, and double precision holds only 16 digits. Add -13.0 to the list of xx values to see the loss get worse. A convergent series is not automatically a good algorithm; for the Airy function the library routines switch to other formulas for large ∣x∣\lvert x \rvert.

    Where it is used

    Used inside maths· Inside maths: Gauss–Legendre quadrature, with orthogonality doing the work

    Chapter 15.1 built quadrature rules from interpolation: with nn nodes, the rule is exact for polynomials of degree below nn. Put the nodes at the roots of PnP_n and the rule becomes exact up to degree 2n−12n - 1, twice as good. The reason is the corollary above.

    Claim. Let x1,…,xnx_1, \dots, x_n be the roots of PnP_n (all in (−1,1)(-1, 1), problem P2 below) and let wi=∫−11ℓi(x) dxw_i = \int_{-1}^{1}\ell_i(x)\,dx, where ℓi\ell_i is the Lagrange basis polynomial of the nodes (15.1). Then ∑iwif(xi)=∫−11f dx\sum_iw_if(x_i) = \int_{-1}^{1}f\,dx for every polynomial ff of degree at most 2n−12n - 1.

    Proof. Divide: f=qPn+rf = qP_n + r with deg⁡q≤n−1\deg q \le n - 1 and deg⁡r≤n−1\deg r \le n - 1. Then ∫f=∫qPn+∫r=0+∫r\int f = \int qP_n + \int r = 0 + \int r by orthogonality. At each node Pn(xi)=0P_n(x_i) = 0, so f(xi)=r(xi)f(x_i) = r(x_i) and ∑wif(xi)=∑wir(xi)=∫r\sum w_if(x_i) = \sum w_ir(x_i) = \int r, because the rule is exact for polynomials of degree below nn. So both sides equal ∫r\int r. ■\blacksquare

    For n=2n = 2 the roots of P2=3x2−12P_2 = \frac{3x^2-1}{2} are ±13\pm\frac1{\sqrt3} with weights 1,11, 1. For ∫−11ex dx=2.3504\int_{-1}^{1}e^x\,dx = 2.3504: two Gauss–Legendre nodes give e1/3+e−1/3=2.3427e^{1/\sqrt3} + e^{-1/\sqrt3} = 2.3427 (error 0.0080.008). Simpson’s rule with three nodes gives e−1+4+e3=2.3621\frac{e^{-1} + 4 + e}{3} = 2.3621 (error 0.0120.012). Three Gauss–Legendre nodes (0,±0.60, \pm\sqrt{0.6}, weights 89,59,59\frac89, \frac59, \frac59) give 2.350342.35034 (error 0.000070.00007).

    Your answerThe two-point Gauss–Legendre rule on [−1,1][-1, 1] has nodes ±13\pm\frac{1}{\sqrt3} and weights 1,11, 1. What does it give for ∫−11ex dx\int_{-1}^{1}e^x\,dx? (The true value is 2.35042.3504.)
    Used inside maths· Inside maths: other orthogonal polynomials solve similar equations

    The Chebyshev polynomials of 15.1 solve (1−x2)y′′−xy′+n2y=0(1 - x^2)y'' - xy' + n^2y = 0 (check with T2=2x2−1T_2 = 2x^2 - 1: 4(1−x2)−4x2+4(2x2−1)=04(1-x^2) - 4x^2 + 4(2x^2 - 1) = 0), and they are orthogonal for the inner product ∫−11fg dx1−x2\int_{-1}^{1}fg\,\frac{dx}{\sqrt{1-x^2}}. The Hermite polynomials solve y′′−2xy′+2αy=0y'' - 2xy' + 2\alpha y = 0 (problem U1), orthogonal with weight e−x2e^{-x^2} on the whole line, and they describe the quantum harmonic oscillator. Each family comes from a second-order equation of the form (p(x)y′)′+λw(x)y=0\big(p(x)y'\big)' + \lambda w(x)y = 0, whose operator is symmetric, so the proof of orthogonality above works for all of them. This is the Sturm–Liouville theory that MATH 521 and PDE courses develop.

    Used in the real world· Quantum mechanics and optics: the Airy function in tunnelling, in a bouncing neutron and in the rainbow

    A particle in a constant force. With potential V=FxV = Fx the Schrödinger equation −ℏ22mψ′′+Fx ψ=Eψ-\frac{\hbar^2}{2m}\psi'' + Fx\,\psi = E\psi rearranges to ψ′′=2mFℏ2(x−EF)ψ\psi'' = \frac{2mF}{\hbar^2}\left(x - \frac EF\right)\psi. Put ℓ=(ℏ22mF)1/3\ell = \left(\frac{\hbar^2}{2mF}\right)^{1/3} and z=x−E/Fℓz = \frac{x - E/F}{\ell}: then d2ψdz2=zψ\frac{d^2\psi}{dz^2} = z\psi, which is Airy’s equation. The solution that stays finite on the forbidden side (z>0z > 0) is Ai⁡(z)\operatorname{Ai}(z). For an electron in a field of 10910^9 V/m (a force of 11 eV per nanometre, a field of the size found at a sharp metal tip) ℓ=0.336\ell = 0.336 nm. The probability density ∣ψ∣2∝Ai⁡(z)2\lvert\psi\rvert^2 \propto \operatorname{Ai}(z)^2 is 14.5%14.5\% of its value at the turning point one length ℓ\ell (0.34 nm) beyond it, and 0.97%0.97\% two lengths (0.67 nm) beyond: the electron is found where classically it has negative kinetic energy. This is tunnelling in its simplest form.

    A neutron bouncing on a mirror. A neutron above a horizontal mirror has V=mgzV = mgz and ψ(0)=0\psi(0) = 0. The same substitution gives ψ∝Ai⁡(z−E/mgz0)\psi \propto \operatorname{Ai}\left(\frac{z - E/mg}{z_0}\right) with z0=(ℏ22m2g)1/3=5.87 μmz_0 = \left(\frac{\hbar^2}{2m^2g}\right)^{1/3} = 5.87\ \mu\text{m}, and ψ(0)=0\psi(0) = 0 requires Ai⁡(−E/(mgz0))=0\operatorname{Ai}(-E/(mgz_0)) = 0. So the allowed energies are En=mgz0 ∣an∣E_n = mgz_0\,\lvert a_n\rvert, where ana_n is the nn-th zero of Ai counted from 00 downwards. With ∣an∣=2.338,4.088,5.521\lvert a_n\rvert = 2.338, 4.088, 5.521 this gives E1=1.41E_1 = 1.41 peV, E2=2.46E_2 = 2.46 peV, E3=3.32E_3 = 3.32 peV (1 peV =10−12= 10^{-12} eV), the neutron’s classical heights being 13.7,24.0,32.4 μm13.7, 24.0, 32.4\ \mu\text{m}. Nesvizhevsky and his colleagues reported neutrons in such quantum states, with a ground state of about 1.41.4 peV, in Nature in 2002.

    The rainbow. Geometric optics says the brightness at the edge of a rainbow is infinite and beyond it is zero. Airy’s paper of 1838 replaced this by a wave calculation in which the intensity near the edge is proportional to Ai⁡(−z)2\operatorname{Ai}(-z)^2, with zz the angular distance from the geometric edge in a natural unit. That unit scales like (λ/r)2/3(\lambda/r)^{2/3} for light of wavelength λ\lambda and drops of radius rr. On the dark side the intensity decays like e−43z3/2e^{-\frac43z^{3/2}} (a faint leakage), so it is finite everywhere. On the bright side it oscillates, with maxima where Ai⁡′=0\operatorname{Ai}' = 0, at z=1.019,3.248,4.820,…z = 1.019, 3.248, 4.820, \dots The first is the bright primary bow, set back from the geometric edge by 1.0191.019 units, and the later ones are the faint supernumerary bows, which wave optics predicts and geometric optics cannot. Because the unit grows when the drops are smaller, the extra bands are widest and most visible in fine, uniform drops: reducing the drop radius by a factor 1010 widens the pattern by 102/3≈4.610^{2/3} \approx 4.6.

    Used in the real world· Acoustics: why a drum has no clear pitch (Bessel functions)

    A circular membrane of radius aa and wave speed cc vibrates as u(r,θ,t)=R(r)cos⁡(mθ)cos⁡(ωt)u(r, \theta, t) = R(r)\cos(m\theta)\cos(\omega t). Substituting into the wave equation in polar coordinates gives Bessel’s equation for RR in the variable ωr/c\omega r/c, with order mm. A membrane fixed at the rim needs R(a)=0R(a) = 0, so Jm(ωa/c)=0J_m(\omega a/c) = 0, and the frequencies are f=c jm,k2πaf = \frac{c\,j_{m,k}}{2\pi a}, where jm,kj_{m,k} is the kk-th positive zero of JmJ_m. Take a=0.30a = 0.30 m and c=100c = 100 m/s (illustrative values for a stretched drumhead), so c2πa=53.05\frac{c}{2\pi a} = 53.05 Hz. Then the modes with no angular variation (m=0m = 0) are at 2.405×53.05=127.62.405 \times 53.05 = 127.6 Hz, 292.8292.8 Hz, 459.1459.1 Hz, 625.6625.6 Hz, with ratios 1:2.295:3.598:4.9031 : 2.295 : 3.598 : 4.903. The mode m=1m = 1 appears at 3.832×53.05=203.33.832 \times 53.05 = 203.3 Hz and the mode m=2m = 2 at 5.136×53.05=272.55.136 \times 53.05 = 272.5 Hz. A string would give ratios 1:2:3:41 : 2 : 3 : 4, which the ear hears as one pitch. The drum’s overtones are not whole-number multiples of the lowest frequency, so an ideal drumhead has no definite pitch, only a thump. (Real timpani are shaped and loaded with air so that some overtones line up.)

    Used in the real world· Satellites: the Legendre polynomial P2 and the sun-synchronous orbit

    Outside the Earth the gravitational potential is Φ=−GMr[1−∑n≥2Jn(Rr)nPn(sin⁡φ)]\Phi = -\frac{GM}{r}\Big[1 - \sum_{n \ge 2}J_n\left(\frac Rr\right)^nP_n(\sin\varphi)\Big], where φ\varphi is latitude and RR the equatorial radius. This is an expansion in Legendre polynomials, justified by the orthogonality above. The dominant correction comes from n=2n = 2, with J2=1.08263×10−3J_2 = 1.08263 \times 10^{-3} (the Earth’s equatorial bulge), and the angular pattern is P2(sin⁡φ)=3sin⁡2φ−12P_2(\sin\varphi) = \frac{3\sin^2\varphi - 1}{2}. The bulge makes the plane of a circular orbit of radius aa and inclination ii turn about the Earth’s axis at the rate Ω˙=−32J2 n(Ra)2cos⁡i\dot\Omega = -\frac32J_2\,n\left(\frac Ra\right)^2\cos i, where n=GM/a3n = \sqrt{GM/a^3} is the orbital angular speed. For an orbit at height 800800 km (a=7178a = 7178 km, n=1.038×10−3n = 1.038\times10^{-3} rad/s, period 100.9100.9 min), choosing i=98.6∘i = 98.6^\circ (so cos⁡i=−0.1496\cos i = -0.1496) gives Ω˙=+0.985∘\dot\Omega = +0.985^\circ per day, which is 360∘360^\circ per year (the Sun’s mean motion is 0.9856∘0.9856^\circ per day, and a change of about 0.003∘0.003^\circ in ii closes the small gap). The plane follows the Sun around once a year, so the satellite passes over a given latitude at the same local solar time each day. Earth-observation satellites use these sun-synchronous orbits.

    Traps

    Watch out· Index shifts: the sums must start where the terms start

    In y′′=∑n≥2n(n−1)anxn−2y'' = \sum_{n \ge 2}n(n-1)a_nx^{n-2} the shift n→n+2n \to n + 2 makes the sum start at 00. In xy=∑n≥0anxn+1xy = \sum_{n \ge 0}a_nx^{n+1} the shift n→n−1n \to n - 1 makes it start at 11, so the coefficient of x0x^0 gets nothing from xyxy (this is why a2=0a_2 = 0 for the Airy equation). After a shift, write the first few terms out in full and check that the lowest power is the same on both sides. An equation for the coefficient of x0x^0 must be written separately when the sums start at different places.

    Watch out· Two constants are free, so do not set one to zero by habit

    At an ordinary point a0=y(x0)a_0 = y(x_0) and a1=y′(x0)a_1 = y'(x_0) are both free. The general solution is a0u1+a1u2a_0u_1 + a_1u_2. Worksheet 26 #5 gives both starting values, which is why a single series came out. When they are not given, keep both letters, or give both solutions. The even and the odd chains of Legendre and Airy never mix, which is why the two solutions split cleanly.

    Watch out· A real equation with no real trouble can still have a small radius

    (1+x2)y′′+2xy′=0(1 + x^2)y'' + 2xy' = 0 has coefficients with no singularity on the real line, but the series of its solution arctan⁡x\arctan x about 00 has radius 11. The reason is the complex points ±i\pm i. So “the equation is smooth at x=1x = 1” does not prove that the series converges at x=1x = 1. Use the theorem as stated: find the radius of convergence of pp and qq as power series about the centre. That radius is the guarantee for the solution.

    Watch out· Legendre: the sign of n − ν, and which chain stops

    The recurrence has (n−ν)(n+ν+1)(n - \nu)(n + \nu + 1), with a minus sign in the first factor. The factor (n−ν)(n - \nu) vanishes at n=νn = \nu and only in the chain of that parity: for ν=2\nu = 2 the even chain stops after a2a_2, while the odd chain (a1,a3,…a_1, a_3, \dots) never stops. And PnP_n is normalised by Pn(1)=1P_n(1) = 1. If you write P2=x2−13P_2 = x^2 - \frac13 (the monic version from Gram–Schmidt), the equation still holds but the value at 11 is 23\frac23, not 11.

    Watch out· Frobenius: standard form first, then the indicial equation

    The indicial equation needs the equation in the form x2y′′+xPy′+Qy=0x^2y'' + xPy' + Qy = 0. For 2xy′′+y′−y=02xy'' + y' - y = 0 the coefficient of y′y' is 11, but p0p_0 is 12\frac12, because you must divide by 22 and multiply by xx to reach x2y′′+x⋅12y′−x2y=0x^2y'' + x\cdot\frac12y' - \frac x2y = 0. Reading the roots off the original coefficients gives wrong exponents. Also: take the LARGER root first; it never fails. If the roots differ by a whole number do not conclude “no second solution”: try a logarithm.

    Watch out· At an irregular singular point the formal series can have radius zero

    x2y′′−y′−y=0x^2y'' - y' - y = 0 is irregular at 00 (the coefficient of y′y' is −1-1, so P=−1xP = -\frac1x is not analytic). Substituting ∑anxn\sum a_nx^n gives an+1=n2−n−1n+1ana_{n+1} = \frac{n^2 - n - 1}{n+1}a_n, and the ratio ∣an+1an∣\left\lvert\frac{a_{n+1}}{a_n}\right\rvert grows like nn, so the series converges only at x=0x = 0 (Apostol 6.22). No arithmetic error caused this: the method does not apply at irregular points.

    Watch out· x > 0 or x < 0

    Frobenius solutions contain xsx^s with ss possibly not a whole number, such as x1/2x^{1/2} or x−1/2x^{-1/2}. They are defined for x>0x > 0 (or use ∣x∣s\lvert x\rvert^s for x<0x < 0). Write the interval with your answer. ln⁡x\ln x in the second solution is likewise ln⁡∣x∣\ln\lvert x\rvert on the left.

    Problems

    checkApostol 6.22; new

    Classify the point x=0x = 0 (ordinary, regular singular, irregular) for each equation, and give the indicial equation when it is regular singular. (a) y′′+3y′+2y=0y'' + 3y' + 2y = 0. (b) x2y′′+xy′+(x2−4)y=0x^2y'' + xy' + (x^2 - 4)y = 0. (c) x3y′′+y=0x^3y'' + y = 0. (d) x2y′′+4xy′+2y=0x^2y'' + 4xy' + 2y = 0.

    Solution

    (a) Ordinary: p=3p = 3 and q=2q = 2 are constants, analytic. (b) Regular singular, since P=1P = 1 and Q=x2−4Q = x^2 - 4 are analytic. F(s)=s(s−1)+s−4=s2−4F(s) = s(s-1) + s - 4 = s^2 - 4, roots ±2\pm2. (c) Dividing by x3x^3, p=0p = 0 and q=x−3q = x^{-3}. Then x2q=x−1x^2q = x^{-1}, which is not analytic at 00: irregular. (d) Regular singular with P=4P = 4, Q=2Q = 2, so F(s)=s(s−1)+4s+2=s2+3s+2=(s+1)(s+2)F(s) = s(s-1) + 4s + 2 = s^2 + 3s + 2 = (s+1)(s+2), roots −1-1 and −2-2. It is an Euler equation, with solutions x−1x^{-1} and x−2x^{-2} and no logarithm.

    checkMATH 376 worksheet 26 #6 style

    Find the recurrence for the power series solutions of y′′+xy=0y'' + xy = 0 and write the first three non-zero terms of the solution with y(0)=1y(0) = 1, y′(0)=0y'(0) = 0.

    Solution

    With y=∑anxny = \sum a_nx^n: ∑(n+2)(n+1)an+2xn+∑n≥1an−1xn=0\sum(n+2)(n+1)a_{n+2}x^n + \sum_{n \ge 1}a_{n-1}x^n = 0. The constant term gives a2=0a_2 = 0, and for n≥1n \ge 1, (n+2)(n+1)an+2=−an−1(n+2)(n+1)a_{n+2} = -a_{n-1}, that is an+3=−an(n+3)(n+2)a_{n+3} = -\frac{a_n}{(n+3)(n+2)}. With a0=1a_0 = 1 and a1=0a_1 = 0: a3=−16a_3 = -\frac16, a6=1180a_6 = \frac{1}{180}. So y=1−x36+x6180−⋯y = 1 - \frac{x^3}{6} + \frac{x^6}{180} - \cdots. The sign alternation compared with the Airy equation turns growth into oscillation for x>0x > 0.

    checkApostol 6.22; new

    Find the indicial roots at x=0x = 0 of (a) x2y′′+xy′+(x−19)y=0x^2y'' + xy' + \left(x - \frac19\right)y = 0 and (b) 2x2y′′+xy′−y=02x^2y'' + xy' - y = 0, and say which case of the Frobenius theorem applies.

    Solution

    (a) P=1P = 1, Q=x−19Q = x - \frac19, so p0=1p_0 = 1, q0=−19q_0 = -\frac19 and F(s)=s2−19F(s) = s^2 - \frac19, roots ±13\pm\frac13. The difference 23\frac23 is not a whole number: case 1, two Frobenius series. (b) Divide by 22: x2y′′+x⋅12y′−12y=0x^2y'' + x\cdot\frac12y' - \frac12y = 0, so p0=12p_0 = \frac12, q0=−12q_0 = -\frac12 and F(s)=s2−s2−12=(s−1)(s+12)F(s) = s^2 - \frac s2 - \frac12 = (s - 1)\left(s + \frac12\right). The roots are 11 and −12-\frac12; the difference 32\frac32 is not a whole number: case 1 (and in fact an Euler equation with solutions xx and x−1/2x^{-1/2}).

    checkApostol 6.19; new

    Find Pn(1)P_n(1), Pn(−1)P_n(-1), P2(0)P_2(0) and P4(0)P_4(0) using the facts of this chapter.

    Solution

    Pn(1)=1P_n(1) = 1 for all nn. By the parity result of problem P1, Pn(−1)=(−1)nPn(1)=(−1)nP_n(-1) = (-1)^nP_n(1) = (-1)^n. From P2=3x2−12P_2 = \frac{3x^2-1}{2}: P2(0)=−12P_2(0) = -\frac12. From P4=35x4−30x2+38P_4 = \frac{35x^4 - 30x^2 + 3}{8}: P4(0)=38P_4(0) = \frac38.

    useApostol 6.21 #4

    Find the recurrence for power series solutions of the Hermite equation y′′−2xy′+2αy=0y'' - 2xy' + 2\alpha y = 0. For which α\alpha is there a polynomial solution? Find it for α=3\alpha = 3, and say where the series solutions converge.

    Solution

    With y=∑anxny = \sum a_nx^n: (n+2)(n+1)an+2−2nan+2αan=0(n+2)(n+1)a_{n+2} - 2na_n + 2\alpha a_n = 0, so an+2=2(n−α)(n+1)(n+2)ana_{n+2} = \dfrac{2(n - \alpha)}{(n+1)(n+2)}a_n. If α=m\alpha = m is a non-negative integer the chain of the same parity stops after ama_m, giving a polynomial of degree mm. For α=3\alpha = 3 take a1=1a_1 = 1 (a0=0a_0 = 0): a3=2(1−3)2⋅3=−23a_3 = \frac{2(1-3)}{2\cdot3} = -\frac23, and a5=2(3−3)4⋅5a3=0a_5 = \frac{2(3-3)}{4\cdot5}a_3 = 0. So y=x−23x3y = x - \frac23x^3; multiplied by −6-6 this is 4x3−6x4x^3 - 6x, a multiple of the Hermite polynomial H3=8x3−12xH_3 = 8x^3 - 12x. The coefficients p=−2xp = -2x and q=2αq = 2\alpha are polynomials, analytic on every interval, so the series converge for all xx.

    useApostol 6.22 style; new

    Solve 4xy′′+2y′+y=04xy'' + 2y' + y = 0 for x>0x > 0 by the Frobenius method, and recognise the solutions.

    Solution

    Multiply by x4\frac x4: x2y′′+x⋅12y′+x4y=0x^2y'' + x\cdot\frac12y' + \frac x4y = 0. So p0=12p_0 = \frac12, q0=0q_0 = 0, q1=14q_1 = \frac14 and F(s)=s(s−12)F(s) = s\left(s - \frac12\right), roots 00 and 12\frac12 (case 1). The recurrence (F) reads F(s+n)an=−14an−1F(s+n)a_n = -\frac14a_{n-1}. For s=0s = 0: n(n−12)an=−14an−1n\left(n - \frac12\right)a_n = -\frac14a_{n-1}, so an=−an−12n(2n−1)a_n = -\frac{a_{n-1}}{2n(2n-1)} and an=(−1)n(2n)!a_n = \frac{(-1)^n}{(2n)!}: u1=∑(−1)nxn(2n)!=cos⁡xu_1 = \sum\frac{(-1)^nx^n}{(2n)!} = \cos\sqrt x. For s=12s = \frac12: (n+12)nan=−14an−1\left(n + \frac12\right)na_n = -\frac14a_{n-1}, so an=−an−12n(2n+1)a_n = -\frac{a_{n-1}}{2n(2n+1)} and an=(−1)n(2n+1)!a_n = \frac{(-1)^n}{(2n+1)!}: u2=x1/2∑(−1)nxn(2n+1)!=sin⁡xu_2 = x^{1/2}\sum\frac{(-1)^nx^n}{(2n+1)!} = \sin\sqrt x. General solution y=Acos⁡x+Bsin⁡xy = A\cos\sqrt x + B\sin\sqrt x. Check: for y=cos⁡xy = \cos\sqrt x, 4xy′′+2y′+y=(−cos⁡x+sin⁡xx)−sin⁡xx+cos⁡x=04xy'' + 2y' + y = (-\cos\sqrt x + \frac{\sin\sqrt x}{\sqrt x}) - \frac{\sin\sqrt x}{\sqrt x} + \cos\sqrt x = 0.

    useApostol 6.20; new

    Expand f(x)=x4f(x) = x^4 in Legendre polynomials.

    Solution

    Only even k≤4k \le 4 contribute. c0=12∫x4=12⋅25=15c_0 = \frac12\int x^4 = \frac12\cdot\frac25 = \frac15. c2=52∫x4⋅3x2−12=54(67−25)=54⋅1635=47c_2 = \frac52\int x^4\cdot\frac{3x^2-1}{2} = \frac54\left(\frac67 - \frac25\right) = \frac54\cdot\frac{16}{35} = \frac47. c4=92∫x4⋅35x4−30x2+38=916(709−607+65)=916⋅128315=835c_4 = \frac92\int x^4\cdot\frac{35x^4 - 30x^2 + 3}{8} = \frac9{16}\left(\frac{70}{9} - \frac{60}{7} + \frac65\right) = \frac{9}{16}\cdot\frac{128}{315} = \frac{8}{35}. So x4=15P0+47P2+835P4x^4 = \frac15P_0 + \frac47P_2 + \frac8{35}P_4. Check at x=1x = 1: 15+47+835=7+20+835=1\frac15 + \frac47 + \frac8{35} = \frac{7 + 20 + 8}{35} = 1.

    useApostol 6.23; new

    Use the first four terms of the series for J0(1)J_0(1) and bound the error.

    Solution

    J0(1)=1−14+164−12304+⋯=1−0.25+0.015625−0.000434=0.765191J_0(1) = 1 - \frac14 + \frac1{64} - \frac1{2304} + \cdots = 1 - 0.25 + 0.015625 - 0.000434 = 0.765191. The series alternates with terms decreasing in size, so the error is less than the first omitted term, 144(4!)2=1147456=6.8×10−6\frac{1}{4^4(4!)^2} = \frac{1}{147456} = 6.8 \times 10^{-6}. The true value is 0.7651980.765198, within that bound.

    proveApostol 6.20; new

    Prove that Pn(−x)=(−1)nPn(x)P_n(-x) = (-1)^nP_n(x) for every nn.

    Solution

    Plan. Rodrigues’ formula applies nn derivatives to an even function.

    The function w(x)=(x2−1)nw(x) = (x^2-1)^n is even: w(−x)=w(x)w(-x) = w(x). If gg is even then g′g' is odd (differentiate g(−x)=g(x)g(-x) = g(x): −g′(−x)=g′(x)-g'(-x) = g'(x)), and if gg is odd then g′g' is even. So each derivative reverses the parity, and w(n)w^{(n)} has parity (−1)n(-1)^n: w(n)(−x)=(−1)nw(n)(x)w^{(n)}(-x) = (-1)^nw^{(n)}(x). Dividing by 2nn!2^nn! gives the claim. ■\blacksquare

    proveApostol 6.20 (last paragraph)

    Prove that PnP_n has nn distinct real roots, all in the interval (−1,1)(-1, 1).

    Solution

    Plan. If PnP_n changed sign in (−1,1)(-1,1) fewer than nn times, multiply it by a polynomial that changes sign at the same places. The product has constant sign, so its integral is not 00; but orthogonality says it is 00.

    Let x1,…,xmx_1, \dots, x_m be the points in (−1,1)(-1, 1) where PnP_n changes sign (roots of odd multiplicity), m≥0m \ge 0. Suppose m<nm < n. Put q(x)=(x−x1)⋯(x−xm)q(x) = (x - x_1)\cdots(x - x_m), with q=1q = 1 if m=0m = 0. Then PnqP_nq does not change sign on (−1,1)(-1, 1): each sign change of PnP_n at xix_i is cancelled by the sign change of the factor x−xix - x_i, and no other sign changes exist. It is not identically zero, so ∫−11Pnq dx≠0\int_{-1}^{1}P_nq\,dx \ne 0. But deg⁡q=m<n\deg q = m < n, so ∫Pnq=0\int P_nq = 0 by the corollary on Legendre polynomials, a contradiction. Hence m≥nm \ge n. A polynomial of degree nn has at most nn roots, so m=nm = n, and the nn sign-change points are all of its roots, each simple. ■\blacksquare

    proveApostol 6.23; new

    Let J1(x)=∑k≥0(−1)kk! (k+1)!(x2)2k+1J_1(x) = \sum_{k \ge 0}\frac{(-1)^k}{k!\,(k+1)!}\left(\frac x2\right)^{2k+1}. Prove that J0′(x)=−J1(x)J_0'(x) = -J_1(x).

    Solution

    Plan. Differentiate the series term by term and shift the index.

    Power series can be differentiated term by term inside the radius of convergence, here infinite. ddx(x2)2k=k(x2)2k−1\frac{d}{dx}\left(\frac x2\right)^{2k} = k\left(\frac x2\right)^{2k-1}, so J0′(x)=∑k≥1(−1)kk(k!)2(x2)2k−1J_0'(x) = \sum_{k \ge 1}\frac{(-1)^kk}{(k!)^2}\left(\frac x2\right)^{2k-1} (the term k=0k = 0 is constant). Since k(k!)2=1k! (k−1)!\frac{k}{(k!)^2} = \frac{1}{k!\,(k-1)!}, put j=k−1j = k - 1: J0′(x)=∑j≥0(−1)j+1(j+1)! j!(x2)2j+1=−J1(x)J_0'(x) = \sum_{j \ge 0}\frac{(-1)^{j+1}}{(j+1)!\,j!}\left(\frac x2\right)^{2j+1} = -J_1(x). ■\blacksquare

    proveuses the corollary on Legendre polynomials

    Prove that the two-point rule ∫−11f dx≈f(−13)+f(13)\int_{-1}^{1}f\,dx \approx f\left(-\frac1{\sqrt3}\right) + f\left(\frac1{\sqrt3}\right) is exact for every cubic polynomial, and show it is not exact for x4x^4.

    Solution

    Plan. By linearity it is enough to check 1,x,x2,x31, x, x^2, x^3.

    The rule is linear in ff, and so is the integral, so it suffices to check them on 1,x,x2,x31, x, x^2, x^3. For f=1f = 1: 2=1+12 = 1 + 1. For f=xf = x: 0=−13+130 = -\frac1{\sqrt3} + \frac1{\sqrt3}. For f=x2f = x^2: 23=13+13\frac23 = \frac13 + \frac13. For f=x3f = x^3: 0=−133+1330 = -\frac{1}{3\sqrt3} + \frac{1}{3\sqrt3}. All four agree, so it is exact for every cubic. For x4x^4 the integral is 25=0.4\frac25 = 0.4 and the rule gives 19+19=29=0.22\frac19 + \frac19 = \frac29 = 0.22. ■\blacksquare (The nodes are the roots of P2P_2, and this is the case n=2n = 2 of the quadrature box.)

    stretchApostol 6.18 (remark on convergence); new

    Show that for ν\nu not an integer the even series solution of Legendre’s equation diverges at x=1x = 1.

    Solution

    Plan. Show that the coefficients behave like 1k\frac1k, so the series compares with the harmonic series.

    For ν\nu not an integer, no coefficient of the even chain vanishes (the factor 2k−ν2k - \nu is never 00). For 2k>max⁡(ν,−ν−1)2k > \max(\nu, -\nu - 1) the factor (2k−ν)(2k+ν+1)(2k - \nu)(2k + \nu + 1) is positive, so from some index on all a2ka_{2k} have the same sign. The ratio is

    rk=a2k+2a2k=4k2+2k−μ4k2+6k+2,μ=ν(ν+1),r_k = \frac{a_{2k+2}}{a_{2k}} = \frac{4k^2 + 2k - \mu}{4k^2 + 6k + 2}, \qquad \mu = \nu(\nu+1),

    so 1−rk=4k+2+μ4k2+6k+2=1k+O(1k2)1 - r_k = \frac{4k + 2 + \mu}{4k^2 + 6k + 2} = \frac1k + O\left(\frac1{k^2}\right). Then ln⁡rk=−(1−rk)+O((1−rk)2)=−1k+O(1k2)\ln r_k = -(1 - r_k) + O\left((1-r_k)^2\right) = -\frac1k + O\left(\frac1{k^2}\right), and ∑k(ln⁡rk+1k)\sum_k\left(\ln r_k + \frac1k\right) converges (its terms are O(k−2)O(k^{-2})). Hence ln⁡∣a2K∣=ln⁡∣a2k0∣+∑k=k0K−1ln⁡rk=−ln⁡K+O(1)\ln\lvert a_{2K}\rvert = \ln\lvert a_{2k_0}\rvert + \sum_{k=k_0}^{K-1}\ln r_k = -\ln K + O(1), that is ∣a2K∣≥cK\lvert a_{2K}\rvert \ge \frac cK for some c>0c > 0 and large KK. Comparison with the harmonic series shows ∑a2k\sum a_{2k} diverges. Because the terms eventually have one sign, the sum ∑a2kx2k→±∞\sum a_{2k}x^{2k} \to \pm\infty as x→1−x \to 1^-: the solution is unbounded. ■\blacksquare

    stretchAbel's formula of 7.3

    Let uu be any solution of Bessel’s equation of order 00 that is not a multiple of J0J_0. Show that u=J0(c∫dxxJ02+d)u = J_0\left(c\int\frac{dx}{xJ_0^2} + d\right) near 00 for constants c≠0c \ne 0 and dd, and that ∣u(x)∣→∞\lvert u(x) \rvert \to \infty as x→0+x \to 0^+.

    Solution

    Plan. Use Abel’s formula for the Wronskian, then divide.

    The equation in standard form is y′′+1xy′+y=0y'' + \frac1xy' + y = 0, so by Abel’s formula (7.3) W(J0,u)(x)=cxW(J_0, u)(x) = \frac cx for a constant cc (∫1x=ln⁡x\int\frac1x = \ln x, so e−∫p=1xe^{-\int p} = \frac1x). The Wronskian of two independent solutions is not 00 anywhere, so c≠0c \ne 0. Near 00, J0≠0J_0 \ne 0, and W=J0u′−J0′u=J02(uJ0)′W = J_0u' - J_0'u = J_0^2\left(\frac{u}{J_0}\right)'. So (uJ0)′=cxJ02\left(\frac{u}{J_0}\right)' = \frac{c}{xJ_0^2}, and integrating gives u=J0(c∫dxxJ02+d)u = J_0\left(c\int\frac{dx}{xJ_0^2} + d\right). Since J02→1J_0^2 \to 1, 1xJ02=1x+O(x)\frac{1}{xJ_0^2} = \frac1x + O(x), so ∫dxxJ02=ln⁡x+O(x2)\int\frac{dx}{xJ_0^2} = \ln x + O(x^2), and u=J0 (cln⁡x+d+O(x2))→±∞u = J_0\,(c\ln x + d + O(x^2)) \to \pm\infty as x→0+x \to 0^+ because c≠0c \ne 0 and J0→1J_0 \to 1. ■\blacksquare (This is why only J0J_0 describes a drumhead that is finite at its centre.)

    Summary

    • A power series method assumes y=∑anxny = \sum a_nx^n, substitutes, and sets each coefficient to zero (matching coefficients is justified by f(k)(0)=k! ckf^{(k)}(0) = k!\,c_k). The result is a recurrence; the starting values a0,a1a_0, a_1 are free.
    • At an ordinary point (pp and qq analytic) there are two independent power-series solutions, and they converge at least as far as pp and qq do. The proof bounds ∣an∣\lvert a_n\rvert by Kρ−nK\rho^{-n}. The radius is set by the nearest singularity in the complex plane (arctan⁡\arctan: radius 11).
    • Legendre’s equation (1−x2)y′′−2xy′+ν(ν+1)y=0(1-x^2)y'' - 2xy' + \nu(\nu+1)y = 0 has the recurrence an+2=(n−ν)(n+ν+1)(n+1)(n+2)ana_{n+2} = \frac{(n-\nu)(n+\nu+1)}{(n+1)(n+2)}a_n. For ν=n\nu = n a whole number the series stops: the Legendre polynomial Pn=12nn!dndxn(x2−1)nP_n = \frac{1}{2^nn!}\frac{d^n}{dx^n}(x^2-1)^n (Rodrigues), with Pn(1)=1P_n(1) = 1.
    • The PnP_n are orthogonal: ∫−11PmPn=0\int_{-1}^{1}P_mP_n = 0 for m≠nm \ne n and 22n+1\frac{2}{2n+1} for m=nm = n, because they are eigenvectors of a symmetric operator. This gives expansions f=∑ckPkf = \sum c_kP_k, Gauss–Legendre quadrature, and multipole expansions.
    • At a regular singular point ((x−x0)p(x-x_0)p and (x−x0)2q(x-x_0)^2q analytic) try the Frobenius series xs∑anxnx^s\sum a_nx^n. The indicial equation s(s−1)+p0s+q0=0s(s-1) + p_0s + q_0 = 0 gives ss, and the recurrence (F) gives the coefficients. The larger root always works. Equal roots, or roots differing by a whole number, may force ln⁡x\ln x in the second solution, as Abel’s formula explains.
    • Bessel’s equation of order 00 gives J0(x)=∑(−1)k(k!)2(x/2)2kJ_0(x) = \sum\frac{(-1)^k}{(k!)^2}(x/2)^{2k}, finite at 00 and with infinitely many zeros (2.405,5.520,…2.405, 5.520, \dots); the other solution has ln⁡x\ln x. Airy’s equation y′′=xyy'' = xy has solutions that oscillate for x<0x < 0 and are exponential for x>0x > 0: the model of a turning point, for tunnelling and rainbows.
    • In practice: shift indices carefully, keep both free constants, standardise the equation before reading p0p_0 and q0q_0, and remember that a convergent series is not always a good way to compute (the lab).

    Watch and read

    The same ideas explained by someone else. Use these when an explanation here does not land.

    Where this sits

    Comes from
    7.2 Linear differential equations
    7.3 The Wronskian, variation of parameters and undetermined coefficients
    7.4 Systems of equations and the matrix exponential
    1.6 Series, power series, and uniform convergence
    2.9 Inner products, orthogonality, Gram–Schmidt, projection
    3.1 Symmetric matrices and the spectral theorem
    Leads to
    7.6 Phase portraits, stability and linearization
    Same idea elsewhere
    MATH 376: Lecture of April 22 (Examples 8.12 and 8.14) and worksheets 26 #5, #6 and 28 #7 use the power series method on y' = ry, y' = y^2, y'' - xy' - y = 0 and y'' + y = 0. Apostol's treatment of the Legendre equation (6.18) and everything after it was not covered.
    MATH 521 / complex analysis: The radius of convergence guarantee is proved there by looking at the coefficients in the complex plane. A regular singular point is a point where the coefficients have at most a simple and a double pole, and the theory of such equations is called Fuchsian.
    Physics: Legendre polynomials are the angular part of gravity and electrostatics around a sphere. Bessel functions describe a drumhead and waves in a cylinder. The Airy function is the wave function of a particle in a constant force, and it describes light near the edge of a rainbow.
    MATH 340 / numerical analysis: The nodes of Gauss–Legendre quadrature are the roots of the Legendre polynomials. Chapter 8.2 builds quadrature rules from interpolation; the box in this chapter shows why these nodes do twice as well.