At a weak minimum of a functional the second variation is nonnegative in every direction, which forces F_{y'y'} >= 0 at every point of the curve (Legendre's condition); the unit also writes the second variation in the form used for sufficient conditions.
An admissible y is a weak minimum of J if there is r>0 with J[y^]≥J[y] for every admissible y^ with ∥y^−y∥1<r. "Weak" means that a competitor must be close to y in both value and slope.
Throughout, Fy′y′ denotes ∂2F/∂z2 evaluated at (x,y(x),y′(x)), and similarly Fyy′ and Fyy. The second variation of J at y in the direction h∈H is
Convention. Gelfand and Fomin define the second variation as the quadratic part of the increment J[y+h]−J[y], which is half of ours, so their coefficients P and Q are half of the ones below. Evans uses the second derivative, as we do.
TheoremAdaptedAdapted from Gelfand & Fomin (1963), Ch. 5, §24 Thm 1, p. 99, and §25, formula (10) and Legendre's theorem, pp. 102–103
Let F have continuous second partial derivatives and let y be admissible.
(Second-order necessary condition.) If y is a weak minimum of J, then δ2J[y;h]≥0 for every h∈H.
(Legendre's condition.) If y is a weak minimum of J, then
Fy′y′(x,y(x),y′(x))≥0for every x∈[a,b].
For a weak maximum the inequality is reversed.
(Integrated form.) If in addition F has continuous third partial derivatives and y∈C2[a,b], then for every h∈Hδ2J[y;h]=∫ab(Ph′2+Qh2)dx,P=Fy′y′,Q=Fyy−dxdFyy′.
Idea of the proofOriginal
Along the straight line ε↦y+εh in function space, J becomes an ordinary function of one variable with a minimum at ε=0, so its second derivative there cannot be negative. For Legendre's condition we pick a direction h concentrated near one point: a bump of height δ and width δ. Its slope stays of size one while the bump itself is of size δ, so the three terms of δ2J scale like δ, δ2 and δ3. The h′2 term wins, and its sign is the sign of Fy′y′ at that point.
φ is twice continuously differentiable. The integrand F(x,y+εh,y′+εh′) has first and second ε-derivatives that are continuous in (x,ε) on [a,b]×[−1,1], because F has continuous second derivatives and y,y′,h,h′ are continuous. So differentiation under the integral sign applies twice, and φ′′(0) is the integral displayed in the definition.
φ has a local minimum at 0. For ∣ε∣<r/∥h∥1 the curve y+εh is admissible (it has the right end values because h(a)=h(b)=0) and lies within r of y in the norm ∥⋅∥1. The weak-minimum hypothesis gives φ(ε)≥φ(0).
Conclusion. A local minimum forces φ′(0)=0. If φ′′(0) were negative, then by Taylor's theorem with the Lagrange remainder, φ(ε)=φ(0)+21φ′′(θε)ε2 for some θ∈(0,1), and continuity of φ′′ would make this smaller than φ(0) for small ε=0. Hence δ2J[y;h]=φ′′(0)≥0.
Part 2. Write P=Fy′y′, R=Fyy′ and S=Fyy along the curve; these are continuous on [a,b]. Let M=max[a,b](∣R∣+∣S∣). Suppose, for a contradiction, that P(x0)<0 for some x0∈[a,b].
A short interval where P is negative. By continuity of P there are β>0, an interior point x1∈(a,b) and δ0>0 with [x1−δ0,x1+δ0]⊂(a,b) and P≤−β on that interval. (If x0 is an endpoint, move slightly inside; P is still negative there.)
A rescaled bump. Let g(s)=(1−s2)2 for ∣s∣≤1 and g(s)=0 otherwise. Then g∈C1(R), because g and g′ both vanish at s=±1. For 0<δ≤δ0 put
hδ(x)=δg(δx−x1),hδ′(x)=g′(δx−x1).
So hδ∈H, with support in [x1−δ,x1+δ].
Size of the three terms. Substitute x=x1+δs, so dx=δds. With G1=∫−11g′(s)2ds=105256 and the constant G2=∫−11(2∣gg′∣+g2)ds,
∫abPhδ′2dx=δ∫−11P(x1+δs)g′(s)2ds≤−βG1δ,
because P≤−β on the support. Since δ≤1 may be assumed, δ3≤δ2 and
∫ab(2Rhδhδ′+Shδ2)dx≤M(2δ2∫∣gg′∣ds+δ3∫g2ds)≤MG2δ2.
Contradiction. Adding, δ2J[y;hδ]≤δ(−βG1+MG2δ), which is negative once δ<βG1/(MG2) (any δ works if M=0). This contradicts Part 1. Hence P≥0 on [a,b]. For a weak maximum, apply this to −J, whose minimum it is.
Part 3. If F has continuous third derivatives and y∈C2, the chain rule makes R(x)=Fyy′(x,y(x),y′(x)) continuously differentiable. Since 2hh′=(h2)′ and h(a)=h(b)=0, integration by parts gives
∫ab2Rhh′dx=[Rh2]ab−∫abR′h2dx=−∫abR′h2dx.
Substituting this into δ2J gives ∫ab(Ph′2+(S−R′)h2)dx, which is the claimed form with Q=S−R′. □
RemarkOriginal
Where the hypotheses are used.
Second derivatives of F continuous: this makes φ twice differentiable (Part 1, step 1) and P continuous, so that a negative value at one point persists on an interval (Part 2, step 1). Part 2 never integrates by parts, so it needs no third derivatives; only Part 3 does.
Weak minimum: used only in Part 1, step 2, for the small multiples εh of one fixed direction. The bumps hδ are not small in ∥⋅∥1, since their slopes stay of size one, but they are never compared with y directly; only εhδ for small ε is.
Fixed endpoints:h(a)=h(b)=0 keeps y+εh admissible and removes the boundary term in Part 3.
Necessary, not sufficient. Even the strict inequality Fy′y′>0 does not make an extremal a minimum. Take J[y]=∫02π(y′2−y2)dx with y(0)=y(2π)=0. Here Fy′y′=2>0 and y≡0 is an extremal, yet h=sin(x/2) gives
Legendre's condition is a statement about single points, so it cannot detect that the interval is too long. That global information is what Jacobi's condition supplies.
ExampleOriginal
A double-well integrand. Let J[y]=∫01(y′2−1)2dx with y(0)=0 and y(1)=21.
The extremal.F=(z2−1)2 depends only on the slope, so the Euler–Lagrange equation says Fz(y′) is constant. The straight line y0(x)=x/2 satisfies it and the boundary conditions, and J[y0]=(41−1)2=169.
Legendre's test.Fzz=12z2−4, which at z=21 equals 3−4=−1<0. So y0 is not a weak minimum. (Legendre's condition holds only for slopes with ∣z∣≥1/3.)
A direct check. Take h=sinπx∈H and put u=επcosπx, so (y0+εh)′=21+u and the integrand is
(u2+u−43)2=u4+2u3−21u2−23u+169.
Over [0,1] the averages of cosπx and cos3πx are 0, that of cos2πx is 21 and that of cos4πx is 83. Therefore
J[y0+εh]=169−4π2ε2+83π4ε4.
The second derivative at ε=0 is −π2/2, which agrees with the formula ∫01Fy′y′h′2dx=−π2∫01cos2πxdx=−π2/2. The perturbed curve beats the line whenever 0<∣ε∣<6/(3π)≈0.2599. For instance ε=0.1 gives J≈0.5625−0.02467+0.00365=0.54148<0.5625.
ApplicationOriginal
Mechanics. For a Lagrangian L=21mq˙2−V(q) one has Lq˙q˙=m>0. So the action can never have a maximum at a nontrivial motion: Legendre's condition for a maximum fails at every point. A true path is either a minimum or a saddle of the action, and which one it is depends on the length of the time interval (see conjugate points).
Materials and phase transitions. Energies like the double well (y′2−1)2 model materials with two preferred strains, as in martensitic transformations. Where the imposed average strain lies in the region in which Legendre's condition fails, the material lowers its energy by forming fine mixtures of the two preferred strains (microstructure) instead of deforming uniformly. In several variables the same test becomes the Legendre–Hadamard (strong ellipticity) condition of elasticity; the scalar case is derived in Evans (Evans (2010), §8.1.3, p. 432).
Along an extremal with F_{y'y'} > 0, the second variation is positive definite exactly when the Jacobi equation has no conjugate point, which gives Jacobi's necessary condition and a set of sufficient conditions for a weak minimum.
DefinitionAdaptedAdapted from Gelfand & Fomin (1963), Ch. 5, §26, p. 106, and §27, Defs 1–2, p. 112
Let J[y]=∫abF(x,y,y′)dx with y(a)=A, y(b)=B, where F has continuous third partial derivatives, and let y∈C2[a,b] be an extremal. As in the second variation, put
P=Fy′y′,Q=Fyy−dxdFyy′
along y, so that δ2J[y;h]=I[h] for h∈H={h∈C1[a,b]:h(a)=h(b)=0}, where
I[h]=∫ab(Ph′2+Qh2)dx,I[g,k]=∫ab(Pg′k′+Qgk)dx.
The same two integrals make sense, and define a symmetric bilinear form I[g,k] with I[h]=I[h,h], for all continuous, piecewise C1 functions on [a,b], since their derivatives are bounded with finitely many jumps. The proof of Part 2 uses I on such functions.
Assume the strengthened Legendre conditionP>0 on [a,b].
The Jacobi equation of J along y is the Euler–Lagrange equation of I:
−(Pu′)′+Qu=0.
We read it as the first-order linear system u′=v/P, v′=Qu for the pair (u,v)=(u,Pu′). Its coefficients are continuous because P>0, so by the theory of linear equations each initial value (u(x0),v(x0)) has exactly one solution on all of [a,b], and u and Pu′ are C1. Let ua be the solution with ua(a)=0 and ua′(a)=1.
A point c∈(a,b] is conjugate to a if ua(c)=0. Equivalently, some solution that is not identically zero vanishes at both a and c, since every solution vanishing at a is a multiple of ua.
TheoremAdaptedAdapted from Gelfand & Fomin (1963), Ch. 5, §26 Thms 1–3, pp. 106–111, §27 (Jacobi's necessary condition), p. 112, and §28 (Theorem), p. 116
Let P,Q be continuous on [a,b] with P>0.
(Strong positivity.) If no point of (a,b] is conjugate to a, there is α>0 with
I[h]≥α2∫abh′2dxfor all h∈H.
(Loss of positivity.) If b is conjugate to a, then I[ua]=0 with ua∈H, ua=0. If some c∈(a,b) is conjugate to a, then I[h]<0 for some h∈H.
Together, 1 and 2 say: I[h]>0 for all nonzero h∈Hif and only if no point of (a,b] is conjugate to a.
(Jacobi's necessary condition.) If the extremal y is a weak minimum of J and P>0 on [a,b], then no point of the open interval (a,b) is conjugate to a.
(Sufficient conditions for a weak minimum.) If y∈C2[a,b] is an extremal, P>0 on [a,b] and no point of (a,b] is conjugate to a, then y is a strict weak minimum: there is r>0 such that J[y+h]>J[y] for every nonzero h∈H with ∥h∥1<r.
Idea of the proofOriginal
The sign of I is settled by completing the square, an idea due to Legendre. If the Jacobi equation has a solution u that stays positive on all of [a,b], the integrand Ph′2+Qh2 equals P(h′−hu′/u)2 plus an exact derivative, so I≥0, with equality only for h=0. Such a u exists precisely when ua does not vanish again, which is the no-conjugate-point condition. Conversely, if ua returns to zero at an interior point c, then ua cut off at c gives I=0 but has a corner at c. Because of the corner, a small perturbation near c makes I negative, and rounding off the corner afterwards keeps it negative. For sufficiency, a second variation bounded below by α2∫h′2 dominates the Taylor remainder of J for nearby curves.
Proof(Part 1: strong positivity)AdaptedAdapted from Gelfand & Fomin (1963), Ch. 5, §26 Thm 1 and footnote 9, pp. 106–108, and §28, pp. 116–117
Picone's identity. Let P~ be continuous and positive, and let u be a solution of −(P~u′)′+Qu=0 (in the system sense) with u>0 on [a,b]. For h∈H, expanding the derivative and using (P~u′)′=Qu,
(uP~u′h2)′=Qh2+u2P~u′hh′−u2P~u′2h2,soP~h′2+Qh2=P~(h′−uu′h)2+(uP~u′h2)′.
Integrating over [a,b], the exact derivative contributes nothing because h(a)=h(b)=0. Hence ∫ab(P~h′2+Qh2)dx=∫abP~(h′−hu′/u)2dx≥0.
A positive solution of the Jacobi equation. Assume no point of (a,b] is conjugate to a. Then ua>0 on (a,b]: it is positive just to the right of a because ua′(a)=1, and by the intermediate value theorem it cannot become negative without a zero. Let u1 be the solution with u1(a)=1, (Pu1′)(a)=0. By continuity choose η>0 with ua′≥21 and u1≥21 on [a,a+η]. Put m=min[a+η,b]ua>0, K=max[a,b]∣u1∣≥1 and ϵ=m/(2K). Then u=ua+ϵu1 is positive on all of [a,b]: on [a,a+η] because ua≥0 and ϵu1≥ϵ/2, and on [a+η,b] because u≥m−ϵK=m/2.
Perturbing P. For 0≤α2≤21minP, let u(α) be the solution of −((P−α2)w′)′+Qw=0 with the same initial data as u at a: w(a)=ϵ, ((P−α2)w′)(a)=P(a). In system form the coefficients 1/(P−α2) and Q depend continuously on (x,α). By continuous dependence on parameters, u(α)→u(0)=u uniformly on [a,b] as α→0. Since minu>0, there is α>0 with u(α)>0 on [a,b].
Conclusion. Step 1 with P~=P−α2>0 and the solution u(α) gives ∫ab((P−α2)h′2+Qh2)dx≥0, that is, I[h]≥α2∫abh′2dx. □
Proof(Part 2: loss of positivity)AdaptedAdapted from do Carmo (2016), §5-9, Lemma 2 and Thm 2, pp. 427–429
The Jacobi solution has zero energy between its zeros. Let c∈(a,b] be conjugate to a. Since Pua′ is C1, integration by parts on [a,c] gives
∫ac(Pua′2+Qua2)dx=[Pua′ua]ac+∫acua(−(Pua′)′+Qua)dx=0,
because ua(a)=ua(c)=0 and ua solves the Jacobi equation. If c=b, then ua∈H, ua=0 and I[ua]=0.
Cutting off at an interior conjugate point. Now let c∈(a,b). Define h^=ua on [a,c] and h^=0 on [c,b]. It is continuous and C1 on each piece, and I[h^]=0 by step 1. Moreover ua′(c)=0: otherwise (ua,Pua′) would vanish at c, and uniqueness for the system would force ua≡0. So h^ has a genuine corner at c.
Pushing below zero. Take w∈H with w(c)=1, for instance a C1 bump supported in (a,b). Integrating by parts on [a,c] exactly as in step 1,
I[h^,w]=∫ac(Pua′w′+Quaw)dx=[Pua′w]ac=P(c)ua′(c)=0.
For real t, bilinearity gives I[h^−tw]=−2tP(c)ua′(c)+t2I[w]. Choosing t small, with the sign of P(c)ua′(c), makes this negative. The function g=h^−tw vanishes at a and b and is C1 except at c.
Rounding the corner (smoothing lemma). Let g be continuous on [a,b], C1 on [a,c] and on [c,b], with g(a)=g(b)=0, and let G=sup∣g′∣. For small δ>0 let kδ=g′ outside (c−δ,c+δ) and let kδ be linear on that interval, joining g′(c−δ) to g′(c+δ). Then kδ is continuous, ∣kδ∣≤G, and kδ differs from g′ only on a set of length 2δ, so ∫ab∣kδ−g′∣dx≤4Gδ. Put
gδ(x)=∫axkδdt−b−ax−a∫abkδdt.
Then gδ∈H. Since ∫abg′dx=g(b)−g(a)=0, the correction term is at most 4Gδ in size, so gδ→g uniformly and ∫ab(gδ′−g′)2dx→0 as δ→0. Because P and Q are bounded, the Cauchy–Schwarz inequality applied to I[g]−I[gδ]=I[g−gδ,g+gδ] shows I[gδ]→I[g]<0. So I[gδ]<0 for small δ, with gδ∈H. □
Proof(Parts 3 and 4: Jacobi's condition and sufficiency)AdaptedAdapted from Gelfand & Fomin (1963), Ch. 5, §27, p. 112, and §28, pp. 116–117
Part 3. If y is a weak minimum, the second-order necessary condition gives I[h]=δ2J[y;h]≥0 for every h∈H. A point of (a,b) conjugate to a would produce h∈H with I[h]<0 by Part 2. So there is none.
Part 4. Let α be as in Part 1, and fix a nonzero h∈H with ∥h∥1≤ρ≤1, where ρ is chosen below. Put φ(t)=J[y+th].
Taylor expansion. As in the second-variation unit, φ is C2 (we may differentiate under the integral twice), with φ′′(t) given by the second-variation integral at the curve y+th. Taylor's formula with integral remainder gives
J[y+h]−J[y]=φ′(0)+∫01(1−t)φ′′(t)dt=21I[h]+∫01(1−t)(φ′′(t)−φ′′(0))dt.
Here φ′(0)=0 because y is an extremal, and φ′′(0)=I[h].
Controlling the remainder. The second derivatives Fyy,Fyy′,Fy′y′ are uniformly continuous on the compact set {(x,y(x)+s,y′(x)+σ):x∈[a,b],∣s∣,∣σ∣≤1}. Let ω(ρ) be the largest change of any of them when ∣s∣,∣σ∣≤ρ; then ω(ρ)→0 as ρ→0. For t∈[0,1], ∣φ′′(t)−φ′′(0)∣≤ω(ρ)∫ab(h2+2∣hh′∣+h′2)dx≤2ω(ρ)∫ab(h2+h′2)dx.
A Poincaré inequality. Since h(a)=0, Cauchy–Schwarz gives h(x)2=(∫axh′)2≤(x−a)∫abh′2, and integrating, ∫abh2≤21(b−a)2∫abh′2. With C=1+21(b−a)2 and ∫01(1−t)dt=21, steps 1 and 2 and Part 1 give
J[y+h]−J[y]≥(2α2−Cω(ρ))∫abh′2dx.
Conclusion. Choose ρ≤1 with Cω(ρ)<α2/2. A nonzero h∈H has ∫h′2>0 (otherwise h would be constant, hence 0), so J[y+h]>J[y] whenever 0<∥h∥1<ρ. □
RemarkOriginal
Where the hypotheses are used.
P>0 on the closed interval. It turns the Jacobi equation into a regular linear system, so that ua exists and has isolated zeros with ua′=0 there (Part 2, step 2). It also makes the square in Picone's identity nonnegative, and it leaves room to subtract α2 (Part 1, step 3). Where P vanishes the Jacobi equation is singular, and conjugate points need a separate analysis.
The endpoint b. Sufficiency asks that b itself not be conjugate; necessity only excludes the open interval. The gap is real. For J[y]=∫0π(y′2−y2)dx with y(0)=y(π)=0, the Jacobi equation is −2u′′−2u=0, so ua=sinx and b=π is conjugate. Here y≡0 is a minimum, because J[h]=21I[h]=∫0π(h′2−h2)dx≥0 for h∈H. To see this, apply Picone's identity (Part 1, step 1) with P~=1 and u=sinx on [ε,π−ε]: the integral there is ∫(h′−hcotx)2dx≥0 plus the boundary values of h2cotx, and these tend to 0 as ε→0 because ∣h(x)∣≤max∣h′∣⋅min(x,π−x). (This is the statement that the lowest Dirichlet eigenvalue of −u′′ on [0,π] is 1; see the variational characterization of eigenvalues.) The minimum is not a strict one: J[εsinx]=0=J[0]. On a longer interval [0,ℓ] with ℓ>π, the conjugate point π is interior, and indeed J[sin(πx/ℓ)]=2ℓ(π2/ℓ2−1)<0.
Extremal. Used only to remove φ′(0) in Part 4.
Weak, not strong. Part 4 compares y only with curves whose slopes are close to y′. A minimum against all curves close in value alone (a strong minimum) needs further conditions, such as Weierstrass's condition, which this unit does not treat.
Conjugate points and neighbouring extremals. Suppose y(x;s) is a smooth family of extremals through the point (a,A), with y(x;0)=y(x). Differentiating the Euler–Lagrange equation in s at s=0 shows that ∂sy(x;0) solves the Jacobi equation and vanishes at a. So a conjugate point is where extremals leaving (a,A) with slightly different slopes come back, to first order, to meet y(Gelfand & Fomin (1963), §27, pp. 112–115). A point c is conjugate to a exactly when 0 is an eigenvalue of the Sturm–Liouville problem−(Pu′)′+Qu=μu on [a,c] with u(a)=u(c)=0.
ExampleOriginal
When does a catenary minimize? Take F=y1+y′2. Up to a factor 2π, J is then the area of the surface swept out by rotating the curve about the x-axis (a soap film between two coaxial rings). Consider the arc of y=coshx starting at a=−1.
Extremal.Fy=1+y′2=coshx and Fy′=yy′/1+y′2=sinhx, whose derivative is coshx=Fy. So y=coshx satisfies the Euler–Lagrange equation.
So the Jacobi equation is (h′/cosh2x)′+h/cosh2x=0.
Two solutions from two families of catenaries. Translating, cosh(x−d), and rescaling, scosh(x/s), give families of extremals. Their d- and s-derivatives at d=0, s=1 suggest h1=sinhx and h2=coshx−xsinhx. Direct substitution confirms both. For h1: h1′/cosh2x=1/coshx, whose derivative −tanhx/coshx cancels h1/cosh2x=tanhx/coshx. For h2: h2′=−xcoshx, and (−x/coshx)′=−1/coshx+xtanhx/coshx cancels h2/cosh2x=1/coshx−xtanhx/coshx. Their Wronskian is h1h2′−h1′h2=−cosh2x=0, so they are independent.
The conjugate point. The solution with u(a)=0, u′(a)=1 is
ua(x)=cosh2ah1(x)h2(a)−h2(x)h1(a),
since the numerator has derivative cosh2a at x=a. For a<0 we have ua(0)=−sinha/cosh2a>0. For x=0, dividing by sinhasinhx shows that ua(x)=0 exactly when
cothx−x=cotha−a.
The function cotht−t has derivative −1/sinh2t−1<0, so it is strictly decreasing on (−∞,0) and on (0,∞). On (a,0) it stays below its value at a, so there is no zero there. On (0,∞) it falls from +∞ to −∞, so there is exactly one zero. For a=−1, coth(−1)+1≈−0.313035, and solving numerically gives the conjugate point c≈1.433605.
Verdict. Write c=1.433605… for the conjugate point found above. By Part 4, the arc of coshx over [−1,b] is a strict weak minimum of the area when b<c. By Part 3, it is not even a weak minimum when b>c. As a check, the tangent to coshx at t meets the x-axis at t−cotht. This is 0.313035 both for t=−1 and for t=c, so the tangents at a point and at its conjugate point meet on the axis, a classical property of the catenary.
ApplicationOriginal
Least action is only stationary action. For a harmonic oscillator, L=21m(q˙2−ω2q2), the Jacobi equation is the equation of motion itself, and ua=sin(ω(t−a))/ω. The first conjugate time is half a period, π/ω. A true motion minimizes the action over a time interval shorter than π/ω but is a saddle over a longer one.
Geodesics. On a sphere the point conjugate to M along a great circle is the antipode of M(Gelfand & Fomin (1963), §27, p. 115), so a great-circle arc longer than a half-circle is not even a local minimum of length. In optics and gravitational lensing, conjugate points are the foci and caustics where neighbouring rays cross.
Counting instabilities. For an extremal with P>0, the number of points conjugate to a in (a,b) equals the number of negative eigenvalues of the second variation (Morse index theorem, stated here without proof). Engineers use this to count unstable buckling modes, and physicists to count unstable fluctuation modes about a classical solution.
Variational eigenvalue problems and direct methods
The eigenvalues of a regular Sturm-Liouville problem are the successive minima of the Rayleigh quotient, and each one is also a min-max over subspaces, which gives upper bounds and comparison theorems without solving the equation.
DefinitionAdaptedAdapted from Strauss (2008), §11.1, p. 300, and §11.4, p. 314
Consider the regular Sturm–Liouville problem with Dirichlet conditions
−(pu′)′+qu=λwuon [a,b],u(a)=u(b)=0,
where p∈C1[a,b], q,w∈C[a,b], and p>0, w>0 on [a,b]. Write (u,v)w=∫abwuvdx and ∥u∥w2=(u,u)w. By Sturm–Liouville theory and the expansion theorem, the eigenvalues are real and simple and form a sequence λ1<λ2<⋯→∞. Their eigenfunctions φn can be chosen real, in C2, with (φm,φn)w=δmn, and complete: every continuous u satisfies Parseval's identity ∑n(u,φn)w2=∥u∥w2.
A trial function is a continuous, piecewise C1 function u on [a,b] with u(a)=u(b)=0 and u≡0. Let A be the set of trial functions together with 0; it is a vector space. The energy and the Rayleigh quotient are
D[u,v]=∫ab(pu′v′+quv)dx,D[u]=D[u,u],R[u]=∥u∥w2D[u].TheoremAdaptedAdapted from Strauss (2008), §11.1 Thms 1–2, pp. 301–303, and §11.2 Thm 1 (minimax principle), pp. 307–308
Under the hypotheses above:
(Ground state.)R[u]≥λ1 for every trial function u, with equality exactly when u is a multiple of φ1. So λ1=minR.
(Higher eigenvalues.) If u is a trial function with (u,φk)w=0 for k=1,…,n−1, then R[u]≥λn, with equality exactly when u is a multiple of φn.
(Courant–Fischer min-max.) For each n,
λn=V⊂AdimV=nminu∈V∖{0}maxR[u],
and the minimum is attained at V=span{φ1,…,φn}. Equivalently, λn is the largest value, over all choices of n−1 continuous functions v1,…,vn−1 on [a,b], of the infimum of R over trial functions w-orthogonal to all vk. The largest value is attained at vk=φk, where the infimum is a minimum (this form is stated here without proof).
Minimizing the energy D[u] subject to ∥u∥w2=1 is an isoperimetric problem. Its Euler–Lagrange equation with multiplier λ is exactly −(pu′)′+qu=λwu, and multiplying by u and integrating shows that the minimum value equals the multiplier. So a minimizer, if one exists, is an eigenfunction, and the minimum is an eigenvalue. To avoid the question of existence, the proof goes the other way. We expand an arbitrary trial function in eigenfunctions, with coefficients cn. Then the energy is at least ∑λncn2 while the norm is ∑cn2, so the quotient is at least a weighted average of the eigenvalues, and hence at least the smallest one.
ProofAdaptedAdapted from Strauss (2008), §11.3, proof of Thm 2, pp. 311–313, and §11.2, proof of Thm 1, p. 308
Energy against an eigenfunction. For u∈A and every n,
D[u,φn]=λn(u,φn)w.
Integrate ∫pu′φn′ by parts on each interval where u is C1. The interior boundary terms cancel because u and pφn′ are continuous, and the end terms vanish because u(a)=u(b)=0. This leaves D[u,φn]=∫abu(−(pφn′)′+qφn)dx=λn∫abwuφndx. In particular D[φm,φn]=λnδmn.
Making the energy nonnegative. Pick κ≥0 with q+κw≥0 on [a,b], possible because w has a positive minimum. Then Dκ[u]=D[u]+κ∥u∥w2=∫(pu′2+(q+κw)u2)dx≥0 for all u∈A, since p>0. Step 1 holds for Dκ with λn+κ in place of λn.
The energy dominates partial sums. For a trial function u let cn=(u,φn)w and uN=∑n≤Ncnφn, which lies in A. Expanding by bilinearity and using step 1 with orthonormality,
0≤Dκ[u−uN]=Dκ[u]−2n≤N∑cn(λn+κ)cn+n≤N∑(λn+κ)cn2=Dκ[u]−n≤N∑(λn+κ)cn2.
Parts 1 and 2. Suppose ck=0 for k<n (no condition when n=1). Since λk≥λn for k≥n, step 3 gives Dκ[u]≥(λn+κ)∑k≤Nck2. Letting N→∞ and using Parseval, Dκ[u]≥(λn+κ)∥u∥w2, that is, R[u]≥λn. The value at φn is D[φn]=λn by step 1, so the bound is attained.
Equality. If R[u]=λn, then splitting off the gap λn+1−λn>0 in step 3 gives
(λn+κ)∥u∥w2≥(λn+κ)k≤N∑ck2+(λn+1−λn)n<k≤N∑ck2.
As N→∞ the first sum tends to ∥u∥w2, so ck=0 for all k>n. By Parseval ∥u−cnφn∥w2=∑k=nck2=0. Since w>0 and both functions are continuous, u=cnφn. Simplicity of the eigenvalues, which makes the gap positive, is used here.
Part 3, lower bound. Let V⊂A have dimension n. The n−1 linear conditions (u,φk)w=0, k<n, on the n-dimensional space V have a nonzero solution u, and Part 2 gives maxVR≥R[u]≥λn. The maximum exists: since w>0 and the elements of V are continuous, ∥⋅∥w is a norm on V, and R is unchanged by scaling, so it suffices to maximize the continuous function D on the unit sphere of V, which is compact because V is finite-dimensional.
Part 3, attainment. For u=∑k≤ndkφk=0, step 1 gives D[u]=∑k≤nλkdk2 and ∥u∥w2=∑k≤ndk2. So R[u]≤λn, with equality at u=φn. Hence maxVR=λn for V=span{φ1,…,φn}. □
RemarkOriginal
Where the hypotheses are used.
Boundary conditions. They kill the end terms in step 1. If a trial function violates them, the bound fails. For −u′′=λu on [0,π] with u(0)=u(π)=0 we have λ1=1, but the constant u=1, which is not a trial function, gives R=0.
Completeness (Parseval) turns the partial-sum inequality of step 3 into a statement about u itself (steps 4–5). Without it, a trial function with a component outside the span of the eigenfunctions would escape the argument.
p>0 and w>0:p>0 makes Dκ nonnegative (step 2), and w>0 makes (⋅,⋅)w an inner product, so that zero norm forces zero function (step 5). They also underlie the regular Sturm–Liouville theory quoted in the definition.
Simplicity of the eigenvalues is used only for the equality cases.
Other boundary conditions. For a Robin condition pu′=σu at b (with σ a constant), the Rayleigh quotient acquires the boundary term −σu(b)2 in D, and trial functions need not satisfy any condition at b. For the Neumann condition u′(b)=0, trial functions are simply free at b: the condition is a natural boundary condition, produced by the minimization itself (Strauss (2008), §11.3 Thm 1, p. 310, and §11.4, p. 315).
Comparison. Since every λn is a min-max of R, a change that does not lower R[u] for any trial function does not lower any eigenvalue. This applies to increasing p or q, and to shrinking the interval (a trial function on a subinterval, extended by zero, is a trial function on the larger one). Decreasing w raises R[u] only when D[u]>0. So it does not lower any eigenvalue when q≥0, because then D[u]≥∫abpu′2dx>0 for every trial function (u′≡0, since u vanishes at a and is not identically zero). Without q≥0 this fails: −u′′−100u=λwu on [0,π] with Dirichlet conditions has eigenfunctions sinnx, with λ1=−99 for w=1 but λ1=−198 for w=21. The min-max gives only non-strict inequalities in all these comparisons.
ExampleOriginal
A string with linearly increasing density. Take −u′′=λ(1+x)u on [0,1] with u(0)=u(1)=0, so p=1, q=0 and w=1+x.
Two-sided bounds from min-max. For every trial function, ∫u2≤∫(1+x)u2≤2∫u2, so
21R1[u]≤R[u]≤R1[u],
where R1 is the quotient for −u′′=λu, whose eigenvalues are n2π2. Taking the min-max of each side gives
21n2π2≤λn≤n2π2,so4.935≤λ1≤9.870.
A sharper upper bound from one trial function. With u=sinπx: ∫01u′2dx=π2/2, and since ∫01xsin2πxdx=41, the weighted norm is ∫01(1+x)sin2πxdx=21+41=43. Hence
λ1≤R[sinπx]=3/4π2/2=32π2≈6.5797.
The exact value is λ1≈6.5484 (found by shooting: integrate from x=0 with u(0)=0, u′(0)=1 and adjust λ until u(1)=0). The bound is 0.5% high.
A warning about higher eigenvalues. The same computation with sin2πx gives R=(2π2)/(3/4)=8π2/3≈26.319, while λ2≈26.465. The quotient is belowλ2. There is no contradiction: sin2πx is not w-orthogonal to φ1, so Part 2 does not apply, and Part 1 only guarantees 26.319≥λ1. Upper bounds for λ2 need a two-dimensional space of trial functions, as in the Rayleigh–Ritz method.
ApplicationOriginal
Vibrations. For a string or a membrane the eigenvalues are squared frequencies, ωn2=λn (up to the tension). Part 1 is Rayleigh's principle: the squared fundamental frequency ω12 is the minimum, over admissible shapes, of the ratio of potential energy to mass-weighted kinetic energy. When q≥0 (for instance a string on an elastic foundation), comparison says that stiffening a structure does not lower any frequency, and adding mass does not raise any.
Quantum mechanics. For H=−2mℏ2dx2d2+V(x) in a box, Part 1 states that the ground-state energy is the minimum of (ψ,Hψ)/(ψ,ψ). Any normalized guess bounds it from above. Part 3 extends this to excited states without knowledge of the lower eigenfunctions.
Heat flow and diffusion. The slowest decay rate of a solution of wut=(pux)x−qu with fixed ends is λ1. Min-max bounds on λ1 therefore bound the time a rod, or a diffusing population, takes to relax.
Restricting the Rayleigh quotient to the span of N trial functions turns a Sturm-Liouville eigenvalue problem into a small matrix problem K c = Lambda M c whose eigenvalues are guaranteed upper bounds for the first N eigenvalues and decrease to them as the trial space grows.
DefinitionAdaptedAdapted from Strauss (2008), §11.2, pp. 305–307
Use the setting of the variational characterization: the problem −(pu′)′+qu=λwu on [a,b] with u(a)=u(b)=0, the energy D[u,v]=∫ab(pu′v′+quv)dx, the weighted inner product (u,v)w, the space A of continuous, piecewise C1 functions vanishing at both ends, and eigenvalues λ1<λ2<⋯.
Choose N linearly independent trial functionsψ1,…,ψN∈A and let VN be their span. The Ritz matrices are the N×N symmetric matrices
M is the Gram matrix of independent functions in the inner product (⋅,⋅)w, hence positive definite. For u=∑iciψi,
R[u]=cTMccTKc.
The Ritz valuesΛ1(N)≤⋯≤ΛN(N) are the roots of det(K−ΛM)=0, that is, the eigenvalues of the pencil Kc=ΛMc. If c(k) is an eigenvector for Λk(N), then ∑ici(k)ψi is the k-th Ritz function.
(Upper bounds.)λk≤Λk(N) for k=1,…,N. In particular Λ1(N)=minVN∖{0}R is an upper bound for λ1, with equality exactly when φ1∈VN.
(Monotonicity.) If VN⊂VN+1, then Λk(N+1)≤Λk(N) for k≤N.
(Convergence, statement.) Let ψ1,ψ2,… be an infinite sequence in A that is complete in energy: for every u∈A and every ϵ>0 there are N and g∈VN with ∫ab((u′−g′)2+(u−g)2)dx<ϵ. Then Λk(N)↓λk as N→∞, for each fixed k.
Idea of the proofOriginal
A Ritz value is a min-max of the Rayleigh quotient taken over subspaces of VN only. The true eigenvalue is the same min-max over subspaces of all of A. Minimizing over fewer subspaces can only give a larger answer, so every Ritz value lies above the eigenvalue it approximates. Enlarging VN lets the min-max see more subspaces and pushes the Ritz values down. If the trial spaces eventually approximate everything, they approximate the true eigenfunctions, and the Ritz values close in.
The pencil. Since K is symmetric and M is symmetric positive definite, the generalized eigenvalue problemKc=ΛMc has real eigenvalues Λ1(N)≤⋯≤ΛN(N) and eigenvectors e1,…,eN with eiTMej=δij.
Part 1. Fix k≤N and let Wk be the set of functions ∑iciψi with c∈span{e1,…,ek}. Because the ψi are independent, Wk is a k-dimensional subspace of A. Writing c=∑j≤kdjej gives cTKc=∑j≤kΛj(N)dj2 and cTMc=∑j≤kdj2, so maxWkR=Λk(N). The min-max characterization (Part 3 of the variational-characterization unit) gives λk≤maxWkR=Λk(N). For k=1, the case of equality is the equality case of R≥λ1: the minimum over VN equals λ1 exactly when some multiple of φ1 lies in VN.
Part 2. The proof of the min-max formula, repeated word for word for the pencil, shows Λk(N)=minmaxWR over k-dimensional subspaces W⊂VN. Every such W is also a subspace of VN+1, so the minimum over subspaces of VN+1 is no larger.
Part 3 for k=1. By Part 2, Λ1(N) decreases, and it is bounded below by λ1. Since p,q,w are bounded and ∥φ1∥w=1, the numerator and denominator of R depend continuously on u with respect to ∫((u′)2+u2), so R is continuous at φ1 in that sense. Given ϵ>0, completeness in energy gives g∈VN so close to φ1 that R[g]<λ1+ϵ. Then λ1≤Λ1(N′)≤R[g]<λ1+ϵ for all N′≥N. The case k≥2 uses the same idea with k-dimensional subspaces close to span{φ1,…,φk}, and we only state it. □
Write the problem in Sturm–Liouville form. Identify p, q, w and the boundary conditions, and write down D and R. For Robin or Neumann conditions, use the modified quotient described in the variational-characterization unit.
Choose trial functions. They must satisfy the Dirichlet (essential) conditions; Neumann and Robin conditions are natural and need not be imposed. Use independent functions shaped like the modes you expect. Polynomials times a factor that vanishes at the ends, sines, or piecewise-linear "hat" functions are standard. Prefer nearly orthogonal families: raw monomials make M badly conditioned when N is large.
AssembleKij=D[ψi,ψj] and Mij=(ψi,ψj)w, exactly or by accurate quadrature.
SolveKc=ΛMc, for example with a symmetric generalized eigensolver (scipy.linalg.eigh(K, M)), or by hand from det(K−ΛM)=0 when N≤2.
Read off the bounds λk≤Λk(N) and the Ritz functions ∑ici(k)ψi as approximate eigenfunctions.
Refine. Add trial functions so that the spaces are nested, and watch Λk(N) decrease. Stop when successive values agree to the accuracy you need. The method gives only upper bounds; a lower bound needs a different argument, such as comparison through the min-max principle.
Why few trial functions give good eigenvalues. Write a trial function as u=φ1+e with (e,φ1)w=0. By step 1 of the variational-characterization proof, D[φ1,e]=λ1(φ1,e)w=0. Hence D[u]=λ1+D[e] and ∥u∥w2=1+∥e∥w2, and exactly
R[u]−λ1=1+∥e∥w2D[e]−λ1∥e∥w2.
The numerator is nonnegative by the variational characterization, since e is orthogonal to φ1. The error in the eigenvalue is quadratic in the error e of the eigenfunction. For example, if ∥e∥w=0.1, the eigenvalue error is 0.01(R[e]−λ1)/1.01, about one hundredth of the gap between R[e] and λ1. The Ritz functions themselves converge more slowly than the Ritz values.
ExampleOriginal
Variable stiffness. Estimate the first two eigenvalues of
−((1+x)u′)′=λuon [0,1],u(0)=u(1)=0,
so p=1+x, q=0, w=1. Take ψ1=x(1−x) and ψ2=x2(1−x), which vanish at both ends, so ψ1′=1−2x and ψ2′=2x−3x2.
One trial function.K11=∫01(1+x)(1−2x)2dx=31+61=21 and M11=∫01x2(1−x)2dx=301. So λ1≤Λ1(1)=15.
Two trial functions. The remaining integrals are polynomial:
Exact values. With t=1+x the equation becomes (tut)t+λu=0, solved by J0(2λt) and Y0(2λt). The boundary conditions at t=1 and t=2 give the eigenvalue condition
J0(2λ)Y0(22λ)−J0(22λ)Y0(2λ)=0,
whose first two roots are λ1≈14.33767 and λ2≈57.48028. Adding x3(1−x) and x4(1−x) to the basis, computed the same way, gives the table below.
N
Λ1(N)
Λ2(N)
1
15
—
2
14.4236
63.5764
3
14.3467
59.7992
4
14.33773
57.7910
exact
14.33767
57.48028
Every entry lies above the exact value and decreases with N, as Parts 1 and 2 require. The lowest Ritz value is already within 0.6% at N=2, while the second is 10.6% high. This is typical: with a fixed basis, the higher Ritz values are less accurate.
ApplicationOriginal
Quantum chemistry. Expanding a wavefunction in a finite basis of atomic orbitals and diagonalizing the Hamiltonian matrix is the Rayleigh–Ritz method with M the overlap matrix. Part 1 guarantees that each computed level lies above the true one (the Hylleraas–Undheim–MacDonald theorem for excited states), so a larger basis can only improve the energies.
Structural dynamics and buckling. Engineers estimate natural frequencies and critical buckling loads of beams, plates and frames from a few assumed mode shapes. The guaranteed upper bound on a frequency means the estimate errs on a known side.
Finite elements. With piecewise-linear hat functions as trial functions, the Ritz matrices become the sparse stiffness and mass matrices of the finite element method. The upper-bound and convergence statements of this unit then apply to finite-element eigenvalues computed on nested meshes.