Mathematical Methods Handbook

Linear equations

Structure of solutions of linear ODEs and the standard solution methods.

In this chapter 9

Tick a unit to add it to your PDF basket.

  1. Linear equations of order n
  2. Series solutions

Linear equations of order n

6

Theorem

Structure of linear equations and the Wronskian

Adapted

For a linear equation of order n whose leading coefficient does not vanish, the solutions of the homogeneous equation form a vector space of dimension exactly n, any n solutions are independent precisely when their Wronskian is nonzero at one point, and Abel's formula gives that Wronskian up to a constant without solving the equation.

Prerequisites: Existence and uniqueness of solutions, Determinants

Definition(Linear equations of order nn)AdaptedAdapted from Coddington (1989), Ch. 3, §1, p. 103; Stakgold & Holst (2011), §3.1, p. 186

A linear differential equation of order nn on a real interval II is an equation

a0(x) y(n)+a1(x) y(n−1)+⋯+an(x) y  =  b(x),a_0(x)\,y^{(n)} + a_1(x)\,y^{(n-1)} + \cdots + a_n(x)\,y \;=\; b(x) ,

with coefficients a0,…,ana_0, \dots, a_n and right-hand side bb complex-valued functions on II. A point where a0a_0 vanishes is a singular point of the equation and needs separate treatment (Classifying singular points, including infinity). Throughout this unit a0(x)≠0a_0(x) \neq 0 on II, so we may divide by a0a_0 and work with the normalised equation. Writing

L(y)  =  y(n)+a1(x) y(n−1)+⋯+an(x) yL(y) \;=\; y^{(n)} + a_1(x)\,y^{(n-1)} + \cdots + a_n(x)\,y

(the coefficients renamed after the division), the equation is L(y)=b(x)L(y) = b(x). It is homogeneous if b(x)=0b(x) = 0 for all x∈Ix \in I and inhomogeneous otherwise. A solution on II is a function φ\varphi that has nn derivatives at every point of II and satisfies L(φ)=bL(\varphi) = b there. We assume once and for all that a1,…,ana_1, \dots, a_n and bb are continuous on II; II may be open, closed, half-open, bounded or unbounded.

LL is a linear operator: L(c1φ1+c2φ2)=c1L(φ1)+c2L(φ2)L(c_1\varphi_1 + c_2\varphi_2) = c_1 L(\varphi_1) + c_2 L(\varphi_2) for constants c1,c2c_1, c_2 and any functions with nn derivatives. This single fact is the principle of superposition, and everything below is a consequence of it together with unique solvability of the initial-value problem.

Definition(Linear independence and the Wronskian)AdaptedAdapted from Stakgold & Holst (2011), §3.1, pp. 186-187; Coddington (1989), Ch. 3, §3-§4, pp. 106, 111; Arfken, Weber & Harris (2013), §7.6, Eqs. (7.54)-(7.55), pp. 359-360

Functions f1,…,fnf_1, \dots, f_n on II are linearly dependent on II when some constants c1,…,cnc_1, \dots, c_n, at least one of them nonzero, satisfy

c1f1(x)+c2f2(x)+⋯+cnfn(x)  =  0for every x∈I,c_1 f_1(x) + c_2 f_2(x) + \cdots + c_n f_n(x) \;=\; 0 \qquad \text{for every } x \in I ,

and linearly independent on II if they are not. The constants are the same for all xx: one relation must hold identically on II, and a relation that happens to hold at isolated points or on part of II does not make the functions dependent.

If f1,…,fnf_1, \dots, f_n are continuous on II and have continuous derivatives of orders up to n−1n-1 there — the hypothesis under which Stakgold and Holst (Stakgold & Holst (2011), p. 187) define it — their Wronskian is the function

W(f1,…,fn)(x)  =  det⁡(f1f2⋯fnf1′f2′⋯fn′⋮⋮⋮f1(n−1)f2(n−1)⋯fn(n−1))(x).W(f_1, \dots, f_n)(x) \;=\; \det \begin{pmatrix} f_1 & f_2 & \cdots & f_n \\ f_1' & f_2' & \cdots & f_n' \\ \vdots & \vdots & & \vdots \\ f_1^{(n-1)} & f_2^{(n-1)} & \cdots & f_n^{(n-1)} \end{pmatrix} (x) .

For n=2n = 2 this is W(f1,f2)=f1f2′−f1′f2W(f_1, f_2) = f_1 f_2' - f_1' f_2. Solutions of the normalised equation meet this requirement automatically: from y(n)=−a1y(n−1)−⋯−anyy^{(n)} = -a_1y^{(n-1)} - \cdots - a_ny and the continuity of the aka_k, a solution has nn derivatives of which the first n−1n-1 are continuous (indeed the nn-th is continuous too). A set of nn solutions of L(y)=0L(y) = 0 that is linearly independent on II is called a fundamental set, or a basis of solutions.

Theorem(Superposition and the dimension of the solution space)AdaptedAdapted from Coddington (1989), Ch. 3, §3, Thms 4 and 5, pp. 106-108, and §4, Thm 7, pp. 112-113

Let a1,…,ana_1, \dots, a_n be continuous on II and let S\mathcal{S} be the set of solutions of L(y)=0L(y) = 0 on II.

  1. Superposition. S\mathcal{S} is a complex vector space: if φ1,…,φm∈S\varphi_1, \dots, \varphi_m \in \mathcal{S} and c1,…,cmc_1, \dots, c_m are constants, then c1φ1+⋯+cmφm∈Sc_1\varphi_1 + \cdots + c_m\varphi_m \in \mathcal{S}.

  2. Initial data. Fix x0∈Ix_0 \in I. For every choice of constants α1,…,αn\alpha_1, \dots, \alpha_n there is exactly one φ∈S\varphi \in \mathcal{S} with

    φ(x0)=α1,φ′(x0)=α2,…,φ(n−1)(x0)=αn,\varphi(x_0) = \alpha_1, \quad \varphi'(x_0) = \alpha_2, \quad \dots, \quad \varphi^{(n-1)}(x_0) = \alpha_n ,

    and this solution exists on the whole of II.

  3. Dimension nn. There exist nn linearly independent solutions on II; and if φ1,…,φn\varphi_1, \dots, \varphi_n is any set of nn linearly independent solutions on II, then every solution φ\varphi of L(y)=0L(y) = 0 on II can be written as

    φ  =  c1φ1+⋯+cnφn\varphi \;=\; c_1\varphi_1 + \cdots + c_n\varphi_n

    with uniquely determined constants c1,…,cnc_1, \dots, c_n. Thus dim⁡S=n\dim \mathcal{S} = n, and every fundamental set is a basis of S\mathcal{S}.

Theorem(The Wronskian criterion)AdaptedAdapted from Coddington (1989), Ch. 3, §4, Thm 6, pp. 111-112 and the consequence of Thm 8, p. 116; Stakgold & Holst (2011), §3.1, Thm 3.1.2, pp. 187-188

Let φ1,…,φn\varphi_1, \dots, \varphi_n be nn solutions of L(y)=0L(y) = 0 on II, with a1,…,ana_1, \dots, a_n continuous on II, and let x0x_0 be any point of II. The following are equivalent.

  1. φ1,…,φn\varphi_1, \dots, \varphi_n are linearly independent on II.
  2. W(φ1,…,φn)(x)≠0W(\varphi_1, \dots, \varphi_n)(x) \neq 0 for every x∈Ix \in I.
  3. W(φ1,…,φn)(x0)≠0W(\varphi_1, \dots, \varphi_n)(x_0) \neq 0.

Equivalently: nn solutions are linearly dependent on II if and only if their Wronskian vanishes at a single point of II. In particular the Wronskian of nn solutions either never vanishes on II or vanishes identically, and it may be tested at whichever point is most convenient.

Theorem(Abel's formula)AdaptedAdapted from Coddington (1989), Ch. 3, §4, Thm 8 and its corollary, pp. 113-116; Stakgold & Holst (2011), §3.1, Eqs. (3.1.7)-(3.1.8), p. 187

Let φ1,…,φn\varphi_1, \dots, \varphi_n be any nn solutions (independent or not) of L(y)=0L(y) = 0 on II and let x0∈Ix_0 \in I. Then, with W=W(φ1,…,φn)W = W(\varphi_1, \dots, \varphi_n),

W(x)  =  exp⁡[−∫x0xa1(t) dt]W(x0),x∈I.W(x) \;=\; \exp\left[-\int_{x_0}^{x} a_1(t)\,dt\right] W(x_0) , \qquad x \in I .

Only the coefficient a1a_1 of y(n−1)y^{(n-1)} enters. Three consequences are worth recording.

  • If the aka_k are constants, W(x)=e−a1(x−x0) W(x0)W(x) = e^{-a_1(x - x_0)}\,W(x_0); if a1=0a_1 = 0, WW is constant on II.
  • For the unnormalised equation a0y(n)+a1y(n−1)+⋯+any=0a_0 y^{(n)} + a_1 y^{(n-1)} + \cdots + a_n y = 0 with a0≠0a_0 \ne 0 on II, the same formula reads W=Ce−m(x)W = C e^{-m(x)}, where mm is any particular solution of m′=a1/a0m' = a_1/a_0 and the constant CC depends on the solutions used to form WW.
  • For the second-order equation in self-adjoint form, (p y′)′+q y=0(p\,y')' + q\,y = 0 with p≠0p \ne 0 (so that a0=pa_0 = p and a1=p′a_1 = p'), this gives W(x)=C/p(x)W(x) = C/p(x).
Idea of the proofOriginal

Everything follows from one observation: reading off the initial data at a fixed point x0x_0 is a linear map

Ex0:S→Cn,Ex0(φ)=(φ(x0),φ′(x0),…,φ(n−1)(x0)).E_{x_0} : \mathcal{S} \to \mathbb{C}^n , \qquad E_{x_0}(\varphi) = \bigl(\varphi(x_0), \varphi'(x_0), \dots, \varphi^{(n-1)}(x_0)\bigr) .

The existence theorem says Ex0E_{x_0} is onto; the uniqueness theorem says its kernel is {0}\{0\}. So Ex0E_{x_0} is an isomorphism and dim⁡S=n\dim\mathcal{S} = n. The Wronskian at x0x_0 is precisely the determinant of the nn vectors Ex0(φ1),…,Ex0(φn)E_{x_0}(\varphi_1), \dots, E_{x_0}(\varphi_n), so the Wronskian criterion is nothing but the statement that nn vectors in Cn\mathbb{C}^n are independent exactly when their determinant is nonzero — transported through the isomorphism. Abel's formula is separate: differentiating a determinant gives a sum of nn determinants, all but the last have a repeated row, and in the last the equation lets us replace the bottom row φk(n)\varphi_k^{(n)} by −a1φk(n−1)−⋯−anφk-a_1\varphi_k^{(n-1)} - \cdots - a_n \varphi_k, of which only the −a1-a_1 term survives row operations. So W′=−a1WW' = -a_1 W, a first-order equation.

Proof(Superposition and the dimension of the solution space)AdaptedAdapted from Coddington (1989), Ch. 3, Thms 4, 5 and 7, pp. 106-113

Step 1 (part 1). For functions with nn derivatives, L(c1φ1+⋯+cmφm)=c1L(φ1)+⋯+cmL(φm)L(c_1\varphi_1 + \cdots + c_m\varphi_m) = c_1 L(\varphi_1) + \cdots + c_m L(\varphi_m), because each derivative is linear and the coefficients multiply pointwise. If every L(φj)=0L(\varphi_j) = 0, the right side is 00. Hence S\mathcal{S} is closed under linear combinations, and it contains the zero function, so it is a vector space.

Step 2 (part 2). Existence of a solution on all of II with prescribed data at x0x_0, and its uniqueness, is the existence and uniqueness theorem applied to the first-order system for (y,y′,…,y(n−1))(y, y', \dots, y^{(n-1)}); it uses the continuity of a1,…,ana_1, \dots, a_n on II, which is available because we divided by a0≠0a_0 \neq 0. (Uniqueness alone is elementary: if φ,ψ\varphi, \psi are two solutions with the same data, χ=φ−ψ\chi = \varphi - \psi solves L(y)=0L(y) = 0 with zero data at x0x_0, and a Gronwall-type estimate on each closed bounded subinterval forces χ≡0\chi \equiv 0.)

Step 3 (Ex0E_{x_0} is a linear isomorphism). The map Ex0E_{x_0} of the idea is linear, since differentiation and evaluation are. Part 2 says exactly that it is a bijection of S\mathcal{S} onto Cn\mathbb{C}^n. Hence dim⁡S=dim⁡Cn=n\dim\mathcal{S} = \dim\mathbb{C}^n = n.

Step 4 (existence of nn independent solutions). Let e1,…,ene_1, \dots, e_n be the standard basis of Cn\mathbb{C}^n and let ψk=Ex0−1(ek)\psi_k = E_{x_0}^{-1}(e_k), that is, the solution with ψk(k−1)(x0)=1\psi_k^{(k-1)}(x_0) = 1 and all other derivatives of order <n< n vanishing at x0x_0. If c1ψ1+⋯+cnψn=0c_1\psi_1 + \cdots + c_n\psi_n = 0 on II, applying the linear map Ex0E_{x_0} gives c1e1+⋯+cnen=0c_1e_1 + \cdots + c_ne_n = 0 in Cn\mathbb{C}^n, so every ck=0c_k = 0. These nn solutions are therefore linearly independent.

Step 5 (any nn independent solutions are a basis). Let φ1,…,φn\varphi_1, \dots, \varphi_n be solutions, linearly independent on II. Linear independence in S\mathcal{S} means precisely linear independence as functions on II — the defining relation ∑kckφk=0\sum_k c_k\varphi_k = 0 is the same in both readings. By Step 3, S\mathcal{S} has dimension nn, and nn independent vectors in an nn-dimensional space span it. So every solution is a linear combination ∑kckφk\sum_k c_k\varphi_k, and the coefficients are unique because the φk\varphi_k are independent. □\square

Proof(The Wronskian criterion)AdaptedAdapted from Coddington (1989), Ch. 3, Thm 6, pp. 111-112; Stakgold & Holst (2011), Thm 3.1.2, pp. 187-188

Fix x∈Ix \in I and let M(x)M(x) be the matrix in the definition of the Wronskian, built from φ1,…,φn\varphi_1, \dots, \varphi_n; its kk-th column is Ex(φk)E_x(\varphi_k), so W(x)=det⁡M(x)W(x) = \det M(x).

Step 1 (3⇒13 \Rightarrow 1). Suppose W(x0)≠0W(x_0) \ne 0 and c1φ1+⋯+cnφn=0c_1\varphi_1 + \cdots + c_n\varphi_n = 0 on II. Differentiating this identity n−1n-1 times gives

c1φ1(j)(x)+⋯+cnφn(j)(x)=0,j=0,1,…,n−1,c_1\varphi_1^{(j)}(x) + \cdots + c_n\varphi_n^{(j)}(x) = 0, \qquad j = 0, 1, \dots, n-1,

for every x∈Ix \in I. At x=x0x = x_0 this is the homogeneous linear system M(x0) c=0M(x_0)\,c = 0 for c=(c1,…,cn)c = (c_1, \dots, c_n). Since det⁡M(x0)=W(x0)≠0\det M(x_0) = W(x_0) \ne 0, the determinant criterion for invertibility gives c=0c = 0. So the solutions are linearly independent on II.

Step 2 (1⇒21 \Rightarrow 2), by contraposition. Suppose W(x1)=0W(x_1) = 0 for some x1∈Ix_1 \in I. Then M(x1)M(x_1) is singular, so there is a nonzero c∈Cnc \in \mathbb{C}^n with M(x1)c=0M(x_1)c = 0. Put ψ=c1φ1+⋯+cnφn\psi = c_1\varphi_1 + \cdots + c_n\varphi_n. By superposition ψ\psi solves L(y)=0L(y) = 0, and M(x1)c=0M(x_1)c = 0 says that ψ\psi and its first n−1n-1 derivatives vanish at x1x_1. The zero function is also such a solution, so by the uniqueness in part 2 of the structure theorem, ψ≡0\psi \equiv 0 on II. Since not all ckc_k vanish, φ1,…,φn\varphi_1, \dots, \varphi_n are linearly dependent on II. Hence independence forces WW to be nonvanishing at every point of II.

Step 3 (the three statements are equivalent). Step 1 is 3⇒13 \Rightarrow 1, Step 2 is 1⇒21 \Rightarrow 2, and 2⇒32 \Rightarrow 3 is immediate because x0∈Ix_0 \in I. □\square

The point of the equivalence of 2 and 3 is practical: the Wronskian of solutions cannot vanish at some points of II and not at others, so one evaluation suffices. Abel's formula below shows the same thing directly, since an exponential never vanishes.

Proof(Abel's formula)AdaptedAdapted from Coddington (1989), Ch. 3, Thm 8, pp. 113-115

Step 1 (differentiate the determinant). A determinant is a sum of products of one entry from each row, so by the product rule its derivative is the sum of the nn determinants obtained by differentiating one row at a time:

W′  =  V1+V2+⋯+Vn,W' \;=\; V_1 + V_2 + \cdots + V_n ,

where VkV_k agrees with WW except that its kk-th row is differentiated.

Step 2 (all but the last term vanish). For k≤n−1k \le n-1, differentiating row kk of WW (whose entries are φj(k−1)\varphi_j^{(k-1)}) produces the row with entries φj(k)\varphi_j^{(k)}, which is already row k+1k+1 of WW. So VkV_k has two equal rows and Vk=0V_k = 0. Only VnV_n survives, whose bottom row has entries φj(n)\varphi_j^{(n)}.

Step 3 (use the equation). Here we use that every φj\varphi_j solves L(y)=0L(y) = 0:

φj(n)  =  −a1φj(n−1)−a2φj(n−2)−⋯−anφj.\varphi_j^{(n)} \;=\; -a_1\varphi_j^{(n-1)} - a_2\varphi_j^{(n-2)} - \cdots - a_n\varphi_j .

Substituting this bottom row into VnV_n, and then adding to the bottom row ana_n times the first row, an−1a_{n-1} times the second row, ..., a2a_2 times the (n−1)(n-1)-st row — operations that do not change a determinant — cancels every term except the first, leaving the bottom row (−a1φ1(n−1),…,−a1φn(n−1))(-a_1\varphi_1^{(n-1)}, \dots, -a_1\varphi_n^{(n-1)}). That row is −a1-a_1 times row nn of WW, so

W′  =  Vn  =  −a1(x) W.W' \;=\; V_n \;=\; -a_1(x)\,W .

Step 4 (solve the first-order equation). a1a_1 is continuous on II, so A(x)=∫x0xa1(t) dtA(x) = \int_{x_0}^{x} a_1(t)\,dt is defined and differentiable on II. Then (eAW)′=eA(W′+a1W)=0\bigl(e^{A}W\bigr)' = e^{A}(W' + a_1W) = 0, so eAWe^{A}W is constant on II; evaluating at x=x0x = x_0, where A(x0)=0A(x_0) = 0, that constant is W(x0)W(x_0). Hence W(x)=e−A(x)W(x0)W(x) = e^{-A(x)}W(x_0), which is the formula. □\square

For n=2n = 2 Step 3 is a two-line computation: W=φ1φ2′−φ1′φ2W = \varphi_1\varphi_2' - \varphi_1'\varphi_2 gives W′=φ1φ2′′−φ1′′φ2W' = \varphi_1\varphi_2'' - \varphi_1''\varphi_2, and substituting φj′′=−a1φj′−a2φj\varphi_j'' = -a_1\varphi_j' - a_2\varphi_j makes the a2a_2 terms cancel, leaving W′=−a1WW' = -a_1W.

Theorem(Inhomogeneous equations)AdaptedAdapted from Coddington (1989), Ch. 3, §6, p. 122 and Thm 11, p. 123; Riley, Hobson & Bence (2006), §15.1, Eq. (15.7), p. 492

Let bb be continuous on II, let φp\varphi_p be one solution of L(y)=bL(y) = b on II, and let φ1,…,φn\varphi_1, \dots, \varphi_n be a fundamental set for L(y)=0L(y) = 0 on II. Then the solutions of L(y)=bL(y) = b on II are exactly the functions

φ  =  φp+c1φ1+⋯+cnφn,\varphi \;=\; \varphi_p + c_1\varphi_1 + \cdots + c_n\varphi_n ,

c1,…,cnc_1, \dots, c_n constants, and the constants are uniquely determined by φ\varphi. In the physicists' names: the general solution is a particular integral plus the complementary function, the latter carrying the nn arbitrary constants that the initial or boundary conditions fix.

ProofAdaptedAdapted from Coddington (1989), Ch. 3, §6, p. 122

If φ\varphi solves L(y)=bL(y) = b, then by linearity L(φ−φp)=b−b=0L(\varphi - \varphi_p) = b - b = 0, so φ−φp\varphi - \varphi_p is a solution of the homogeneous equation and the structure theorem writes it as ∑kckφk\sum_k c_k\varphi_k with unique constants. Conversely, if φ=φp+∑kckφk\varphi = \varphi_p + \sum_k c_k\varphi_k then L(φ)=L(φp)+∑kckL(φk)=b+0=bL(\varphi) = L(\varphi_p) + \sum_k c_k L(\varphi_k) = b + 0 = b. □\square

Remark(Where the hypotheses are used)Original
  • a0≠0a_0 \ne 0 on II is essential, not cosmetic. Take x2y′′−2xy′+2y=0x^2y'' - 2xy' + 2y = 0 on I=RI = \mathbb{R}, whose leading coefficient vanishes at x=0x = 0. Both φ1(x)=x\varphi_1(x) = x and φ2(x)=x2\varphi_2(x) = x^2 are solutions on R\mathbb{R}, and they are linearly independent there, yet

    W(φ1,φ2)(x)=x⋅2x−1⋅x2=x2W(\varphi_1, \varphi_2)(x) = x\cdot 2x - 1 \cdot x^2 = x^2

    vanishes at x=0x = 0: statements 2 and 3 of the Wronskian criterion fail. Part 2 of the structure theorem fails in both directions at the same point. Existence fails because setting x=0x = 0 in the equation leaves 2y(0)=02y(0) = 0, so every solution on an interval containing 00 — not merely those of the form c1x+c2x2c_1x + c_2x^2 — has φ(0)=0\varphi(0) = 0, and the initial-value problem with φ(0)=1\varphi(0) = 1 has no solution. Uniqueness fails because the data φ(0)=φ′(0)=0\varphi(0) = \varphi'(0) = 0 are satisfied by c2x2c_2x^2 for every c2c_2. Away from the singular point, say on I=(0,∞)I = (0, \infty), the theory applies in full: there W=x2≠0W = x^2 \neq 0 and {x,x2}\{x, x^2\} is a fundamental set (see Euler-Cauchy equations).

  • Continuity of the aka_k on the whole of II is what makes Step 2 give a solution on all of II rather than only near x0x_0. This is special to linear equations: nonlinear equations can lose their solutions in finite time even with smooth data.

  • The criterion is about solutions of one equation. For functions that are not solutions of a common linear equation, a Wronskian vanishing identically does not imply dependence. On I=(−1,1)I = (-1, 1) put f1(x)=x2f_1(x) = x^2 and f2(x)=x∣x∣f_2(x) = x|x|. Both are differentiable, f2′=2∣x∣f_2' = 2|x|, so

    W(f1,f2)=x2⋅2∣x∣−2x⋅x∣x∣=0W(f_1, f_2) = x^2 \cdot 2|x| - 2x \cdot x|x| = 0

    identically, yet f1,f2f_1, f_2 are independent on II: c1f1+c2f2=0c_1f_1 + c_2f_2 = 0 at x=12x = \tfrac12 and at x=−12x = -\tfrac12 gives c1+c2=0c_1 + c_2 = 0 and c1−c2=0c_1 - c_2 = 0. The two functions cannot both be solutions of a normalised second-order equation on II, and indeed the equation they do satisfy is the singular one above, x2y′′−2xy′+2y=0x^2y'' - 2xy' + 2y = 0 — and only for x≠0x \neq 0, since f2=x∣x∣f_2 = x|x| has no second derivative at the origin. This example is Stakgold and Holst's (Stakgold & Holst (2011), p. 187).

  • How the books phrase that warning. We follow (Coddington (1989), Ch. 3, Thm 6, pp. 111-112) and (Stakgold & Holst (2011), Thm 3.1.2, pp. 187-188) in stating the equivalence only for nn solutions of L(y)=0L(y) = 0. Riley, Hobson and Bence (Riley, Hobson & Bence (2006), p. 491) give the same direction we use (a nonvanishing Wronskian implies independence) and warn that a Wronskian which vanishes is not by itself evidence of dependence. Arfken, Weber and Harris (Arfken, Weber & Harris (2013), §7.6, pp. 359-360) do assert that functions whose Wronskian is zero over the entire range are linearly dependent, but their footnote to that assertion assumes continuous derivatives and that at least one minor of the bottom row does not vanish on the interval; the x2,x∣x∣x^2, x|x| pair fails that extra condition. Hassani (Hassani (2013), Thm 14.4.3, p. 425) states the equivalence for two differentiable functions that are nonzero in the interval, a hypothesis the pair also fails.

  • Abel's formula needs no independence. It holds for any nn solutions. If they are dependent, W(x0)=0W(x_0) = 0 and the formula correctly returns W≡0W \equiv 0.

Example(A fundamental set for Legendre's equation with ℓ=1\ell = 1)Original

Take

(1−x2) y′′−2x y′+2y=0on I=(−1,1).(1 - x^2)\,y'' - 2x\,y' + 2y = 0 \qquad \text{on } I = (-1, 1) .

The leading coefficient 1−x21 - x^2 is nonzero on II, and dividing by it gives the normalised coefficients

a1(x)=−2x1−x2,a2(x)=21−x2,a_1(x) = \frac{-2x}{1 - x^2}, \qquad a_2(x) = \frac{2}{1 - x^2} ,

both continuous on II. So the solution space on II has dimension 22.

  1. Two solutions. By inspection φ1(x)=x\varphi_1(x) = x solves the equation: y′′=0y'' = 0 and −2x+2x=0-2x + 2x = 0. A second solution, obtained from the first by reduction of order, is

    φ2(x)=x2 ln⁡1+x1−x−1.\varphi_2(x) = \frac{x}{2}\,\ln\frac{1 + x}{1 - x} - 1 .

    Check it directly: with L=ln⁡1+x1−xL = \ln\frac{1+x}{1-x} one has L′=21−x2L' = \frac{2}{1 - x^2}, so φ2′=12L+x1−x2\varphi_2' = \tfrac12 L + \frac{x}{1 - x^2} and φ2′′=11−x2+1+x2(1−x2)2\varphi_2'' = \frac{1}{1-x^2} + \frac{1 + x^2}{(1 - x^2)^2}, and substituting gives 00.

  2. Wronskian, computed directly.

    W=φ1φ2′−φ1′φ2=x(12L+x1−x2)−(x2L−1)=x21−x2+1=11−x2.W = \varphi_1\varphi_2' - \varphi_1'\varphi_2 = x\left(\tfrac12 L + \frac{x}{1 - x^2}\right) - \left(\tfrac{x}{2}L - 1\right) = \frac{x^2}{1 - x^2} + 1 = \frac{1}{1 - x^2} .

    The LL terms cancel, as they must: the Wronskian of two solutions is far simpler than either solution.

  3. Wronskian, from Abel's formula. With x0=0x_0 = 0,

    −∫0xa1(t) dt=∫0x2t1−t2 dt=−ln⁡(1−x2),-\int_0^x a_1(t)\,dt = \int_0^x \frac{2t}{1 - t^2}\,dt = -\ln(1 - x^2) ,

    so W(x)=W(0)/(1−x2)W(x) = W(0)/(1 - x^2). Since φ1(0)=0\varphi_1(0) = 0, φ1′(0)=1\varphi_1'(0) = 1, φ2(0)=−1\varphi_2(0) = -1, φ2′(0)=0\varphi_2'(0) = 0, we get W(0)=0⋅0−1⋅(−1)=1W(0) = 0\cdot 0 - 1 \cdot(-1) = 1 and W(x)=1/(1−x2)W(x) = 1/(1 - x^2), agreeing with step 2. This is also the self-adjoint case of Abel's formula: the equation is ((1−x2)y′)′+2y=0\bigl((1 - x^2)y'\bigr)' + 2y = 0, so W=C/pW = C/p with p=1−x2p = 1 - x^2 and C=1C = 1.

  4. Fundamental set. W(0)=1≠0W(0) = 1 \neq 0, so by the Wronskian criterion {φ1,φ2}\{\varphi_1, \varphi_2\} is a fundamental set on (−1,1)(-1,1), and WW is nonvanishing on all of (−1,1)(-1,1) — as the closed form confirms.

  5. Solving an initial-value problem. For φ(0)=2\varphi(0) = 2, φ′(0)=3\varphi'(0) = 3, write φ=c1φ1+c2φ2\varphi = c_1\varphi_1 + c_2\varphi_2. The data give −c2=2-c_2 = 2 and c1=3c_1 = 3, so

    φ(x)=3x−2(x2ln⁡1+x1−x−1)=3x+2−x ln⁡1+x1−x.\varphi(x) = 3x - 2\left(\frac{x}{2}\ln\frac{1+x}{1-x} - 1\right) = 3x + 2 - x\,\ln\frac{1+x}{1-x} .

    At x=12x = \tfrac12 this is 3.5−12ln⁡3=2.950 693.5 - \tfrac12\ln 3 = 2.950\,69 to six significant figures (2.950 693 8562.950\,693\,856 to ten).

  6. What breaks at x=±1x = \pm 1. The normalised coefficients blow up there, the solution space on an interval containing x=1x = 1 is not described by the theorem, and indeed φ2\varphi_2 is unbounded as x→1−x \to 1^- while φ1\varphi_1 is not. The Wronskian 1/(1−x2)1/(1 - x^2) diverges at the same places, which is Abel's formula telling us where the trouble is without our having to find the solutions.

ApplicationOriginal

Three uses, in increasing order of depth.

Counting the constants. A physicist writing down a linear model of order nn — a beam equation, an RLC circuit, a linearised normal-mode problem — knows before doing any work that the general solution carries exactly nn arbitrary constants, and therefore that exactly nn conditions (initial values, or boundary values at two ends) are needed and that more than nn will generally be inconsistent. The dimension theorem is what licenses the superposition of normal modes: because the solution space is finite-dimensional with a basis, decomposing an arbitrary motion into modes is a change of basis, not an approximation.

The Wronskian in the denominator. The Wronskian of a fundamental set is the determinant that must be inverted when a particular solution is built from the homogeneous ones, so it appears in the denominator of variation of parameters and in the normalisation of the one-dimensional Green's function. Abel's formula makes that denominator explicit before the solutions are known: for the self-adjoint equation (p y′)′+q y=0(p\,y')' + q\,y = 0, W=C/pW = C/p, which is why Green's functions for Sturm-Liouville operators carry a factor 1/(p W)1/(p\,W) that is simply a constant.

Constancy of the Wronskian in quantum mechanics. The time-independent Schrodinger equation −ℏ22mψ′′+V(x)ψ=Eψ-\frac{\hbar^2}{2m}\psi'' + V(x)\psi = E\psi has no first-derivative term, so a1=0a_1 = 0 and the Wronskian of any two solutions is constant in xx. Several standard facts are this statement in disguise: the probability current of a stationary state is xx-independent; the transmission and reflection amplitudes of a one-dimensional barrier satisfy ∣t∣2+∣r∣2=1|t|^2 + |r|^2 = 1, obtained by equating the constant Wronskian of the incoming and outgoing asymptotic forms on the two sides of the barrier; and a bound state, which decays at both ends, forces the Wronskian to vanish, so the decaying solutions at the two ends must be proportional — which is exactly the quantisation condition that selects the allowed energies.

Method

Constant-coefficient equations

Adapted

One identity, L(eλxq)=eλx∑jp(j)(λ)q(j)/j!L(e^{\lambda x}q) = e^{\lambda x}\sum_j p^{(j)}(\lambda)q^{(j)}/j!, delivers the whole method — a fundamental set xreλjxx^{r}e^{\lambda_j x} read off the roots of the characteristic polynomial, the real form for a complex pair, and a polynomial-times-exponential particular solution whose degree rises by the multiplicity of the forcing exponent, which is resonance.

Prerequisites: Structure of linear equations and the Wronskian

Definition(The characteristic polynomial)AdaptedAdapted from Coddington (1989), Ch. 2, §7, p. 71; Hassani (2013), §14.7, Eqs. (14.37)-(14.39), p. 446; Riley, Hobson & Bence (2006), §15.1, Eqs. (15.8)-(15.10), p. 492

Let a1,…,ana_1, \dots, a_n be constants (real or complex) and

L(y)  =  y(n)+a1y(n−1)+a2y(n−2)+⋯+any.L(y) \;=\; y^{(n)} + a_1 y^{(n-1)} + a_2 y^{(n-2)} + \cdots + a_n y .

Its characteristic polynomial is

p(λ)  =  λn+a1λn−1+a2λn−2+⋯+an,p(\lambda) \;=\; \lambda^{n} + a_1\lambda^{n-1} + a_2\lambda^{n-2} + \cdots + a_n ,

so that LL is obtained from pp by replacing λk\lambda^{k} with dk/dxkd^{k}/dx^{k}. The equation p(λ)=0p(\lambda) = 0 is called the characteristic equation, or (in much of the physics literature) the auxiliary equation. By the fundamental theorem of algebra it factorises as

p(λ)  =  (λ−λ1)k1(λ−λ2)k2⋯(λ−λm)km,k1+k2+⋯+km=n,p(\lambda) \;=\; (\lambda - \lambda_1)^{k_1}(\lambda - \lambda_2)^{k_2}\cdots(\lambda - \lambda_m)^{k_m} , \qquad k_1 + k_2 + \cdots + k_m = n ,

with λ1,…,λm\lambda_1, \dots, \lambda_m the distinct roots and kjk_j the multiplicity of λj\lambda_j. Since the coefficients are constants they are continuous on every interval, so the whole of Structure of linear equations and the Wronskian applies on I=RI = \mathbb{R}: the solution space of L(y)=0L(y) = 0 has dimension nn there.

Method(The exponential-shift identity)AdaptedAdapted from Coddington (1989), Ch. 2, §7, Eq. (7.1) and the computation of $\\partial^k L(e^{rx})/\\partial r^k$, pp. 71-72

For every λ∈C\lambda \in \mathbb{C} and every function qq with nn derivatives,

L(eλxq(x))  =  eλx∑j=0np(j)(λ)j! q(j)(x).(∗)L\bigl(e^{\lambda x}q(x)\bigr) \;=\; e^{\lambda x}\sum_{j=0}^{n}\frac{p^{(j)}(\lambda)}{j!}\,q^{(j)}(x) . \tag{$\ast$}

In particular L(eλx)=p(λ)eλxL(e^{\lambda x}) = p(\lambda)e^{\lambda x}, and for an integer k≥0k \ge 0

L(xkeλx)  =  eλx∑j=0k(kj) p(j)(λ) xk−j.L\bigl(x^{k}e^{\lambda x}\bigr) \;=\; e^{\lambda x}\sum_{j=0}^{k}\binom{k}{j}\,p^{(j)}(\lambda)\,x^{k-j} .
Method(A fundamental set from the roots)AdaptedAdapted from Coddington (1989), Ch. 2, §7, Thms 11 and 12, pp. 71-73; Hassani (2013), §14.7, Thm 14.7.1, p. 447

Let λ1,…,λm\lambda_1, \dots, \lambda_m be the distinct roots of pp, with multiplicities k1,…,kmk_1, \dots, k_m. Then the nn functions

xreλjx,r=0,1,…,kj−1,j=1,…,m,x^{r}e^{\lambda_j x}, \qquad r = 0, 1, \dots, k_j - 1, \quad j = 1, \dots, m ,

are solutions of L(y)=0L(y) = 0, they are linearly independent on every interval II, and they are therefore a fundamental set: every solution of L(y)=0L(y) = 0 is

y(x)  =  ∑j=1m(cj,0+cj,1x+⋯+cj,kj−1xkj−1)eλjxy(x) \;=\; \sum_{j=1}^{m}\bigl(c_{j,0} + c_{j,1}x + \cdots + c_{j,k_j-1}x^{k_j-1}\bigr)e^{\lambda_j x}

with uniquely determined constants cj,rc_{j,r}.

Method(Undetermined coefficients for polynomial-times-exponential forcing)AdaptedAdapted from Hassani (2013), §14.7, Thm 14.7.3, p. 448

Let SS be a polynomial of degree dd. Then L(y)=eλxS(x)L(y) = e^{\lambda x}S(x) always has a particular solution yp=eλxq(x)y_p = e^{\lambda x}q(x) with qq again a polynomial, and the degree of qq is

deg⁡q  =  {d,p(λ)≠0,d+kj,λ=λj a root of p of multiplicity kj.\deg q \;=\; \begin{cases} d , & p(\lambda) \ne 0 , \\[2pt] d + k_j , & \lambda = \lambda_j \text{ a root of } p \text{ of multiplicity } k_j . \end{cases}

So resonance costs exactly the multiplicity in extra powers of xx. Two riders, both visible in the proof: for p(λ)≠0p(\lambda) \ne 0 the polynomial qq is unique, while in the resonant case the kjk_j lowest coefficients of qq are left free by the equation and may be set to zero, since xreλjxx^{r}e^{\lambda_j x} with r<kjr < k_j is already part of the complementary function.

Idea of the proofOriginal

Differentiating eλxe^{\lambda x} reproduces it, so LL acting on eλxe^{\lambda x} can only multiply it by a number, and that number is p(λ)p(\lambda). Everything else follows from watching how this degenerates. Reading L(eλx)=p(λ)eλxL(e^{\lambda x}) = p(\lambda)e^{\lambda x} as an identity in λ\lambda and differentiating it kk times in λ\lambda — legitimate because LL differentiates in xx, and the two derivatives commute — produces xkeλxx^{k}e^{\lambda x} on the left and the derivatives p(j)(λ)p^{(j)}(\lambda) on the right. A root of multiplicity kk is exactly a λ\lambda at which pp and its first k−1k-1 derivatives vanish, so the right-hand side vanishes for x0eλx,…,xk−1eλxx^{0}e^{\lambda x}, \dots, x^{k-1}e^{\lambda x}: the multiplicity of the root is the number of extra powers of xx it supplies. Collecting the identities for all kk gives one formula, (∗)(\ast), which says that LL acts on eλx×{polynomials}e^{\lambda x}\times\{\text{polynomials}\} as the constant-coefficient operator ∑jp(j)(λ)Dj/j!\sum_j p^{(j)}(\lambda)D^{j}/j! on the polynomial alone. That operator is triangular in the degree, with p(λ)p(\lambda) on the diagonal; it is invertible when p(λ)≠0p(\lambda) \ne 0, and when λ\lambda is a root of multiplicity kk it kills polynomials of degree <k< k and is "kk integrations" on the rest. Hence the degree of the answer goes up by exactly kk. That degree increase is resonance.

Proof(The exponential-shift identity)AdaptedAdapted from Coddington (1989), Ch. 2, §7, pp. 71-72

Step 1 (the bare exponential). dkdxkeλx=λkeλx\frac{d^{k}}{dx^{k}}e^{\lambda x} = \lambda^{k}e^{\lambda x}, so

L(eλx)=(λn+a1λn−1+⋯+an)eλx=p(λ)eλx.L(e^{\lambda x}) = \bigl(\lambda^{n} + a_1\lambda^{n-1} + \cdots + a_n\bigr)e^{\lambda x} = p(\lambda)e^{\lambda x} .

Step 2 (differentiate in λ\lambda). Both sides are entire in λ\lambda and polynomial in xx times eλxe^{\lambda x}, so we may differentiate kk times with respect to λ\lambda and interchange ∂λk\partial_\lambda^{k} with the xx-derivatives in LL. On the left, ∂λkeλx=xkeλx\partial_\lambda^{k}e^{\lambda x} = x^{k}e^{\lambda x}. On the right, Leibniz's rule for the product p(λ)⋅eλxp(\lambda)\cdot e^{\lambda x} gives

L(xkeλx)  =  ∂λk(p(λ)eλx)  =  ∑j=0k(kj)p(j)(λ) xk−jeλx,L\bigl(x^{k}e^{\lambda x}\bigr) \;=\; \partial_\lambda^{k}\bigl(p(\lambda)e^{\lambda x}\bigr) \;=\; \sum_{j=0}^{k}\binom{k}{j}p^{(j)}(\lambda)\,x^{k-j}e^{\lambda x} ,

the sum stopping at j=kj = k because ∂λk−jeλx=xk−jeλx\partial_\lambda^{k-j}e^{\lambda x} = x^{k-j}e^{\lambda x}.

Step 3 (rewrite as an operator on qq). For q(x)=xkq(x) = x^{k} we have q(j)(x)=k!(k−j)!xk−jq^{(j)}(x) = \frac{k!}{(k-j)!}x^{k-j} for j≤kj \le k and q(j)=0q^{(j)} = 0 for j>kj > k, so

p(j)(λ)j! q(j)(x)=k!j! (k−j)! p(j)(λ) xk−j=(kj)p(j)(λ) xk−j.\frac{p^{(j)}(\lambda)}{j!}\,q^{(j)}(x) = \frac{k!}{j!\,(k-j)!}\,p^{(j)}(\lambda)\,x^{k-j} = \binom{k}{j}p^{(j)}(\lambda)\,x^{k-j} .

Thus (∗)(\ast) holds for every monomial, hence by linearity of both sides for every polynomial qq. Finally, p(j)≡0p^{(j)} \equiv 0 for j>nj > n, so for a general nn-times differentiable qq the sum in (∗)(\ast) is the finite sum written, and the identity extends to it: both sides are linear in qq and, expanded by the Leibniz rule, the coefficient of q(j)q^{(j)} on the left is ∑i≥j(ij)an−iλi−j=p(j)(λ)/j!\sum_{i \ge j}\binom{i}{j}a_{n-i}\lambda^{i-j} = p^{(j)}(\lambda)/j!, where a0:=1a_0 := 1. □\square

Proof(A fundamental set from the roots)AdaptedAdapted from Coddington (1989), Ch. 2, §7, Thms 11 and 12, pp. 71-73

Step 1 (they are solutions). Let λj\lambda_j have multiplicity kjk_j. Writing p(λ)=(λ−λj)kjg(λ)p(\lambda) = (\lambda - \lambda_j)^{k_j}g(\lambda) and differentiating, every derivative p(i)p^{(i)} with i<kji < k_j still carries a factor (λ−λj)(\lambda - \lambda_j), so

p(λj)=p′(λj)=⋯=p(kj−1)(λj)=0.p(\lambda_j) = p'(\lambda_j) = \cdots = p^{(k_j-1)}(\lambda_j) = 0 .

For 0≤r≤kj−10 \le r \le k_j - 1, the identity of Step 2 of the previous proof gives L(xreλjx)=∑i=0r(ri)p(i)(λj)xr−ieλjxL(x^{r}e^{\lambda_j x}) = \sum_{i=0}^{r}\binom{r}{i}p^{(i)}(\lambda_j)x^{r-i}e^{\lambda_j x}, and every index ii occurring satisfies i≤r≤kj−1i \le r \le k_j - 1, so every term vanishes. Hence xreλjxx^{r}e^{\lambda_j x} solves L(y)=0L(y) = 0.

Step 2 (there are nn of them). Summing the multiplicities, k1+⋯+km=deg⁡p=nk_1 + \cdots + k_m = \deg p = n.

Step 3 (independence: reduce to a statement about polynomials). Suppose constants cj,rc_{j,r} satisfy

P1(x)eλ1x+P2(x)eλ2x+⋯+Pm(x)eλmx=0on an interval I,P_1(x)e^{\lambda_1 x} + P_2(x)e^{\lambda_2 x} + \cdots + P_m(x)e^{\lambda_m x} = 0 \qquad\text{on an interval } I,

where Pj(x)=∑r=0kj−1cj,rxrP_j(x) = \sum_{r=0}^{k_j-1}c_{j,r}x^{r}. We must show every PjP_j is the zero polynomial. Suppose not, and (relabelling) let P1≢0P_1 \not\equiv 0. Multiply the identity by e−λ1xe^{-\lambda_1 x}, which never vanishes:

P1(x)+P2(x)e(λ2−λ1)x+⋯+Pm(x)e(λm−λ1)x=0.P_1(x) + P_2(x)e^{(\lambda_2-\lambda_1)x} + \cdots + P_m(x)e^{(\lambda_m-\lambda_1)x} = 0 .

Step 4 (differentiate away one exponential at a time). Differentiate this identity deg⁡P1+1\deg P_1 + 1 times. The first term dies. In every other term, ddx(Q(x)eμx)=(μQ+Q′)eμx\frac{d}{dx}\bigl(Q(x)e^{\mu x}\bigr) = \bigl(\mu Q + Q'\bigr)e^{\mu x} with μ=λi−λ1≠0\mu = \lambda_i - \lambda_1 \ne 0, so each differentiation replaces the polynomial QQ by μQ+Q′\mu Q + Q', which has the same degree and the same leading coefficient scaled by the nonzero μ\mu; in particular a nonzero polynomial stays nonzero. We are left with

P~2(x)e(λ2−λ1)x+⋯+P~m(x)e(λm−λ1)x=0\widetilde{P}_2(x)e^{(\lambda_2-\lambda_1)x} + \cdots + \widetilde{P}_m(x)e^{(\lambda_m-\lambda_1)x} = 0

with deg⁡P~i=deg⁡Pi\deg \widetilde{P}_i = \deg P_i and P~i≢0\widetilde{P}_i \not\equiv 0 whenever Pi≢0P_i \not\equiv 0. One exponential has been eliminated at no cost.

Step 5 (iterate and conclude). Repeating Steps 3 and 4 at most m−1m-1 more times leaves a single term R(x)eμx=0R(x)e^{\mu x} = 0 on II with deg⁡R=deg⁡Pi0\deg R = \deg P_{i_0} for some index i0i_0 with Pi0≢0P_{i_0} \not\equiv 0. Since eμx≠0e^{\mu x} \ne 0, RR vanishes at every point of the interval II, which has infinitely many points, so R≡0R \equiv 0 — contradicting that RR is nonzero of the same degree. Hence all Pj≡0P_j \equiv 0, i.e. all cj,r=0c_{j,r} = 0: the nn functions are linearly independent on II.

Step 6 (they span). They are nn linearly independent solutions, so by the dimension theorem they form a basis of the nn-dimensional solution space, and the coefficients in the expansion of a given solution are unique. □\square

Proof(Undetermined coefficients)Original

By (∗)(\ast), for a polynomial qq,

L(eλxq)=eλx Mλ[q],Mλ  =  ∑j≥0p(j)(λ)j! Dj,D=ddx.L\bigl(e^{\lambda x}q\bigr) = e^{\lambda x}\,M_\lambda[q], \qquad M_\lambda \;=\; \sum_{j\ge 0}\frac{p^{(j)}(\lambda)}{j!}\,D^{j} , \quad D = \frac{d}{dx} .

So we must solve Mλ[q]=SM_\lambda[q] = S for a polynomial qq. Let d=deg⁡Sd = \deg S.

Step 1 (non-resonant case p(λ)≠0p(\lambda) \ne 0). MλM_\lambda maps the space Pd\mathcal{P}_d of polynomials of degree ≤d\le d into itself, since DD lowers degree. In the basis 1,x,…,xd1, x, \dots, x^{d} its matrix is triangular with every diagonal entry equal to p(λ)p(\lambda), because the j=0j = 0 term is multiplication by p(λ)p(\lambda) and all other terms strictly lower the degree. Its determinant is p(λ)d+1≠0p(\lambda)^{d+1} \neq 0, so MλM_\lambda is a bijection of Pd\mathcal{P}_d: there is exactly one q∈Pdq \in \mathcal{P}_d with Mλ[q]=SM_\lambda[q] = S. Its degree is exactly dd, since the coefficient of xdx^{d} in Mλ[q]M_\lambda[q] is p(λ)p(\lambda) times that of qq.

Step 2 (resonant case: λ\lambda a root of multiplicity kk). Then p(λ)=⋯=p(k−1)(λ)=0p(\lambda) = \cdots = p^{(k-1)}(\lambda) = 0 and p(k)(λ)≠0p^{(k)}(\lambda) \ne 0, so the sum defining MλM_\lambda starts at j=kj = k:

Mλ[q]  =  ∑j≥kp(j)(λ)j! q(j)  =  Nλ[q(k)],Nλ=∑i≥0p(k+i)(λ)(k+i)! Di.M_\lambda[q] \;=\; \sum_{j \ge k}\frac{p^{(j)}(\lambda)}{j!}\,q^{(j)} \;=\; N_\lambda\bigl[q^{(k)}\bigr], \qquad N_\lambda = \sum_{i\ge 0}\frac{p^{(k+i)}(\lambda)}{(k+i)!}\,D^{i} .

NλN_\lambda has the form treated in Step 1 with p(λ)p(\lambda) replaced by the nonzero number p(k)(λ)/k!p^{(k)}(\lambda)/k!, so there is a unique polynomial QQ of degree dd with Nλ[Q]=SN_\lambda[Q] = S.

Step 3 (undo the kk derivatives). Choose any polynomial qq with q(k)=Qq^{(k)} = Q, for instance by integrating QQ kk times with zero constants. Then deg⁡q=d+k\deg q = d + k and Mλ[q]=Nλ[Q]=SM_\lambda[q] = N_\lambda[Q] = S, so yp=eλxqy_p = e^{\lambda x}q solves L(y)=eλxSL(y) = e^{\lambda x}S. The kk constants of integration are free: they change qq by a polynomial of degree <k< k, that is, they change ypy_p by a member of the complementary function xreλxx^{r}e^{\lambda x}, r<kr < k. Choosing them zero gives deg⁡q=d+k\deg q = d + k exactly, and no qq of lower degree can work, since q(k)q^{(k)} must equal the degree-dd polynomial QQ. □\square

Remark(Real equations and complex roots)AdaptedAdapted from Riley, Hobson & Bence (2006), §15.1.1, Eq. (15.12), p. 493; Arfken, Weber & Harris (2013), §7.3, p. 343; Hassani (2013), §14.7, p. 447

Suppose a1,…,ana_1, \dots, a_n are real, so that pp has real coefficients. Then non-real roots come in conjugate pairs of equal multiplicity: if λ=α+iβ\lambda = \alpha + i\beta with β≠0\beta \ne 0 is a root of multiplicity kk, so is λˉ=α−iβ\bar\lambda = \alpha - i\beta. For each r<kr < k the two complex solutions xre(α±iβ)xx^{r}e^{(\alpha\pm i\beta)x} may be replaced by the two real ones

xreαxcos⁡βx,xreαxsin⁡βx,x^{r}e^{\alpha x}\cos\beta x , \qquad x^{r}e^{\alpha x}\sin\beta x ,

their half-sum and half-difference-over-ii; the replacement is invertible, so it carries a fundamental set to a fundamental set. For r=0r = 0, Riley, Hobson and Bence (Riley, Hobson & Bence (2006), Eq. (15.12), p. 493) write the same pair in amplitude-phase form,

c1e(α+iβ)x+c2e(α−iβ)x=eαx(d1cos⁡βx+d2sin⁡βx)=Aeαxsin⁡(βx+ϕ),c_1e^{(\alpha+i\beta)x} + c_2e^{(\alpha-i\beta)x} = e^{\alpha x}\bigl(d_1\cos\beta x + d_2\sin\beta x\bigr) = Ae^{\alpha x}\sin(\beta x + \phi) ,

with AA and ϕ\phi arbitrary constants; this is the form a physicist wants, since AA is the amplitude and ϕ\phi the phase. A real-valued solution is obtained from real d1,d2d_1, d_2, equivalently from c2=cˉ1c_2 = \bar c_1.

Method(Solving L(y)=fL(y) = f with constant coefficients)AdaptedAdapted from Riley, Hobson & Bence (2006), §15.1.1-15.1.3, pp. 492-495; Hassani (2013), §14.7, pp. 446-449
  1. Write down p(λ)p(\lambda) by replacing dky/dxkd^{k}y/dx^{k} with λk\lambda^{k}, and find its roots with their multiplicities. (For n≤4n \le 4 this is algebra; beyond that, numerically.)
  2. Write the complementary function. Each root λj\lambda_j of multiplicity kjk_j contributes (cj,0+cj,1x+⋯+cj,kj−1xkj−1)eλjx(c_{j,0} + c_{j,1}x + \cdots + c_{j,k_j-1}x^{k_j-1})e^{\lambda_j x}. If the equation is real and you want a real answer, convert each conjugate pair to eαx(⋯cos⁡βx+⋯sin⁡βx)e^{\alpha x}(\cdots\cos\beta x + \cdots\sin\beta x) as in the remark.
  3. Split the forcing ff into terms of the form eλxS(x)e^{\lambda x}S(x) with SS a polynomial, using superposition: a particular solution of L(y)=f1+f2L(y) = f_1 + f_2 is the sum of particular solutions for f1f_1 and f2f_2. A pure polynomial is the case λ=0\lambda = 0; cos⁡ωx\cos\omega x and sin⁡ωx\sin\omega x are handled either by taking real and imaginary parts of the case λ=iω\lambda = i\omega, or by the trial pair b1cos⁡ωx+b2sin⁡ωxb_1\cos\omega x + b_2\sin\omega x.
  4. Choose the trial form for each piece: yp=eλxq(x)y_p = e^{\lambda x}q(x) with deg⁡q=deg⁡S\deg q = \deg S if p(λ)≠0p(\lambda) \ne 0, and deg⁡q=deg⁡S+k\deg q = \deg S + k if λ\lambda is a root of multiplicity kk. In the resonant case drop the kk lowest powers of xx from qq (they duplicate the complementary function), i.e. take q(x)=xk(b0+b1x+⋯+bdeg⁡Sxdeg⁡S)q(x) = x^{k}\bigl(b_0 + b_1x + \cdots + b_{\deg S}x^{\deg S}\bigr). Equivalently, in the recipe of (Riley, Hobson & Bence (2006), pp. 494-495): take the trial function suggested by ff and multiply it by the smallest power of xx that leaves no term already present in the complementary function.
  5. Fix the coefficients by substituting the trial form into the equation and matching powers of xx in each exponential. The computation is ∑jp(j)(λ)q(j)/j!=S\sum_{j}p^{(j)}(\lambda)q^{(j)}/j! = S, which is quickest to use directly: the derivatives p(j)(λ)p^{(j)}(\lambda) are a few numbers, computed once.
  6. Add and impose the data. The general solution is complementary function plus particular integral (Structure of linear equations and the Wronskian); then solve the linear system that the nn initial or boundary conditions impose on cj,rc_{j,r}.
Example(A third-order equation with a resonant forcing)Original

Solve

y′′′−3y′′+4y  =  e2x+12x,y(0)=y′(0)=y′′(0)=0.y''' - 3y'' + 4y \;=\; e^{2x} + 12x , \qquad y(0) = y'(0) = y''(0) = 0 .
  1. Characteristic polynomial. p(λ)=λ3−3λ2+4=(λ−2)2(λ+1)p(\lambda) = \lambda^{3} - 3\lambda^{2} + 4 = (\lambda - 2)^{2}(\lambda + 1). (Check: (λ2−4λ+4)(λ+1)=λ3−3λ2+4(\lambda^2 - 4\lambda + 4)(\lambda + 1) = \lambda^3 - 3\lambda^2 + 4.) Roots: λ=2\lambda = 2 with multiplicity 22, and λ=−1\lambda = -1, simple.

  2. Complementary function. yc=(c1+c2x)e2x+c3e−xy_c = (c_1 + c_2x)e^{2x} + c_3e^{-x}.

  3. Derivatives of pp, needed in step 5 of the method: p′(λ)=3λ2−6λp'(\lambda) = 3\lambda^{2} - 6\lambda, p′′(λ)=6λ−6p''(\lambda) = 6\lambda - 6, p′′′(λ)=6p'''(\lambda) = 6. Hence

    p(2)=0,p′(2)=0,p′′(2)=6,p′′′(2)=6;p(0)=4,p′(0)=0.p(2) = 0, \quad p'(2) = 0, \quad p''(2) = 6, \quad p'''(2) = 6; \qquad p(0) = 4, \quad p'(0) = 0 .
  4. The resonant piece e2xe^{2x}. Here λ=2\lambda = 2 is a double root, S=1S = 1 has degree 00, so qq has degree 0+2=20 + 2 = 2 and we may take q=Ax2q = Ax^{2}. The equation ∑jp(j)(2)q(j)/j!=1\sum_j p^{(j)}(2)q^{(j)}/j! = 1 reduces, because p(2)=p′(2)=0p(2) = p'(2) = 0, to

    p′′(2)2!q′′+p′′′(2)3!q′′′  =  62(2A)+0  =  6A  =  1,\frac{p''(2)}{2!}q'' + \frac{p'''(2)}{3!}q''' \;=\; \frac{6}{2}(2A) + 0 \;=\; 6A \;=\; 1 ,

    so A=16A = \tfrac16 and yp,1=16x2e2xy_{p,1} = \tfrac16 x^{2}e^{2x}.

  5. The polynomial piece 12x12x. This is λ=0\lambda = 0, and p(0)=4≠0p(0) = 4 \ne 0, so q=ax+bq = ax + b has the same degree as S=12xS = 12x. The equation p(0)q+p′(0)q′=12xp(0)q + p'(0)q' = 12x reads 4(ax+b)=12x4(ax + b) = 12x, giving a=3a = 3, b=0b = 0 and yp,2=3xy_{p,2} = 3x.

  6. General solution.

    y(x)  =  (c1+c2x)e2x+c3e−x+16x2e2x+3x.y(x) \;=\; (c_1 + c_2x)e^{2x} + c_3e^{-x} + \tfrac16x^{2}e^{2x} + 3x .

    Direct substitution confirms that 16x2e2x+3x\tfrac16x^{2}e^{2x} + 3x solves the equation.

  7. Impose the data. With yp=16x2e2x+3xy_p = \tfrac16x^2e^{2x} + 3x one finds yp(0)=0y_p(0) = 0, yp′(0)=3y_p'(0) = 3, yp′′(0)=13y_p''(0) = \tfrac13. So the conditions become

    c1+c3=0,2c1+c2−c3=−3,4c1+4c2+c3=−13,c_1 + c_3 = 0, \qquad 2c_1 + c_2 - c_3 = -3, \qquad 4c_1 + 4c_2 + c_3 = -\tfrac13 ,

    with solution c1=−3527c_1 = -\tfrac{35}{27}, c2=89c_2 = \tfrac89, c3=3527c_3 = \tfrac{35}{27}. Hence

    y(x)  =  (−3527+89x+16x2)e2x+3527e−x+3x.y(x) \;=\; \left(-\frac{35}{27} + \frac{8}{9}x + \frac{1}{6}x^{2}\right)e^{2x} + \frac{35}{27}e^{-x} + 3x .
  8. A check. At x=1x = 1 this gives y(1)=−1354e2+3527e−1+3=1.698 034y(1) = -\tfrac{13}{54}e^{2} + \tfrac{35}{27}e^{-1} + 3 = 1.698\,034 to six decimal places. Differentiating the closed form three times and substituting returns e2x+12xe^{2x} + 12x exactly, and y,y′,y′′y, y', y'' all vanish at x=0x = 0.

  9. Where the resonance shows. The forcing e2xe^{2x} is itself a solution of the homogeneous equation, and so is xe2xxe^{2x}; the response is therefore x2e2xx^{2}e^{2x}, larger by two powers of xx — the multiplicity of the root. Had the forcing been e3xe^{3x}, with p(3)=4≠0p(3) = 4 \neq 0, the response would have been the plain 14e3x\tfrac14e^{3x}.

ApplicationOriginal

Circuits and mechanics. The series RLCRLC circuit obeys Lq¨+Rq˙+q/C=V(t)L\ddot q + R\dot q + q/C = V(t) and the mass-spring-damper obeys mx¨+cx˙+kx=F(t)m\ddot x + c\dot x + kx = F(t); these are the same equation, so the characteristic polynomial mλ2+cλ+km\lambda^{2} + c\lambda + k decides the behaviour of both. Its two roots being real and distinct, equal, or complex is exactly the over-, critically- and under-damped case, worked out in The damped and driven harmonic oscillator. The algebraic condition c2=4mkc^{2} = 4mk for critical damping — a double root — is the reason instrument movements and door closers are specified by a dimensionless damping ratio: it is the quantity that says where you are relative to the double root.

Stability from the roots. Since each solution is a sum of terms xreλjxx^{r}e^{\lambda_j x}, every solution of L(y)=0L(y) = 0 tends to 00 as x→+∞x \to +\infty precisely when every root has negative real part, and solutions stay bounded when no root has positive real part and the purely imaginary roots are simple. This is why control engineering reads stability off the locations of the roots of a polynomial, and why criteria (Routh-Hurwitz, Nyquist) that decide where the roots lie without computing them are useful: the linear algebra is already done by the theorem above.

Resonance and secular growth. The degree increase in the resonant case is the mathematical content of resonance. Driving an undamped oscillator x¨+ω02x=Fcos⁡ω0t\ddot x + \omega_0^{2}x = F\cos\omega_0 t at its own frequency means forcing with e±iω0te^{\pm i\omega_0 t}, which is a simple root of λ2+ω02\lambda^{2} + \omega_0^{2}; the response therefore gains one power of tt, xp=(F/2ω0) tsin⁡ω0tx_p = (F/2\omega_0)\,t\sin\omega_0 t, and grows without bound. The same count appears in perturbation theory as the secular terms that must be removed by renormalising the frequency, and in quantum mechanics as the linear-in-time growth of a transition amplitude on resonance that underlies Fermi's golden rule.

Discrete analogues. Linear recurrence relations with constant coefficients, which arise in numerical schemes and in statistical physics transfer matrices, have the same structure with eλxe^{\lambda x} replaced by μn\mu^{n}: a root of multiplicity kk of the characteristic polynomial contributes μn,nμn,…,nk−1μn\mu^{n}, n\mu^{n}, \dots, n^{k-1}\mu^{n}, and a forcing term that duplicates a root gains a factor nn. The algebra below the surface is the same shift identity.

Method

Variation of parameters

Adapted

Given a fundamental set of the homogeneous equation, replacing its constants by functions and imposing n−1n-1 convenient constraints turns the inhomogeneous equation into a linear system whose determinant is the Wronskian; it yields a particular solution as an integral, for any continuous forcing and any order.

Prerequisites: Structure of linear equations and the Wronskian

Note(The problem)Original

Suppose we have solved the homogeneous equation and want a particular solution of the inhomogeneous one. The method of undetermined coefficients works only for constant coefficients and for special forcings. Variation of parameters needs neither: it works for variable coefficients and for any continuous forcing, at the price of two integrals (for n=2n = 2) that may or may not be elementary. It is the one general-purpose method, and it is the ancestor of the Green's function.

Definition(The set-up)AdaptedAdapted from Coddington (1989), Ch. 3, §6, p. 122; Riley, Hobson & Bence (2006), §15.2.4, Eq. (15.53), p. 508

Let II be an interval, let a1,…,ana_1, \dots, a_n and bb be continuous on II, let

L(y)  =  y(n)+a1(x)y(n−1)+⋯+an(x)y,L(y) \;=\; y^{(n)} + a_1(x)y^{(n-1)} + \cdots + a_n(x)y ,

and let φ1,…,φn\varphi_1, \dots, \varphi_n be a fundamental set for L(y)=0L(y) = 0 on II, with Wronskian W=W(φ1,…,φn)W = W(\varphi_1, \dots, \varphi_n), which is nowhere zero on II (Structure of linear equations and the Wronskian). We look for a particular solution of L(y)=bL(y) = b in the form

yp  =  u1φ1+u2φ2+⋯+unφn,y_p \;=\; u_1\varphi_1 + u_2\varphi_2 + \cdots + u_n\varphi_n ,

where the constants of the complementary function have been replaced by unknown functions u1,…,unu_1, \dots, u_n on II — hence the names variation of parameters and variation of constants.

If the equation is presented unnormalised as An(x)y(n)+⋯+A0(x)y=f(x)A_n(x)y^{(n)} + \cdots + A_0(x)y = f(x) with An≠0A_n \ne 0 on II, then b=f/Anb = f/A_n; this factor is easy to forget.

Method(Second order)AdaptedAdapted from Arfken, Weber & Harris (2013), §7.7, Eqs. (7.95)-(7.98), pp. 375-376 and Exercise 7.7.1, p. 377; Coddington (1989), Ch. 2, §6, Eq. (6.3) and Thm 10, pp. 68

For y′′+p(x)y′+q(x)y=b(x)y'' + p(x)y' + q(x)y = b(x) with p,q,bp, q, b continuous on II and {y1,y2}\{y_1, y_2\} a fundamental set of the homogeneous equation, put W=y1y2′−y1′y2W = y_1y_2' - y_1'y_2. Then u1′=−y2b/Wu_1' = -y_2b/W and u2′=y1b/Wu_2' = y_1b/W, so for any x0∈Ix_0 \in I

yp(x)  =  − y1(x)∫x0xy2(t) b(t)W(t) dt  +  y2(x)∫x0xy1(t) b(t)W(t) dty_p(x) \;=\; -\,y_1(x)\int_{x_0}^{x}\frac{y_2(t)\,b(t)}{W(t)}\,dt \;+\; y_2(x)\int_{x_0}^{x}\frac{y_1(t)\,b(t)}{W(t)}\,dt

is a solution of y′′+py′+qy=by'' + py' + qy = b on II. Equivalently, with the two integrals combined under one integral sign,

yp(x)  =  ∫x0xK(x,t) b(t) dt,K(x,t)  =  y1(t) y2(x)−y1(x) y2(t)W(t).y_p(x) \;=\; \int_{x_0}^{x} K(x,t)\,b(t)\,dt , \qquad K(x,t) \;=\; \frac{y_1(t)\,y_2(x) - y_1(x)\,y_2(t)}{W(t)} .

This ypy_p satisfies yp(x0)=yp′(x0)=0y_p(x_0) = y_p'(x_0) = 0. The general solution of the equation is yp+c1y1+c2y2y_p + c_1y_1 + c_2y_2.

Method(General order)AdaptedAdapted from Coddington (1989), Ch. 3, §6, Thm 11 and Eq. (6.2), pp. 122-123; Riley, Hobson & Bence (2006), §15.2.4, Eq. (15.55), pp. 508-509

With the set-up above, the functions u1′,…,un′u_1', \dots, u_n' are determined at each x∈Ix \in I by the nn linear equations

u1′φ1+u2′φ2+⋯+un′φn=0,u1′φ1′+u2′φ2′+⋯+un′φn′=0,  ⋮u1′φ1(n−2)+⋯+un′φn(n−2)=0,u1′φ1(n−1)+⋯+un′φn(n−1)=b.\begin{aligned} u_1'\varphi_1 + u_2'\varphi_2 + \cdots + u_n'\varphi_n &= 0, \\ u_1'\varphi_1' + u_2'\varphi_2' + \cdots + u_n'\varphi_n' &= 0, \\ &\ \ \vdots \\ u_1'\varphi_1^{(n-2)} + \cdots + u_n'\varphi_n^{(n-2)} &= 0, \\ u_1'\varphi_1^{(n-1)} + \cdots + u_n'\varphi_n^{(n-1)} &= b . \end{aligned}

The determinant of this system is W≠0W \ne 0, so it has a unique solution, and by Cramer's rule

uk′(x)  =  Wk(x) b(x)W(x),u_k'(x) \;=\; \frac{W_k(x)\,b(x)}{W(x)} ,

and here WkW_k denotes what WW becomes when its kk-th column (φk,φk′,…,φk(n−1))\bigl(\varphi_k, \varphi_k', \dots, \varphi_k^{(n-1)}\bigr) is overwritten by (0,0,…,0,1)(0, 0, \dots, 0, 1). Hence, for any x0∈Ix_0 \in I,

yp(x)  =  ∑k=1nφk(x)∫x0xWk(t) b(t)W(t) dty_p(x) \;=\; \sum_{k=1}^{n}\varphi_k(x)\int_{x_0}^{x}\frac{W_k(t)\,b(t)}{W(t)}\,dt

is a solution of L(y)=bL(y) = b on II, and every solution of L(y)=bL(y) = b is yp+c1φ1+⋯+cnφny_p + c_1\varphi_1 + \cdots + c_n\varphi_n for constants ckc_k.

Idea of the proofOriginal

We have nn unknown functions and only one equation to satisfy, so there is a large amount of freedom; the trick is to spend it on making the computation collapse. Differentiate yp=∑kukφky_p = \sum_k u_k\varphi_k once: the answer is what a genuine solution would give, ∑kukφk′\sum_k u_k\varphi_k', plus the unwanted ∑kuk′φk\sum_k u_k'\varphi_k. Declare that unwanted sum to be zero. Differentiate again and do the same. After n−1n-1 such declarations, ypy_p and its first n−1n-1 derivatives look exactly as if the uku_k were constants, so when we finally substitute into LL, every term groups into ∑kukL(φk)=0\sum_k u_k L(\varphi_k) = 0 except the single leftover ∑kuk′φk(n−1)\sum_k u_k'\varphi_k^{(n-1)}, which must therefore equal bb. The nn conditions are a linear system for u1′,…,un′u_1', \dots, u_n' whose coefficient matrix is the Wronskian matrix — invertible precisely because the φk\varphi_k are a fundamental set. So the freedom was spent legitimately: nothing was over-determined, and the remaining work is nn integrations.

ProofAdaptedAdapted from Riley, Hobson & Bence (2006), §15.2.4, pp. 508-509; Arfken, Weber & Harris (2013), §7.7, pp. 375-376

Step 1 (the first n−1n-1 constraints). Let u1,…,unu_1, \dots, u_n be any differentiable functions on II and set yp=∑kukφky_p = \sum_k u_k\varphi_k. Differentiating,

yp′  =  ∑kukφk′  +  ∑kuk′φk.y_p' \;=\; \sum_k u_k\varphi_k' \;+\; \sum_k u_k'\varphi_k .

Impose ∑kuk′φk=0\sum_k u_k'\varphi_k = 0. Then yp′=∑kukφk′y_p' = \sum_k u_k\varphi_k', which has the same shape as ypy_p with φk\varphi_k replaced by φk′\varphi_k'. Differentiating that and imposing ∑kuk′φk′=0\sum_k u_k'\varphi_k' = 0 gives yp′′=∑kukφk′′y_p'' = \sum_k u_k\varphi_k''. Repeating, after imposing the mm-th constraint ∑kuk′φk(m−1)=0\sum_k u_k'\varphi_k^{(m-1)} = 0 for m=1,…,n−1m = 1, \dots, n-1 we have

yp(m)  =  ∑kukφk(m),m=0,1,…,n−1.y_p^{(m)} \;=\; \sum_k u_k\varphi_k^{(m)} , \qquad m = 0, 1, \dots, n-1 .

Step 2 (the last derivative). One more differentiation, with no constraint left to impose, gives

yp(n)  =  ∑kukφk(n)  +  ∑kuk′φk(n−1).y_p^{(n)} \;=\; \sum_k u_k\varphi_k^{(n)} \;+\; \sum_k u_k'\varphi_k^{(n-1)} .

Step 3 (substitute). Insert these into L(yp)=yp(n)+a1yp(n−1)+⋯+anypL(y_p) = y_p^{(n)} + a_1y_p^{(n-1)} + \cdots + a_ny_p and collect the terms containing uku_k rather than uk′u_k':

L(yp)  =  ∑k=1nuk[φk(n)+a1φk(n−1)+⋯+anφk]  +  ∑k=1nuk′φk(n−1).L(y_p) \;=\; \sum_{k=1}^{n}u_k\Bigl[\varphi_k^{(n)} + a_1\varphi_k^{(n-1)} + \cdots + a_n\varphi_k\Bigr] \;+\; \sum_{k=1}^{n}u_k'\varphi_k^{(n-1)} .

Every bracket is L(φk)=0L(\varphi_k) = 0, because each φk\varphi_k solves the homogeneous equation — this is where that hypothesis enters. Hence L(yp)=bL(y_p) = b if and only if

∑k=1nuk′φk(n−1)  =  b,\sum_{k=1}^{n}u_k'\varphi_k^{(n-1)} \;=\; b ,

which is the last equation of the system. So the nn displayed equations are together equivalent to "ypy_p solves L(y)=bL(y) = b and the n−1n-1 constraints hold".

Step 4 (the system is solvable). For each fixed xx, the nn equations are linear in the numbers u1′(x),…,un′(x)u_1'(x), \dots, u_n'(x), with coefficient matrix the Wronskian matrix of φ1,…,φn\varphi_1, \dots, \varphi_n at xx. Since the φk\varphi_k are a fundamental set, W(x)≠0W(x) \ne 0 for every x∈Ix \in I (the Wronskian criterion), so by Cramer's rule there is exactly one solution, namely uk′(x)=Wk(x)b(x)/W(x)u_k'(x) = W_k(x)b(x)/W(x) with WkW_k as described: the right-hand side column is (0,…,0,b)(0, \dots, 0, b), and factoring bb out of the determinant in the numerator leaves WkW_k.

Step 5 (integrate). WkW_k is continuous (a determinant of continuous functions), WW is continuous and nonvanishing, and bb is continuous, so uk′=Wkb/Wu_k' = W_kb/W is continuous on II and uk(x)=∫x0xWkb/W dtu_k(x) = \int_{x_0}^{x}W_kb/W\,dt is a well-defined antiderivative on II. With these uku_k, Steps 1-3 run forwards and give L(yp)=bL(y_p) = b. Adding any constants ckc_k to the uku_k adds ∑kckφk\sum_k c_k\varphi_k to ypy_p, which is the complementary function; by the structure theorem these are all the solutions.

Step 6 (the case n=2n = 2). Here the system is u1′y1+u2′y2=0u_1'y_1 + u_2'y_2 = 0, u1′y1′+u2′y2′=bu_1'y_1' + u_2'y_2' = b, and Cramer's rule gives

u1′=1W∣0y2by2′∣=−y2bW,u2′=1W∣y10y1′b∣=y1bW.u_1' = \frac{1}{W}\begin{vmatrix}0 & y_2\\ b & y_2'\end{vmatrix} = -\frac{y_2b}{W}, \qquad u_2' = \frac{1}{W}\begin{vmatrix}y_1 & 0\\ y_1' & b\end{vmatrix} = \frac{y_1b}{W} .

Integrating from x0x_0 and substituting into yp=u1y1+u2y2y_p = u_1y_1 + u_2y_2 gives both displayed forms of the second-order formula; the kernel form follows by putting the two integrals over a common integrand. Finally yp(x0)=0y_p(x_0) = 0 because both integrals vanish at x0x_0, and yp′(x0)=u1(x0)y1′(x0)+u2(x0)y2′(x0)=0y_p'(x_0) = u_1(x_0)y_1'(x_0) + u_2(x_0)y_2'(x_0) = 0 by Step 1. □\square

Remark(Where the hypotheses are used, and practical points)Original
  • A full fundamental set is needed, not just one solution: W≠0W \ne 0 in Step 4 is what makes the system solvable. If only one solution is known, use reduction of order first, or the substitution y=u(x)v(x)y = u(x)v(x) of (Riley, Hobson & Bence (2006), §15.2.3, p. 507), which lowers the order by one without needing the rest of the set.
  • Normalise first. The last equation of the system has bb on the right, where bb is the forcing after dividing by the coefficient of y(n)y^{(n)}. In (Riley, Hobson & Bence (2006), Eq. (15.55), p. 509) this appears as f(x)/an(x)f(x)/a_n(x).
  • Continuity of bb is used only in Step 5, to integrate. Piecewise-continuous forcing (a switched voltage, an impulse) is handled by applying the formula on each interval of continuity, or directly: the integral formula still makes sense and produces a solution with n−1n-1 continuous derivatives.
  • The constants of integration are free. Choosing them zero gives the ypy_p above, which vanishes together with its first n−1n-1 derivatives at x0x_0 — convenient for an initial-value problem at x0x_0. Keeping them simply redefines the arbitrary constants of the complementary function, as (Riley, Hobson & Bence (2006), p. 510) notes.
  • A particular solution may be simplified. Any multiple of a φk\varphi_k may be dropped from ypy_p, since it belongs to the complementary function. This is worth doing: the raw formula often produces terms that cancel or duplicate the homogeneous solutions.
  • The kernel is a Green's function. For n=2n = 2, K(x,t)K(x,t) depends on the equation alone, not on bb: once computed, it solves the equation for every forcing. Extended by K=0K = 0 for t>xt > x it is the causal Green's function of Causal Green's functions for initial-value problems, and the method is the one-dimensional ancestor of Duhamel's principle.
Method(Variation of parameters)AdaptedAdapted from Riley, Hobson & Bence (2006), §15.2.4, Solution method, p. 510; Arfken, Weber & Harris (2013), §7.7, pp. 375-376
  1. Normalise: divide by the coefficient of y(n)y^{(n)} so that the equation reads L(y)=bL(y) = b with leading coefficient 11.
  2. Get a fundamental set φ1,…,φn\varphi_1, \dots, \varphi_n of L(y)=0L(y) = 0 and compute W=W(φ1,…,φn)W = W(\varphi_1, \dots, \varphi_n). Abel's formula is often the quickest route to WW (Structure of linear equations and the Wronskian).
  3. Write the system: all the derivative orders 00 to n−2n-2 give ∑kuk′φk(m)=0\sum_k u_k'\varphi_k^{(m)} = 0, and order n−1n-1 gives ∑kuk′φk(n−1)=b\sum_k u_k'\varphi_k^{(n-1)} = b.
  4. Solve it for u1′,…,un′u_1', \dots, u_n'. For n=2n = 2 use u1′=−y2b/Wu_1' = -y_2b/W, u2′=y1b/Wu_2' = y_1b/W directly; for larger nn use uk′=Wkb/Wu_k' = W_kb/W or just eliminate by hand.
  5. Integrate each uk′u_k', dropping the constants of integration.
  6. Assemble yp=∑kukφky_p = \sum_k u_k\varphi_k, discard any part of it that is a multiple of some φk\varphi_k, add the complementary function, and impose the data.
Example(A second-order equation with variable coefficients)Original

Solve

x2y′′−2x y′+2y  =  x3ln⁡xon x>0,y(1)=y′(1)=0.x^{2}y'' - 2x\,y' + 2y \;=\; x^{3}\ln x \qquad \text{on } x > 0, \qquad y(1) = y'(1) = 0 .
  1. Normalise. Dividing by x2x^{2}: y′′−2xy′+2x2y=xln⁡xy'' - \frac{2}{x}y' + \frac{2}{x^{2}}y = x\ln x, so b(x)=xln⁡xb(x) = x\ln x — not x3ln⁡xx^{3}\ln x.

  2. Fundamental set. The homogeneous equation is an Euler equation (Euler-Cauchy equations); trying y=xsy = x^{s} gives s(s−1)−2s+2=(s−1)(s−2)=0s(s-1) - 2s + 2 = (s-1)(s-2) = 0, so y1=xy_1 = x and y2=x2y_2 = x^{2}. Their Wronskian is

    W=y1y2′−y1′y2=x⋅2x−1⋅x2=x2,W = y_1y_2' - y_1'y_2 = x\cdot 2x - 1\cdot x^{2} = x^{2} ,

    nonzero for x>0x > 0, so this is a fundamental set there. (Abel's formula agrees: a1=−2/xa_1 = -2/x gives W∝exp⁡∫(2/x) dx=x2W \propto \exp\int(2/x)\,dx = x^{2}.)

  3. Solve for u1′,u2′u_1', u_2'.

    u1′=−y2bW=−x2⋅xln⁡xx2=−xln⁡x,u2′=y1bW=x⋅xln⁡xx2=ln⁡x.u_1' = -\frac{y_2b}{W} = -\frac{x^{2}\cdot x\ln x}{x^{2}} = -x\ln x , \qquad u_2' = \frac{y_1b}{W} = \frac{x\cdot x\ln x}{x^{2}} = \ln x .
  4. Integrate (by parts, constants dropped):

    u1=−∫xln⁡x dx=−x22ln⁡x+x24,u2=∫ln⁡x dx=xln⁡x−x.u_1 = -\int x\ln x\,dx = -\frac{x^{2}}{2}\ln x + \frac{x^{2}}{4} , \qquad u_2 = \int \ln x\,dx = x\ln x - x .
  5. Assemble.

    yp=u1y1+u2y2=(−x2ln⁡x2+x24)x+(xln⁡x−x)x2=x3ln⁡x2−3x34.y_p = u_1y_1 + u_2y_2 = \left(-\frac{x^{2}\ln x}{2} + \frac{x^{2}}{4}\right)x + \bigl(x\ln x - x\bigr)x^{2} = \frac{x^{3}\ln x}{2} - \frac{3x^{3}}{4} .

    Substituting back: yp′=3x2ln⁡x2+x22−9x24y_p' = \frac{3x^{2}\ln x}{2} + \frac{x^{2}}{2} - \frac{9x^{2}}{4} and yp′′=3xln⁡x+3x2+x−9x2=3xln⁡x−2xy_p'' = 3x\ln x + \frac{3x}{2} + x - \frac{9x}{2} = 3x\ln x - 2x, and then x2yp′′−2xyp′+2yp=x3ln⁡xx^{2}y_p'' - 2xy_p' + 2y_p = x^{3}\ln x exactly.

  6. General solution and data.

    y=c1x+c2x2+x34(2ln⁡x−3).y = c_1x + c_2x^{2} + \frac{x^{3}}{4}\bigl(2\ln x - 3\bigr) .

    At x=1x = 1: yp(1)=−34y_p(1) = -\tfrac34 and yp′(1)=12−94=−74y_p'(1) = \tfrac12 - \tfrac94 = -\tfrac74, so c1+c2=34c_1 + c_2 = \tfrac34 and c1+2c2=74c_1 + 2c_2 = \tfrac74, giving c2=1c_2 = 1, c1=−14c_1 = -\tfrac14:

    y(x)=−x4+x2+x34(2ln⁡x−3).y(x) = -\frac{x}{4} + x^{2} + \frac{x^{3}}{4}\bigl(2\ln x - 3\bigr) .
  7. A number to check against. y(2)=−12+4+2(2ln⁡2−3)=3.5+2(2ln⁡2−3)=0.272 589y(2) = -\tfrac12 + 4 + 2(2\ln 2 - 3) = 3.5 + 2(2\ln 2 - 3) = 0.272\,589 to six decimal places.

Example(Third order, with the WkW_k formula)Original

Solve y′′′−y′=e2xy''' - y' = e^{2x} on R\mathbb{R}.

  1. Fundamental set. p(λ)=λ3−λ=λ(λ−1)(λ+1)p(\lambda) = \lambda^{3} - \lambda = \lambda(\lambda-1)(\lambda+1), so φ1=1\varphi_1 = 1, φ2=ex\varphi_2 = e^{x}, φ3=e−x\varphi_3 = e^{-x} (Constant-coefficient equations).

  2. Wronskian.

    W=∣1exe−x0ex−e−x0exe−x∣=1⋅(exe−x+e−xex)=2,W = \begin{vmatrix} 1 & e^{x} & e^{-x} \\ 0 & e^{x} & -e^{-x} \\ 0 & e^{x} & e^{-x}\end{vmatrix} = 1\cdot\bigl(e^{x}e^{-x} + e^{-x}e^{x}\bigr) = 2 ,

    constant, as Abel's formula predicts since the coefficient of y′′y'' is 00.

  3. The modified determinants. Replacing the kk-th column by (0,0,1)T(0,0,1)^{\mathsf T}:

    W1=∣0exe−x0ex−e−x1exe−x∣=−2,W2=∣10e−x00−e−x01e−x∣=e−x,W3=∣1ex00ex00ex1∣=ex.W_1 = \begin{vmatrix} 0 & e^{x} & e^{-x} \\ 0 & e^{x} & -e^{-x} \\ 1 & e^{x} & e^{-x}\end{vmatrix} = -2 , \qquad W_2 = \begin{vmatrix} 1 & 0 & e^{-x} \\ 0 & 0 & -e^{-x} \\ 0 & 1 & e^{-x}\end{vmatrix} = e^{-x} , \qquad W_3 = \begin{vmatrix} 1 & e^{x} & 0 \\ 0 & e^{x} & 0 \\ 0 & e^{x} & 1\end{vmatrix} = e^{x} .
  4. Integrate uk′=Wkb/Wu_k' = W_kb/W with b=e2xb = e^{2x}.

    u1′=−e2x⇒u1=−12e2x,u2′=12ex⇒u2=12ex,u3′=12e3x⇒u3=16e3x.u_1' = -e^{2x} \Rightarrow u_1 = -\tfrac12e^{2x}, \qquad u_2' = \tfrac12e^{x} \Rightarrow u_2 = \tfrac12e^{x}, \qquad u_3' = \tfrac12e^{3x} \Rightarrow u_3 = \tfrac16e^{3x} .
  5. Assemble.

    yp=−12e2x+12ex⋅ex+16e3x⋅e−x=16e2x.y_p = -\tfrac12e^{2x} + \tfrac12e^{x}\cdot e^{x} + \tfrac16e^{3x}\cdot e^{-x} = \tfrac16e^{2x} .

    The first two terms cancel, which is typical: the raw formula produces more structure than the answer has. Check: yp′′′−yp′=86e2x−26e2x=e2xy_p''' - y_p' = \tfrac{8}{6}e^{2x} - \tfrac{2}{6}e^{2x} = e^{2x}.

  6. Cross-check with undetermined coefficients. Since p(2)=8−2=6≠0p(2) = 8 - 2 = 6 \ne 0, that method predicts yp=e2x/p(2)=e2x/6y_p = e^{2x}/p(2) = e^{2x}/6 — the same answer, obtained in one line. Variation of parameters is the method to reach for when the forcing is not of that special form: replacing e2xe^{2x} by, say, 1/(1+x2)1/(1+x^{2}) leaves steps 1-3 untouched and changes only the integrals.

ApplicationOriginal

Impulse response and causality. Read the kernel form backwards: yp(x)=∫x0xK(x,t)b(t) dty_p(x) = \int_{x_0}^{x}K(x,t)b(t)\,dt says that the response at xx is a superposition of the responses to the forcing applied at each earlier instant tt, with weight K(x,t)K(x,t). For fixed tt, the function x↦K(x,t)x \mapsto K(x,t) solves the homogeneous equation and satisfies K(t,t)=0K(t,t) = 0 and ∂xK(x,t)∣x=t=(y1(t)y2′(t)−y1′(t)y2(t))/W(t)=1\partial_xK(x,t)\big|_{x=t} = \bigl(y_1(t)y_2'(t) - y_1'(t)y_2(t)\bigr)/W(t) = 1: it is the free motion started from rest with unit velocity at time tt, that is, the response to a unit impulse delivered at tt. In circuit and control engineering that function is the impulse response; its Fourier or Laplace transform is the transfer function. The construction here is where it comes from, and it shows that a linear system is characterised by a single two-variable kernel.

Forced oscillators with awkward forcing. For x¨+ω02x=F(t)/m\ddot x + \omega_0^{2}x = F(t)/m the fundamental set is cos⁡ω0t\cos\omega_0t, sin⁡ω0t\sin\omega_0t with W=ω0W = \omega_0, and the formula gives

xp(t)=1mω0∫0tsin⁡(ω0(t−s))F(s) ds,x_p(t) = \frac{1}{m\omega_0}\int_{0}^{t}\sin\bigl(\omega_0(t - s)\bigr)F(s)\,ds ,

valid for any measured or switched force — a seismometer trace, a shock pulse — where no trial function would help. The same integral, with sin⁡\sin replaced by the appropriate decaying solution, gives the response of a damped oscillator and is the standard starting point for response spectra in earthquake engineering.

Perturbation theory. In first-order perturbation theory one knows two solutions of an unperturbed equation and treats the perturbation as forcing. For the radial Schrodinger equation u′′+(k2−V)u=0u'' + (k^{2} - V)u = 0, writing the perturbing potential as the forcing b=δV ub = \delta V\,u and applying this formula produces the integral equation whose iteration is the Born series, and the first term is the Born approximation (Scattering and the Born approximation). The appearance of 1/W1/W there is the normalisation of the regular and irregular radial solutions.

Systems and Duhamel. The same calculation for a first-order system X′=AX+G(t)X' = AX + G(t) reads X(t)=etA(X0+∫0te−sAG(s) ds)X(t) = e^{tA}\bigl(X_0 + \int_0^{t}e^{-sA}G(s)\,ds\bigr), as Hirsch, Smale and Devaney (Hirsch, Smale & Devaney (2013), §6.5, pp. 131-132) give it: the fundamental matrix etAe^{tA} plays the role of the φk\varphi_k and its inverse the role of 1/W1/W. That form generalises directly to Duhamel's principle and to forced evolution equations in partial differential equations.

Method

Reduction of order

Adapted

One known solution φ1\varphi_1 of a linear homogeneous equation, nonvanishing on an interval, lowers the order by one through the substitution y=uφ1y = u\varphi_1; for second-order equations this gives the second solution in closed form, φ2=φ1∫φ1−2e−∫a1\varphi_2 = \varphi_1\int \varphi_1^{-2}e^{-\int a_1}, which is Abel's formula integrated once.

Prerequisites: Structure of linear equations and the Wronskian

Note(The problem)Original

It is common to find one solution of a linear homogeneous equation by luck, inspection or a series. Reduction of order converts that one solution into a lowering of the order by one — and for a second-order equation, directly into the missing second solution, in closed form. The idea is the same as variation of parameters: let a constant become a function. The difference is that here the equation is homogeneous, so instead of a particular solution we gain a smaller homogeneous equation.

Method(Reduction of order, general order)AdaptedAdapted from Coddington (1989), Ch. 3, §5, Eq. (5.1) and Thm 9, pp. 118-119

Let a1,…,ana_1, \dots, a_n be continuous on an interval II, let

L(y)=y(n)+a1(x)y(n−1)+⋯+an(x)y,L(y) = y^{(n)} + a_1(x)y^{(n-1)} + \cdots + a_n(x)y ,

and let φ1\varphi_1 be a solution of L(y)=0L(y) = 0 on II with

φ1(x)≠0for every x∈I.\varphi_1(x) \ne 0 \quad\text{for every } x \in I .

Substituting y=uφ1y = u\varphi_1 into L(y)=0L(y) = 0 and writing v=u′v = u' gives a linear homogeneous equation of order n−1n-1 for vv,

φ1 v(n−1)+⋯+[nφ1(n−1)+(n−1)a1φ1(n−2)+⋯+an−1φ1]v  =  0,(R)\varphi_1\,v^{(n-1)} + \cdots + \bigl[n\varphi_1^{(n-1)} + (n-1)a_1\varphi_1^{(n-2)} + \cdots + a_{n-1}\varphi_1\bigr]v \;=\; 0 , \tag{R}

whose leading coefficient φ1\varphi_1 does not vanish on II, so that (R)(\mathrm{R}) has n−1n-1 linearly independent solutions v2,…,vnv_2, \dots, v_n on II. If x0∈Ix_0 \in I and

uk(x)=∫x0xvk(t) dt,k=2,…,n,u_k(x) = \int_{x_0}^{x} v_k(t)\,dt , \qquad k = 2, \dots, n ,

then

φ1,u2φ1,…,unφ1\varphi_1, \quad u_2\varphi_1, \quad \dots, \quad u_n\varphi_1

is a basis for the solutions of L(y)=0L(y) = 0 on II.

Method(Second order: the second solution in closed form)AdaptedAdapted from Coddington (1989), Ch. 3, §5, Eq. (5.7) and Thm 10, p. 120; Hassani (2013), §14.4.1, Thm 14.4.4, p. 426; Arfken, Weber & Harris (2013), §7.6, Eq. (7.67), p. 363; Riley, Hobson & Bence (2006), §16.4.1, Eq. (16.25), p. 544

Let a1,a2a_1, a_2 be continuous on II, consider

y′′+a1(x)y′+a2(x)y=0,y'' + a_1(x)y' + a_2(x)y = 0 ,

and let φ1\varphi_1 be a solution with φ1(x)≠0\varphi_1(x) \ne 0 on II. Fix x0∈Ix_0 \in I. Then

φ2(x)  =  φ1(x)∫x0x1φ1(s)2exp⁡[−∫x0sa1(t) dt]ds\varphi_2(x) \;=\; \varphi_1(x)\int_{x_0}^{x}\frac{1}{\varphi_1(s)^{2}}\exp\left[-\int_{x_0}^{s}a_1(t)\,dt\right]ds

is a solution on II, and {φ1,φ2}\{\varphi_1, \varphi_2\} is a basis for the solutions on II. Its Wronskian is

W(φ1,φ2)(x)  =  exp⁡[−∫x0xa1(t) dt],W(\varphi_1, \varphi_2)(x) \;=\; \exp\left[-\int_{x_0}^{x}a_1(t)\,dt\right] ,

in particular W(x0)=1W(x_0) = 1: the formula is normalised so that independence is automatic.

Two special cases are worth remembering. If a1≡0a_1 \equiv 0 (as in y′′+a2y=0y'' + a_2y = 0, the form every second-order equation can be put into), then φ2=φ1∫φ1−2\varphi_2 = \varphi_1\int \varphi_1^{-2}. And changing x0x_0, or adding a constant to the outer integral, changes φ2\varphi_2 only by a multiple of φ1\varphi_1, so any convenient antiderivative may be used and any resulting multiple of φ1\varphi_1 discarded.

Idea of the proofOriginal

Two ideas, and they meet.

The substitution. If we look for further solutions in the form y=uφ1y = u\varphi_1, then the terms in which uu appears undifferentiated assemble into u L(φ1)=0u\,L(\varphi_1) = 0 and disappear. What survives involves only u′,u′′,…,u(n)u', u'', \dots, u^{(n)}, which is an equation of order n−1n-1 in v=u′v = u'. We have not solved anything, but we have one order less to solve, and we needed φ1≠0\varphi_1 \neq 0 only to keep the new leading coefficient nonvanishing.

Abel's formula. For n=2n = 2 the reduced equation is first-order and so can be integrated explicitly; but there is a shortcut that bypasses it. Abel's formula already tells us the Wronskian of the pair {φ1,φ2}\{\varphi_1, \varphi_2\} before we know φ2\varphi_2. And the Wronskian is exactly φ12(φ2/φ1)′\varphi_1^{2}(\varphi_2/\varphi_1)'. So (φ2/φ1)′(\varphi_2/\varphi_1)' is known; one integration gives φ2/φ1\varphi_2/\varphi_1, and the formula drops out. This is why the second solution of a second-order equation costs only an integral: the Wronskian does the work.

Proof(Reduction of order, general order)AdaptedAdapted from Coddington (1989), Ch. 3, §5, pp. 118-119

Step 1 (substitute). Let uu be any nn-times differentiable function on II and expand L(uφ1)L(u\varphi_1) by the Leibniz rule. For 0≤m≤n0 \le m \le n,

(uφ1)(m)=∑i=0m(mi)u(i)φ1(m−i),(u\varphi_1)^{(m)} = \sum_{i=0}^{m}\binom{m}{i}u^{(i)}\varphi_1^{(m-i)} ,

so, with a0:=1a_0 := 1,

L(uφ1)=∑m=0nan−m (uφ1)(m)=∑i=0nu(i)[∑m≥i(mi)an−mφ1(m−i)]⏟= bi.L(u\varphi_1) = \sum_{m=0}^{n}a_{n-m}\,(u\varphi_1)^{(m)} = \sum_{i=0}^{n}u^{(i)}\underbrace{\left[\sum_{m\ge i}\binom{m}{i}a_{n-m}\varphi_1^{(m-i)}\right]}_{=\,b_i} .

Step 2 (the uu term vanishes). The coefficient of u(0)=uu^{(0)} = u is b0=∑man−mφ1(m)=L(φ1)=0b_0 = \sum_m a_{n-m}\varphi_1^{(m)} = L(\varphi_1) = 0, because φ1\varphi_1 solves the equation — this is the only place that hypothesis is used. Hence

L(uφ1)=∑i=1nbi u(i)=∑j=0n−1bj+1 v(j),v=u′.L(u\varphi_1) = \sum_{i=1}^{n}b_i\,u^{(i)} = \sum_{j=0}^{n-1}b_{j+1}\,v^{(j)}, \qquad v = u' .

So uφ1u\varphi_1 solves L(y)=0L(y) = 0 exactly when v=u′v = u' solves the order-(n−1)(n-1) linear homogeneous equation ∑jbj+1v(j)=0\sum_{j}b_{j+1}v^{(j)} = 0, which is (R)(\mathrm{R}).

Step 3 (the reduced equation is non-singular). Its leading coefficient is bn=(nn)a0φ1=φ1b_n = \binom{n}{n}a_0\varphi_1 = \varphi_1, nonzero on II by hypothesis. Dividing by it gives a normalised equation of order n−1n-1 with coefficients continuous on II, so by the dimension theorem it has n−1n-1 linearly independent solutions v2,…,vnv_2, \dots, v_n on II — and no more.

Step 4 (the nn functions solve the equation). φ1=1⋅φ1\varphi_1 = 1\cdot\varphi_1 corresponds to u≡1u \equiv 1, v≡0v \equiv 0. Each uk=∫x0xvku_k = \int_{x_0}^{x}v_k is differentiable with uk′=vku_k' = v_k, so ukφ1u_k\varphi_1 solves L(y)=0L(y) = 0 by Step 2.

Step 5 (independence). Suppose c1φ1+c2u2φ1+⋯+cnunφ1=0c_1\varphi_1 + c_2u_2\varphi_1 + \cdots + c_nu_n\varphi_1 = 0 on II. Dividing by φ1\varphi_1, which is nonvanishing,

c1+c2u2(x)+⋯+cnun(x)=0(x∈I).c_1 + c_2u_2(x) + \cdots + c_nu_n(x) = 0 \qquad (x \in I) .

Differentiating, c2v2+⋯+cnvn=0c_2v_2 + \cdots + c_nv_n = 0 on II, and the independence of v2,…,vnv_2, \dots, v_n forces c2=⋯=cn=0c_2 = \cdots = c_n = 0. The displayed identity then gives c1=0c_1 = 0.

Step 6 (basis). These are nn linearly independent solutions of an equation of order nn, hence a basis (Structure of linear equations and the Wronskian). □\square

Proof(Second order, by Abel's formula)AdaptedAdapted from Arfken, Weber & Harris (2013), §7.6, Eqs. (7.63)-(7.67), pp. 362-363; Riley, Hobson & Bence (2006), §16.4.1, p. 544

Step 1 (the quotient derivative). Wherever φ1≠0\varphi_1 \ne 0, for any differentiable φ2\varphi_2,

(φ2φ1)′=φ1φ2′−φ1′φ2φ12=W(φ1,φ2)φ12.\left(\frac{\varphi_2}{\varphi_1}\right)' = \frac{\varphi_1\varphi_2' - \varphi_1'\varphi_2}{\varphi_1^{2}} = \frac{W(\varphi_1,\varphi_2)}{\varphi_1^{2}} .

Step 2 (what the Wronskian must be). Suppose φ2\varphi_2 is a solution. By Abel's formula, W(φ1,φ2)(x)=W(x0) e−A(x)W(\varphi_1,\varphi_2)(x) = W(x_0)\,e^{-A(x)} where A(x)=∫x0xa1A(x) = \int_{x_0}^{x}a_1. We are free to look for the solution with W(x0)=1W(x_0) = 1, since multiplying φ2\varphi_2 by a constant rescales WW. So we require

(φ2φ1)′(x)=e−A(x)φ1(x)2.\left(\frac{\varphi_2}{\varphi_1}\right)'(x) = \frac{e^{-A(x)}}{\varphi_1(x)^{2}} .

Step 3 (integrate). The right-hand side is continuous on II (a1a_1 is continuous, φ1\varphi_1 is continuous and nonvanishing), so it has the antiderivative ∫x0xφ1(s)−2e−A(s) ds\int_{x_0}^{x}\varphi_1(s)^{-2}e^{-A(s)}\,ds, and

φ2(x)=φ1(x)∫x0xe−A(s)φ1(s)2 ds\varphi_2(x) = \varphi_1(x)\int_{x_0}^{x}\frac{e^{-A(s)}}{\varphi_1(s)^{2}}\,ds

is forced, up to adding a constant multiple of φ1\varphi_1.

Step 4 (it really is a solution). So far we have only derived a necessary form; now verify it. Put g(x)=∫x0xφ1−2e−Ag(x) = \int_{x_0}^{x}\varphi_1^{-2}e^{-A}, so φ2=φ1g\varphi_2 = \varphi_1 g with g′=φ1−2e−Ag' = \varphi_1^{-2}e^{-A}. Then

φ2′=φ1′g+φ1g′,φ2′′=φ1′′g+2φ1′g′+φ1g′′,\varphi_2' = \varphi_1'g + \varphi_1g', \qquad \varphi_2'' = \varphi_1''g + 2\varphi_1'g' + \varphi_1g'' ,

and therefore

φ2′′+a1φ2′+a2φ2=(φ1′′+a1φ1′+a2φ1)⏟= 0g  +  2φ1′g′+φ1g′′+a1φ1g′.\varphi_2'' + a_1\varphi_2' + a_2\varphi_2 = \underbrace{\bigl(\varphi_1'' + a_1\varphi_1' + a_2\varphi_1\bigr)}_{=\,0}g \;+\; 2\varphi_1'g' + \varphi_1g'' + a_1\varphi_1g' .

For the remainder, differentiate g′=φ1−2e−Ag' = \varphi_1^{-2}e^{-A}: since A′=a1A' = a_1,

g′′=−2φ1′φ13e−A−a1e−Aφ12=−(2φ1′φ1+a1)g′,g'' = -2\frac{\varphi_1'}{\varphi_1^{3}}e^{-A} - a_1\frac{e^{-A}}{\varphi_1^{2}} = -\left(\frac{2\varphi_1'}{\varphi_1} + a_1\right)g' ,

so φ1g′′=−2φ1′g′−a1φ1g′\varphi_1g'' = -2\varphi_1'g' - a_1\varphi_1g', which cancels the remaining three terms exactly. Hence φ2\varphi_2 solves the equation.

Step 5 (basis). By Step 1, W(φ1,φ2)=φ12g′=e−AW(\varphi_1,\varphi_2) = \varphi_1^{2}g' = e^{-A}, which is nonzero everywhere on II; by the Wronskian criterion, {φ1,φ2}\{\varphi_1,\varphi_2\} is a basis. □\square

The same formula comes out of the substitution route of the previous proof: for n=2n = 2 the reduced equation (R)(\mathrm{R}) is φ1v′+(2φ1′+a1φ1)v=0\varphi_1v' + (2\varphi_1' + a_1\varphi_1)v = 0, whose integrating factor is φ1eA\varphi_1e^{A}, giving φ12eAv=const\varphi_1^{2}e^{A}v = \text{const} and hence v=u′=φ1−2e−Av = u' = \varphi_1^{-2}e^{-A} as above.

Remark(Where the hypotheses are used)Original
  • φ1≠0\varphi_1 \ne 0 on II enters twice: it keeps the leading coefficient of the reduced equation away from zero (Step 3 of the first proof), and it is needed to divide by φ12\varphi_1^{2}. The hypothesis is genuinely restrictive. For y′′+y=0y'' + y = 0 with φ1=sin⁡x\varphi_1 = \sin x, the formula φ2=sin⁡x∫csc⁡2=−cos⁡x\varphi_2 = \sin x\int\csc^{2} = -\cos x is valid on (0,π)(0,\pi) and the answer happens to extend to R\mathbb{R}, but the derivation does not: it must be run on each interval between zeros of sin⁡\sin and the pieces matched. In general the second solution exists on all of II (by the existence theorem) even though this formula for it does not.
  • A zero of φ1\varphi_1 is where the second solution misbehaves. Near a simple zero at x1x_1, φ1(s)2∼c(s−x1)2\varphi_1(s)^{2} \sim c(s - x_1)^{2}, so the inner integral diverges like 1/(x−x1)1/(x - x_1) and φ2→\varphi_2 \to a finite nonzero limit; near a point where φ1\varphi_1 vanishes to higher order (which happens only at a singular point of the equation) the divergence is stronger. This is the mechanism behind the logarithms and inverse powers in the irregular solutions of Legendre's and Bessel's equations.
  • Continuity of a1a_1 is what makes e−Ae^{-A} well defined and continuous; a2a_2 is never used explicitly in the second-order formula, which is striking — all of its influence is already encoded in φ1\varphi_1.
  • Constants are free, as the books stress. Hassani (Hassani (2013), Thm 14.4.4 and the preceding paragraph, p. 426) writes the general second solution as φ1(C+K∫⋯ )\varphi_1\bigl(C + K\int\cdots\bigr) and sets C=0C = 0 because that term is proportional to φ1\varphi_1; Arfken, Weber and Harris (Arfken, Weber & Harris (2013), pp. 362-363) drop the lower limits for the same reason and normalise W=1W = 1. We fix W(x0)=1W(x_0) = 1 by taking the lower limit x0x_0 in both integrals, which is the same choice.
  • The two routes are the same calculation. (Riley, Hobson & Bence (2006), §16.4.1, p. 545) notes that assuming y2=u(z)y1(z)y_2 = u(z)y_1(z) and the Wronskian route give identical results; the last paragraph of the proof above is that identity.
Method(Getting a second solution)AdaptedAdapted from Coddington (1989), Ch. 3, §5, pp. 119-121; Arfken, Weber & Harris (2013), §7.6, p. 363
  1. Normalise to y′′+a1y′+a2y=0y'' + a_1y' + a_2y = 0 and fix an interval II on which φ1\varphi_1 has no zero.
  2. Compute the Wronskian factor e−Ae^{-A}, A(x)=∫x0xa1A(x) = \int_{x_0}^{x}a_1. For a1=c/xa_1 = c/x this is a power of xx; for a1a_1 constant it is an exponential; for a1=0a_1 = 0 it is 11.
  3. Integrate φ1−2e−A\varphi_1^{-2}e^{-A} once. Partial fractions usually does it when φ1\varphi_1 is a polynomial, and this step is where logarithms are born.
  4. Multiply by φ1\varphi_1 and simplify, discarding any multiple of φ1\varphi_1 that the constants of integration produced.
  5. Check by substitution, or by confirming W(φ1,φ2)=e−AW(\varphi_1,\varphi_2) = e^{-A}, which is a weaker but much cheaper test.
  6. For order n>2n > 2, substitute y=uφ1y = u\varphi_1 directly, set v=u′v = u', and solve the resulting equation of order n−1n-1 by whatever means; then integrate each of its solutions once and multiply by φ1\varphi_1.
Example(Legendre's equation with ℓ=1\ell = 1: the logarithmic second solution)Original

Take (1−x2)y′′−2xy′+2y=0(1 - x^{2})y'' - 2xy' + 2y = 0 with the known solution φ1(x)=x\varphi_1(x) = x, and work on I=(0,1)I = (0,1), where φ1≠0\varphi_1 \ne 0.

  1. Normalise: a1(x)=−2x/(1−x2)a_1(x) = -2x/(1-x^{2}), a2(x)=2/(1−x2)a_2(x) = 2/(1-x^{2}).

  2. Wronskian factor. With x0=12x_0 = \tfrac12,

    A(s)=∫1/2s−2t1−t2 dt=[ln⁡(1−t2)]1/2s=ln⁡1−s23/4,e−A(s)=34⋅11−s2.A(s) = \int_{1/2}^{s}\frac{-2t}{1 - t^{2}}\,dt = \Bigl[\ln(1 - t^{2})\Bigr]_{1/2}^{s} = \ln\frac{1 - s^{2}}{3/4}, \qquad e^{-A(s)} = \frac{3}{4}\cdot\frac{1}{1 - s^{2}} .
  3. Integrate. By partial fractions, 1s2(1−s2)=1s2+11−s2\dfrac{1}{s^{2}(1-s^{2})} = \dfrac{1}{s^{2}} + \dfrac{1}{1-s^{2}}, so

    ∫dss2(1−s2)=−1s+12ln⁡1+s1−s.\int\frac{ds}{s^{2}(1-s^{2})} = -\frac{1}{s} + \frac{1}{2}\ln\frac{1+s}{1-s} .
  4. Assemble. Up to the constant factor 34\tfrac34 and a multiple of φ1=x\varphi_1 = x coming from the lower limit,

    φ2(x)  =  x(−1x+12ln⁡1+x1−x)  =  x2ln⁡1+x1−x−1.\varphi_2(x) \;=\; x\left(-\frac{1}{x} + \frac{1}{2}\ln\frac{1+x}{1-x}\right) \;=\; \frac{x}{2}\ln\frac{1+x}{1-x} - 1 .

    This is the second solution used in Structure of linear equations and the Wronskian, where it is checked by substitution and its Wronskian with xx is computed to be 1/(1−x2)1/(1-x^{2}).

  5. The formula's own prediction. W(φ1,φ2)W(\varphi_1,\varphi_2) should be e−A(x)=34(1−x2)−1e^{-A(x)} = \tfrac34(1-x^{2})^{-1} for the normalised φ2\varphi_2; our φ2\varphi_2 has had the factor 34\tfrac34 removed, so W=(1−x2)−1W = (1-x^{2})^{-1}, as found independently there. The two computations agree.

  6. Beyond (0,1)(0,1). The resulting φ2\varphi_2 in fact solves the equation on all of (−1,1)(-1,1), as direct substitution shows, even though the derivation needed x≠0x \ne 0; at x=0x = 0 the inner integral diverges but the product with φ1=x\varphi_1 = x stays finite, with φ2(0)=−1\varphi_2(0) = -1. At x=±1x = \pm1 the equation is singular and φ2\varphi_2 blows up logarithmically — the generic fate of the second solution at a singular point.

Example(A polynomial second solution)Original

Take

x y′′−(x+2) y′+2y=0on I=(0,∞).x\,y'' - (x+2)\,y' + 2y = 0 \qquad \text{on } I = (0,\infty) .
  1. A solution by inspection. Try φ1=ex\varphi_1 = e^{x}: then xex−(x+2)ex+2ex=0xe^{x} - (x+2)e^{x} + 2e^{x} = 0. It never vanishes, so the hypothesis holds on all of II — indeed on R\mathbb{R}, but the equation is singular at x=0x = 0, so we stay on x>0x > 0.

  2. Normalise: y′′−x+2xy′+2xy=0y'' - \dfrac{x+2}{x}y' + \dfrac{2}{x}y = 0, so a1(x)=−1−2xa_1(x) = -1 - \dfrac{2}{x}.

  3. Wronskian factor. With x0=1x_0 = 1,

    A(s)=∫1s(−1−2t)dt=−(s−1)−2ln⁡s,e−A(s)=e s−1s2.A(s) = \int_{1}^{s}\left(-1 - \frac{2}{t}\right)dt = -(s - 1) - 2\ln s , \qquad e^{-A(s)} = e^{\,s-1}s^{2} .
  4. Integrate.

    e−A(s)φ1(s)2=e s−1s2e2s=e−1s2e−s,∫1xs2e−s ds=[−(s2+2s+2)e−s]1x=5e−1−(x2+2x+2)e−x.\frac{e^{-A(s)}}{\varphi_1(s)^{2}} = \frac{e^{\,s-1}s^{2}}{e^{2s}} = e^{-1}s^{2}e^{-s} , \qquad \int_{1}^{x} s^{2}e^{-s}\,ds = \Bigl[-(s^{2}+2s+2)e^{-s}\Bigr]_{1}^{x} = 5e^{-1} - (x^{2}+2x+2)e^{-x} .
  5. Assemble.

    φ2(x)=ex⋅e−1[5e−1−(x2+2x+2)e−x]=5e x−2−e−1(x2+2x+2).\varphi_2(x) = e^{x}\cdot e^{-1}\Bigl[5e^{-1} - (x^{2}+2x+2)e^{-x}\Bigr] = 5e^{\,x-2} - e^{-1}\bigl(x^{2}+2x+2\bigr) .

    The first term is a multiple of φ1\varphi_1, so discard it, and drop the constant −e−1-e^{-1}: a second solution is

    φ2(x)=x2+2x+2.\varphi_2(x) = x^{2} + 2x + 2 .
  6. Checks. Substituting: x⋅2−(x+2)(2x+2)+2(x2+2x+2)=2x−2x2−6x−4+2x2+4x+4=0x\cdot 2 - (x+2)(2x+2) + 2(x^{2}+2x+2) = 2x - 2x^{2} - 6x - 4 + 2x^{2} + 4x + 4 = 0. And W(ex,x2+2x+2)=ex(2x+2)−ex(x2+2x+2)=−x2exW(e^{x}, x^{2}+2x+2) = e^{x}(2x+2) - e^{x}(x^{2}+2x+2) = -x^{2}e^{x}, which is a constant multiple of e−A(x)=x2e x−1e^{-A(x)} = x^{2}e^{\,x-1} as Abel's formula requires. The general solution on x>0x > 0 is y=c1ex+c2(x2+2x+2)y = c_1e^{x} + c_2(x^{2}+2x+2).

  7. A remark worth the attention. An equation with a non-polynomial solution can have a polynomial one as well, and here the polynomial is the second solution, produced by an integration rather than by a series. Note also that neither solution is a polynomial times the other, and that the Wronskian −x2ex-x^{2}e^{x} vanishes at the singular point x=0x = 0, exactly as Structure of linear equations and the Wronskian predicts.

ApplicationOriginal

Second solutions of the equations of physics. The standard special functions come in pairs, and the second member of each pair is produced this way. Legendre's equation gives PℓP_\ell by a series and then QℓQ_\ell by exactly the computation of the first example above, with its ln⁡1+x1−x\ln\frac{1+x}{1-x}; Bessel's equation gives JnJ_n and then YnY_n, whose ln⁡x\ln x has the same origin. In a physical problem the irregular solution is usually the one discarded by a boundary condition — but one must know it to know that it has been discarded, and in exterior or scattering problems it is the one that is kept.

The repeated-root case in the Frobenius method. If the two exponents at a regular singular point coincide, or if their difference is a whole number, the series method yields only one solution (The Frobenius method). Riley, Hobson and Bence (Riley, Hobson & Bence (2006), §16.4.1, pp. 544-545) use precisely this formula to manufacture the missing one; it is also the cleanest explanation of why a logarithm must appear, since ∫φ1−2e−A\int \varphi_1^{-2}e^{-A} produces ∫ds/s\int ds/s exactly when the exponents are equal or differ by an integer.

Critical damping. For x¨+2γx˙+γ2x=0\ddot x + 2\gamma\dot x + \gamma^{2}x = 0 the characteristic polynomial has the double root −γ-\gamma, so inspection gives only φ1=e−γt\varphi_1 = e^{-\gamma t}. Here a1=2γa_1 = 2\gamma, e−A=e−2γte^{-A} = e^{-2\gamma t} and φ1−2=e2γt\varphi_1^{-2} = e^{2\gamma t}, so the integrand is 11 and φ2=t e−γt\varphi_2 = t\,e^{-\gamma t}. The factor tt that appears in every repeated-root formula is this trivial integral; the critically damped oscillator of The damped and driven harmonic oscillator is its most familiar instance.

Numerics. When a solution has been computed numerically on a grid, this formula gives the second one by quadrature, which is far more stable than integrating the equation a second time: a numerical solution of a second-order equation started near the "wrong" solution is contaminated by the dominant one, whereas the quadrature has no such instability as long as φ1\varphi_1 stays away from zero.

Method

Euler-Cauchy equations

Adapted

An equation in which each term carries xkx^{k} with the kk-th derivative is scale invariant, so powers ∣x∣r|x|^{r} solve it; the exponents are the roots of an indicial polynomial, a root of multiplicity mm contributes ∣x∣r|x|^{r} times 1,log⁡∣x∣,…,(log⁡∣x∣)m−11, \log|x|, \dots, (\log|x|)^{m-1}, and the substitution x=etx = e^{t} turns the equation into one with constant coefficients.

Prerequisites: Constant-coefficient equations

Definition(Euler-Cauchy equations)AdaptedAdapted from Coddington (1989), Ch. 4, §2, Eqs. (2.1) and (2.5), pp. 145, 148; Riley, Hobson & Bence (2006), §15.2.1, Eq. (15.38), p. 504

An Euler equation (also Euler-Cauchy, or equidimensional) of order nn is

L(y)  =  xny(n)+a1xn−1y(n−1)+⋯+an−1xy′+any  =  f(x),L(y) \;=\; x^{n}y^{(n)} + a_1x^{n-1}y^{(n-1)} + \cdots + a_{n-1}xy' + a_ny \;=\; f(x) ,

with a1,…,ana_1, \dots, a_n constants. The defining feature is that the kk-th derivative appears multiplied by xkx^{k}. The consequence is a scaling symmetry: for any c>0c > 0, if y(x)y(x) solves L(y)=0L(y) = 0 then so does y(cx)y(cx), because each term xky(k)x^{k}y^{(k)} is unchanged in form when xx is rescaled. This is the reason for the name equidimensional: every term has the same dimension if xx and yy are given dimensions.

The leading coefficient xnx^{n} vanishes at x=0x = 0, so x=0x = 0 is a singular point and the theory of Structure of linear equations and the Wronskian applies only on intervals not containing it. In this unit II is any interval with 0∉I0 \notin I; the two cases x>0x > 0 and x<0x < 0 are separate problems with identical answers.

For r∈Cr \in \mathbb{C} and x≠0x \neq 0 define ∣x∣r=erlog⁡∣x∣|x|^{r} = e^{r\log|x|}, with log⁡\log the real logarithm of the positive number ∣x∣|x|. The second-order case,

x2y′′+a xy′+b y=0,x^{2}y'' + a\,xy' + b\,y = 0 ,

is the one that occurs most often; its indicial polynomial is q(r)=r(r−1)+ar+bq(r) = r(r-1) + ar + b.

Method(The indicial polynomial)AdaptedAdapted from Coddington (1989), Ch. 4, §2, Eqs. (2.2) and (2.6), pp. 145, 148

For every r∈Cr \in \mathbb{C} and every x≠0x \ne 0,

L(∣x∣r)  =  q(r) ∣x∣r,L\bigl(|x|^{r}\bigr) \;=\; q(r)\,|x|^{r} ,

where qq, the indicial polynomial of LL, is the polynomial of degree nn

q(r)  =  r(r−1)⋯(r−n+1)  +  a1 r(r−1)⋯(r−n+2)  +  ⋯  +  an−1r  +  an.q(r) \;=\; r(r-1)\cdots(r-n+1) \;+\; a_1\,r(r-1)\cdots(r-n+2) \;+\; \cdots \;+\; a_{n-1}r \;+\; a_n .

For n=2n = 2 this is q(r)=r(r−1)+ar+bq(r) = r(r-1) + ar + b, and q(r)=0q(r) = 0 is called the indicial equation. Equivalently: qq is obtained from LL by replacing xkdk/dxkx^{k}d^{k}/dx^{k} with the falling factorial r(r−1)⋯(r−k+1)r(r-1)\cdots(r-k+1).

Method(A basis of solutions)AdaptedAdapted from Coddington (1989), Ch. 4, §2, Thm 1, p. 147 and Thm 2, p. 149; Riley, Hobson & Bence (2006), §15.2.1, p. 504

Write the indicial polynomial qq of the nn-th order Euler equation as q(r)=(r−r1)m1⋯(r−rs)msq(r) = (r-r_1)^{m_1}\cdots(r-r_s)^{m_s} with r1,…,rsr_1, \dots, r_s distinct, so that m1+⋯+ms=nm_1 + \cdots + m_s = n. Then the nn functions

∣x∣rj,∣x∣rjlog⁡∣x∣,…,∣x∣rj(log⁡∣x∣)mj−1,j=1,…,s,|x|^{r_j},\quad |x|^{r_j}\log|x|,\quad \dots,\quad |x|^{r_j}\bigl(\log|x|\bigr)^{m_j-1}, \qquad j = 1, \dots, s ,

are a basis for the solution space of L(y)=0L(y) = 0 on every interval that avoids x=0x = 0.

In particular, for the second-order equation x2y′′+axy′+by=0x^{2}y'' + axy' + by = 0: if qq has distinct roots r1≠r2r_1 \ne r_2 a basis is ∣x∣r1,∣x∣r2|x|^{r_1}, |x|^{r_2}; if r1r_1 is a double root a basis is ∣x∣r1,∣x∣r1log⁡∣x∣|x|^{r_1}, |x|^{r_1}\log|x|.

Method(Real form for a complex pair)AdaptedAdapted from Coddington (1989), Ch. 4, §2, Ex. 4, pp. 149-150

Suppose a1,…,ana_1, \dots, a_n are real, so qq has real coefficients, and let r=σ+iτr = \sigma + i\tau with τ≠0\tau \neq 0 be a root of multiplicity mm; then rˉ=σ−iτ\bar r = \sigma - i\tau is a root of the same multiplicity. For each k=0,…,m−1k = 0, \dots, m-1 the two complex solutions ∣x∣σ±iτ(log⁡∣x∣)k|x|^{\sigma\pm i\tau}(\log|x|)^{k} may be replaced by the real pair

∣x∣σ(log⁡∣x∣)kcos⁡(τlog⁡∣x∣),∣x∣σ(log⁡∣x∣)ksin⁡(τlog⁡∣x∣),|x|^{\sigma}\bigl(\log|x|\bigr)^{k}\cos\bigl(\tau\log|x|\bigr), \qquad |x|^{\sigma}\bigl(\log|x|\bigr)^{k}\sin\bigl(\tau\log|x|\bigr),

and the result is again a basis. For n=2n = 2 with r=σ±iτr = \sigma \pm i\tau this gives the basis ∣x∣σcos⁡(τlog⁡∣x∣)|x|^{\sigma}\cos(\tau\log|x|), ∣x∣σsin⁡(τlog⁡∣x∣)|x|^{\sigma}\sin(\tau\log|x|): a power law modulated by an oscillation that is periodic in log⁡∣x∣\log|x|, not in xx.

Method(Reduction to constant coefficients)AdaptedAdapted from Riley, Hobson & Bence (2006), §15.2.1, Eqs. (15.36)-(15.38), pp. 503-504; Coddington (1989), Ch. 4, §2, Ex. 3, p. 149

On x>0x > 0 substitute x=etx = e^{t}, that is, t=log⁡xt = \log x, and set Y(t)=y(et)Y(t) = y(e^{t}). Writing θ=d/dt\theta = d/dt,

xkdkydxk  =  θ(θ−1)⋯(θ−k+1) Y,k=0,1,2,…x^{k}\frac{d^{k}y}{dx^{k}} \;=\; \theta(\theta - 1)\cdots(\theta - k + 1)\,Y , \qquad k = 0, 1, 2, \dots

Hence L(y)=f(x)L(y) = f(x) becomes the constant-coefficient equation

[θ(θ−1)⋯(θ−n+1)+a1θ(θ−1)⋯(θ−n+2)+⋯+an]Y  =  f(et),\Bigl[\theta(\theta-1)\cdots(\theta-n+1) + a_1\theta(\theta-1)\cdots(\theta-n+2) + \cdots + a_n\Bigr]Y \;=\; f(e^{t}) ,

whose characteristic polynomial is exactly the indicial polynomial qq. The methods of Constant-coefficient equations apply, and translating back with t=log⁡xt = \log x, ert=xre^{rt} = x^{r}, tk=(log⁡x)kt^{k} = (\log x)^{k} reproduces the basis above.

More generally, Riley, Hobson and Bence (Riley, Hobson & Bence (2006), Eq. (15.36), p. 503) call

An(αx+β)ny(n)+⋯+A1(αx+β)y′+A0y=f(x)A_n(\alpha x + \beta)^{n}y^{(n)} + \cdots + A_1(\alpha x + \beta)y' + A_0y = f(x)

Legendre's linear equation and reduce it the same way, by αx+β=et\alpha x + \beta = e^{t}.

Idea of the proofOriginal

A scale-invariant operator should have power-law eigenfunctions, and it does: xkdk/dxkx^{k}d^{k}/dx^{k} applied to xrx^{r} returns a number times xrx^{r}, so L(xr)=q(r)xrL(x^{r}) = q(r)x^{r} and the exponents we want are the roots of qq. The resemblance to the constant-coefficient case — where L(eλx)=p(λ)eλxL(e^{\lambda x}) = p(\lambda)e^{\lambda x} — is not an accident: log⁡x\log x converts scalings of xx into translations of tt, and a translation-invariant operator is one with constant coefficients. That one change of variable explains everything, including where the logarithms come from: a repeated root of a constant-coefficient equation contributes tkeλtt^{k}e^{\lambda t}, and t=log⁡xt = \log x. One can also stay in xx and differentiate the identity L(∣x∣r)=q(r)∣x∣rL(|x|^{r}) = q(r)|x|^{r} with respect to rr, which produces log⁡∣x∣\log|x| on the left and the derivatives q(j)(r)q^{(j)}(r) on the right — the same bookkeeping as for repeated roots in the constant-coefficient case.

Proof(The indicial polynomial)AdaptedAdapted from Coddington (1989), Ch. 4, §2, pp. 145, 148

Step 1 (x>0x > 0). For x>0x > 0, ∣x∣r=xr=erlog⁡x|x|^{r} = x^{r} = e^{r\log x} and ddxxr=rxr−1\frac{d}{dx}x^{r} = rx^{r-1}, which iterates to

dkdxkxr=r(r−1)⋯(r−k+1) xr−k,soxkdkdxkxr=r(r−1)⋯(r−k+1) xr.\frac{d^{k}}{dx^{k}}x^{r} = r(r-1)\cdots(r-k+1)\,x^{r-k} , \qquad\text{so}\qquad x^{k}\frac{d^{k}}{dx^{k}}x^{r} = r(r-1)\cdots(r-k+1)\,x^{r} .

Step 2 (sum the terms). The jj-th term of LL is ajxn−jdn−j/dxn−ja_j x^{n-j}d^{n-j}/dx^{n-j} (with a0=1a_0 = 1), so applying it to xrx^{r} gives aj r(r−1)⋯(r−n+j+1)xra_j\,r(r-1)\cdots(r-n+j+1)x^{r}. Adding over j=0,…,nj = 0, \dots, n gives L(xr)=q(r)xrL(x^{r}) = q(r)x^{r} with qq as stated.

Step 3 (x<0x < 0). For x<0x < 0, ∣x∣=−x|x| = -x, so ddx∣x∣r=ddx(−x)r=−r(−x)r−1\frac{d}{dx}|x|^{r} = \frac{d}{dx}(-x)^{r} = -r(-x)^{r-1} and more generally dkdxk∣x∣r=(−1)kr(r−1)⋯(r−k+1)(−x)r−k\frac{d^{k}}{dx^{k}}|x|^{r} = (-1)^{k}r(r-1)\cdots(r-k+1)(-x)^{r-k}. Multiplying by xk=(−1)k(−x)kx^{k} = (-1)^{k}(-x)^{k} the two sign factors cancel, and again

xkdkdxk∣x∣r=r(r−1)⋯(r−k+1) ∣x∣r.x^{k}\frac{d^{k}}{dx^{k}}|x|^{r} = r(r-1)\cdots(r-k+1)\,|x|^{r} .

So the identity, and hence everything derived from it, holds verbatim on either side of the origin. □\square

Proof(A basis of solutions)AdaptedAdapted from Coddington (1989), Ch. 4, §2, pp. 145-149; Riley, Hobson & Bence (2006), §15.2.1, pp. 503-504

Step 1 (change variables). Work on x>0x > 0; the case x<0x < 0 follows by replacing xx with ∣x∣|x| throughout, by Step 3 of the previous proof. Put t=log⁡xt = \log x, Y(t)=y(et)Y(t) = y(e^{t}). From dt/dx=1/xdt/dx = 1/x we get x dy/dx=dY/dt=θYx\,dy/dx = dY/dt = \theta Y. Assume inductively that xky(k)=θ(θ−1)⋯(θ−k+1)Yx^{k}y^{(k)} = \theta(\theta-1)\cdots(\theta-k+1)Y and write G=θ(θ−1)⋯(θ−k+1)YG = \theta(\theta-1)\cdots(\theta-k+1)Y for brevity. Differentiating xky(k)=Gx^{k}y^{(k)} = G in xx,

kxk−1y(k)+xky(k+1)=dGdt⋅1x,kx^{k-1}y^{(k)} + x^{k}y^{(k+1)} = \frac{dG}{dt}\cdot\frac{1}{x} ,

and multiplying by xx,

xk+1y(k+1)=θG−k xky(k)=(θ−k) θ(θ−1)⋯(θ−k+1)Y,x^{k+1}y^{(k+1)} = \theta G - k\,x^{k}y^{(k)} = (\theta - k)\,\theta(\theta-1)\cdots(\theta-k+1)Y ,

which is the statement for k+1k+1. The base case k=0k = 0 is trivial. This proves the operator identities, hence that L(y)=fL(y) = f becomes the constant-coefficient equation displayed above, with characteristic polynomial

θ(θ−1)⋯(θ−n+1)+a1θ(θ−1)⋯(θ−n+2)+⋯+an∣θ→r  =  q(r).\theta(\theta-1)\cdots(\theta-n+1) + a_1\theta(\theta-1)\cdots(\theta-n+2) + \cdots + a_n \Big|_{\theta \to r} \;=\; q(r) .

Step 2 (solve it). By Constant-coefficient equations, a root rjr_j of qq of multiplicity mjm_j contributes the mjm_j solutions tkerjtt^{k}e^{r_jt}, k=0,…,mj−1k = 0, \dots, m_j - 1, and together these nn functions are a basis of the solution space in tt.

Step 3 (translate back). t=log⁡xt = \log x turns erjte^{r_jt} into xrjx^{r_j} and tkt^{k} into (log⁡x)k(\log x)^{k}, so the nn functions xrj(log⁡x)kx^{r_j}(\log x)^{k} solve L(y)=0L(y) = 0 on x>0x > 0. The map y↦Yy \mapsto Y, Y(t)=y(et)Y(t) = y(e^{t}), is a linear bijection between functions on (0,∞)(0,\infty) and functions on R\mathbb{R} with inverse y(x)=Y(log⁡x)y(x) = Y(\log x); a linear bijection carries a basis to a basis and independent functions to independent functions. Hence these nn functions are a basis of the solutions of L(y)=0L(y) = 0 on any interval of (0,∞)(0,\infty).

Step 4 (a check that avoids the substitution). The same conclusion follows from the indicial identity directly. Differentiating L(∣x∣r)=q(r)∣x∣rL(|x|^{r}) = q(r)|x|^{r} kk times with respect to rr, and using ∂r∣x∣r=∣x∣rlog⁡∣x∣\partial_r|x|^{r} = |x|^{r}\log|x| together with the commuting of ∂r\partial_r and d/dxd/dx,

L(∣x∣r(log⁡∣x∣)k)  =  ∑i=0k(ki)q(i)(r) ∣x∣r(log⁡∣x∣)k−i.L\Bigl(|x|^{r}\bigl(\log|x|\bigr)^{k}\Bigr) \;=\; \sum_{i=0}^{k}\binom{k}{i}q^{(i)}(r)\,|x|^{r}\bigl(\log|x|\bigr)^{k-i} .

If rjr_j has multiplicity mjm_j then q(rj)=⋯=q(mj−1)(rj)=0q(r_j) = \cdots = q^{(m_j-1)}(r_j) = 0, so the right-hand side vanishes for every k≤mj−1k \le m_j - 1. □\square

Proof(Real form for a complex pair)Original

Since qq has real coefficients, q(rˉ)=q(r)‾q(\bar r) = \overline{q(r)}, so rˉ\bar r is a root whenever rr is, with the same multiplicity (apply the same conjugation to q(i)q^{(i)}). With r=σ+iτr = \sigma + i\tau and u=log⁡∣x∣u = \log|x|,

∣x∣σ±iτ=e(σ±iτ)u=∣x∣σ(cos⁡τu±isin⁡τu),|x|^{\sigma\pm i\tau} = e^{(\sigma\pm i\tau)u} = |x|^{\sigma}\bigl(\cos\tau u \pm i\sin\tau u\bigr) ,

so

∣x∣σcos⁡(τu)=12(∣x∣r+∣x∣rˉ),∣x∣σsin⁡(τu)=12i(∣x∣r−∣x∣rˉ),|x|^{\sigma}\cos(\tau u) = \tfrac12\bigl(|x|^{r} + |x|^{\bar r}\bigr), \qquad |x|^{\sigma}\sin(\tau u) = \tfrac{1}{2i}\bigl(|x|^{r} - |x|^{\bar r}\bigr) ,

and multiplying both identities by uku^{k} gives the claimed pair as combinations of the two complex solutions. The 2×22\times 2 matrix (1/21/21/(2i)−1/(2i))\begin{pmatrix}1/2 & 1/2\\ 1/(2i) & -1/(2i)\end{pmatrix} has determinant −1/(2i)≠0-1/(2i) \neq 0, so the replacement is invertible and the new nn functions span the same space; being nn spanning vectors of an nn-dimensional space they are a basis. □\square

Remark(Where the hypotheses are used)Original
  • x≠0x \ne 0 throughout. The indicial identity xk(∣x∣r)(k)=r(r−1)⋯(r−k+1)∣x∣rx^{k}(|x|^{r})^{(k)} = r(r-1)\cdots(r-k+1)|x|^{r} is derived in Steps 1 and 3 for x≠0x \neq 0 only, and that is all one can ask: the leading coefficient xnx^{n} vanishes at the origin, so the equation is singular there, and the functions themselves misbehave — ∣x∣r|x|^{r} with rr non-integer is not differentiable enough times at 00 (for 0<r<10 < r < 1 not even once), and log⁡∣x∣\log|x| is not defined there at all. Coddington's theorems are stated, carefully, on any interval not containing the origin; a solution on (0,∞)(0,\infty) and one on (−∞,0)(-\infty,0) have no reason to join up. For x2y′′−2y=0x^{2}y'' - 2y = 0 (q(r)=r2−r−2q(r) = r^{2} - r - 2, roots 22 and −1-1) the solution ∣x∣−1|x|^{-1} exists on each side and blows up at the origin, and x2x^{2} extends smoothly but is not part of a two-dimensional solution space at 00: compare the warning in Structure of linear equations and the Wronskian.
  • ∣x∣r|x|^{r} rather than xrx^{r}. On x<0x < 0 and for complex or non-integer rr, xrx^{r} needs a branch of log⁡\log and becomes complex-valued ((Coddington (1989), Ch. 4, §2, Ex. 5, p. 150) works this out), whereas ∣x∣r|x|^{r} is real for real rr and is what the identity of Step 3 delivers. On x>0x > 0 the two agree and we write xrx^{r} and log⁡x\log x.
  • Constant aka_k are essential. If one aka_k is replaced by a function the scaling symmetry is lost, L(xr)L(x^{r}) is no longer a multiple of xrx^{r}, and only the leading behaviour near 00 survives — which is precisely the content of the Frobenius method (The Frobenius method): near a regular singular point the solutions are the Euler solutions multiplied by convergent power series. Strauss (Strauss (2008), Appendix A.4, p. 424) states this as the main theorem about regular singular points, with the same indicial equation x(x−1)+βx+γ=0x(x-1) + \beta x + \gamma = 0.
  • Multiplicity, not root separation, produces the logarithm. For n=2n = 2 the double root occurs when (a−1)2=4b(a-1)^{2} = 4b; there ∣x∣r1|x|^{r_1} and ∣x∣r1log⁡∣x∣|x|^{r_1}\log|x| are the basis. The logarithm can also be obtained from reduction of order: with φ1=xr1\varphi_1 = x^{r_1} and a1=a/xa_1 = a/x one gets e−A=x−ae^{-A} = x^{-a} and φ1−2e−A=x−2r1−a=x−1\varphi_1^{-2}e^{-A} = x^{-2r_1-a} = x^{-1} exactly when 2r1+a=12r_1 + a = 1, which is the condition r1=(1−a)/2r_1 = (1-a)/2 for a double root. The integral ∫dx/x\int dx/x is the logarithm.
  • Forcing by a power is easy. Since L(cxk)=c q(k)xkL(cx^{k}) = c\,q(k)x^{k}, the equation L(y)=xkL(y) = x^{k} has the particular solution xk/q(k)x^{k}/q(k) whenever q(k)≠0q(k) \ne 0; if kk is a root of qq of multiplicity mm, the trial c xk(log⁡x)mc\,x^{k}(\log x)^{m} works, with c=1/q(m)(k)c = 1/q^{(m)}(k). The reason is the differentiated identity of Step 4 above with the exponent mm: in L(xk(log⁡x)m)=∑i=0m(mi)q(i)(k) xk(log⁡x)m−iL\Bigl(x^{k}(\log x)^{m}\Bigr) = \sum_{i=0}^{m}\binom{m}{i}q^{(i)}(k)\,x^{k}(\log x)^{m-i} every term with i≤m−1i \le m-1 carries a factor q(i)(k)=0q^{(i)}(k) = 0, and the surviving i=mi = m term is (mm)q(m)(k)xk=q(m)(k) xk\binom{m}{m}q^{(m)}(k)x^{k} = q^{(m)}(k)\,x^{k}. So L(xk(log⁡x)m)=q(m)(k)xkL\bigl(x^{k}(\log x)^{m}\bigr) = q^{(m)}(k)x^{k} exactly, and q(m)(k)≠0q^{(m)}(k) \ne 0 because the multiplicity is exactly mm. (For m=1m = 1 this reads c=1/q′(k)c = 1/q'(k); for the triple root of the first example, q=(r−1)3q = (r-1)^{3} and q′′′(1)=6q'''(1) = 6, so forcing xx would need yp=16x(log⁡x)3y_p = \tfrac16 x(\log x)^{3}, and indeed x3y′′′+xy′−yx^{3}y''' + xy' - y applied to x(log⁡x)3x(\log x)^{3} gives 6x6x.) This is the exact analogue of resonance in Constant-coefficient equations, and (Coddington (1989), Ch. 4, §2, Ex. 6, p. 150) sets it as an exercise for n=2n=2.
Method(Solving an Euler equation)AdaptedAdapted from Riley, Hobson & Bence (2006), §15.2.1, Solution method, pp. 504-505; Coddington (1989), Ch. 4, §2, pp. 145-149
  1. Recognise it: each y(k)y^{(k)} multiplied by xkx^{k} (times a constant). If the variable appears as αx+β\alpha x + \beta throughout, substitute u=αx+βu = \alpha x + \beta first.
  2. Write the indicial polynomial by replacing xky(k)x^{k}y^{(k)} with r(r−1)⋯(r−k+1)r(r-1)\cdots(r-k+1), and find its roots with multiplicities. For n=2n = 2: q(r)=r(r−1)+ar+bq(r) = r(r-1) + ar + b.
  3. Write the basis: each root rjr_j of multiplicity mjm_j contributes ∣x∣rj(log⁡∣x∣)k|x|^{r_j}\bigl(\log|x|\bigr)^{k}, k=0,…,mj−1k = 0, \dots, m_j-1. Convert a complex pair to the real ∣x∣σcos⁡(τlog⁡∣x∣)|x|^{\sigma}\cos(\tau\log|x|), ∣x∣σsin⁡(τlog⁡∣x∣)|x|^{\sigma}\sin(\tau\log|x|) if a real answer is wanted.
  4. For a nonzero right-hand side, either (a) try yp=c xky_p = c\,x^{k} for forcing xkx^{k}, using L(cxk)=c q(k)xkL(cx^{k}) = c\,q(k)x^{k}, with a factor (log⁡x)m(\log x)^{m} if kk is a root of multiplicity mm; or (b) substitute x=etx = e^{t} and use undetermined coefficients or variation of parameters on the resulting constant-coefficient equation; or (c) use variation of parameters directly. For n=2n = 2 the Wronskian needed there is, for distinct roots r1≠r2r_1 \ne r_2 with basis ∣x∣r1,∣x∣r2|x|^{r_1}, |x|^{r_2}, W=(r2−r1) ∣x∣r1+r2−1sgn⁡x,W = (r_2 - r_1)\,|x|^{r_1 + r_2 - 1}\operatorname{sgn} x , which is nonvanishing exactly because r1≠r2r_1 \ne r_2; and for a double root r1r_1, with basis ∣x∣r1,∣x∣r1log⁡∣x∣|x|^{r_1}, |x|^{r_1}\log|x|, W=∣x∣2r1−1sgn⁡x.W = |x|^{2r_1 - 1}\operatorname{sgn} x .
  5. State the interval. The answer is valid on an interval that excludes x=0x = 0; say which one.
Example(A triple root, with forcing)Original

Solve

x3y′′′+x y′−y  =  x2on x>0,y(1)=y′(1)=y′′(1)=0.x^{3}y''' + x\,y' - y \;=\; x^{2} \quad\text{on } x > 0 , \qquad y(1) = y'(1) = y''(1) = 0 .
  1. Indicial polynomial. Replace x3y′′′x^{3}y''' by r(r−1)(r−2)r(r-1)(r-2), xy′xy' by rr, and yy by 11:

    q(r)=r(r−1)(r−2)+r−1=r3−3r2+2r+r−1=r3−3r2+3r−1=(r−1)3.q(r) = r(r-1)(r-2) + r - 1 = r^{3} - 3r^{2} + 2r + r - 1 = r^{3} - 3r^{2} + 3r - 1 = (r-1)^{3} .

    So r=1r = 1 is a root of multiplicity 33.

  2. Complementary function. yc=(c1+c2log⁡x+c3(log⁡x)2)xy_c = \bigl(c_1 + c_2\log x + c_3(\log x)^{2}\bigr)x. Each piece checks out directly; for instance y=x(log⁡x)2y = x(\log x)^{2} has y′=(log⁡x)2+2log⁡xy' = (\log x)^{2} + 2\log x, y′′=(2log⁡x+2)/xy'' = (2\log x + 2)/x, y′′′=−2log⁡x/x2y''' = -2\log x/x^{2}, and

    x3(−2log⁡xx2)+x((log⁡x)2+2log⁡x)−x(log⁡x)2=−2xlog⁡x+2xlog⁡x=0.x^{3}\left(\frac{-2\log x}{x^{2}}\right) + x\bigl((\log x)^{2} + 2\log x\bigr) - x(\log x)^{2} = -2x\log x + 2x\log x = 0 .

    Their Wronskian at x=1x = 1 is the determinant of the matrix with rows (1,0,0)(1,0,0), (1,1,0)(1,1,0), (0,1,2)(0,1,2), namely 2≠02 \neq 0; and since the normalised equation has no y′′y'' term, Abel's formula makes WW constant, so W≡2W \equiv 2 on x>0x>0.

  3. Particular integral. The forcing is x2x^{2} and q(2)=(2−1)3=1≠0q(2) = (2-1)^{3} = 1 \ne 0, so yp=x2/q(2)=x2y_p = x^{2}/q(2) = x^{2}. Check: x3⋅0+x⋅2x−x2=x2x^{3}\cdot 0 + x\cdot 2x - x^{2} = x^{2}.

  4. General solution. y=(c1+c2log⁡x+c3(log⁡x)2)x+x2y = \bigl(c_1 + c_2\log x + c_3(\log x)^{2}\bigr)x + x^{2}.

  5. Impose the data at x=1x = 1, where log⁡x=0\log x = 0. With yh=x(c1+c2L+c3L2)y_h = x(c_1 + c_2L + c_3L^{2}), L=log⁡xL = \log x:

    yh′=c1+c2+(c2+2c3)L+c3L2,yh′′=c2+2c3+2c3Lx,y_h' = c_1 + c_2 + (c_2 + 2c_3)L + c_3L^{2} , \qquad y_h'' = \frac{c_2 + 2c_3 + 2c_3L}{x} ,

    so yh(1)=c1y_h(1) = c_1, yh′(1)=c1+c2y_h'(1) = c_1 + c_2, yh′′(1)=c2+2c3y_h''(1) = c_2 + 2c_3. Since yp(1)=1y_p(1) = 1, yp′(1)=2y_p'(1) = 2, yp′′(1)=2y_p''(1) = 2, the conditions give c1=−1c_1 = -1, then c2=−1c_2 = -1, then c3=−12c_3 = -\tfrac12:

    y(x)  =  x2−x(1+log⁡x+12(log⁡x)2).y(x) \;=\; x^{2} - x\left(1 + \log x + \tfrac12(\log x)^{2}\right) .
  6. Checks. Substituting this into the equation returns x2x^{2}, and y,y′,y′′y, y', y'' vanish at x=1x = 1. At x=2x = 2: y(2)=4−2(1+ln⁡2+12ln⁡22)=0.133 253y(2) = 4 - 2\bigl(1 + \ln 2 + \tfrac12\ln^{2}2\bigr) = 0.133\,253 to six decimal places.

Example(A complex pair: oscillation in log⁡x\log x)Original

Solve x2y′′+3xy′+5y=0x^{2}y'' + 3xy' + 5y = 0 for x≠0x \ne 0.

  1. Indicial equation. q(r)=r(r−1)+3r+5=r2+2r+5q(r) = r(r-1) + 3r + 5 = r^{2} + 2r + 5, with roots r=−1±2ir = -1 \pm 2i (so σ=−1\sigma = -1, τ=2\tau = 2).

  2. Real basis.

    φ1(x)=cos⁡(2log⁡∣x∣)∣x∣,φ2(x)=sin⁡(2log⁡∣x∣)∣x∣.\varphi_1(x) = \frac{\cos\bigl(2\log|x|\bigr)}{|x|} , \qquad \varphi_2(x) = \frac{\sin\bigl(2\log|x|\bigr)}{|x|} .

    Check φ1\varphi_1 on x>0x > 0. With u=log⁡xu = \log x, so that du/dx=1/xdu/dx = 1/x,

    φ1=cos⁡2ux,φ1′=−cos⁡2u+2sin⁡2ux2,φ1′′=2(3sin⁡2u−cos⁡2u)x3,\varphi_1 = \frac{\cos 2u}{x}, \qquad \varphi_1' = -\frac{\cos 2u + 2\sin 2u}{x^{2}}, \qquad \varphi_1'' = \frac{2\bigl(3\sin 2u - \cos 2u\bigr)}{x^{3}} ,

    so that

    x2φ1′′+3xφ1′+5φ1=6sin⁡2u−2cos⁡2u−3cos⁡2u−6sin⁡2u+5cos⁡2ux=0.x^{2}\varphi_1'' + 3x\varphi_1' + 5\varphi_1 = \frac{6\sin 2u - 2\cos 2u - 3\cos 2u - 6\sin 2u + 5\cos 2u}{x} = 0 .

    The computation for φ2\varphi_2 is the same with cos⁡\cos and sin⁡\sin exchanged and a sign flipped.

  3. What the solution looks like. As x→0+x \to 0^{+} the amplitude 1/x1/x grows while the phase 2log⁡x→−∞2\log x \to -\infty: the solution oscillates infinitely often in any neighbourhood of the origin, with the zeros of φ1\varphi_1 at x=eπ/4+kπ/2x = e^{\pi/4 + k\pi/2}, k∈Zk \in \mathbb{Z}, accumulating geometrically at the origin. The oscillation is periodic in log⁡x\log x with period π\pi, so consecutive zeros are in the fixed ratio e−π/2=0.2079e^{-\pi/2} = 0.2079 as one moves towards the origin. This log-periodic behaviour is the signature of a complex pair of indicial roots.

  4. A definite solution. The solution with y(1)=1y(1) = 1, y′(1)=0y'(1) = 0 is y=x−1(cos⁡(2log⁡x)+12sin⁡(2log⁡x))y = x^{-1}\bigl(\cos(2\log x) + \tfrac12\sin(2\log x)\bigr), since φ1(1)=1\varphi_1(1) = 1, φ1′(1)=−1\varphi_1'(1) = -1, φ2(1)=0\varphi_2(1) = 0, φ2′(1)=2\varphi_2'(1) = 2. At x=2x = 2: 12(cos⁡(2ln⁡2)+12sin⁡(2ln⁡2))=0.337 485\tfrac12\bigl(\cos(2\ln 2) + \tfrac12\sin(2\ln 2)\bigr) = 0.337\,485 to six decimal places.

ApplicationOriginal

Laplace's equation in polar and spherical coordinates. Separating ∇2u=0\nabla^{2}u = 0 in the plane as u=R(r)Θ(θ)u = R(r)\Theta(\theta) gives r2R′′+rR′−m2R=0r^{2}R'' + rR' - m^{2}R = 0 — an Euler equation with q(ρ)=ρ2−m2q(\rho) = \rho^{2} - m^{2}, hence R=rm,r−mR = r^{m}, r^{-m} for m≠0m \ne 0 and the double root m=0m = 0 giving R=1,log⁡rR = 1, \log r. The logarithmic potential of a line charge is the double-root case of this unit. In three dimensions the radial equation r2R′′+2rR′−ℓ(ℓ+1)R=0r^{2}R'' + 2rR' - \ell(\ell+1)R = 0 has q(ρ)=ρ(ρ+1)−ℓ(ℓ+1)q(\rho) = \rho(\rho+1) - \ell(\ell+1), with roots ℓ\ell and −ℓ−1-\ell-1: the interior and exterior multipole solutions rℓr^{\ell} and r−ℓ−1r^{-\ell-1} of electrostatics are nothing but the exponents of an Euler equation.

Scale-free problems and power laws. Whenever a linear problem has no intrinsic length scale, the governing equation is equidimensional and the solutions are power laws, possibly with logarithms. Examples: the stress field near a crack tip or a wedge corner in elasticity (the Williams expansion, whose exponents solve a transcendental version of an indicial equation), the velocity profile in a corner flow, and the self-similar solutions of diffusion problems. The appearance of a logarithm always signals a degenerate (repeated) exponent, and it is the mathematical origin of such anomalies as the logarithmic corrections in two-dimensional problems.

The inverse-square potential. The radial Schrodinger equation with V=−g/r2V = -g/r^{2} reduces, for the leading behaviour, to r2u′′+(g−ℓ(ℓ+1))u=0r^{2}u'' + \bigl(g - \ell(\ell+1)\bigr)u = 0, an Euler equation with q(ρ)=ρ(ρ−1)+g−ℓ(ℓ+1)q(\rho) = \rho(\rho-1) + g - \ell(\ell+1). When gg exceeds a critical value the indicial roots become a complex pair and the solution becomes log-periodic, r1/2cos⁡(τlog⁡r+δ)r^{1/2}\cos(\tau\log r + \delta): this is the celebrated "fall to the centre", where no ground state exists and the spectrum must be regularised. The same mathematics governs the Efimov effect in three-body physics, where the log-periodicity appears as a geometric sequence of bound states with ratio eπ/τe^{\pi/\tau} — the ratio seen in step 3 of the second example.

The model for regular singular points. Finally, the Euler equation is the reference case for the whole of the series-solution theory: near a regular singular point the coefficients xp(x)xp(x) and x2q(x)x^{2}q(x) tend to constants, and the equation is asymptotically an Euler equation whose indicial roots give the leading exponents of the two solutions (The Frobenius method, Classifying singular points, including infinity). Every indicial equation in the theory of Bessel, Legendre and hypergeometric functions is the indicial equation of an Euler equation.

Application

The damped and driven harmonic oscillator

Adapted

The equation x¨+2γx˙+ω02x=f(t)\ddot x + 2\gamma\dot x + \omega_0^2 x = f(t) worked out in full: the three free regimes fixed by the sign of γ−ω0\gamma - \omega_0, the decaying transient plus periodic steady state under harmonic driving, the amplitude and phase as functions of frequency, and the quality factor Q=ω0/2γQ = \omega_0/2\gamma read three ways.

Prerequisites: Constant-coefficient equations, Structure of linear equations and the Wronskian

Definition(The oscillator and its parameters)AdaptedAdapted from Hirsch, Smale & Devaney (2013), §2.2, pp. 25-26; Hassani (2013), §14.7, Example 14.7.2, pp. 447-448

A mass mm on a spring of stiffness k>0k > 0, with a frictional force proportional to the velocity through a damping constant b≥0b \ge 0 and an external force F(t)F(t), obeys Newton's law in the form

mx¨+bx˙+kx  =  F(t).m\ddot x + b\dot x + kx \;=\; F(t) .

Dividing by mm and naming

ω0=km  >  0,γ=b2m  ≥  0,f(t)=F(t)m,\omega_0 = \sqrt{\frac{k}{m}} \;>\; 0 , \qquad \gamma = \frac{b}{2m} \;\ge\; 0 , \qquad f(t) = \frac{F(t)}{m} ,

gives the standard form used throughout this unit,

x¨+2γx˙+ω02x  =  f(t).\ddot x + 2\gamma\dot x + \omega_0^{2}x \;=\; f(t) .

Here ω0\omega_0 is the undamped natural frequency and γ\gamma the damping rate (of dimension 1/time1/\text{time}). The characteristic polynomial is p(λ)=λ2+2γλ+ω02p(\lambda) = \lambda^{2} + 2\gamma\lambda + \omega_0^{2}, with roots

λ±  =  −γ±γ2−ω02.\lambda_{\pm} \;=\; -\gamma \pm \sqrt{\gamma^{2} - \omega_0^{2}} .

The series RLCRLC circuit Lq¨+Rq˙+q/C=V(t)L\ddot q + R\dot q + q/C = V(t) is the same equation: Hassani (Hassani (2013), p. 448) records the correspondence 2γ=R/L2\gamma = R/L and ω02=1/(LC)\omega_0^{2} = 1/(LC). Everything below therefore applies verbatim to circuits, with charge for displacement and voltage for force.

Application(Free motion: three regimes)AdaptedAdapted from Hassani (2013), §14.7, Example 14.7.2, pp. 447-448; Arfken, Weber & Harris (2013), §20.8, Example 20.8.5, Eq. (20.161), p. 1021 and Ex. 20.8.6, p. 1030

Let f≡0f \equiv 0 and γ,ω0>0\gamma, \omega_0 > 0. The general real solution of x¨+2γx˙+ω02x=0\ddot x + 2\gamma\dot x + \omega_0^{2}x = 0 is determined by the sign of γ2−ω02\gamma^{2} - \omega_0^{2}.

  1. Underdamped, γ<ω0\gamma < \omega_0. The roots are the complex pair −γ±iωd-\gamma \pm i\omega_d with

    ωd=ω02−γ2,\omega_d = \sqrt{\omega_0^{2} - \gamma^{2}} ,

    and

    x(t)=Ae−γtcos⁡(ωdt−ϕ),x(t) = Ae^{-\gamma t}\cos(\omega_dt - \phi) ,

    with A≥0A \ge 0 and ϕ\phi fixed by the data. The motion oscillates at the damped frequency ωd<ω0\omega_d < \omega_0 inside a decaying envelope Ae−γtAe^{-\gamma t}, and has infinitely many zeros. For the data x(0)=x0x(0) = x_0, x˙(0)=0\dot x(0) = 0,

    x(t)=x0 ω0ωd e−γtcos⁡(ωdt−ϕ),tan⁡ϕ=γωd.x(t) = x_0\,\frac{\omega_0}{\omega_d}\,e^{-\gamma t}\cos(\omega_dt - \phi), \qquad \tan\phi = \frac{\gamma}{\omega_d} .
  2. Critically damped, γ=ω0\gamma = \omega_0. The root −γ-\gamma is double and

    x(t)=(c1+c2t) e−γt.x(t) = (c_1 + c_2t)\,e^{-\gamma t} .

    For x(0)=x0x(0) = x_0, x˙(0)=0\dot x(0) = 0 this is x(t)=x0(1+γt)e−γtx(t) = x_0(1 + \gamma t)e^{-\gamma t}. The motion crosses zero at most once.

  3. Overdamped, γ>ω0\gamma > \omega_0. Both roots

    λ±=−γ±γ2−ω02\lambda_{\pm} = -\gamma \pm \sqrt{\gamma^{2} - \omega_0^{2}}

    are real and negative, with λ−<−γ<λ+<0\lambda_- < -\gamma < \lambda_+ < 0, and

    x(t)=c+eλ+t+c−eλ−t.x(t) = c_+e^{\lambda_+t} + c_-e^{\lambda_-t} .

    The motion crosses zero at most once, and for large tt decays like eλ+te^{\lambda_+t}, that is, more slowly than in the critical case.

In all three cases every solution tends to 00 as t→∞t \to \infty, since both roots have negative real part. In circuit language, Hassani (Hassani (2013), p. 448) states case 3 as: for R≥2L/CR \ge 2\sqrt{L/C} the circuit does not oscillate.

Application(Harmonic driving: transient and steady state)AdaptedAdapted from Hirsch, Smale & Devaney (2013), §6.5, pp. 132-133

Let γ>0\gamma > 0 and ω0>0\omega_0 > 0, and drive the oscillator harmonically:

x¨+2γx˙+ω02x  =  f0cos⁡ωt,ω>0.\ddot x + 2\gamma\dot x + \omega_0^{2}x \;=\; f_0\cos\omega t , \qquad \omega > 0 .
  1. Steady state. There is exactly one solution that is periodic with the period 2π/ω2\pi/\omega of the driving, namely

    xss(t)=A(ω)cos⁡(ωt−δ(ω)),x_{\mathrm{ss}}(t) = A(\omega)\cos\bigl(\omega t - \delta(\omega)\bigr) , A(ω)=f0(ω02−ω2)2+4γ2ω2,cos⁡δ=ω02−ω2(ω02−ω2)2+4γ2ω2,sin⁡δ=2γω(ω02−ω2)2+4γ2ω2,A(\omega) = \frac{f_0}{\sqrt{(\omega_0^{2} - \omega^{2})^{2} + 4\gamma^{2}\omega^{2}}} , \qquad \cos\delta = \frac{\omega_0^{2}-\omega^{2}}{\sqrt{(\omega_0^{2}-\omega^{2})^{2}+4\gamma^{2}\omega^{2}}}, \quad \sin\delta = \frac{2\gamma\omega}{\sqrt{(\omega_0^{2}-\omega^{2})^{2}+4\gamma^{2}\omega^{2}}} ,

    so that δ∈(0,π)\delta \in (0,\pi) is the phase lag of the response behind the force.

  2. Every solution approaches it. Any solution is x=xss+xtrx = x_{\mathrm{ss}} + x_{\mathrm{tr}} where the transient xtrx_{\mathrm{tr}} is a solution of the free equation, hence x(t)−xss(t)→0x(t) - x_{\mathrm{ss}}(t) \to 0 as t→∞t \to \infty. The data affect only the transient.

  3. Limits. As ω→0+\omega \to 0^{+}, A(ω)→f0/ω02A(\omega) \to f_0/\omega_0^{2} and δ(ω)→0\delta(\omega) \to 0; we write A(0)=f0/ω02A(0) = f_0/\omega_0^{2} for this limit, the static deflection, which is also what the displayed formula for AA returns at ω=0\omega = 0. (The phase lag itself is defined only for ω>0\omega > 0, where sin⁡δ>0\sin\delta > 0 puts it strictly inside (0,π)(0,\pi); the values 00 and π\pi are approached but never attained.) As ω→∞\omega \to \infty, A(ω)∼f0/ω2A(\omega) \sim f_0/\omega^{2} and δ(ω)→π\delta(\omega) \to \pi. At ω=ω0\omega = \omega_0, A=f0/(2γω0)A = f_0/(2\gamma\omega_0) with δ=π/2\delta = \pi/2 exactly.

Definition(Quality factor)Original

For γ>0\gamma > 0 the quality factor of the oscillator is the dimensionless number

Q  =  ω02γ  =  mkb  =  1RLC.Q \;=\; \frac{\omega_0}{2\gamma} \;=\; \frac{\sqrt{mk}}{b} \;=\; \frac{1}{R}\sqrt{\frac{L}{C}} .

The three regimes are Q>12Q > \tfrac12 (underdamped), Q=12Q = \tfrac12 (critical) and Q<12Q < \tfrac12 (overdamped). Large QQ means light damping.

Application(Resonance and three readings of QQ)Original

With γ>0\gamma > 0 and ω0>0\omega_0 > 0:

  1. Amplitude resonance. If γ<ω0/2\gamma < \omega_0/\sqrt2 (that is, Q>1/2Q > 1/\sqrt2), A(ω)A(\omega) has a unique maximum at

    ωr=ω02−2γ2,A(ωr)=f02γω02−γ2=f02γωd.\omega_r = \sqrt{\omega_0^{2} - 2\gamma^{2}} , \qquad A(\omega_r) = \frac{f_0}{2\gamma\sqrt{\omega_0^{2}-\gamma^{2}}} = \frac{f_0}{2\gamma\omega_d} .

    If γ≥ω0/2\gamma \ge \omega_0/\sqrt2, AA is strictly decreasing on (0,∞)(0,\infty): there is no resonant peak at all.

  2. Velocity resonance. The velocity amplitude ωA(ω)\omega A(\omega), and hence the time-averaged power P‾=12m(2γ) ω2A2\overline{P} = \tfrac12 m(2\gamma)\,\omega^{2}A^{2} absorbed from the force, is maximal exactly at ω=ω0\omega = \omega_0 for every γ>0\gamma > 0, where δ=π/2\delta = \pi/2.

  3. Amplification. A(ω0)=Q⋅A(0)A(\omega_0) = Q\cdot A(0): at the natural frequency the response is QQ times the static deflection.

  4. Bandwidth. The two frequencies at which P‾\overline{P} is half its maximum are ω±=ω02+γ2±γ\omega_\pm = \sqrt{\omega_0^{2}+\gamma^{2}} \pm \gamma, so the full width at half maximum is exactly

    Δω=ω+−ω−=2γ,henceQ=ω0Δω.\Delta\omega = \omega_+ - \omega_- = 2\gamma , \qquad\text{hence}\qquad Q = \frac{\omega_0}{\Delta\omega} .
  5. Energy decay. In free underdamped motion the energy E=12mx˙2+12kx2E = \tfrac12m\dot x^{2} + \tfrac12kx^{2} has envelope proportional to e−2γte^{-2\gamma t}, so the fraction lost per cycle is 1−e−4πγ/ωd1 - e^{-4\pi\gamma/\omega_d}, and

    2π E∣ΔE∣per cycle  =  ωd2γ(1+O(γ/ωd))  ⟶  Qas γ/ω0→0.2\pi\,\frac{E}{|\Delta E|_{\text{per cycle}}} \;=\; \frac{\omega_d}{2\gamma}\Bigl(1 + O\bigl(\gamma/\omega_d\bigr)\Bigr) \;\longrightarrow\; Q \qquad\text{as } \gamma/\omega_0 \to 0 .
Idea of the proofOriginal

Two ingredients do all the work. First, the free motion is read straight off the characteristic polynomial λ2+2γλ+ω02\lambda^{2}+2\gamma\lambda+\omega_0^{2}: the discriminant 4(γ2−ω02)4(\gamma^{2}-\omega_0^{2}) changes sign at γ=ω0\gamma = \omega_0, and the three regimes are the three cases of Constant-coefficient equations — complex pair, double root, two real roots. Second, for harmonic driving it is easier to drive with eiωte^{i\omega t} than with cos⁡ωt\cos\omega t: since p(iω)≠0p(i\omega) \ne 0 whenever γ>0\gamma > 0, the complex response is simply f0eiωt/p(iω)f_0e^{i\omega t}/p(i\omega), and taking real parts gives amplitude f0/∣p(iω)∣f_0/|p(i\omega)| and phase lag arg⁡p(iω)\arg p(i\omega). Every statement about resonance is then a statement about where the modulus of the quadratic p(iω)=ω02−ω2+2iγωp(i\omega) = \omega_0^{2}-\omega^{2} + 2i\gamma\omega is small — and ∣p(iω)∣2|p(i\omega)|^{2} is a quadratic in ω2\omega^{2}, so its minimum is found by completing a square, with no calculus at all.

Proof(Free motion)AdaptedAdapted from Hassani (2013), §14.7, Example 14.7.2, p. 447

Step 1 (roots). p(λ)=λ2+2γλ+ω02=(λ+γ)2−(γ2−ω02)p(\lambda) = \lambda^{2} + 2\gamma\lambda + \omega_0^{2} = (\lambda+\gamma)^{2} - (\gamma^{2}-\omega_0^{2}), giving λ±=−γ±γ2−ω02\lambda_\pm = -\gamma \pm \sqrt{\gamma^{2}-\omega_0^{2}}.

Step 2 (the three cases). By Constant-coefficient equations: if γ<ω0\gamma < \omega_0 the square root is iωdi\omega_d with ωd=ω02−γ2>0\omega_d = \sqrt{\omega_0^{2}-\gamma^{2}} > 0, and the real basis is e−γtcos⁡ωdte^{-\gamma t}\cos\omega_dt, e−γtsin⁡ωdte^{-\gamma t}\sin\omega_dt, whose general real combination is Ae−γtcos⁡(ωdt−ϕ)Ae^{-\gamma t}\cos(\omega_dt-\phi). If γ=ω0\gamma = \omega_0 the root −γ-\gamma is double, giving the basis e−γte^{-\gamma t}, te−γtte^{-\gamma t}. If γ>ω0\gamma > \omega_0 the two roots are real and distinct.

Step 3 (signs in the overdamped case). Let s=γ2−ω02s = \sqrt{\gamma^{2}-\omega_0^{2}}, so 0<s<γ0 < s < \gamma because ω0>0\omega_0 > 0. Then λ+=−γ+s<0\lambda_+ = -\gamma + s < 0 and λ−=−γ−s<−γ<λ+\lambda_- = -\gamma - s < -\gamma < \lambda_+. Both roots are negative, so both exponentials decay; the slower one is eλ+te^{\lambda_+t}. Since λ+=−ω02/(γ+s)→0\lambda_+ = -\omega_0^{2}/(\gamma + s) \to 0 as γ→∞\gamma \to \infty, heavy damping makes the return to equilibrium arbitrarily slow.

Step 4 (the stated initial-value solutions). Underdamped with x(0)=x0x(0)=x_0, x˙(0)=0\dot x(0) = 0: writing x=e−γt(acos⁡ωdt+csin⁡ωdt)x = e^{-\gamma t}(a\cos\omega_dt + c\sin\omega_dt) gives a=x0a = x_0 and x˙(0)=−γa+ωdc=0\dot x(0) = -\gamma a + \omega_dc = 0, so c=γx0/ωdc = \gamma x_0/\omega_d. Then

acos⁡ωdt+csin⁡ωdt=a2+c2 cos⁡(ωdt−ϕ),tan⁡ϕ=c/a=γ/ωd,a\cos\omega_dt + c\sin\omega_dt = \sqrt{a^{2}+c^{2}}\,\cos(\omega_dt - \phi), \qquad \tan\phi = c/a = \gamma/\omega_d ,

and a2+c2=x01+γ2/ωd2=x0ω0/ωd\sqrt{a^{2}+c^{2}} = x_0\sqrt{1 + \gamma^{2}/\omega_d^{2}} = x_0\omega_0/\omega_d, since ωd2+γ2=ω02\omega_d^{2}+\gamma^{2} = \omega_0^{2}. This is the form Arfken, Weber and Harris (Arfken, Weber & Harris (2013), Eq. (20.161), p. 1021) obtain by Laplace transform. Critically damped: x=(c1+c2t)e−γtx = (c_1+c_2t)e^{-\gamma t} gives c1=x0c_1 = x_0 and x˙(0)=c2−γc1=0\dot x(0) = c_2 - \gamma c_1 = 0, so x=x0(1+γt)e−γtx = x_0(1+\gamma t)e^{-\gamma t}.

Step 5 (counting zeros). In case 2, x(t)=0x(t) = 0 forces c1+c2t=0c_1 + c_2t = 0: at most one zero. In case 3, x(t)=0x(t) = 0 forces e(λ+−λ−)t=−c−/c+e^{(\lambda_+-\lambda_-)t} = -c_-/c_+, and t↦e(λ+−λ−)tt \mapsto e^{(\lambda_+-\lambda_-)t} is strictly increasing, so again at most one zero. In case 1 the zeros are where ωdt−ϕ\omega_dt - \phi is an odd multiple of π/2\pi/2: infinitely many, spaced π/ωd\pi/\omega_d apart. □\square

Proof(Steady state, amplitude and phase)AdaptedAdapted from Hirsch, Smale & Devaney (2013), §6.5, pp. 132-133

Step 1 (complexify). Consider z¨+2γz˙+ω02z=f0eiωt\ddot z + 2\gamma\dot z + \omega_0^{2}z = f_0e^{i\omega t}; if zz solves it then x=Re⁡zx = \operatorname{Re}z solves the real equation, because the coefficients are real. Since

p(iω)=(iω)2+2γ(iω)+ω02=(ω02−ω2)+2iγωp(i\omega) = (i\omega)^{2} + 2\gamma(i\omega) + \omega_0^{2} = \bigl(\omega_0^{2}-\omega^{2}\bigr) + 2i\gamma\omega

has Im⁡p(iω)=2γω≠0\operatorname{Im}p(i\omega) = 2\gamma\omega \ne 0 for γ>0\gamma > 0 and ω>0\omega > 0, we have p(iω)≠0p(i\omega) \neq 0: the driving is never resonant in the sense of Constant-coefficient equations. Hence, by the exponential-shift identity L(eiωt)=p(iω)eiωtL(e^{i\omega t}) = p(i\omega)e^{i\omega t},

z(t)=f0p(iω)eiωtz(t) = \frac{f_0}{p(i\omega)}e^{i\omega t}

is a solution.

Step 2 (read off amplitude and phase). Write p(iω)=∣p(iω)∣eiδp(i\omega) = |p(i\omega)|e^{i\delta} with

∣p(iω)∣=(ω02−ω2)2+4γ2ω2,cos⁡δ=ω02−ω2∣p(iω)∣,sin⁡δ=2γω∣p(iω)∣.|p(i\omega)| = \sqrt{(\omega_0^{2}-\omega^{2})^{2} + 4\gamma^{2}\omega^{2}} , \qquad \cos\delta = \frac{\omega_0^{2}-\omega^{2}}{|p(i\omega)|}, \quad \sin\delta = \frac{2\gamma\omega}{|p(i\omega)|} .

Since sin⁡δ>0\sin\delta > 0, δ\delta lies in (0,π)(0,\pi) and is uniquely determined. Then z=(f0/∣p∣)ei(ωt−δ)z = (f_0/|p|)e^{i(\omega t - \delta)} and

xss=Re⁡z=A(ω)cos⁡(ωt−δ),A(ω)=f0∣p(iω)∣,x_{\mathrm{ss}} = \operatorname{Re}z = A(\omega)\cos(\omega t - \delta), \qquad A(\omega) = \frac{f_0}{|p(i\omega)|} ,

which is the stated formula. It is periodic with period 2π/ω2\pi/\omega.

Step 3 (uniqueness of the periodic solution). If x1,x2x_1, x_2 are both solutions of period 2π/ω2\pi/\omega, then u=x1−x2u = x_1 - x_2 solves the free equation and is periodic. But every solution of the free equation tends to 00 (Step 1 of the previous proof: both roots have real part ≤−min⁡(γ,ω02/2γ)<0\le -\min(\gamma, \omega_0^{2}/2\gamma) < 0), and a periodic function tending to 00 is identically 00. So x1=x2x_1 = x_2. This is the conclusion Hirsch, Smale and Devaney (Hirsch, Smale & Devaney (2013), §6.5, pp. 132-133) reach for the system form of the equation, by showing that e2πA−Ie^{2\pi A}-I is invertible.

Step 4 (transients die). Any solution xx has x−xssx - x_{\mathrm{ss}} solving the free equation, hence decaying to 00; so xx approaches xssx_{\mathrm{ss}}, and the initial data influence only the transient part.

Step 5 (limits). At ω=0\omega = 0: ∣p∣=ω02|p| = \omega_0^{2}, δ=0\delta = 0. As ω→∞\omega \to \infty: ∣p∣∼ω2|p| \sim \omega^{2} and cos⁡δ→−1\cos\delta \to -1, so δ→π\delta \to \pi — the response is in antiphase with the force. At ω=ω0\omega = \omega_0: cos⁡δ=0\cos\delta = 0 and sin⁡δ=1\sin\delta = 1, so δ=π/2\delta = \pi/2 and ∣p∣=2γω0|p| = 2\gamma\omega_0. □\square

Proof(Resonance and the readings of QQ)Original

Step 1 (amplitude peak). AA is largest where ∣p(iω)∣2|p(i\omega)|^{2} is smallest. Put v=ω2≥0v = \omega^{2} \ge 0:

∣p∣2=(ω02−v)2+4γ2v=v2−2(ω02−2γ2)v+ω04=(v−(ω02−2γ2))2+4γ2(ω02−γ2).|p|^{2} = (\omega_0^{2}-v)^{2} + 4\gamma^{2}v = v^{2} - 2(\omega_0^{2}-2\gamma^{2})v + \omega_0^{4} = \bigl(v - (\omega_0^{2}-2\gamma^{2})\bigr)^{2} + 4\gamma^{2}\bigl(\omega_0^{2}-\gamma^{2}\bigr) .

This is a parabola in vv with vertex at v=ω02−2γ2v = \omega_0^{2}-2\gamma^{2}. If γ<ω0/2\gamma < \omega_0/\sqrt2 the vertex lies in v>0v > 0 and is attained at ωr=ω02−2γ2\omega_r = \sqrt{\omega_0^{2}-2\gamma^{2}}, where ∣p∣2=4γ2(ω02−γ2)=4γ2ωd2|p|^{2} = 4\gamma^{2}(\omega_0^{2}-\gamma^{2}) = 4\gamma^{2}\omega_d^{2}, giving A(ωr)=f0/(2γωd)A(\omega_r) = f_0/(2\gamma\omega_d). If γ≥ω0/2\gamma \ge \omega_0/\sqrt2 the vertex is at v≤0v \le 0, so ∣p∣2|p|^{2} is strictly increasing on v>0v > 0 and AA strictly decreasing: no peak.

Step 2 (velocity peak). The velocity amplitude is ωA\omega A, and

1ω2A2=∣p∣2f02ω2=1f02[(ω02−ω2ω)2+4γ2].\frac{1}{\omega^{2}A^{2}} = \frac{|p|^{2}}{f_0^{2}\omega^{2}} = \frac{1}{f_0^{2}}\left[\left(\frac{\omega_0^{2}-\omega^{2}}{\omega}\right)^{2} + 4\gamma^{2}\right] .

The bracket is minimal exactly when ω02−ω2=0\omega_0^{2}-\omega^{2} = 0, for any γ>0\gamma > 0, giving ω=ω0\omega = \omega_0 and ωA=f0/2γ\omega A = f_0/2\gamma. The average power delivered by the force mf0cos⁡ωtmf_0\cos\omega t to the velocity −ωAsin⁡(ωt−δ)-\omega A\sin(\omega t-\delta) over one period is

P‾=12 mf0 ωAsin⁡δ=12 mf0 ωA⋅2γω∣p∣=mγ ω2A2,\overline{P} = \tfrac12\,m f_0\,\omega A\sin\delta = \tfrac12\,m f_0\,\omega A\cdot\frac{2\gamma\omega}{|p|} = m\gamma\,\omega^{2}A^{2} ,

which is proportional to (ωA)2(\omega A)^{2}, so it peaks at ω0\omega_0 as well.

Step 3 (amplification). A(ω0)/A(0)=ω02/(2γω0)=ω0/2γ=QA(\omega_0)/A(0) = \omega_0^{2}/(2\gamma\omega_0) = \omega_0/2\gamma = Q.

Step 4 (bandwidth). P‾\overline{P} is half its maximum where the bracket in Step 2 doubles, that is where ∣(ω02−ω2)/ω∣=2γ\bigl|(\omega_0^{2}-\omega^{2})/\omega\bigr| = 2\gamma. This gives two quadratics, ω2+2γω−ω02=0\omega^{2} + 2\gamma\omega - \omega_0^{2} = 0 and ω2−2γω−ω02=0\omega^{2} - 2\gamma\omega - \omega_0^{2} = 0, with the positive roots

ω−=ω02+γ2−γ,ω+=ω02+γ2+γ,\omega_- = \sqrt{\omega_0^{2}+\gamma^{2}} - \gamma , \qquad \omega_+ = \sqrt{\omega_0^{2}+\gamma^{2}} + \gamma ,

whose difference is exactly 2γ2\gamma: no approximation is involved. Hence Q=ω0/ΔωQ = \omega_0/\Delta\omega.

Step 5 (energy). For x=Ae−γtcos⁡(ωdt−ϕ)x = Ae^{-\gamma t}\cos(\omega_dt-\phi),

E=12mx˙2+12mω02x2=12mA2e−2γt[(γcos⁡θ+ωdsin⁡θ)2+ω02cos⁡2θ],θ=ωdt−ϕ,E = \tfrac12 m\dot x^{2} + \tfrac12 m\omega_0^{2}x^{2} = \tfrac12 mA^{2}e^{-2\gamma t}\Bigl[\bigl(\gamma\cos\theta + \omega_d\sin\theta\bigr)^{2} + \omega_0^{2}\cos^{2}\theta\Bigr],\quad \theta = \omega_dt-\phi ,

The bracket is a bounded function of θ\theta alone, so E(t)E(t) is the decaying exponential e−2γte^{-2\gamma t} times a bounded oscillation. Averaging the bracket over one cycle with cos⁡2θ‾=sin⁡2θ‾=12\overline{\cos^{2}\theta} = \overline{\sin^{2}\theta} = \tfrac12 and sin⁡θcos⁡θ‾=0\overline{\sin\theta\cos\theta} = 0 gives 12γ2+12ωd2+12ω02=ω02\tfrac12\gamma^{2}+\tfrac12\omega_d^{2}+\tfrac12\omega_0^{2} = \omega_0^{2}, because γ2+ωd2=ω02\gamma^{2}+\omega_d^{2} = \omega_0^{2}. Treating e−2γte^{-2\gamma t} as constant over a cycle — legitimate to leading order when γ≪ωd\gamma \ll \omega_d — the cycle-averaged energy is 12mA2ω02e−2γt\tfrac12 mA^{2}\omega_0^{2}e^{-2\gamma t}, and its fractional loss over one period T=2π/ωdT = 2\pi/\omega_d is

∣ΔE∣E  =  1−e−2γT  =  1−e−4πγ/ωd  =  4πγωd(1+O(γ/ωd)).\frac{|\Delta E|}{E} \;=\; 1 - e^{-2\gamma T} \;=\; 1 - e^{-4\pi\gamma/\omega_d} \;=\; \frac{4\pi\gamma}{\omega_d}\Bigl(1 + O\bigl(\gamma/\omega_d\bigr)\Bigr) .

Therefore 2πE/∣ΔE∣=(ωd/2γ)(1+O(γ/ωd))2\pi E/|\Delta E| = \bigl(\omega_d/2\gamma\bigr)\bigl(1+O(\gamma/\omega_d)\bigr), and since ωd→ω0\omega_d \to \omega_0 as γ/ω0→0\gamma/\omega_0 \to 0, this tends to QQ. □\square

Remark(Reading the regimes, and what the hypotheses buy)Original
  • k>0k > 0 is needed for oscillation at all. If k<0k < 0 (an inverted pendulum) the roots are real of opposite signs and the equilibrium is a saddle: solutions grow. All of the above assumes ω02>0\omega_0^{2} > 0.
  • γ>0\gamma > 0 is what makes the steady state unique and attracting. For γ=0\gamma = 0 the free solutions do not decay, the "transient" never dies, and driving at ω=ω0\omega = \omega_0 is resonant in the strict sense of Constant-coefficient equations: p(iω0)=0p(i\omega_0) = 0 and the response is xp=(f0/2ω0) tsin⁡ω0tx_p = (f_0/2\omega_0)\,t\sin\omega_0t, growing linearly for ever. The physical resonance of a damped oscillator is the finite remnant of that: A(ω0)=f0/(2γω0)A(\omega_0) = f_0/(2\gamma\omega_0) diverges as γ→0\gamma \to 0.
  • Critical damping is the fastest return, but only just. Overdamping is slower (Step 3 of the first proof: λ+→0\lambda_+ \to 0 as γ→∞\gamma \to \infty), and underdamping overshoots. This is why galvanometers, door closers and servo loops are specified near Q=12Q = \tfrac12. The optimum is shallow, however: the decay rate is γ\gamma for γ≤ω0\gamma \le \omega_0 and γ−γ2−ω02\gamma - \sqrt{\gamma^{2}-\omega_0^{2}} above it, which is continuous and has a corner, not a sharp peak, at γ=ω0\gamma = \omega_0.
  • In the phase plane. As a planar system x˙=y\dot x = y, y˙=−ω02x−2γy\dot y = -\omega_0^{2}x - 2\gamma y, the matrix has trace τ=−2γ\tau = -2\gamma and determinant Δ=ω02\Delta = \omega_0^{2}, so τ2−4Δ=4(γ2−ω02)\tau^{2}-4\Delta = 4(\gamma^{2}-\omega_0^{2}). In the classification of Strogatz (Strogatz (1994), §5.2, Fig. 5.2.8, p. 137), the underdamped case is a stable spiral, the overdamped case a stable node, and the critical case the degenerate node that lies on the parabola τ2=4Δ\tau^{2} = 4\Delta separating them — the curve he calls "the borderline between nodes and spirals". The three regimes of this unit are the three regions of that diagram with Δ>0\Delta > 0, τ<0\tau < 0.
  • Two resonant frequencies, not one. The amplitude peaks at ωr=ω02−2γ2\omega_r = \sqrt{\omega_0^{2}-2\gamma^{2}}, the velocity and the absorbed power at ω0\omega_0, and the free motion rings at ωd=ω02−γ2\omega_d = \sqrt{\omega_0^{2}-\gamma^{2}}. The three are distinct, ordered ωr<ωd<ω0\omega_r < \omega_d < \omega_0, and agree to O(γ2/ω02)=O(1/4Q2)O(\gamma^{2}/\omega_0^{2}) = O(1/4Q^{2}). For Q=10Q = 10, where γ/ω0=1/(2Q)=0.05\gamma/\omega_0 = 1/(2Q) = 0.05, the spread is ωr/ω0=0.995=0.997 497\omega_r/\omega_0 = \sqrt{0.995} = 0.997\,497 against ωd/ω0=0.9975=0.998 749\omega_d/\omega_0 = \sqrt{0.9975} = 0.998\,749 and 11: about 0.25%0.25\% from end to end, as 1/4Q21/4Q^{2} predicts. At the Q=5Q = 5 of the example below it is about 1%1\%. Loose talk of "the resonant frequency" means ω0\omega_0, and the quantity actually measured in a swept-frequency experiment depends on whether amplitude or power is recorded.
  • QQ measured three ways. Items 3, 4 and 5 of the statement are three experiments: compare the peak response with the static response; measure the half-power bandwidth; or ring the oscillator and count cycles until the energy falls by e−2πe^{-2\pi}. Only item 4 is exact for all γ\gamma; items 3 and 5 are exact only in the stated senses (A(ω0)A(\omega_0) exactly, and the energy ratio only as γ/ω0→0\gamma/\omega_0 \to 0).
Example(A complete worked oscillator)Original

Take m=0.5 kgm = 0.5\ \mathrm{kg}, k=50 N m−1k = 50\ \mathrm{N\,m^{-1}}, b=1 kg s−1b = 1\ \mathrm{kg\,s^{-1}}, driven by F(t)=2cos⁡ωtF(t) = 2\cos\omega t newtons.

  1. Parameters. ω0=k/m=100=10 s−1\omega_0 = \sqrt{k/m} = \sqrt{100} = 10\ \mathrm{s^{-1}}, γ=b/2m=1 s−1\gamma = b/2m = 1\ \mathrm{s^{-1}}, f0=F0/m=4 m s−2f_0 = F_0/m = 4\ \mathrm{m\,s^{-2}}. So Q=ω0/2γ=5Q = \omega_0/2\gamma = 5, and the oscillator is underdamped.

  2. Free motion. ωd=100−1=99=9.949 874 s−1\omega_d = \sqrt{100-1} = \sqrt{99} = 9.949\,874\ \mathrm{s^{-1}}, only 0.5%0.5\% below ω0\omega_0. Released from x0x_0 at rest, x=x0(10/99)e−tcos⁡(99 t−ϕ)x = x_0(10/\sqrt{99})e^{-t}\cos(\sqrt{99}\,t-\phi) with tan⁡ϕ=1/99\tan\phi = 1/\sqrt{99}, i.e. ϕ=0.1002 rad\phi = 0.1002\ \mathrm{rad}. The envelope falls by e−1e^{-1} in 1 s1\ \mathrm{s}, i.e. in ωd/2π≈1.58\omega_d/2\pi \approx 1.58 cycles, and by e−5=0.0067e^{-5} = 0.0067 in 5 s5\ \mathrm{s}.

  3. Static and resonant response. A(0)=f0/ω02=0.04 mA(0) = f_0/\omega_0^{2} = 0.04\ \mathrm{m}. At ω=ω0\omega = \omega_0: A=f0/(2γω0)=4/20=0.2 m=Q A(0)A = f_0/(2\gamma\omega_0) = 4/20 = 0.2\ \mathrm{m} = Q\,A(0), with phase lag exactly π/2\pi/2. The amplitude peak is at ωr=100−2=9.899 495\omega_r = \sqrt{100-2} = 9.899\,495, where A=f0/(2γωd)=4/(299)=0.201 008 mA = f_0/(2\gamma\omega_d) = 4/(2\sqrt{99}) = 0.201\,008\ \mathrm{m} — larger than A(ω0)A(\omega_0) by only 0.5%0.5\%.

  4. Bandwidth. ω±=101±1=11.049 876\omega_\pm = \sqrt{101}\pm1 = 11.049\,876 and 9.049 8769.049\,876, so Δω=2.000 000=2γ\Delta\omega = 2.000\,000 = 2\gamma and ω0/Δω=5=Q\omega_0/\Delta\omega = 5 = Q, as the statement requires exactly.

  5. A phase. At ω=9\omega = 9: tan⁡δ=2γω/(ω02−ω2)=18/19\tan\delta = 2\gamma\omega/(\omega_0^{2}-\omega^{2}) = 18/19, so δ=0.758 378 rad=43.45∘\delta = 0.758\,378\ \mathrm{rad} = 43.45^{\circ}; the response still leads the π/2\pi/2 of resonance.

  6. A full solution, transient included. Drive at ω=ω0=10\omega = \omega_0 = 10 from rest at the origin: x¨+2x˙+100x=4cos⁡10t\ddot x + 2\dot x + 100x = 4\cos 10t, x(0)=x˙(0)=0x(0) = \dot x(0) = 0. The steady state is xss=0.2cos⁡(10t−π/2)=0.2sin⁡10tx_{\mathrm{ss}} = 0.2\cos(10t - \pi/2) = 0.2\sin 10t. Adding the transient e−t(c1cos⁡99t+c2sin⁡99t)e^{-t}\bigl(c_1\cos\sqrt{99}t + c_2\sin\sqrt{99}t\bigr) and imposing the data: x(0)=c1=0x(0) = c_1 = 0, and x˙(0)=2+c299=0\dot x(0) = 2 + c_2\sqrt{99} = 0 gives c2=−2/99c_2 = -2/\sqrt{99}. Hence

    x(t)  =  15sin⁡10t  −  299 e−tsin⁡(99 t).x(t) \;=\; \frac{1}{5}\sin 10t \;-\; \frac{2}{\sqrt{99}}\,e^{-t}\sin\bigl(\sqrt{99}\,t\bigr) .

    Substituting this back into the equation returns 4cos⁡10t4\cos 10t identically, and x(0)=x˙(0)=0x(0) = \dot x(0) = 0.

  7. Numbers to check against. x(1)=−0.071 735 mx(1) = -0.071\,735\ \mathrm{m} and, once the transient has gone, the motion is 0.2sin⁡10t0.2\sin 10t: the amplitude builds up to 0.2 m0.2\ \mathrm{m} on the timescale 1/γ=1 s1/\gamma = 1\ \mathrm{s}, which is Q/π≈1.6Q/\pi \approx 1.6 cycles. The general rule visible here is that a high-QQ oscillator takes about Q/πQ/\pi cycles to reach its resonant amplitude — the same QQ that sets the bandwidth, as it must, since a narrow resonance is a slow one.

ApplicationOriginal

Measurement instruments. A moving-coil galvanometer, a seismometer and an accelerometer are all this equation, and the designer's choice is a point in the (γ,ω0)(\gamma, \omega_0) plane. An instrument meant to follow a signal faithfully is damped near critical, so that it neither rings nor lags; one meant to select a frequency is made high-QQ, so that the bandwidth Δω=2γ\Delta\omega = 2\gamma is narrow. The same trade-off, exactly, sets the ringing and the settling time of a servo loop.

Spectroscopy and linewidths. A classical model of a radiating atom is a damped oscillator, and item 4 above says that its absorption line has full width at half maximum Δω=2γ\Delta\omega = 2\gamma in angular frequency. Measuring a linewidth therefore measures a damping rate, and the Lorentzian line shape P‾(ω)∝ω2/[(ω02−ω2)2+4γ2ω2]\overline{P}(\omega) \propto \omega^{2}/\bigl[(\omega_0^{2}-\omega^{2})^{2}+4\gamma^{2}\omega^{2}\bigr], which near ω0\omega_0 becomes ∝1/[(ω−ω0)2+γ2]\propto 1/\bigl[(\omega-\omega_0)^{2}+\gamma^{2}\bigr], is the standard fitting function for a resonance in optics, nuclear physics (the Breit-Wigner shape) and nuclear magnetic resonance.

Tuned circuits. For the series RLCRLC circuit, Q=R−1L/CQ = R^{-1}\sqrt{L/C} is the figure of merit of a tuned stage: the selectivity of a radio receiver is ω0/Δω\omega_0/\Delta\omega, so a QQ of a few hundred separates stations a fraction of a percent apart in frequency. The statement that the circuit does not oscillate for R≥2L/CR \ge 2\sqrt{L/C} — that is, for Q≤12Q \le \tfrac12 — is Hassani's (Hassani (2013), p. 448) version of the overdamping condition.

Structures and vehicles. The collapse of structures at resonance is the A(ωr)=f0/(2γωd)A(\omega_r) = f_0/(2\gamma\omega_d) of item 1: lightly damped structures amplify periodic loads by a factor QQ. Engineering practice is to move ω0\omega_0 away from the expected forcing, or to add damping, and the design quantity is the dimensionless damping ratio ζ=γ/ω0=1/(2Q)\zeta = \gamma/\omega_0 = 1/(2Q). Vehicle suspensions are tuned to ζ≈0.2\zeta \approx 0.2 to 0.30.3, well underdamped, because comfort penalises a slow return more than a small overshoot.

Normal modes of larger systems. A system of many coupled linear oscillators diagonalises into independent modes (see Spectral theorem for Hermitian matrices), each obeying this very equation with its own ω0\omega_0 and γ\gamma. The whole response of a molecule, a crystal lattice, an optical cavity or a bridge is then a sum of terms of the form f0/pj(iω)f_0/p_j(i\omega), and the measured spectrum is a sum of Lorentzians. This is why the single-oscillator analysis above is worth doing in such detail: it is the building block of linear response theory, where 1/p(iω)1/p(i\omega) is the susceptibility and the relation between its real and imaginary parts is a Kramers-Kronig relation.

Series solutions

3

Method

Power-series solutions at ordinary points

Adapted

At a point where the normalised coefficients are analytic, every solution is analytic: substituting a power series turns the equation into a recurrence for the coefficients, the first nn of which are the initial data, and the series converges at least as far as the coefficient series do.

Prerequisites: Structure of linear equations and the Wronskian, Taylor series of analytic functions

Definition(Ordinary and singular points)AdaptedAdapted from Riley, Hobson & Bence (2006), §16.1.1, p. 533; Coddington (1989), Ch. 3, §7, p. 126; Arfken, Weber & Harris (2013), §7.4, p. 344

A function gg defined near x0x_0 is analytic at x0x_0 if it can be written as a power series

g(x)=∑k=0∞gk (x−x0)kg(x) = \sum_{k=0}^{\infty} g_k\,(x - x_0)^{k}

convergent on ∣x−x0∣<r0|x - x_0| < r_0 for some r0>0r_0 > 0. Such a gg has derivatives of every order there, computed by differentiating term by term, and the differentiated series have the same radius (Taylor series of analytic functions).

Write the equation in normalised form,

y(n)+a1(x) y(n−1)+⋯+an(x) y=0,y^{(n)} + a_1(x)\,y^{(n-1)} + \cdots + a_n(x)\,y = 0 ,

and for n=2n = 2,

y′′+p(x) y′+q(x) y=0.y'' + p(x)\,y' + q(x)\,y = 0 .

The point x0x_0 is an ordinary point of the equation if every coefficient a1,…,ana_1, \dots, a_n (for n=2n = 2: both pp and qq) is analytic at x0x_0, and a singular point otherwise. A point where the original, unnormalised leading coefficient vanishes is a singular point unless the division cancels it.

By translating, x0=0x_0 = 0 throughout what follows; for a general x0x_0 substitute X=x−x0X = x - x_0.

Method(Analytic solutions at an ordinary point)AdaptedAdapted from Coddington (1989), Ch. 3, §7, Thm 12, p. 129; Hassani (2013), §14.6.1, Thms 14.6.2 and 14.6.4, pp. 440-441

Suppose a1,…,ana_1, \dots, a_n have power-series expansions in powers of x−x0x - x_0 convergent on ∣x−x0∣<r0|x - x_0| < r_0 with r0>0r_0 > 0, and let α1,…,αn\alpha_1, \dots, \alpha_n be any constants. Then the initial-value problem

L(y)=0,y(x0)=α1, …, y(n−1)(x0)=αnL(y) = 0 , \qquad y(x_0) = \alpha_1, \ \dots, \ y^{(n-1)}(x_0) = \alpha_n

has a solution given by a power series

φ(x)=∑k=0∞ck (x−x0)k\varphi(x) = \sum_{k=0}^{\infty} c_k\,(x-x_0)^{k}

convergent on ∣x−x0∣<r0|x - x_0| < r_0. Its first nn coefficients are the data,

k! ck=αk+1,k=0,1,…,n−1,k!\,c_k = \alpha_{k+1} , \qquad k = 0, 1, \dots, n-1 ,

and ckc_k for k≥nk \ge n is computed in terms of c0,…,ck−1c_0, \dots, c_{k-1} by substituting the series into L(y)=0L(y) = 0. Since the initial-value problem has only one solution (Structure of linear equations and the Wronskian), every solution of L(y)=0L(y) = 0 on ∣x−x0∣<r0|x-x_0| < r_0 is given by such a convergent series: at an ordinary point all solutions are analytic.

For n=2n = 2, with p=∑mamxmp = \sum_m a_mx^{m} and q=∑mbmxmq = \sum_m b_mx^{m} about x0=0x_0 = 0, substituting y=∑kckxky = \sum_k c_kx^{k} gives, for every n≥0n \ge 0, the recurrence

(n+2)(n+1) cn+2  =  −∑m=0n[(n−m+1) am cn−m+1  +  bm cn−m],(n+2)(n+1)\,c_{n+2} \;=\; -\sum_{m=0}^{n}\Bigl[(n-m+1)\,a_m\,c_{n-m+1} \;+\; b_m\,c_{n-m}\Bigr] ,

which determines c2,c3,…c_2, c_3, \dots uniquely from c0c_0 and c1c_1, and the resulting series has radius of convergence at least the smaller of the radii of the series for pp and qq.

Note(Fuchs' theorem and the two exponents)AdaptedAdapted from Arfken, Weber & Harris (2013), §7.5, Fuchs' theorem and Summary, p. 355; Arfken, Weber & Harris (2013), §7.5, Exercise 7.5.2, p. 356

Arfken, Weber and Harris (Arfken, Weber & Harris (2013), p. 355) record the scope of the method as Fuchs' theorem: at least one power-series solution is always available, so long as the expansion point is either ordinary or a regular singular point, the worst case the theorem allows. About an irregular singular point the method may fail outright.

The more general substitution y=xs∑j≥0ajxjy = x^{s}\sum_{j\ge0}a_jx^{j} with a0≠0a_0 \ne 0 and ss undetermined — the Frobenius substitution of The Frobenius method — needs no modification at an ordinary point: there the indicial equation has roots s=0s = 0 and s=1s = 1 ((Arfken, Weber & Harris (2013), Exercise 7.5.2, p. 356)), so one solution is a plain power series and the other is xx times a power series, which is again a plain power series. Nothing is gained by carrying ss, and the plain substitution y=∑kckxky = \sum_k c_kx^{k} suffices. This is the practical difference between this unit and the next.

Idea of the proofOriginal

The substitution is bookkeeping, and the only real question is whether the bookkeeping converges. Substituting y=∑ckxky = \sum c_kx^{k} into the equation produces, at order xnx^{n}, one term containing cn+2c_{n+2} with coefficient (n+2)(n+1)(n+2)(n+1) — which is never zero — and finitely many terms containing lower coefficients. So every coefficient after the first two is forced, and the equation becomes an explicit recurrence: the differential equation has been traded for an algebraic one. The two free constants c0,c1c_0, c_1 are exactly y(0)y(0) and y′(0)y'(0), which is why a second-order equation has a two-dimensional solution space, visible here as the two free coefficients.

Convergence is the part that needs an estimate. The recurrence expresses cn+2c_{n+2} as a sum of up to nn terms, so a naive bound on ∣cn+2∣|c_{n+2}| grows; but the divisor (n+2)(n+1)(n+2)(n+1) grows too, and the coefficients am,bma_m, b_m decay geometrically because pp and qq have positive radii. Comparing the recurrence with a geometric majorant turns this into an elementary induction, and gives convergence in some disc. That the disc may be taken as large as the coefficients' own disc is a sharper fact, proved in the sources by a complex-analytic argument.

Proof(The recurrence, and convergence in some disc)AdaptedAdapted from Hassani (2013), §14.6.1, Eq. (14.28) and Thm 14.6.2, pp. 439-440; Riley, Hobson & Bence (2006), §16.2, Eqs. (16.9)-(16.11), p. 536

Take n=2n = 2 and x0=0x_0 = 0; the general order is identical with longer sums.

Step 1 (differentiate the series). If y=∑k≥0ckxky = \sum_{k\ge0}c_kx^{k} converges on ∣x∣<R|x| < R, term-by-term differentiation (Taylor series of analytic functions) gives, after shifting the summation index so that each series is written as a coefficient of xnx^{n},

y′=∑n≥0(n+1)cn+1xn,y′′=∑n≥0(n+2)(n+1)cn+2xn.y' = \sum_{n\ge0}(n+1)c_{n+1}x^{n} , \qquad y'' = \sum_{n\ge0}(n+2)(n+1)c_{n+2}x^{n} .

Step 2 (multiply the series). On the common disc of convergence, products of power series may be multiplied term by term:

p y′=∑n≥0[∑m=0nam(n−m+1)cn−m+1]xn,q y=∑n≥0[∑m=0nbmcn−m]xn.p\,y' = \sum_{n\ge0}\Bigl[\sum_{m=0}^{n}a_m(n-m+1)c_{n-m+1}\Bigr]x^{n} , \qquad q\,y = \sum_{n\ge0}\Bigl[\sum_{m=0}^{n}b_mc_{n-m}\Bigr]x^{n} .

Step 3 (a power series vanishes only if all its coefficients do). Adding the three series, y′′+py′+qy=0y''+py'+qy = 0 holds on a neighbourhood of 00 if and only if every coefficient of xnx^{n} vanishes, which is the displayed recurrence. The coefficient of cn+2c_{n+2} is (n+2)(n+1)≠0(n+2)(n+1) \ne 0, so the recurrence determines cn+2c_{n+2} from c0,…,cn+1c_0, \dots, c_{n+1}, and c0=y(0)c_0 = y(0), c1=y′(0)c_1 = y'(0) are free. This proves the formal part: there is exactly one formal power series with given c0,c1c_0, c_1 satisfying the equation.

Step 4 (geometric bounds on the coefficients of pp and qq). Let pp and qq converge on ∣x∣<r|x| < r, and fix 0<ρ<r0 < \rho < r. Then ∑m∣am∣ρm\sum_m|a_m|\rho^{m} and ∑m∣bm∣ρm\sum_m|b_m|\rho^{m} converge, so their terms are bounded: there is M≥1M \ge 1 with

∣am∣≤Mρ−m,∣bm∣≤Mρ−mfor all m≥0.|a_m| \le M\rho^{-m} , \qquad |b_m| \le M\rho^{-m} \qquad\text{for all } m \ge 0 .

Step 5 (rescale). Put dk=ρk∣ck∣d_k = \rho^{k}|c_k|. Taking absolute values in the recurrence and inserting the bounds of Step 4,

(n+2)(n+1) ρ−(n+2)dn+2  ≤  M∑m=0n[(n−m+1)ρ−(n+1)dn−m+1+ρ−ndn−m],(n+2)(n+1)\,\rho^{-(n+2)}d_{n+2} \;\le\; M\sum_{m=0}^{n}\Bigl[(n-m+1)\rho^{-(n+1)}d_{n-m+1} + \rho^{-n}d_{n-m}\Bigr] ,

because ρ−m∣cn−m+1∣=ρ−(n+1)dn−m+1\rho^{-m}|c_{n-m+1}| = \rho^{-(n+1)}d_{n-m+1} and ρ−m∣cn−m∣=ρ−ndn−m\rho^{-m}|c_{n-m}| = \rho^{-n}d_{n-m}. Multiplying by ρn+2\rho^{n+2} and renaming the summation index (j=n−m+1j = n-m+1, then j=n−mj = n-m),

(n+2)(n+1) dn+2  ≤  M[ρ∑j=1n+1j dj  +  ρ2∑j=0ndj]  ≤  B∑j=0n+1(j+1) dj,B=Mρ(1+ρ).(n+2)(n+1)\,d_{n+2} \;\le\; M\Bigl[\rho\sum_{j=1}^{n+1}j\,d_j \;+\; \rho^{2}\sum_{j=0}^{n}d_j\Bigr] \;\le\; B\sum_{j=0}^{n+1}(j+1)\,d_j , \qquad B = M\rho(1+\rho) .

Step 6 (induct on partial sums). Set ej=(j+1)dje_j = (j+1)d_j and Sn=∑j=0nejS_n = \sum_{j=0}^{n}e_j. Since (n+3)≤32(n+2)(n+1)(n+3) \le \tfrac32(n+2)(n+1) for every n≥0n \ge 0,

en+2=(n+3)dn+2≤n+3(n+2)(n+1) B Sn+1≤32B Sn+1,e_{n+2} = (n+3)d_{n+2} \le \frac{n+3}{(n+2)(n+1)}\,B\,S_{n+1} \le \tfrac32B\,S_{n+1} ,

so Sn+2=Sn+1+en+2≤λSn+1S_{n+2} = S_{n+1} + e_{n+2} \le \lambda S_{n+1} with λ=1+32B≥1\lambda = 1 + \tfrac32B \ge 1. By induction Sn≤S1λ n−1S_n \le S_1\lambda^{\,n-1} for n≥1n \ge 1, and hence

dn≤en≤Sn≤S1λ n−1,so∣cn∣=ρ−ndn≤S1λ(λρ)n.d_n \le e_n \le S_n \le S_1\lambda^{\,n-1} , \qquad\text{so}\qquad |c_n| = \rho^{-n}d_n \le \frac{S_1}{\lambda}\left(\frac{\lambda}{\rho}\right)^{n} .

Step 7 (conclude). Therefore lim sup⁡n∣cn∣1/n≤λ/ρ\limsup_n|c_n|^{1/n} \le \lambda/\rho, so the formal series converges on ∣x∣<ρ/λ|x| < \rho/\lambda, a disc of positive radius. On that disc all the manipulations of Steps 1-3 are valid, so the sum is a genuine solution, with y(0)=c0y(0) = c_0 and y′(0)=c1y'(0) = c_1. □\square

Note(The sharp radius)Original

Step 7 gives convergence on a possibly small disc, which is all that is needed to know that the formal series is a solution. The sharp statement — that the radius is at least rr itself, the radius of the coefficient series — is the content of Coddington's Theorem 12 (Coddington (1989), Ch. 3, Thm 12, p. 129) and Hassani's Theorem 14.6.4 (Hassani (2013), Thm 14.6.4, p. 441), and we use it without proof: Coddington devotes his Chapter 3, §9 to it, and Hassani refers the reader to Birkhoff and Rota. Both proofs work in the complex domain, where the natural statement is that a linear equation with coefficients holomorphic on a disc has solutions holomorphic on that whole disc.

Remark(Where the hypotheses are used, and a disagreement between sources)Original
  • Normalisation matters. The theorem is about the equation after division by the leading coefficient. Hassani (Hassani (2013), Example 14.6.3, pp. 440-441) gives x2y′−y+x=0x^{2}y' - y + x = 0, whose formal power series is ∑n≥1(n−1)! xn\sum_{n\ge1}(n-1)!\,x^{n} — a perfectly determinate formal solution that converges for no x≠0x \ne 0. The leading coefficient vanishes at 00, so 00 is not an ordinary point and the theorem does not apply. Formal solvability and convergence are different questions, and Step 3 only settles the first.
  • (n+2)(n+1)≠0(n+2)(n+1) \ne 0 is what makes the recurrence work. At a singular point the coefficient multiplying the highest unknown can vanish, the recurrence stalls, and one must carry an undetermined exponent instead (The Frobenius method).
  • Radii: what the books say. Hassani (Hassani (2013), Thm 14.6.4, p. 441) and Coddington (Coddington (1989), Thm 12, p. 129) state a lower bound: the radius is at least that of the coefficient series. Riley, Hobson and Bence (Riley, Hobson & Bence (2006), §16.2, p. 536) state instead that the radius equals the distance from the expansion point to the nearest singular point of the equation, adding that at that radius the series may or may not converge. We follow the lower-bound version, because particular solutions can do better: Legendre's equation has singular points at x=±1x = \pm1, yet for integer ℓ\ell one of its two solutions is a polynomial, whose series converges everywhere. The example below shows the same phenomenon in a two-line computation. The sharp distance-to-the-singularity statement is correct as a statement about the generic solution, and it is the right rule of thumb in practice.
  • Why complex singularities matter for a real problem. The radius is limited by the nearest singularity in the complex plane, even when the equation, the interval and the solution are entirely real. In the example below, the series stops converging at ∣x∣=1|x| = 1 because the coefficients are singular at x=±ix = \pm i, which no amount of looking at the real axis would reveal. This is the practical reason the theory of series solutions is complex-analytic.
Method(Series solution at an ordinary point)AdaptedAdapted from Riley, Hobson & Bence (2006), §16.2, pp. 535-537; Arfken, Weber & Harris (2013), §7.5, pp. 347-348
  1. Check that x0x_0 is ordinary: normalise and confirm that the coefficients are analytic at x0x_0. Translate so that x0=0x_0 = 0.
  2. Find the radius you are entitled to: locate the equation's singular points in the complex plane and measure how far the closest of them lies from 00. This tells you in advance where the answer can be used.
  3. Substitute y=∑k≥0ckxky = \sum_{k\ge0}c_kx^{k}, differentiating term by term, and do not divide by the leading coefficient first if that introduces denominators: multiply the equation through by the polynomial leading coefficient instead, which keeps the recurrence finite.
  4. Shift indices so that every series is a sum over the coefficient of xnx^{n}, then set each coefficient to zero. The result is a recurrence for cn+2c_{n+2} (or cn+kc_{n+k}) in terms of earlier coefficients.
  5. Generate two solutions: take c0=1c_0 = 1, c1=0c_1 = 0 for one and c0=0c_0 = 0, c1=1c_1 = 1 for the other. These are automatically independent, since their Wronskian at 00 is det⁡(1001)=1\det\begin{pmatrix}1&0\\0&1\end{pmatrix} = 1.
  6. Identify or estimate. Look for a closed form; look for termination (a recurrence factor that vanishes gives a polynomial solution); and check the radius by the ratio test on the recurrence.
Example(A two-term recurrence with one terminating solution)Original

Solve

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

by series about x=0x = 0.

  1. x=0x = 0 is ordinary. Normalised, p(x)=2x/(1+x2)p(x) = 2x/(1+x^{2}) and q(x)=−2/(1+x2)q(x) = -2/(1+x^{2}), both analytic at 00 with radius exactly 11, since 1+x21 + x^{2} vanishes at x=±ix = \pm i. So the theorem guarantees solutions analytic on ∣x∣<1|x| < 1, and the nearest singular points are the complex pair ±i\pm i at distance 11.

  2. Substitute, without dividing. With y=∑n≥0cnxny = \sum_{n\ge0}c_nx^{n},

    y′′=∑n≥0(n+2)(n+1)cn+2xn,x2y′′=∑n≥0n(n−1)cnxn,2xy′=∑n≥02n cnxn.y'' = \sum_{n\ge0}(n+2)(n+1)c_{n+2}x^{n}, \quad x^{2}y'' = \sum_{n\ge0}n(n-1)c_nx^{n}, \quad 2xy' = \sum_{n\ge0}2n\,c_nx^{n} .

    The coefficient of xnx^{n} in the equation is therefore

    (n+2)(n+1)cn+2+[n(n−1)+2n−2]cn=0.(n+2)(n+1)c_{n+2} + \bigl[n(n-1) + 2n - 2\bigr]c_n = 0 .
  3. Simplify the recurrence. Since n(n−1)+2n−2=n2+n−2=(n+2)(n−1)n(n-1)+2n-2 = n^{2}+n-2 = (n+2)(n-1), the factor n+2n+2 cancels:

    cn+2  =  − n−1n+1 cn,n≥0.c_{n+2} \;=\; -\,\frac{n-1}{n+1}\,c_n , \qquad n \ge 0 .

    Odd and even coefficients do not mix.

  4. The odd solution terminates. Putting n=1n = 1 gives c3=0c_3 = 0, and then c5=c7=⋯=0c_5 = c_7 = \cdots = 0. With c0=0c_0 = 0, c1=1c_1 = 1 the series is the single term

    y1(x)=x,y_1(x) = x ,

    which indeed solves the equation: 0+2x−2x=00 + 2x - 2x = 0. Its "series" converges for every xx.

  5. The even solution. With c0=1c_0 = 1, c1=0c_1 = 0: n=0n = 0 gives c2=1c_2 = 1; n=2n = 2 gives c4=−13c_4 = -\tfrac13; n=4n = 4 gives c6=−35c4=15c_6 = -\tfrac35 c_4 = \tfrac15; n=6n = 6 gives c8=−57c6=−17c_8 = -\tfrac57c_6 = -\tfrac17. By induction c2k=(−1)k+1/(2k−1)c_{2k} = (-1)^{k+1}/(2k-1) for k≥1k \ge 1, since

    c2k+2=−2k−12k+1c2k=−2k−12k+1⋅(−1)k+12k−1=(−1)k+22k+1.c_{2k+2} = -\frac{2k-1}{2k+1}c_{2k} = -\frac{2k-1}{2k+1}\cdot\frac{(-1)^{k+1}}{2k-1} = \frac{(-1)^{k+2}}{2k+1} .

    Hence

    y2(x)=1+x2−x43+x65−x87+⋯=1+∑k=1∞(−1)k+12k−1 x2k.y_2(x) = 1 + x^{2} - \frac{x^{4}}{3} + \frac{x^{6}}{5} - \frac{x^{8}}{7} + \cdots = 1 + \sum_{k=1}^{\infty}\frac{(-1)^{k+1}}{2k-1}\,x^{2k} .
  6. Closed form and radius. Since arctan⁡x=∑k≥1(−1)k−1x2k−1/(2k−1)\arctan x = \sum_{k\ge1}(-1)^{k-1}x^{2k-1}/(2k-1) for ∣x∣<1|x|<1,

    y2(x)=1+xarctan⁡x.y_2(x) = 1 + x\arctan x .

    Direct substitution confirms it: y2′=arctan⁡x+x/(1+x2)y_2' = \arctan x + x/(1+x^{2}), y2′′=1/(1+x2)+(1−x2)/(1+x2)2y_2'' = 1/(1+x^{2}) + (1-x^{2})/(1+x^{2})^{2}, and

    (1+x2)y2′′+2xy2′−2y2=1+1−x21+x2+2xarctan⁡x+2x21+x2−2−2xarctan⁡x=0.(1+x^{2})y_2'' + 2xy_2' - 2y_2 = 1 + \frac{1-x^{2}}{1+x^{2}} + 2x\arctan x + \frac{2x^{2}}{1+x^{2}} - 2 - 2x\arctan x = 0 .

    The ratio test on ∣c2k+2/c2k∣=(2k−1)/(2k+1)→1|c_{2k+2}/c_{2k}| = (2k-1)/(2k+1) \to 1 gives radius exactly 11 for y2y_2 — the distance to ±i\pm i, as predicted — while y1=xy_1 = x has infinite radius. One solution attains the predicted radius and the other beats it, which is why the theorem is stated as a lower bound.

  7. A definite solution and a number. y(0)=1y(0) = 1, y′(0)=0y'(0) = 0 selects y=y2y = y_2. At x=12x = \tfrac12:

    y(12)=1+12arctan⁡12=1.231 823 8,y\bigl(\tfrac12\bigr) = 1 + \tfrac12\arctan\tfrac12 = 1.231\,823\,8 ,

    while the partial sum through x8x^{8} is 1+0.25−0.020833+0.003125−0.000558=1.231 7341 + 0.25 - 0.020833 + 0.003125 - 0.000558 = 1.231\,734, already right to four decimals. The Wronskian check: from y1(0)=0y_1(0)=0, y1′(0)=1y_1'(0)=1, y2(0)=1y_2(0)=1, y2′(0)=0y_2'(0)=0 we get W(y1,y2)(0)=y1(0)y2′(0)−y1′(0)y2(0)=−1≠0W(y_1,y_2)(0) = y_1(0)y_2'(0) - y_1'(0)y_2(0) = -1 \ne 0, so {x, 1+xarctan⁡x}\{x,\,1+x\arctan x\} is a fundamental set on (−1,1)(-1,1).

ApplicationOriginal

Where the special functions come from. Legendre's, Hermite's and Chebyshev's equations all have x=0x = 0 as an ordinary point, and this method is how their solutions are constructed. The recurrences they produce share the feature seen in step 4 above: for special values of a parameter a factor vanishes and the series terminates, giving a polynomial. For Hermite's equation y′′−2xy′+2νy=0y'' - 2xy' + 2\nu y = 0 the recurrence is cn+2=2(n−ν)cn/((n+2)(n+1))c_{n+2} = 2(n-\nu)c_n/\bigl((n+2)(n+1)\bigr), which terminates exactly when ν\nu is a non-negative integer. In the quantum harmonic oscillator that condition is the quantisation of the energy: the non-terminating series grows like ex2/2e^{x^{2}/2} and is not normalisable, so only the terminating ones are physical, and ν=n\nu = n gives E=(n+12)ℏωE = (n+\tfrac12)\hbar\omega. The same mechanism quantises angular momentum through Legendre's equation.

Airy functions and turning points. The Airy equation y′′=xyy'' = xy has no singular point in the finite plane, so its series solutions about 00 converge for all xx; they are the standard way to compute Ai\mathrm{Ai} and Bi\mathrm{Bi} for moderate argument, and they describe the behaviour of a wavefunction at a classical turning point, where the WKB approximation fails.

Numerical work and Taylor methods. The recurrence is a recipe for generating Taylor coefficients of the solution to any order at the cost of a few operations each, which is the basis of Taylor-series and automatic-differentiation integrators for ordinary differential equations. Their step size is limited by exactly the radius this unit estimates, which is why such integrators are efficient for problems with distant singularities and poor near them.

Knowing in advance where a model can be trusted. Step 2 of the method is the practically valuable one. A model whose coefficients are singular at a nearby complex point has a series solution that is useless beyond that distance, no matter how many terms are computed, and the breakdown has nothing to do with the physical interval. Legendre's functions of the second kind diverge at x=±1x = \pm1, that is at the poles of a sphere, and the series expansions of multipole fields converge only inside a sphere reaching the nearest source — a statement about radii of convergence of exactly this kind.

Method

The Frobenius method

Adapted

At a regular singular point the substitution y=xσ∑nanxny = x^{\sigma}\sum_n a_nx^n works: the lowest power gives a quadratic indicial equation for σ\sigma, the rest a recurrence, and the larger exponent always yields a solution — while equal exponents, or exponents differing by an integer, can block the second one and force a logarithm.

Prerequisites: Power-series solutions at ordinary points, Euler-Cauchy equations, Reduction of order

Definition(Regular singular points and Frobenius series)AdaptedAdapted from Hassani (2013), §15.2, Def. 15.2.2 and the expansions on p. 465; Riley, Hobson & Bence (2006), §16.3, Eq. (16.12) and the definitions of $s$ and $t$, p. 539

Consider

y′′+p(x) y′+q(x) y=0y'' + p(x)\,y' + q(x)\,y = 0

on a punctured interval around x0x_0. The point x0x_0 is a regular singular point if pp has at worst a simple pole and qq at worst a pole of order 22 at x0x_0 — equivalently, if

s(x)=(x−x0) p(x)andt(x)=(x−x0)2 q(x)s(x) = (x - x_0)\,p(x) \qquad\text{and}\qquad t(x) = (x-x_0)^{2}\,q(x)

are both analytic at x0x_0. Take x0=0x_0 = 0 from now on (translate otherwise) and write

s(x)=∑n≥0snxn,t(x)=∑n≥0tnxn,s(x) = \sum_{n\ge0}s_nx^{n} , \qquad t(x) = \sum_{n\ge0}t_nx^{n} ,

both convergent for ∣x∣<r|x| < r. Multiplying the equation by x2x^{2} puts it in the form

x2y′′+x s(x) y′+t(x) y=0,x^{2}y'' + x\,s(x)\,y' + t(x)\,y = 0 ,

which is an Euler equation to leading order, with ss and tt frozen at their values at 00.

A Frobenius series, or generalised power series, is an expression

y=xσ∑n=0∞anxn,a0≠0,y = x^{\sigma}\sum_{n=0}^{\infty}a_nx^{n} , \qquad a_0 \neq 0 ,

with σ\sigma a real or complex number. The normalisation a0≠0a_0 \ne 0 costs nothing: if a0a_0 were zero, σ\sigma could be increased to make the leading coefficient nonzero.

Method(Indicial equation and recurrence)AdaptedAdapted from Riley, Hobson & Bence (2006), §16.3, Eqs. (16.15)-(16.16), pp. 539-540; Hassani (2013), §15.2, Eqs. (15.7)-(15.9), p. 465

Substituting a Frobenius series into x2y′′+xsy′+ty=0x^{2}y'' + xsy' + ty = 0 and dividing by xσx^{\sigma} gives

∑n≥0[(n+σ)(n+σ−1)+s(x)(n+σ)+t(x)]anxn  =  0.\sum_{n\ge0}\Bigl[(n+\sigma)(n+\sigma-1) + s(x)(n+\sigma) + t(x)\Bigr]a_nx^{n} \;=\; 0 .

Define the indicial polynomial

I(σ)  =  σ(σ−1)+s0 σ+t0,s0=s(0), t0=t(0).I(\sigma) \;=\; \sigma(\sigma-1) + s_0\,\sigma + t_0 , \qquad s_0 = s(0),\ t_0 = t(0) .

Then:

  1. The coefficient of x0x^{0} gives, since a0≠0a_0 \ne 0, the indicial equation

    I(σ)=σ(σ−1)+s0σ+t0=0,I(\sigma) = \sigma(\sigma-1) + s_0\sigma + t_0 = 0 ,

    whose two roots σ1,σ2\sigma_1, \sigma_2 are the characteristic exponents (or indices) of the regular singular point. They are the exponents of the Euler equation obtained by replacing s,ts, t by s0,t0s_0, t_0.

  2. The coefficient of xnx^{n} for n≥1n \ge 1 gives the recurrence

    I(n+σ) an  =  −∑k=0n−1[(k+σ) sn−k+tn−k]ak.I(n+\sigma)\,a_n \;=\; -\sum_{k=0}^{n-1}\Bigl[(k+\sigma)\,s_{n-k} + t_{n-k}\Bigr]a_k .

    Since I(σ)=(σ−σ1)(σ−σ2)I(\sigma) = (\sigma-\sigma_1)(\sigma-\sigma_2),

    I(n+σ1)=n (n+σ1−σ2),I(n+σ2)=n (n−(σ1−σ2)).I(n+\sigma_1) = n\,(n + \sigma_1 - \sigma_2) , \qquad I(n+\sigma_2) = n\,(n - (\sigma_1-\sigma_2)) .
Method(Which exponents give Frobenius solutions)AdaptedAdapted from Hassani (2013), §15.2, Thm 15.2.3, p. 466, Eq. (15.10), p. 467 and Thm 15.2.6, pp. 468-469; Riley, Hobson & Bence (2006), §16.3.1-16.3.3, pp. 540-543; Arfken, Weber & Harris (2013), §7.5, Summary, p. 355

Label the exponents so that Re⁡σ1≥Re⁡σ2\operatorname{Re}\sigma_1 \ge \operatorname{Re}\sigma_2.

  1. The larger exponent always works. The recurrence determines a1,a2,…a_1, a_2, \dots uniquely from a0a_0 for σ=σ1\sigma = \sigma_1, because I(n+σ1)=n(n+σ1−σ2)≠0I(n+\sigma_1) = n(n+\sigma_1-\sigma_2) \ne 0 for every n≥1n \ge 1. The resulting Frobenius series converges on 0<∣x∣<r0 < |x| < r.

  2. σ1−σ2\sigma_1 - \sigma_2 not an integer. Then I(n+σ2)≠0I(n+\sigma_2) \ne 0 for all n≥1n \ge 1 as well, and there are two Frobenius solutions,

    y1=xσ1∑n≥0anxn,y2=xσ2∑n≥0bnxn,y_1 = x^{\sigma_1}\sum_{n\ge0}a_nx^{n} , \qquad y_2 = x^{\sigma_2}\sum_{n\ge0}b_nx^{n} ,

    which are linearly independent because y2/y1=xσ2−σ1(⋯ )y_2/y_1 = x^{\sigma_2-\sigma_1}(\cdots) is not constant. This case includes a complex-conjugate pair σ2=σˉ1\sigma_2 = \bar\sigma_1 with Im⁡σ1≠0\operatorname{Im}\sigma_1 \ne 0, since then σ1−σ2=2iIm⁡σ1\sigma_1-\sigma_2 = 2i\operatorname{Im}\sigma_1 is not a real integer.

  3. σ1=σ2\sigma_1 = \sigma_2. Only one Frobenius series exists, and the second solution necessarily contains a logarithm.

  4. σ1−σ2=N\sigma_1 - \sigma_2 = N, a positive integer. The recurrence for σ2\sigma_2 runs without trouble up to aN−1a_{N-1} and then meets I(N+σ2)=I(σ1)=0I(N+\sigma_2) = I(\sigma_1) = 0, so it demands that the right-hand side at n=Nn = N vanish. Call that right-hand side ρN\rho_N (it is determined by s,ts, t and a0a_0). If ρN=0\rho_N = 0 the equation 0⋅aN=00\cdot a_N = 0 holds, aNa_N may be chosen freely, and a second Frobenius series exists. If ρN≠0\rho_N \ne 0 there is no second Frobenius series, and Hassani (Hassani (2013), Thm 15.2.6, p. 468) gives the basis in the form

    y1=xσ1(1+∑k≥1akxk),y2=xσ2(1+∑k≥1bkxk)+C y1log⁡x,y_1 = x^{\sigma_1}\Bigl(1 + \sum_{k\ge1}a_kx^{k}\Bigr) , \qquad y_2 = x^{\sigma_2}\Bigl(1 + \sum_{k\ge1}b_kx^{k}\Bigr) + C\,y_1\log x ,

    with the power series convergent in a neighbourhood of 00.

For complex exponents, "larger" means larger real part.

Idea of the proofOriginal

The equation, written as x2y′′+x s(x)y′+t(x)y=0x^{2}y'' + x\,s(x)y' + t(x)y = 0, is an Euler equation whose constants have been allowed to vary analytically. Near x=0x = 0 only s(0)s(0) and t(0)t(0) matter, so the solutions must begin like the Euler solutions xσx^{\sigma} with σ\sigma a root of the Euler indicial polynomial — and the higher coefficients of ss and tt then correct the power into a series. That is the whole method: guess an Euler solution and let it drag a power series behind it.

What can go wrong is visible in the recurrence. Solving for ana_n means dividing by I(n+σ)I(n+\sigma), and II vanishes only at σ1\sigma_1 and σ2\sigma_2. Starting from the larger exponent, n+σ1n+\sigma_1 never returns to a root, so nothing obstructs. Starting from the smaller, n+σ2n + \sigma_2 hits σ1\sigma_1 exactly when nn equals the integer difference, and at that step the recurrence either is consistent by accident (and gives a second series) or is contradictory (and no second series exists). In the contradictory case the missing solution is supplied by reduction of order, and the logarithm appears for a precise reason: the integrand φ1−2e−∫p\varphi_1^{-2}e^{-\int p} behaves like x−(σ1−σ2)−1x^{-(\sigma_1-\sigma_2)-1}, which integrates to a power unless the exponent is −1-1, that is unless σ1=σ2\sigma_1 = \sigma_2; and in the integer case the x−1x^{-1} term of the expansion contributes a logarithm.

Proof(Indicial equation and recurrence)AdaptedAdapted from Riley, Hobson & Bence (2006), §16.3, pp. 539-540; Hassani (2013), §15.2, p. 465

Step 1 (differentiate). For y=xσ∑n≥0anxn=∑n≥0anxn+σy = x^{\sigma}\sum_{n\ge0}a_nx^{n} = \sum_{n\ge0}a_nx^{n+\sigma}, term-by-term differentiation on x>0x > 0 gives

y′=∑n≥0(n+σ)anxn+σ−1,y′′=∑n≥0(n+σ)(n+σ−1)anxn+σ−2.y' = \sum_{n\ge0}(n+\sigma)a_nx^{n+\sigma-1} , \qquad y'' = \sum_{n\ge0}(n+\sigma)(n+\sigma-1)a_nx^{n+\sigma-2} .

Step 2 (assemble). Then x2y′′x^{2}y'', x s(x)y′x\,s(x)y' and t(x)yt(x)y all carry the common factor xσx^{\sigma}:

x2y′′+xsy′+ty=xσ∑n≥0[(n+σ)(n+σ−1)+s(x)(n+σ)+t(x)]anxn.x^{2}y'' + xsy' + ty = x^{\sigma}\sum_{n\ge0}\Bigl[(n+\sigma)(n+\sigma-1) + s(x)(n+\sigma) + t(x)\Bigr]a_nx^{n} .

Dividing by xσx^{\sigma} (legitimate for x≠0x \ne 0) gives the displayed identity.

Step 3 (lowest power). Expanding ss and tt as power series and collecting the coefficient of x0x^{0}: only n=0n = 0 contributes, with ss and tt at their constant terms, giving [σ(σ−1)+s0σ+t0]a0=I(σ) a0\bigl[\sigma(\sigma-1) + s_0\sigma + t_0\bigr]a_0 = I(\sigma)\,a_0. Since a0≠0a_0 \ne 0 by the normalisation, I(σ)=0I(\sigma) = 0.

Step 4 (the general power). The coefficient of xnx^{n}, n≥1n \ge 1, receives (n+σ)(n+σ−1)an(n+\sigma)(n+\sigma-1)a_n from the first term, ∑k=0n(k+σ)sn−kak\sum_{k=0}^{n}(k+\sigma)s_{n-k}a_k from the second and ∑k=0ntn−kak\sum_{k=0}^{n}t_{n-k}a_k from the third. The k=nk = n parts of the last two sums are (n+σ)s0an(n+\sigma)s_0a_n and t0ant_0a_n, which combine with the first term into I(n+σ)anI(n+\sigma)a_n. Setting the whole coefficient to zero and moving the k<nk < n terms to the right gives the recurrence.

Step 5 (the factorisation). II is monic of degree 22 with roots σ1,σ2\sigma_1, \sigma_2, so I(σ)=(σ−σ1)(σ−σ2)I(\sigma) = (\sigma-\sigma_1)(\sigma-\sigma_2) and therefore I(n+σ1)=n(n+σ1−σ2)I(n+\sigma_1) = n(n+\sigma_1-\sigma_2), I(n+σ2)=(n+σ2−σ1)nI(n+\sigma_2) = (n+\sigma_2-\sigma_1)n. □\square

Proof(Which exponents work)AdaptedAdapted from Hassani (2013), §15.2, pp. 466-469; Riley, Hobson & Bence (2006), §16.3.1-16.3.3, pp. 540-543

Step 1 (the larger exponent). For n≥1n \ge 1, I(n+σ1)=n(n+σ1−σ2)I(n+\sigma_1) = n(n+\sigma_1-\sigma_2). Here n≠0n \ne 0 and Re⁡(n+σ1−σ2)=n+Re⁡(σ1−σ2)≥n≥1>0\operatorname{Re}(n+\sigma_1-\sigma_2) = n + \operatorname{Re}(\sigma_1-\sigma_2) \ge n \ge 1 > 0, so I(n+σ1)≠0I(n+\sigma_1) \ne 0. Hence the recurrence solves for ana_n at every step and the coefficients are uniquely determined by a0a_0. This proves part 1 up to convergence, for which see the note below.

Step 2 (non-integer difference). I(n+σ2)=n(n−(σ1−σ2))I(n+\sigma_2) = n\bigl(n - (\sigma_1-\sigma_2)\bigr) vanishes for some n≥1n \ge 1 only if σ1−σ2=n\sigma_1 - \sigma_2 = n is a positive integer. If σ1−σ2∉Z\sigma_1-\sigma_2 \notin \mathbb{Z} this never happens, so the recurrence for σ2\sigma_2 also runs freely. Independence: if c1y1+c2y2=0c_1y_1 + c_2y_2 = 0 on an interval (0,ϵ)(0,\epsilon) with c2≠0c_2 \ne 0, dividing by xσ2x^{\sigma_2} gives c2(a0+O(x))=−c1xσ1−σ2(b0+O(x))c_2(a_0 + O(x)) = -c_1x^{\sigma_1-\sigma_2}(b_0 + O(x)); letting x→0+x \to 0^{+}, the left side tends to c2a0≠0c_2a_0 \ne 0 while the right side tends to 00 if Re⁡(σ1−σ2)>0\operatorname{Re}(\sigma_1-\sigma_2) > 0, a contradiction. If Re⁡(σ1−σ2)=0\operatorname{Re}(\sigma_1-\sigma_2) = 0 with σ1≠σ2\sigma_1 \neq \sigma_2, the exponents are a conjugate pair and xσ1−σ2=eiτlog⁡xx^{\sigma_1-\sigma_2} = e^{i\tau\log x} oscillates without limit, so no constants can make the identity hold. Hence y1,y2y_1, y_2 are independent.

Step 3 (equal exponents force a logarithm). Let σ1=σ2=σ\sigma_1 = \sigma_2 = \sigma. The two roots of II coincide, so 2σ=1−s02\sigma = 1 - s_0 by the sum of the roots. Let y1=xσ(a0+⋯ )y_1 = x^{\sigma}(a_0 + \cdots) be the Frobenius solution of Step 1 and apply reduction of order on an interval where y1≠0y_1 \ne 0: a second solution is y1∫φy_1\int \varphi with

φ(x)=1y1(x)2exp⁡[−∫p].\varphi(x) = \frac{1}{y_1(x)^{2}}\exp\left[-\int p\right] .

Now p=s/x=s0/x+(analytic)p = s/x = s_0/x + (\text{analytic}), so exp⁡[−∫p]=x−s0h(x)\exp[-\int p] = x^{-s_0}h(x) with hh analytic and h(0)≠0h(0) \ne 0; and y1−2=x−2σg(x)y_1^{-2} = x^{-2\sigma}g(x) with gg analytic, g(0)=a0−2≠0g(0) = a_0^{-2} \ne 0. Hence

φ(x)=x−2σ−s0 g(x)h(x)=x−1 gh,\varphi(x) = x^{-2\sigma-s_0}\,g(x)h(x) = x^{-1}\,gh ,

using 2σ+s0=12\sigma + s_0 = 1. Since g(0)h(0)≠0g(0)h(0) \ne 0, the Laurent expansion of φ\varphi has a nonzero residue at 00, so ∫φ=clog⁡x+(analytic)\int\varphi = c\log x + (\text{analytic}) with c≠0c \ne 0, and the second solution is c y1log⁡x+y1⋅(analytic)c\,y_1\log x + y_1\cdot(\text{analytic}). No Frobenius series — a function of the form xμ×x^{\mu}\times (convergent power series) — can contain a log⁡\log, so the second solution is not of that form, and only one Frobenius solution exists.

Step 4 (integer difference). Let σ1−σ2=N≥1\sigma_1 - \sigma_2 = N \ge 1. Running the recurrence at σ=σ2\sigma = \sigma_2, the factors I(n+σ2)=n(n−N)I(n+\sigma_2) = n(n-N) are nonzero for 1≤n≤N−11 \le n \le N-1, so a1,…,aN−1a_1, \dots, a_{N-1} are determined by a0a_0. At n=Nn = N the left-hand side is I(σ1)aN=0I(\sigma_1)a_N = 0 while the right-hand side is a definite number ρN\rho_N determined by a0,…,aN−1a_0, \dots, a_{N-1}. If ρN≠0\rho_N \ne 0 the recurrence is inconsistent and no Frobenius series with exponent σ2\sigma_2 exists; if ρN=0\rho_N = 0 the step imposes no condition, aNa_N is free, and the recurrence continues (the factors I(n+σ2)I(n+\sigma_2) for n>Nn > N are again nonzero), producing a second Frobenius series. The same reduction-of-order computation as in Step 3, now with 2σ1+s0=1+N2\sigma_1 + s_0 = 1 + N, gives φ=x−1−Ngh\varphi = x^{-1-N}gh, whose Laurent expansion may or may not have a nonzero residue at 00. When that residue is nonzero, integrating produces a logarithm and the second solution takes the shape Hassani (Hassani (2013), Thm 15.2.6, p. 468) gives, with CC the residue; when it vanishes, ∫φ\int\varphi is a Laurent polynomial plus a power series and the second solution is again a Frobenius series. □\square

Note(Convergence, and what happens at an irregular point)Original

That the Frobenius series actually converge — on 0<∣x∣<r0 < |x| < r, with rr the radius common to ss and tt — is a theorem we use without proof; Hassani (Hassani (2013), p. 467) refers to Birkhoff and Rota for it, and Riley, Hobson and Bence (Riley, Hobson & Bence (2006), p. 539) record the practical rule that the radius is in general the distance to the nearest singularity of the equation. Coddington (Coddington (1989), Ch. 4, §1, p. 144) states the shape of the answer in advance: near a regular singular point the solutions are

(x−x0)rσ(x)+(x−x0)sρ(x)log⁡(x−x0)(x-x_0)^{r}\sigma(x) + (x-x_0)^{s}\rho(x)\log(x-x_0)

with σ,ρ\sigma, \rho analytic at x0x_0 — which is the content of the trichotomy above.

The hypothesis of a regular singular point is not a technicality. Coddington (Coddington (1989), Ch. 4, §1, Eqs. (1.4)-(1.6), pp. 144-145) exhibits x2y′′−y′−34y=0x^{2}y'' - y' - \tfrac34y = 0, where the coefficient −1-1 of y′y' is not of the form x b1(x)x\,b_1(x) with b1b_1 analytic at 00, so the origin is a singular point that is not regular. A formal series ∑k≥0ckxk\sum_{k\ge0}c_kx^{k} satisfies the recursion (k+1)ck+1=(k2−k−34)ck(k+1)c_{k+1} = \bigl(k^{2}-k-\tfrac34\bigr)c_k, and since the ratio of consecutive terms is ∣(k2−k−34)/(k+1)∣∣x∣→∞\bigl|(k^{2}-k-\tfrac34)/(k+1)\bigr||x| \to \infty for every x≠0x \ne 0, the series converges nowhere but at the origin: a perfectly determinate formal solution that represents nothing. At an irregular singular point one needs asymptotic rather than convergent expansions (Classifying singular points, including infinity).

Method(The Frobenius method)AdaptedAdapted from Riley, Hobson & Bence (2006), §16.3, pp. 538-543; Arfken, Weber & Harris (2013), §7.5, pp. 347-348
  1. Classify the point. Normalise to y′′+py′+qy=0y''+py'+qy=0 and check that s=xps = xp and t=x2qt = x^{2}q are analytic at 00 (translate first if the point of interest is not the origin). If they are not, stop: this method need not work.
  2. Multiply through by x2x^{2} (or by whatever polynomial clears the denominators) and substitute y=∑n≥0anxn+σy = \sum_{n\ge0}a_nx^{n+\sigma}, keeping σ\sigma symbolic. Do not divide by the leading coefficient if that creates infinite series where polynomials would do.
  3. Indicial equation. Set the coefficient of the lowest power of xx to zero. With a0≠0a_0 \ne 0 this is I(σ)=σ(σ−1)+s0σ+t0=0I(\sigma) = \sigma(\sigma-1)+s_0\sigma+t_0 = 0; solve for σ1,σ2\sigma_1, \sigma_2 and compute N=σ1−σ2N = \sigma_1-\sigma_2 (taking Re⁡σ1≥Re⁡σ2\operatorname{Re}\sigma_1 \ge \operatorname{Re}\sigma_2).
  4. Recurrence. Set the coefficient of the general power to zero, keeping σ\sigma symbolic. This single recurrence serves both exponents.
  5. First solution. Put σ=σ1\sigma = \sigma_1 and generate a1,a2,…a_1, a_2, \dots; this never fails.
  6. Second solution.
    • If N∉{0,1,2,… }N \notin \{0, 1, 2, \dots\}: put σ=σ2\sigma = \sigma_2 and repeat.
    • If NN is a positive integer: put σ=σ2\sigma = \sigma_2 and run the recurrence; if it survives step n=Nn = N, you have a second Frobenius series, otherwise go to the next item.
    • If N=0N = 0, or if the recurrence failed: get the second solution either by reduction of order ((Riley, Hobson & Bence (2006), §16.4.1, p. 544) calls this the Wronskian method), or by substituting the ansatz y2=y1log⁡x+xσ2∑n≥1bnxny_2 = y_1\log x + x^{\sigma_2}\sum_{n\ge1}b_nx^{n} and matching coefficients, or by the derivative method of (Riley, Hobson & Bence (2006), §16.4.2, pp. 545-547): keep σ\sigma as a parameter in the recurrence, so that L[y(x,σ)]=a0(σ−σ1)(σ−σ2)xσL[y(x,\sigma)] = a_0(\sigma-\sigma_1)(\sigma-\sigma_2)x^{\sigma}, and take ∂/∂σ\partial/\partial\sigma at σ=σ1\sigma = \sigma_1.
  7. Identify and check. Try to recognise the series; verify the first few coefficients by substitution; and remember the radius is limited by the next singularity of the equation.
Example(Exponents differing by one half)Original

Solve 2x y′′+y′+y=02x\,y'' + y' + y = 0 for x>0x > 0.

  1. Classify. Dividing by 2x2x: p=1/(2x)p = 1/(2x), q=1/(2x)q = 1/(2x). Then s=xp=12s = xp = \tfrac12 and t=x2q=x2t = x^{2}q = \tfrac{x}{2}, both analytic everywhere, so x=0x = 0 is a regular singular point and the series will converge for all xx. Here

    s0=12,sn=0 (n≥1);t0=0,t1=12,tn=0 (n≥2).s_0 = \tfrac12,\quad s_n = 0\ (n\ge1); \qquad t_0 = 0,\quad t_1 = \tfrac12,\quad t_n = 0\ (n\ge2) .
  2. Indicial equation. I(σ)=σ(σ−1)+12σ=σ2−12σ=σ(σ−12)I(\sigma) = \sigma(\sigma-1) + \tfrac12\sigma = \sigma^{2} - \tfrac12\sigma = \sigma\bigl(\sigma - \tfrac12\bigr), so σ1=12\sigma_1 = \tfrac12, σ2=0\sigma_2 = 0. The difference 12\tfrac12 is not an integer, so two Frobenius solutions exist.

  3. Recurrence. Only s1=0s_1 = 0 and t1=12t_1 = \tfrac12 are nonzero among the higher coefficients, so the sum on the right has one surviving term, k=n−1k = n-1:

    I(n+σ) an=−[(n−1+σ)s1+t1]an−1=−12an−1.I(n+\sigma)\,a_n = -\Bigl[(n-1+\sigma)s_1 + t_1\Bigr]a_{n-1} = -\tfrac12a_{n-1} .
  4. Larger exponent σ1=12\sigma_1 = \tfrac12. I(n+12)=(n+12)n=n(2n+1)/2I(n+\tfrac12) = (n+\tfrac12)n = n(2n+1)/2, so an=−an−1/(n(2n+1))a_n = -a_{n-1}/\bigl(n(2n+1)\bigr). With a0=1a_0 = 1:

    a1=−13,a2=130,a3=−1630,y1=x(1−x3+x230−x3630+⋯ ).a_1 = -\tfrac13, \quad a_2 = \tfrac{1}{30}, \quad a_3 = -\tfrac{1}{630}, \qquad y_1 = \sqrt{x}\left(1 - \frac{x}{3} + \frac{x^{2}}{30} - \frac{x^{3}}{630} + \cdots\right) .
  5. Smaller exponent σ2=0\sigma_2 = 0. I(n)=n(2n−1)/2I(n) = n(2n-1)/2, so bn=−bn−1/(n(2n−1))b_n = -b_{n-1}/\bigl(n(2n-1)\bigr). With b0=1b_0 = 1:

    b1=−1,b2=16,b3=−190,y2=1−x+x26−x390+⋯ .b_1 = -1,\quad b_2 = \tfrac16,\quad b_3 = -\tfrac{1}{90}, \qquad y_2 = 1 - x + \frac{x^{2}}{6} - \frac{x^{3}}{90} + \cdots .
  6. Closed forms. Put u=2xu = \sqrt{2x}. Then cos⁡u=1−u22+u424−u6720=1−x+x26−x390\cos u = 1 - \tfrac{u^{2}}{2} + \tfrac{u^{4}}{24} - \tfrac{u^{6}}{720} = 1 - x + \tfrac{x^{2}}{6} - \tfrac{x^{3}}{90}, matching y2y_2; and 12sin⁡u=x(1−x3+x230−⋯ )\tfrac{1}{\sqrt2}\sin u = \sqrt{x}\bigl(1 - \tfrac{x}{3} + \tfrac{x^{2}}{30} - \cdots\bigr), matching y1y_1. So

    y2=cos⁡2x,y1=12sin⁡2x,y_2 = \cos\sqrt{2x} , \qquad y_1 = \tfrac{1}{\sqrt2}\sin\sqrt{2x} ,

    and both satisfy 2xy′′+y′+y=02xy''+y'+y=0 by direct substitution. The general solution on x>0x > 0 is y=c1cos⁡2x+c2sin⁡2xy = c_1\cos\sqrt{2x} + c_2\sin\sqrt{2x}.

  7. Numbers. At x=12x = \tfrac12: y2=cos⁡1=0.540 302y_2 = \cos 1 = 0.540\,302 and y1=sin⁡1/2=0.595 010y_1 = \sin 1/\sqrt2 = 0.595\,010. The four-term partial sums give 1−0.5+0.041 667−0.001 389=0.540 2781 - 0.5 + 0.041\,667 - 0.001\,389 = 0.540\,278 and 0.707 107 (1−0.166 667+0.008 333−0.000 198)=0.595 0080.707\,107\,(1 - 0.166\,667 + 0.008\,333 - 0.000\,198) = 0.595\,008.

  8. A warning the exponents give for free. Both solutions are bounded at x=0x = 0 here, because both exponents are ≥0\ge 0. Negative exponents are the usual case and signal a solution that blows up at the singular point; the indicial equation tells you that before any series is computed.

Example(A double exponent and the logarithm)Original

Solve x y′′+y′−y=0x\,y'' + y' - y = 0 for x>0x > 0.

  1. Classify. p=1/xp = 1/x, q=−1/xq = -1/x, so s=1s = 1 and t=−xt = -x: a regular singular point at 00, with s0=1s_0 = 1, t0=0t_0 = 0, t1=−1t_1 = -1 and all other coefficients zero.

  2. Indicial equation. I(σ)=σ(σ−1)+σ=σ2I(\sigma) = \sigma(\sigma-1) + \sigma = \sigma^{2}: a double root σ1=σ2=0\sigma_1 = \sigma_2 = 0. By part 3 of the statement, there is exactly one Frobenius solution and the second involves a logarithm.

  3. First solution. The recurrence is I(n)an=−t1an−1I(n)a_n = -t_1a_{n-1}, that is n2an=an−1n^{2}a_n = a_{n-1}, so an=an−1/n2a_n = a_{n-1}/n^{2} and, with a0=1a_0 = 1,

    an=1(n!)2,y1(x)=∑n=0∞xn(n!)2=1+x+x24+x336+⋯ ,a_n = \frac{1}{(n!)^{2}} , \qquad y_1(x) = \sum_{n=0}^{\infty}\frac{x^{n}}{(n!)^{2}} = 1 + x + \frac{x^{2}}{4} + \frac{x^{3}}{36} + \cdots ,

    convergent for all xx (the ratio of consecutive terms is x/n2→0x/n^{2} \to 0). This is I0(2x)I_0(2\sqrt x), the modified Bessel function of order zero.

  4. Second solution: set up the ansatz. Try y2=y1log⁡x+vy_2 = y_1\log x + v with v=∑n≥1bnxnv = \sum_{n\ge1}b_nx^{n}. Writing L(y)=xy′′+y′−yL(y) = xy''+y'-y and using L(y1)=0L(y_1) = 0,

    L(y1log⁡x)=log⁡x L(y1)+2y1′+y1x−y1x=2y1′,L(y_1\log x) = \log x\,L(y_1) + 2y_1' + \frac{y_1}{x} - \frac{y_1}{x} = 2y_1' ,

    because (y1log⁡x)′=y1′log⁡x+y1/x(y_1\log x)' = y_1'\log x + y_1/x and (y1log⁡x)′′=y1′′log⁡x+2y1′/x−y1/x2(y_1\log x)'' = y_1''\log x + 2y_1'/x - y_1/x^{2}. So we need L(v)=−2y1′L(v) = -2y_1'.

  5. Match coefficients. With b0=0b_0 = 0,

    L(v)=∑n≥1n2bnxn−1−∑n≥1bnxn=∑m≥0[(m+1)2bm+1−bm]xm,−2y1′=−∑m≥02(m+1)am+1xm,L(v) = \sum_{n\ge1}n^{2}b_nx^{n-1} - \sum_{n\ge1}b_nx^{n} = \sum_{m\ge0}\Bigl[(m+1)^{2}b_{m+1} - b_m\Bigr]x^{m} , \qquad -2y_1' = -\sum_{m\ge0}2(m+1)a_{m+1}x^{m} ,

    so (m+1)2bm+1=bm−2(m+1)am+1(m+1)^{2}b_{m+1} = b_m - 2(m+1)a_{m+1}. Hence

    b1=−2,b2=b1−4a24=−2−14=−34,b3=b2−6a39=−34−169=−11108,b_1 = -2 , \qquad b_2 = \frac{b_1 - 4a_2}{4} = \frac{-2-1}{4} = -\frac34 , \qquad b_3 = \frac{b_2 - 6a_3}{9} = \frac{-\tfrac34 - \tfrac16}{9} = -\frac{11}{108} ,

    and then b4=−253456b_4 = -\tfrac{25}{3456}. So

    y2(x)=(∑n≥0xn(n!)2)log⁡x  −  2x−34x2−11108x3−253456x4−⋯ .y_2(x) = \left(\sum_{n\ge0}\frac{x^{n}}{(n!)^{2}}\right)\log x \;-\; 2x - \frac34x^{2} - \frac{11}{108}x^{3} - \frac{25}{3456}x^{4} - \cdots .
  6. Checks. Substituting the truncation of y2y_2 through x7x^{7} into xy′′+y′−yxy''+y'-y leaves a residue of order x7x^{7} only, as it must. At x=1x = 1 the first solution is y1(1)=∑n1/(n!)2=2.279 585 3y_1(1) = \sum_n 1/(n!)^{2} = 2.279\,585\,3, which is I0(2)I_0(2) to eight digits. As x→0+x \to 0^{+}, y1→1y_1 \to 1 while y2→−∞y_2 \to -\infty like log⁡x\log x: the second solution is the one a boundedness condition at the singular point discards.

  7. Why the logarithm had to appear. Step 3 of the proof, applied here: s0=1s_0 = 1 and σ=0\sigma = 0, so 2σ+s0=12\sigma + s_0 = 1 and the reduction-of-order integrand is y1−2e−∫dx/x=1/(x y12)y_1^{-2}e^{-\int dx/x} = 1/(x\,y_1^{2}), whose residue at 00 is 1/y1(0)2=11/y_1(0)^{2} = 1. Integrating gives log⁡x\log x, with coefficient 11 — matching the ansatz of step 4, where y1log⁡xy_1\log x enters with coefficient 11.

ApplicationOriginal

Bessel's equation and half-integer order. For w′′+w′/z+(1−α2/z2)w=0w'' + w'/z + (1 - \alpha^{2}/z^{2})w = 0 one has s0=1s_0 = 1, t0=−α2t_0 = -\alpha^{2}, so I(ν)=ν2−α2I(\nu) = \nu^{2}-\alpha^{2} and the exponents are ±α\pm\alpha. Hassani (Hassani (2013), Example 15.2.4(a), p. 466) notes the consequence: there are two Frobenius solutions unless 2α2\alpha is an integer, that is unless α\alpha is an integer or a half-integer. For integer α=n\alpha = n the obstruction is genuine and YnY_n carries a log⁡\log; for half-integer α\alpha the obstruction vanishes and both series survive — which is why the spherical Bessel functions of half-integer order are elementary, j0(z)=sin⁡z/zj_0(z) = \sin z/z and so on, while Y0Y_0 is not.

The Coulomb problem and the two radial behaviours. The radial equation for a β/r\beta/r potential has, in Hassani's (Hassani (2013), Example 15.2.4(b), p. 466) normalisation, exponents −12±121+4α-\tfrac12 \pm \tfrac12\sqrt{1+4\alpha} with α=ℓ(ℓ+1)\alpha = \ell(\ell+1), hence ℓ\ell and −ℓ−1-\ell-1, differing by the integer 2ℓ+12\ell+1 — so only one solution is obtained by series, and the other is the irregular one that diverges at the origin. The indicial equation is thus the formal reason that a bound-state wavefunction behaves like rℓr^{\ell} near the nucleus: the other exponent is excluded by normalisability. The exponents of this radial equation are those of the Euler equation of Euler-Cauchy equations, as they must be.

The hypergeometric equation, and why so many functions are one function. The equation with regular singular points at 00, 11 and ∞\infty and no others is, up to a change of variable, the hypergeometric equation, whose exponents at 00 are 00 and 1−γ1-\gamma ((Hassani (2013), Example 15.2.4(c), p. 467)). Legendre's, Chebyshev's and Jacobi's equations, and in the confluent limit Bessel's, Laguerre's and Hermite's, are all special cases, which is why the handbook tables of special functions are so interrelated: the classification of equations by their singular points and exponents, continued in Classifying singular points, including infinity, explains the coincidences.

Boundary conditions at a singular point. In practice the exponents are often all one needs. A solution of the radial equation behaving like r−ℓ−1r^{-\ell-1} is rejected at the origin; a solution of Legendre's equation behaving like log⁡(1−x)\log(1-x) is rejected at the pole of a sphere; a solution of the Euler-Bernoulli or diffusion equation growing at a corner is rejected on physical grounds. In each case the indicial equation at a regular singular point delivers the admissible exponents in two lines, long before any series is summed, and that is the usual way the method is used.

Definition

Classifying singular points, including infinity

Adapted

A point is ordinary, regular singular or irregular singular according to how fast pp and qq blow up there; the point at infinity is classified by substituting x=1/tx = 1/t and looking at t=0t = 0; an equation all of whose singular points in the extended plane are regular is Fuchsian, and with three such points it is the Riemann equation, whose six exponents sum to one.

Prerequisites: The Frobenius method, Euler-Cauchy equations

Definition(Classification of a finite point)AdaptedAdapted from Arfken, Weber & Harris (2013), §7.4, p. 344; Riley, Hobson & Bence (2006), §16.1.1, pp. 533-534; Hassani (2013), §15.2, Def. 15.2.2, p. 464

Write the second-order equation in normalised form

y′′+P(x) y′+Q(x) y=0,y'' + P(x)\,y' + Q(x)\,y = 0 ,

and let x0x_0 be a point of the (complex) plane. Then x0x_0 is

  • an ordinary point if PP and QQ are both analytic at x0x_0;
  • a regular singular point if not, but (x−x0)P(x)(x-x_0)P(x) and (x−x0)2Q(x)(x-x_0)^{2}Q(x) are both analytic at x0x_0 — equivalently, if PP has at worst a simple pole and QQ at worst a pole of order 22;
  • an irregular singular point, also called an essential singularity of the equation, otherwise.

Arfken, Weber and Harris (Arfken, Weber & Harris (2013), p. 344) phrase the last case by the rates of divergence: x0x_0 is irregular if PP diverges faster than (x−x0)−1(x-x_0)^{-1}, so that (x−x0)P(x)→∞(x-x_0)P(x) \to \infty, or if QQ diverges faster than (x−x0)−2(x-x_0)^{-2}.

The classification controls what the solutions look like. At an ordinary point both solutions are analytic (Power-series solutions at ordinary points). At a regular singular point they have the form

(x−x0)rσ(x)+(x−x0)sρ(x)log⁡(x−x0)(x-x_0)^{r}\sigma(x) + (x-x_0)^{s}\rho(x)\log(x-x_0)

with σ,ρ\sigma, \rho analytic at x0x_0, and the exponents are the roots of an indicial equation (The Frobenius method). At an irregular singular point no such description holds in general, and the series the method produces may diverge everywhere.

Definition(The point at infinity)AdaptedAdapted from Coddington (1989), Ch. 4, §9, Eq. (9.2) and the criterion, pp. 180-181; Arfken, Weber & Harris (2013), §7.4, Eqs. (7.20)-(7.22), p. 344; Riley, Hobson & Bence (2006), §16.1.1, p. 534

Substitute x=1/tx = 1/t and set v(t)=y(1/t)v(t) = y(1/t). Since dt/dx=−t2dt/dx = -t^{2},

dydx=−t2dvdt,d2ydx2=t4d2vdt2+2t3dvdt,\frac{dy}{dx} = -t^{2}\frac{dv}{dt} , \qquad \frac{d^{2}y}{dx^{2}} = t^{4}\frac{d^{2}v}{dt^{2}} + 2t^{3}\frac{dv}{dt} ,

so the equation becomes the induced equation

t4 v′′+[2t3−t2P(1t)]v′+Q(1t) v=0,t^{4}\,v'' + \Bigl[2t^{3} - t^{2}P\bigl(\tfrac1t\bigr)\Bigr]v' + Q\bigl(\tfrac1t\bigr)\,v = 0 ,

or, in normalised form,

v′′+[2t−P(1/t)t2]v′+Q(1/t)t4 v=0.v'' + \left[\frac{2}{t} - \frac{P(1/t)}{t^{2}}\right]v' + \frac{Q(1/t)}{t^{4}}\,v = 0 .

The point at infinity is called an ordinary point, a regular singular point or an irregular singular point of the original equation according to what t=0t = 0 is for the induced equation. Explicitly, infinity is a regular singular point exactly when

P(x)=∑k≥1akxk,Q(x)=∑k≥2bkxkP(x) = \sum_{k\ge1}\frac{a_k}{x^{k}} , \qquad Q(x) = \sum_{k\ge2}\frac{b_k}{x^{k}}

with both series convergent for ∣x∣>r0|x| > r_0; equivalently, by Coddington (Coddington (1989), Ch. 4, §9, p. 181), exactly when the equation can be written

x2y′′+a(x) x y′+b(x) y=0x^{2}y'' + a(x)\,x\,y' + b(x)\,y = 0

with aa and bb given by convergent power series in 1/x1/x for ∣x∣>r0|x| > r_0. In that case the indicial polynomial at infinity is

I∞(α)  =  α(α−1)+(2−a1) α+b2,I_\infty(\alpha) \;=\; \alpha(\alpha-1) + (2 - a_1)\,\alpha + b_2 ,

and a solution exists of the form

y(x)=x−α(1+∑k≥1Ckxk),y(x) = x^{-\alpha}\left(1 + \sum_{k\ge1}\frac{C_k}{x^{k}}\right) ,

α\alpha a root of I∞I_\infty. Note the sign: an exponent α\alpha at infinity describes a solution decaying (or growing) like x−αx^{-\alpha}.

Definition(Fuchsian equations)AdaptedAdapted from Hassani (2013), §15.3, Def. 15.3.1, p. 470

A homogeneous linear differential equation with single-valued analytic coefficients is a Fuchsian differential equation if all of its singular points in the extended complex plane — the plane together with the point at infinity — are regular singular points.

Because a function whose only singularities in the extended plane are poles is a rational function, the coefficients of a Fuchsian equation are rational. The number and position of its regular singular points, together with the exponents at each, then determine the equation almost completely; that is what makes the class worth naming.

Definition(Fuchsian equations with few singular points)AdaptedAdapted from Hassani (2013), §15.3, Thms 15.3.2 and 15.3.3 with Eq. (15.19), pp. 471-472, and Eq. (15.21), p. 473; Coddington (1989), Ch. 4, §9, pp. 181-182

Let the equation y′′+Py′+Qy=0y'' + P y' + Qy = 0 be Fuchsian.

  1. Two regular singular points. Mapping them to 00 and ∞\infty by ξ=(z−z1)/(z−z2)\xi = (z-z_1)/(z-z_2) forces Φ(ξ)=a1/ξ\Phi(\xi) = a_1/\xi and Θ(ξ)=b2/ξ2\Theta(\xi) = b_2/\xi^{2}, so the equation becomes

    ξ2u′′+a1 ξu′+b2 u=0,\xi^{2}u'' + a_1\,\xi u' + b_2\,u = 0 ,

    an Euler equation, equivalent to one with constant coefficients and therefore producing nothing new. (Coddington (Coddington (1989), p. 181) records the same fact from the other side: the Euler equation has 00 and ∞\infty as its only singular points, both regular.)

  2. Three regular singular points. Mapping them to 00, 11, ∞\infty by a Mobius transformation, the most general such equation is the Riemann differential equation

    w′′+[A1z+B1z−1]w′+[A2z2+B2(z−1)2−A3z(z−1)]w=0,w'' + \left[\frac{A_1}{z} + \frac{B_1}{z-1}\right]w' + \left[\frac{A_2}{z^{2}} + \frac{B_2}{(z-1)^{2}} - \frac{A_3}{z(z-1)}\right]w = 0 ,

    with five constants. Writing the exponent pairs at 00, 11 and ∞\infty as (λ1,λ2)(\lambda_1,\lambda_2), (μ1,μ2)(\mu_1,\mu_2) and (ν1,ν2)(\nu_1,\nu_2), the equation is determined by them,

    w′′+[1−λ1−λ2z+1−μ1−μ2z−1]w′+[λ1λ2z2+μ1μ2(z−1)2+ν1ν2−λ1λ2−μ1μ2z(z−1)]w=0,w'' + \left[\frac{1-\lambda_1-\lambda_2}{z} + \frac{1-\mu_1-\mu_2}{z-1}\right]w' + \left[\frac{\lambda_1\lambda_2}{z^{2}} + \frac{\mu_1\mu_2}{(z-1)^{2}} + \frac{\nu_1\nu_2 - \lambda_1\lambda_2 - \mu_1\mu_2}{z(z-1)}\right]w = 0 ,

    and the six exponents obey the Riemann identity

    λ1+λ2+μ1+μ2+ν1+ν2  =  1.\lambda_1 + \lambda_2 + \mu_1 + \mu_2 + \nu_1 + \nu_2 \;=\; 1 .

    Multiplying ww by zλ(z−1)μz^{\lambda}(z-1)^{\mu} shifts the exponent pairs by (λ,λ)(\lambda,\lambda), (μ,μ)(\mu,\mu) and (−λ−μ,−λ−μ)(-\lambda-\mu,-\lambda-\mu), which normalises three of the six parameters away and brings the equation to the hypergeometric form

    z(1−z) w′′+[γ−(1+α+β)z]w′−αβ w=0,z(1-z)\,w'' + \bigl[\gamma - (1+\alpha+\beta)z\bigr]w' - \alpha\beta\,w = 0 ,

    whose exponent pairs are (0,1−γ)(0, 1-\gamma) at 00, (0,γ−α−β)(0, \gamma-\alpha-\beta) at 11 and (α,β)(\alpha,\beta) at ∞\infty.

Remark(How to use the classification)Original
  • The count of parameters. A Fuchsian equation with three regular singular points has five constants, and three of them can be absorbed; so there is a three-parameter family of genuinely different equations, which is the hypergeometric family (α,β,γ)(\alpha,\beta,\gamma). This is why so many of the classical functions are hypergeometric: there is simply nothing else with three regular singular points.
  • The Riemann identity is a cheap check. Compute the exponents at each singular point independently and add them; if the total is not 11, something is wrong — either the equation is not Fuchsian with exactly those three points, or an indicial equation has been miscomputed. The example below uses it this way.
  • Exponents at infinity carry a sign. A root α\alpha of I∞I_\infty corresponds to a solution behaving like x−αx^{-\alpha} at large ∣x∣|x|. A negative exponent at infinity therefore means a growing solution. Confusion between the two conventions is the commonest error in using this material.
  • Irregular points are not a defect of the method. They are where the interesting asymptotics live. Bessel's equation has a regular singular point at 00 and an irregular one at infinity, and correspondingly its solutions have convergent Frobenius series near 00 but only asymptotic expansions, with the oscillatory factor e±ixe^{\pm ix}, at large xx ((Arfken, Weber & Harris (2013), §7.5, p. 355)). An essential singularity at infinity is exactly what allows exponential behaviour there, which no Fuchsian equation can have.
  • Confluence. Letting two regular singular points merge produces an irregular one: the confluent hypergeometric equation zw′′+(c−z)w′−aw=0zw'' + (c-z)w' - aw = 0 arises from the hypergeometric equation as 11 and ∞\infty coalesce, and it has a regular singular point at 00 and an irregular one at ∞\infty — the entry in (Riley, Hobson & Bence (2006), Table 16.1, p. 535). Bessel's and Laguerre's equations are in the same class, and Hermite's and the oscillator equation have no finite singular point at all and an irregular one at infinity.
Example(Classifying Chebyshev's equation)Original

Take

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

with ν\nu a constant. Normalised, P(x)=−x/(1−x2)P(x) = -x/(1-x^{2}) and Q(x)=ν2/(1−x2)Q(x) = \nu^{2}/(1-x^{2}).

  1. Finite singular points. PP and QQ are analytic except where 1−x2=01-x^{2} = 0, so the only finite singular points are x=±1x = \pm1, and every other point is ordinary.

  2. The point x=1x = 1.

    s(x)=(x−1)P(x)=−x(x−1)(1−x)(1+x)=x1+x,t(x)=(x−1)2Q(x)=−ν2(x−1)1+x,s(x) = (x-1)P(x) = \frac{-x(x-1)}{(1-x)(1+x)} = \frac{x}{1+x} , \qquad t(x) = (x-1)^{2}Q(x) = \frac{-\nu^{2}(x-1)}{1+x} ,

    both analytic at 11, with s0=12s_0 = \tfrac12 and t0=0t_0 = 0. So x=1x = 1 is a regular singular point with indicial polynomial σ(σ−1)+12σ=σ(σ−12)\sigma(\sigma-1) + \tfrac12\sigma = \sigma(\sigma-\tfrac12) and exponents

    (λ1,λ2)=(0,12).(\lambda_1, \lambda_2) = \bigl(0, \tfrac12\bigr) .
  3. The point x=−1x = -1. The same computation with (x+1)(x+1) gives s0=12s_0 = \tfrac12, t0=0t_0 = 0 again, so x=−1x = -1 is a regular singular point with exponents (μ1,μ2)=(0,12)(\mu_1,\mu_2) = (0, \tfrac12). (The symmetry x↦−xx \mapsto -x leaves the equation invariant, which is the quick reason.)

  4. The point at infinity. Expand in powers of 1/x1/x:

    P(x)=xx2−1=1x+1x3+⋯ ,Q(x)=−ν2x2−1=−ν2x2−ν2x4−⋯ ,P(x) = \frac{x}{x^{2}-1} = \frac{1}{x} + \frac{1}{x^{3}} + \cdots , \qquad Q(x) = \frac{-\nu^{2}}{x^{2}-1} = -\frac{\nu^{2}}{x^{2}} - \frac{\nu^{2}}{x^{4}} - \cdots ,

    both of the required shape, so infinity is a regular singular point with a1=1a_1 = 1 and b2=−ν2b_2 = -\nu^{2}. Hence

    I∞(α)=α(α−1)+(2−1)α−ν2=α2−ν2,(ν1,ν2)=(ν,−ν),I_\infty(\alpha) = \alpha(\alpha-1) + (2-1)\alpha - \nu^{2} = \alpha^{2} - \nu^{2} , \qquad (\nu_1,\nu_2) = (\nu, -\nu) ,

    and the two solutions behave like x−νx^{-\nu} and xνx^{\nu} at large ∣x∣|x|.

  5. Fuchsian, with three regular singular points. So Chebyshev's equation is Fuchsian with singular points −1,1,∞-1, 1, \infty, all regular — the entry for it in (Riley, Hobson & Bence (2006), Table 16.1, p. 535) — and by the statement above it is a Riemann equation, hence a disguised hypergeometric equation.

  6. The Riemann identity as a check.

    0+12⏟x=1+0+12⏟x=−1+ν+(−ν)⏟x=∞  =  1,\underbrace{0 + \tfrac12}_{x=1} + \underbrace{0 + \tfrac12}_{x=-1} + \underbrace{\nu + (-\nu)}_{x=\infty} \;=\; 1 ,

    as required, for every ν\nu.

  7. What this predicts, before any series. The exponent 00 at each of x=±1x = \pm1 means one solution is bounded there and (since the exponents differ by 12\tfrac12, not an integer) the other behaves like (1∓x)1/2(1\mp x)^{1/2}: no logarithms. The exponent −ν-\nu at infinity means a solution growing like xνx^{\nu}, so for ν=n\nu = n a non-negative integer one expects a solution that is a polynomial of degree nn — the Chebyshev polynomial TnT_n. For n=2n = 2, T2=2x2−1T_2 = 2x^{2}-1 and indeed (1−x2)⋅4−x⋅4x+4(2x2−1)=4−4x2−4x2+8x2−4=0(1-x^{2})\cdot4 - x\cdot 4x + 4(2x^{2}-1) = 4 - 4x^{2} - 4x^{2} + 8x^{2} - 4 = 0, and T2∼2x2T_2 \sim 2x^{2} at infinity, matching the exponent α=−2\alpha = -2.

Example(Two equations that are not Fuchsian)Original
  1. Hermite's equation y′′−2xy′+2νy=0y'' - 2xy' + 2\nu y = 0 has P=−2xP = -2x and Q=2νQ = 2\nu, both entire: there is no finite singular point at all. At infinity, PP must be a series in 1/x1/x starting at 1/x1/x; instead it grows, and the induced equation has

    2t−P(1/t)t2=2t+2t3,\frac{2}{t} - \frac{P(1/t)}{t^{2}} = \frac{2}{t} + \frac{2}{t^{3}} ,

    whose product with tt is 2+2/t22 + 2/t^{2}, not analytic at 00. So infinity is an irregular singular point, Hermite's equation is not Fuchsian, and nothing prevents its solutions from growing like ex2e^{x^{2}} — which the non-terminating series solutions do, and which is why normalisability quantises ν\nu.

  2. Bessel's equation x2y′′+xy′+(x2−ν2)y=0x^{2}y'' + xy' + (x^{2}-\nu^{2})y = 0 has P=1/xP = 1/x and Q=1−ν2/x2Q = 1 - \nu^{2}/x^{2}. At x=0x = 0: xP=1xP = 1 and x2Q=x2−ν2x^{2}Q = x^{2}-\nu^{2} are analytic, so the origin is a regular singular point with s0=1s_0 = 1, t0=−ν2t_0 = -\nu^{2}, indicial polynomial σ2−ν2\sigma^{2}-\nu^{2} and exponents ±ν\pm\nu. At infinity: QQ must be a series in 1/x1/x starting at 1/x21/x^{2}, but Q→1≠0Q \to 1 \ne 0, so infinity is irregular. Bessel's equation is therefore not Fuchsian, and its large-xx behaviour x−1/2e±ixx^{-1/2}e^{\pm ix} — oscillation, which no power can produce — is exactly what an irregular singular point permits. Compare Arfken's (Arfken, Weber & Harris (2013), Example 7.4.1, pp. 344-345) classification of the same equation and the Bessel row of (Riley, Hobson & Bence (2006), Table 16.1, p. 535).

ApplicationOriginal

A map of the special functions. The table of standard equations in (Riley, Hobson & Bence (2006), Table 16.1, p. 535) is a classification by singular points: hypergeometric, Legendre, associated Legendre and Chebyshev have regular singular points at −1,1,∞-1, 1, \infty (or 0,1,∞0, 1, \infty) and nothing else, and so are all Riemann equations; confluent hypergeometric, Bessel, Laguerre and associated Laguerre have one regular singular point and an irregular one at infinity; Hermite and the oscillator have only the irregular point at infinity. The first group are therefore all the same equation after a change of variable and a factor zλ(z−1)μz^{\lambda}(z-1)^{\mu}, which explains the web of identities relating Legendre, Gegenbauer, Chebyshev and Jacobi functions: they are different normalisations of 2F1{}_2F_1.

Choosing boundary conditions. In a physical problem the admissible solution is usually picked out by its behaviour at a singular point, and the exponents settle the matter without computing anything. The radial Schrodinger equation has exponents ℓ\ell and −ℓ−1-\ell-1 at the origin, so regularity selects rℓr^{\ell}; Legendre's equation has exponents 00 and 00 at x=±1x = \pm1, so one solution is bounded at the poles of the sphere and the other has the logarithm that forces QℓQ_\ell to be discarded; and the exponent at infinity decides whether a solution is normalisable.

Asymptotics and WKB. The exponent at infinity tells you the power-law behaviour of a solution at large distance when infinity is a regular singular point, which is precisely the information needed to match an interior solution onto a multipole expansion. When infinity is irregular the solutions instead behave like eS(x)e^{S(x)} with SS a power of xx, and the leading asymptotics are found by WKB or by the method of dominant balance rather than by series. The classification tells you in advance which of the two situations you are in.

Monodromy and the global theory. For a Fuchsian equation the analytic continuation of a solution around each singular point is a linear substitution, and the group these generate — the monodromy group — is a complete global invariant. This is the beginning of the Riemann-Hilbert problem, and it is why Fuchsian equations, and the hypergeometric equation in particular, recur in conformal field theory, in the theory of Painleve equations and in the study of periods of algebraic varieties.