Unit 11, lesson 63

Eigenvalues and Eigenfunctions

How boundary conditions select the eigenvalues and eigenfunctions of an interval problem, how Dirichlet, Neumann, Robin and periodic conditions change them, when a zero mode appears, and how eigenfunctions are normalized.

  • Video 63
  • Solvability and Eigenfunctions

The problem y′′+y=fy'' + y = f on [0,π][0, \pi] with zero end values is resonant, because the homogeneous problem has the nonzero solution sin⁡x\sin x. Now put a parameter into the equation and turn the question around. For which values of λ\lambda does −y′′=λy-y'' = \lambda y, with y′=dy/dxy' = dy/dx and given homogeneous boundary conditions, have a solution other than zero? This lesson finds those values for the four standard kinds of endpoint conditions, shows when the value 00 is among them, and explains how to fix the free scale of the solutions.

Key terms

Eigenvalue problem

Definition Let y′=dy/dxy' = dy/dx and let λ\lambda be a real parameter. An eigenvalue problem on an interval [a,b][a, b] consists of the equation

−y′′=λy,a≤x≤b,-y'' = \lambda y, \qquad a \le x \le b,

together with two homogeneous linear boundary conditions. The zero function always solves it. A number λ\lambda is an eigenvalue if the problem has a solution yy that is not identically zero, and such a solution is an eigenfunction for λ\lambda. For an eigenvalue λ\lambda, the eigenfunctions together with the zero function form the eigenspace EλE_\lambda, a vector space of dimension 11 or 22. Equivalently, λ\lambda is an eigenvalue exactly when the boundary-value problem y′′+λy=fy'' + \lambda y = f with the same conditions is resonant. The minus sign in front of y′′y'' is a convention that makes the eigenvalues of the most common problems nonnegative.

In plain words Without boundary conditions every value of λ\lambda has nonzero solutions. The endpoint conditions are what make most values fail, and the eigenvalues are the special values whose solutions fit both ends.

Example On [0,π][0, \pi] with y(0)=y(π)=0y(0) = y(\pi) = 0, the value λ=4\lambda = 4 is an eigenvalue with eigenfunction sin⁡2x\sin 2x. Indeed (sin⁡2x)′′=−4sin⁡2x(\sin 2x)'' = -4\sin 2x, so −y′′=4y-y'' = 4y, and sin⁡0=sin⁡2π=0\sin 0 = \sin 2\pi = 0. The value λ=2\lambda = 2 is not an eigenvalue. Every solution of −y′′=2y-y'' = 2y has the form Acos⁡(2 x)+Bsin⁡(2 x)A\cos(\sqrt{2}\,x) + B\sin(\sqrt{2}\,x), the left condition gives A=0A = 0, and the right condition gives Bsin⁡(2 π)=0B\sin(\sqrt{2}\,\pi) = 0. Since 2\sqrt{2} is not an integer, sin⁡(2 π)≠0\sin(\sqrt{2}\,\pi) \ne 0, so B=0B = 0 as well.

Dirichlet boundary conditions

Definition Dirichlet boundary conditions prescribe the values of yy at the endpoints. In an eigenvalue problem they are homogeneous, y(a)=0y(a) = 0 and y(b)=0y(b) = 0. For

−y′′=λy,y(0)=y(π)=0,\begin{gathered} -y'' = \lambda y, \\[0.4em] y(0) = y(\pi) = 0, \end{gathered}

the eigenvalues and eigenfunctions are

λn=n2,yn=sin⁡nx,n=1,2,3,…,\begin{gathered} \lambda_n = n^2, \qquad y_n = \sin nx, \\[0.4em] n = 1, 2, 3, \ldots, \end{gathered}

and 00 is not an eigenvalue. The derivation treats the sign of λ\lambda in three separate cases, so that no case is lost inside a formula with λ\sqrt{\lambda}.

  • For λ=0\lambda = 0 the solutions are y=A+Bxy = A + Bx. The left condition gives A=0A = 0, and then Bπ=0B\pi = 0 gives B=0B = 0.
  • For λ=−k2\lambda = -k^2 with k>0k > 0 the solutions are y=Acosh⁡kx+Bsinh⁡kxy = A\cosh kx + B\sinh kx. The left condition gives A=0A = 0, and since sinh⁡kπ≠0\sinh k\pi \ne 0 the right condition gives B=0B = 0.
  • For λ=k2\lambda = k^2 with k>0k > 0 the solutions are y=Acos⁡kx+Bsin⁡kxy = A\cos kx + B\sin kx. The left condition gives A=0A = 0, and a nonzero BB survives the right condition exactly when sin⁡kπ=0\sin k\pi = 0, that is, when kk is a positive integer nn.

On a general interval [0,L][0, L] the same argument gives λn=(nπ/L)2\lambda_n = (n\pi/L)^2 and yn=sin⁡(nπx/L)y_n = \sin(n\pi x/L) for n≥1n \ge 1.

In plain words A string held fixed at both ends can only take shapes that fit a whole number of half waves between the ends. Each extra half wave raises the eigenvalue, and a straight line or a hyperbolic shape cannot vanish at both ends unless it is zero.

Example The second mode sin⁡2x\sin 2x fits two half waves into [0,π][0, \pi] and has eigenvalue 44. On [0,2][0, 2] the first two eigenvalues are π2/4\pi^2/4 and π2\pi^2, with eigenfunctions sin⁡(πx/2)\sin(\pi x/2) and sin⁡πx\sin \pi x. In general, doubling the length of the interval divides every eigenvalue by 44.

Neumann boundary conditions

Definition Neumann boundary conditions prescribe the derivative y′y' at the endpoints, and in an eigenvalue problem they are y′(a)=0y'(a) = 0 and y′(b)=0y'(b) = 0. For

−y′′=λy,y′(0)=y′(π)=0,\begin{gathered} -y'' = \lambda y, \\[0.4em] y'(0) = y'(\pi) = 0, \end{gathered}

the eigenvalues and eigenfunctions are

λn=n2,yn=cos⁡nx,n=0,1,2,…\begin{gathered} \lambda_n = n^2, \qquad y_n = \cos nx, \\[0.4em] n = 0, 1, 2, \ldots \end{gathered}

For λ=k2\lambda = k^2 with k>0k > 0, the derivative of Acos⁡kx+Bsin⁡kxA\cos kx + B\sin kx is k(−Asin⁡kx+Bcos⁡kx)k(-A\sin kx + B\cos kx), so the left condition gives B=0B = 0 and the right condition requires sin⁡kπ=0\sin k\pi = 0. For λ=−k2\lambda = -k^2 with k>0k > 0 both coefficients vanish, because sinh⁡kπ≠0\sinh k\pi \ne 0. For λ=0\lambda = 0 the solutions A+BxA + Bx have derivative BB, so B=0B = 0 and every constant survives. An eigenfunction with eigenvalue 00, that is, a nonzero solution of y′′=0y'' = 0 that meets the boundary conditions, is called a zero mode. Here the zero mode is the constant function 11, and its eigenspace consists of the constant functions.

In plain words Insulated ends let no heat through, so the slope of the temperature profile is zero there. A constant profile already satisfies this, and in a heat problem on an insulated rod it carries the average temperature, which never changes. Copying the Dirichlet list, which starts at n=1n = 1, would lose this mode.

Example Check cos⁡2x\cos 2x directly. Its second derivative is −4cos⁡2x-4\cos 2x, so −y′′=4y-y'' = 4y, and its derivative −2sin⁡2x-2\sin 2x vanishes at 00 and at π\pi. The constant 11 satisfies −y′′=0=0⋅1-y'' = 0 = 0 \cdot 1 and has zero derivative everywhere, so it is an eigenfunction for λ=0\lambda = 0. Under Dirichlet conditions the same constant fails y(0)=0y(0) = 0, and there 00 is not an eigenvalue at all.

Robin boundary conditions

Definition A Robin boundary condition prescribes a combination of the value and the derivative at an endpoint, αy+βy′=0\alpha y + \beta y' = 0 there with α≠0\alpha \ne 0 and β≠0\beta \ne 0. A convenient form on [0,π][0, \pi] is

y′(0)=h0 y(0),y′(π)=−hπ y(π),\begin{gathered} y'(0) = h_0\,y(0), \\[0.4em] y'(\pi) = -h_\pi\,y(\pi), \end{gathered}

with constants h0h_0 and hπh_\pi, where a zero coefficient gives back a Neumann condition at that end. The opposite signs come from the opposite outward directions at the two ends. With h0>0h_0 > 0 and hπ>0h_\pi > 0 the conditions describe ends that lose heat to surroundings at temperature zero, at a rate proportional to their own temperature. For a real eigenfunction yy with eigenvalue λ\lambda, multiplying −y′′=λy-y'' = \lambda y by yy and integrating by parts gives

λ∫0πy2 dx=∫0π(y′)2 dx+ h0 y(0)2+hπ y(π)2.\begin{gathered} \lambda\int_0^\pi y^2\,dx = \int_0^\pi (y')^2\,dx \\[0.4em] +\, h_0\,y(0)^2 + h_\pi\,y(\pi)^2. \end{gathered}

So if h0≥0h_0 \ge 0 and hπ≥0h_\pi \ge 0, every eigenvalue satisfies λ≥0\lambda \ge 0, and λ=0\lambda = 0 occurs only when h0=hπ=0h_0 = h_\pi = 0, the Neumann case, because a zero right side forces yy to be a nonzero constant cc with h0c2=hπc2=0h_0c^2 = h_\pi c^2 = 0. With a negative coefficient the conclusion can fail. For example, h0=−1h_0 = -1 and hπ=0h_\pi = 0 give a negative eigenvalue near −1.007-1.007.

In plain words A Robin end sits between a fixed end and an insulated one. With positive coefficients the boundary terms in the identity act like extra stiffness at the ends, and they push the eigenvalues above the Neumann ones.

Example Take an insulated left end and a cooling right end, y′(0)=0y'(0) = 0 and y′(π)=−y(π)y'(\pi) = -y(\pi), so h0=0h_0 = 0 and hπ=1h_\pi = 1. The identity rules out λ≤0\lambda \le 0. For λ=k2\lambda = k^2 with k>0k > 0 the left condition leaves multiples of cos⁡kx\cos kx, and the right condition reads −ksin⁡kπ=−cos⁡kπ-k\sin k\pi = -\cos k\pi, which is equivalent to

ktan⁡(kπ)=1.k\tan(k\pi) = 1.

On each interval (n,n+12)(n, n + \tfrac{1}{2}) with n=0,1,2,…n = 0, 1, 2, \ldots the left side increases from 00 to ∞\infty, and at every other k>0k > 0 it is at most 00 or undefined, so there is exactly one root in each of these intervals and no other root. The first two roots are k1≈0.3834k_1 \approx 0.3834 and k2≈1.2187k_2 \approx 1.2187. The eigenvalues λ1≈0.1470\lambda_1 \approx 0.1470 and λ2≈1.4853\lambda_2 \approx 1.4853 are not squares of integers, and they lie above the first two Neumann eigenvalues 00 and 11.

Periodic boundary conditions

Definition Periodic boundary conditions on [0,2π][0, 2\pi] are

y(0)=y(2π),y′(0)=y′(2π).\begin{gathered} y(0) = y(2\pi), \\[0.4em] y'(0) = y'(2\pi). \end{gathered}

They relate the two ends to each other instead of constraining each end on its own. For −y′′=λy-y'' = \lambda y the eigenvalues are n2n^2 for every integer n≥0n \ge 0. The zero mode is the constant 11, with a one-dimensional eigenspace. For each n≥1n \ge 1 the eigenspace is two-dimensional,

En2=span⁡{cos⁡nx,sin⁡nx}.E_{n^2} = \operatorname{span}\{\cos nx, \sin nx\}.

For λ=k2\lambda = k^2 with k>0k > 0, the two conditions on Acos⁡kx+Bsin⁡kxA\cos kx + B\sin kx form a linear system for AA and BB with determinant k(2−2cos⁡2πk)k(2 - 2\cos 2\pi k). It vanishes exactly when kk is an integer, and then both conditions hold for every AA and BB. For λ=−k2\lambda = -k^2 with k>0k > 0 the corresponding determinant is k(2−2cosh⁡2πk)<0k(2 - 2\cosh 2\pi k) < 0, so only the zero solution remains, and for λ=0\lambda = 0 the condition y(0)=y(2π)y(0) = y(2\pi) removes the term BxBx and leaves the constants.

In plain words Periodic conditions describe a ring rather than a rod with two ends. A wave can sit anywhere around the ring, so for each n≥1n \ge 1 the cosine shape, the sine shape and every shifted copy sin⁡(n(x−c))\sin(n(x - c)) fit. That is why one eigenvalue carries two independent eigenfunctions here, while each Dirichlet or Neumann eigenvalue on an interval has only one.

Example For n=1n = 1 the functions cos⁡x\cos x and sin⁡x\sin x both satisfy −y′′=y-y'' = y, both take equal values at 00 and 2π2\pi, and both have equal derivatives there. Neither is a multiple of the other, so λ=1\lambda = 1 has a two-dimensional eigenspace. Keep the same equation and interval but impose Dirichlet conditions, and the eigenvalues become n2/4n^2/4, each with the single eigenfunction sin⁡(nx/2)\sin(nx/2). Then λ=1\lambda = 1 belongs to sin⁡x\sin x alone, and cos⁡x\cos x is excluded because cos⁡0=1\cos 0 = 1.

Normalization of eigenfunctions

Definition Every nonzero multiple of an eigenfunction is again an eigenfunction for the same eigenvalue, so the problem does not fix its scale. With the inner product and norm

⟨f,g⟩=∫abfg dx,∥f∥=⟨f,f⟩,\begin{gathered} \langle f, g \rangle = \int_a^b f g\,dx, \\[0.4em] \lVert f \rVert = \sqrt{\langle f, f \rangle}, \end{gathered}

an eigenfunction yy is normalized when ∥y∥=1\lVert y \rVert = 1, and any eigenfunction can be normalized by dividing it by its norm, ϕ=y/∥y∥\phi = y/\lVert y \rVert. In a one-dimensional eigenspace the result is fixed only up to sign, because −ϕ-\phi is normalized as well. In a two-dimensional eigenspace normalization alone does not pick a direction, and one usually chooses an orthonormal pair, two normalized eigenfunctions ϕ\phi and ψ\psi with ⟨ϕ,ψ⟩=0\langle \phi, \psi \rangle = 0.

In plain words An eigenfunction is a shape, and normalizing it fixes its size so that coefficients computed from it mean something definite. The convention has to be stated once and then used consistently.

Example On [0,π][0, \pi],

∫0πsin⁡22x dx=π2,\int_0^\pi \sin^2 2x\,dx = \frac{\pi}{2},

so the normalized second Dirichlet mode is

ϕ2=2/π sin⁡2x.\phi_2 = \sqrt{2/\pi}\,\sin 2x.

Distinct Dirichlet modes are orthogonal, for example ∫0πsin⁡xsin⁡2x dx=0\int_0^\pi \sin x\sin 2x\,dx = 0, so the functions 2/π sin⁡nx\sqrt{2/\pi}\,\sin nx with n≥1n \ge 1 form an orthonormal list. The Neumann modes cos⁡nx\cos nx with n≥1n \ge 1 normalize with the same factor, but the zero mode needs a different one. Since ∫0π1 dx=π\int_0^\pi 1\,dx = \pi, the normalized zero mode is 1/π1/\sqrt{\pi}. On [0,2π][0, 2\pi] the periodic pair cos⁡nx/π\cos nx/\sqrt{\pi} and sin⁡nx/π\sin nx/\sqrt{\pi} is orthonormal, and so is a rotated pair such as (cos⁡x+sin⁡x)/2π(\cos x + \sin x)/\sqrt{2\pi} and (cos⁡x−sin⁡x)/2π(\cos x - \sin x)/\sqrt{2\pi}.

Check yourself

  1. Verify that cos⁡3x\cos 3x is a Neumann eigenfunction on [0,π][0, \pi], give its eigenvalue, and normalize it.
Show the answer

The second derivative is −9cos⁡3x-9\cos 3x, so −y′′=9y-y'' = 9y and the eigenvalue is 99. The derivative −3sin⁡3x-3\sin 3x vanishes at 00 and at π\pi, because sin⁡3π=0\sin 3\pi = 0. Since

∫0πcos⁡23x dx=π2,\int_0^\pi \cos^2 3x\,dx = \frac{\pi}{2},

the normalized eigenfunction is 2/π cos⁡3x\sqrt{2/\pi}\,\cos 3x, or its negative.

  1. For which of the following problems is λ=0\lambda = 0 an eigenvalue of −y′′=λy-y'' = \lambda y? Dirichlet conditions on [0,π][0, \pi], Neumann conditions on [0,π][0, \pi], the Robin conditions y′(0)=y(0)y'(0) = y(0) and y′(π)=−y(π)y'(\pi) = -y(\pi) on [0,π][0, \pi], and periodic conditions on [0,2π][0, 2\pi]. Give the zero mode whenever it exists.
Show the answer

At λ=0\lambda = 0 every solution has the form y=A+Bxy = A + Bx, with derivative BB.

  • Dirichlet. The conditions give A=0A = 0 and A+Bπ=0A + B\pi = 0, so only the zero function remains, and 00 is not an eigenvalue.
  • Neumann. Both conditions give B=0B = 0, so every constant works, and the zero mode is 11.
  • Robin. Here h0=hπ=1h_0 = h_\pi = 1, and the conditions read B=AB = A and B=−(A+Bπ)B = -(A + B\pi). Substituting the first into the second gives (2+π)A=0(2 + \pi)A = 0, so A=B=0A = B = 0 and 00 is not an eigenvalue, as the identity on this page predicts.
  • Periodic. The condition y(0)=y(2π)y(0) = y(2\pi) gives 2πB=02\pi B = 0, the derivative condition then holds, and the zero mode is again 11.
  1. Find all eigenvalues and eigenfunctions of −y′′=λy-y'' = \lambda y on [0,π][0, \pi] with y(0)=0y(0) = 0 and y′(π)=0y'(\pi) = 0.
Show the answer

Treat the three signs of λ\lambda separately. For λ=0\lambda = 0 the left condition leaves y=Bxy = Bx, and y′(π)=B=0y'(\pi) = B = 0. For λ=−k2\lambda = -k^2 with k>0k > 0 it leaves y=Bsinh⁡kxy = B\sinh kx, and y′(π)=Bkcosh⁡kπy'(\pi) = Bk\cosh k\pi is zero only for B=0B = 0. For λ=k2\lambda = k^2 with k>0k > 0 it leaves y=Bsin⁡kxy = B\sin kx, and y′(π)=Bkcos⁡kπy'(\pi) = Bk\cos k\pi vanishes with B≠0B \ne 0 exactly when cos⁡kπ=0\cos k\pi = 0, that is, k=n−12k = n - \tfrac{1}{2} for a positive integer nn. So for n=1,2,3,…n = 1, 2, 3, \ldots

λn=(n−12)2,yn=sin⁡((n−12) x),\begin{gathered} \lambda_n = \left(n - \tfrac{1}{2}\right)^2, \\[0.4em] y_n = \sin\big((n - \tfrac{1}{2})\,x\big), \end{gathered}

which gives the eigenvalues 14\tfrac{1}{4}, 94\tfrac{9}{4}, 254\tfrac{25}{4} and so on. Neither the Dirichlet list nor the Neumann list applies here, and 00 is not an eigenvalue.

How this lesson connects