1. Home
  2. Explore
  3. Mathematics
  4. Eigenvalues and Eigenvectors

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Eigenvalues and Eigenvectors

Eigenvalues, Eigenvectors, and Their Applications

Eigenvalues and eigenvectors

A matrix usually changes both the size and direction of a vector. Some special nonzero vectors, however, keep their direction when the matrix acts on them: the matrix only stretches or reverses them.

An eigenvector of a matrix MMM is a nonzero vector rrr for which

Mr=λr.Mr=\lambda r.Mr=λr.

The number λ\lambdaλ is the corresponding eigenvalue. It gives the factor by which the matrix scales the eigenvector.

The zero vector is excluded because it satisfies Mr=λrMr=\lambda rMr=λr for every λ\lambdaλ and therefore gives no information about a special direction.

Eigenvectors and eigenvalues are useful in many settings. They describe, for example, natural vibration patterns, states with definite energy in quantum mechanics, and principal axes of rotating bodies.


Finding eigenvalues and eigenvectors

Begin with the eigenvalue equation:

Mr=λr.Mr=\lambda r.Mr=λr.

To express both sides as matrices acting on rrr, write λr=λIr\lambda r=\lambda Irλr=λIr, where III is the identity matrix. Moving all terms to one side gives

(M−λI)r=0.(M-\lambda I)r=0.(M−λI)r=0.

This is a homogeneous system. It has a nonzero solution exactly when its coefficient matrix is singular, which occurs when its determinant is zero. Thus the eigenvalues satisfy the characteristic equation

det⁡(M−λI)=0.\det(M-\lambda I)=0.det(M−λI)=0.

The general procedure is:

  1. Form M−λIM-\lambda IM−λI, subtracting λ\lambdaλ from the diagonal entries only.

  2. Solve det⁡(M−λI)=0\det(M-\lambda I)=0det(M−λI)=0 to find the eigenvalues.

  3. Substitute each eigenvalue into (M−λI)r=0(M-\lambda I)r=0(M−λI)r=0 to find its eigenvectors.

  4. If unit eigenvectors are needed, normalize them so that r⋅r=1r\cdot r=1r⋅r=1.

  5. Check the result by verifying Mr=λrMr=\lambda rMr=λr.


Worked example: a two-by-two matrix

Consider

M=(5−2−22).M= \begin{pmatrix} 5&-2\\ -2&2 \end{pmatrix}.M=(5−2​−22​).

Finding the eigenvalues

Subtract λ\lambdaλ from the diagonal entries:

M−λI=(5−λ−2−22−λ).M-\lambda I= \begin{pmatrix} 5-\lambda&-2\\ -2&2-\lambda \end{pmatrix}.M−λI=(5−λ−2​−22−λ​).

The off-diagonal entries remain −2-2−2, because λI\lambda IλI has zeros off the diagonal. For a two-by-two matrix, the determinant is the product of the diagonal entries minus the product of the off-diagonal entries:

det⁡(M−λI)=(5−λ)(2−λ)−(−2)(−2).\det(M-\lambda I) =(5-\lambda)(2-\lambda)-(-2)(-2).det(M−λI)=(5−λ)(2−λ)−(−2)(−2).

Setting this equal to zero and expanding gives

λ2−7λ+6=0=(λ−1)(λ−6).\lambda^2-7\lambda+6=0 =(\lambda-1)(\lambda-6).λ2−7λ+6=0=(λ−1)(λ−6).

Therefore the eigenvalues are λ1=1\lambda_1=1λ1​=1 and λ2=6\lambda_2=6λ2​=6.

Two useful checks are that the eigenvalues sum to the trace of MMM and multiply to its determinant:

1+6=5+2,1⋅6=det⁡(M)=6.1+6=5+2, \qquad 1\cdot6=\det(M)=6.1+6=5+2,1⋅6=det(M)=6.

Eigenvector for λ1=1\lambda_1=1λ1​=1

Substitute λ=1\lambda=1λ=1 into the homogeneous equation:

(4−2−21)(xy)=(00).\begin{pmatrix} 4&-2\\ -2&1 \end{pmatrix} \begin{pmatrix}x\\y\end{pmatrix} = \begin{pmatrix}0\\0\end{pmatrix}.(4−2​−21​)(xy​)=(00​).

Both rows give the same condition, y=2xy=2xy=2x. The two equations agree because the determinant is zero, so the system has only one independent equation. Letting x=cx=cx=c gives y=2cy=2cy=2c, so an eigenvector has direction (1,2)(1,2)(1,2).

Its length is 5\sqrt{5}5​, so a unit eigenvector is

r1=15(12).r_1=\frac{1}{\sqrt{5}} \begin{pmatrix}1\\2\end{pmatrix}.r1​=5​1​(12​).

Indeed, Mr1=r1Mr_1=r_1Mr1​=r1​, as required for eigenvalue 111.

Eigenvector for λ2=6\lambda_2=6λ2​=6

Substituting λ=6\lambda=6λ=6 gives

(−1−2−2−4)(xy)=(00).\begin{pmatrix} -1&-2\\ -2&-4 \end{pmatrix} \begin{pmatrix}x\\y\end{pmatrix} = \begin{pmatrix}0\\0\end{pmatrix}.(−1−2​−2−4​)(xy​)=(00​).

The rows give y=−x/2y=-x/2y=−x/2. A vector in this direction is (−2,1)(-2,1)(−2,1), whose length is 5\sqrt{5}5​. Thus a unit eigenvector is

r2=15(−21).r_2=\frac{1}{\sqrt{5}} \begin{pmatrix}-2\\1\end{pmatrix}.r2​=5​1​(−21​).

Direct multiplication confirms that Mr2=6r2Mr_2=6r_2Mr2​=6r2​.

Orthogonality for a symmetric matrix

The two unit eigenvectors are perpendicular:

r1⋅r2=15(−2+2)=0.r_1\cdot r_2 =\frac{1}{5}\bigl(-2+2\bigr)=0.r1​⋅r2​=51​(−2+2)=0.

This is not a coincidence. The matrix is symmetric, meaning M=MTM=M^TM=MT. For a real symmetric matrix, eigenvectors belonging to distinct eigenvalues are orthogonal.

To see why, let uuu and vvv be eigenvectors with distinct eigenvalues λu\lambda_uλu​ and λv\lambda_vλv​. Symmetry gives uTMv=(Mu)Tvu^TMv=(Mu)^TvuTMv=(Mu)Tv, so

λvuTv=λuuTv.\lambda_v u^Tv=\lambda_u u^Tv.λv​uTv=λu​uTv.

Since λu≠λv\lambda_u\ne\lambda_vλu​=λv​, it follows that uTv=0u^Tv=0uTv=0. This orthogonality is one reason symmetric matrices are especially useful in physics and other applications.


Diagonalization: using eigenvectors as coordinate axes

A diagonal matrix acts independently on each coordinate. For example,

D=(λ100λ2)D= \begin{pmatrix} \lambda_1&0\\ 0&\lambda_2 \end{pmatrix}D=(λ1​0​0λ2​​)

scales one coordinate by λ1\lambda_1λ1​ and the other by λ2\lambda_2λ2​, without mixing them. Diagonalization finds coordinates in which a matrix has this simple form.

Suppose an nnn-by-nnn matrix MMM has nnn linearly independent eigenvectors r1,…,rnr_1,\ldots,r_nr1​,…,rn​. Put them in the columns of a matrix CCC:

C=(∣∣∣r1r2⋯rn∣∣∣).C= \begin{pmatrix} |&|&&|\\ r_1&r_2&\cdots&r_n\\ |&|&&| \end{pmatrix}.C=​∣r1​∣​∣r2​∣​⋯​∣rn​∣​​.

Because the columns are linearly independent, CCC is invertible. Let DDD be the diagonal matrix whose entries are the corresponding eigenvalues, in the same order as the columns of CCC. Each column satisfies Mri=λiriMr_i=\lambda_i r_iMri​=λi​ri​, so

MC=CD.MC=CD.MC=CD.

Multiplying on the left by C−1C^{-1}C−1 gives

D=C−1MC.D=C^{-1}MC.D=C−1MC.

Thus, when coordinates are expressed in the eigenvector basis, the matrix becomes diagonal. If r′=C−1rr'=C^{-1}rr′=C−1r denotes the coordinates in this basis, the matrix’s action in those coordinates is represented by DDD.

The order must match: the eigenvector in column iii of CCC must correspond to the eigenvalue in position iii of DDD. Reordering the columns requires reordering the diagonal entries in the same way.

Diagonalizing the two-by-two example

Using the unit eigenvectors found earlier, take

C=15(1−221),D=(1006).C=\frac{1}{\sqrt{5}} \begin{pmatrix} 1&-2\\ 2&1 \end{pmatrix}, \qquad D= \begin{pmatrix} 1&0\\ 0&6 \end{pmatrix}.C=5​1​(12​−21​),D=(10​06​).

The columns of CCC are orthonormal, so C−1=CTC^{-1}=C^TC−1=CT. In fact, CTC=IC^TC=ICTC=I and det⁡(C)=1\det(C)=1det(C)=1, so this change of coordinates is a rotation. The coordinates are measured along the two eigenvector directions rather than along the original coordinate axes. In these rotated axes, the matrix no longer mixes the components: it scales one direction by 111 and the other by 666.

A real symmetric matrix has an orthonormal basis of eigenvectors, so it can always be diagonalized in this way.


Degenerate eigenvalues

An eigenvalue is degenerate when it is a repeated root of the characteristic equation and has more than one linearly independent eigenvector. Instead of determining just one direction, a degenerate eigenvalue is associated with a whole eigenspace.

A three-dimensional example

Consider a three-by-three matrix whose characteristic polynomial is

−λ3+27λ+54=−(λ−6)(λ+3)2.-\lambda^3+27\lambda+54 =-(\lambda-6)(\lambda+3)^2.−λ3+27λ+54=−(λ−6)(λ+3)2.

Its eigenvalues are 666 and −3-3−3, with −3-3−3 appearing twice. The trace and determinant checks give

6+(−3)+(−3)=0,6(−3)(−3)=54.6+(-3)+(-3)=0, \qquad 6(-3)(-3)=54.6+(−3)+(−3)=0,6(−3)(−3)=54.

For λ=6\lambda=6λ=6, an eigenvector is proportional to (2,−2,1)(2,-2,1)(2,−2,1). Its length is 333, so a unit eigenvector is

r1=13(2−21).r_1=\frac{1}{3} \begin{pmatrix}2\\-2\\1\end{pmatrix}.r1​=31​​2−21​​.

For the repeated eigenvalue λ=−3\lambda=-3λ=−3, the eigenvector equation reduces to the single condition

2x−2y+z=0.2x-2y+z=0.2x−2y+z=0.

One equation in three unknowns leaves two independent choices. The eigenspace is therefore a plane, and every nonzero vector in that plane is an eigenvector with eigenvalue −3-3−3.

One convenient perpendicular pair of unit eigenvectors in the plane is

r2=12(110),r3=132(−114).r_2=\frac{1}{\sqrt{2}} \begin{pmatrix}1\\1\\0\end{pmatrix}, \qquad r_3=\frac{1}{3\sqrt{2}} \begin{pmatrix}-1\\1\\4\end{pmatrix}.r2​=2​1​​110​​,r3​=32​1​​−114​​.

The particular basis chosen for this plane is not unique. Any nonzero linear combination of two independent vectors in the eigenspace is also an eigenvector with eigenvalue −3-3−3.

Degeneracy in hydrogen

In quantum mechanics, the time-independent Schrödinger equation has the same mathematical form as an eigenvalue equation:

Hψ=Eψ.H\psi=E\psi.Hψ=Eψ.

Here, the Hamiltonian HHH plays the role of the matrix, the quantum state ψ\psiψ plays the role of the eigenvector, and the energy EEE is the eigenvalue.

For hydrogen:

  • The lowest energy level, E1E_1E1​, has one state: the 1s1s1s orbital. A surface around this orbital can be drawn to enclose 90%90\%90% of the probability of finding the electron.

  • The next level, E2E_2E2​, has four states with the same energy: 2s2s2s, 2px2p_x2px​, 2py2p_y2py​, and 2pz2p_z2pz​. Thus E2E_2E2​ is fourfold degenerate.

  • The three 2p2p2p states have the same shape but point along different coordinate directions. Hydrogen’s rotational symmetry makes these directions equivalent and ensures that the states share an energy.

  • The equality of the 2s2s2s and 2p2p2p energies is a special feature of hydrogen. In atoms with more than one electron, those energy levels separate.


Molecular vibrations as an eigenvalue problem

Atoms in a molecule are connected by bonds, so their motions are coupled: moving one atom changes the forces on neighboring atoms. Normal modes are special patterns of motion in which all atoms oscillate at the same frequency. The eigenvectors give the shapes of these patterns, and the eigenvalues determine their frequencies. Molecular vibration frequencies can be measured using infrared spectroscopy.

A spring model of carbon dioxide

Model carbon dioxide as three atoms in a line, oxygen–carbon–oxygen. Let the oxygen masses be mmm, the carbon mass be MMM, and let each bond act as a spring with constant kkk. Let xxx, yyy, and zzz be the displacements of the left oxygen, carbon, and right oxygen, respectively, measured from equilibrium.

The two springs have extensions x−yx-yx−y and z−yz-yz−y, so the potential energy is

V=12k(x−y)2+12k(z−y)2.V=\frac{1}{2}k(x-y)^2+\frac{1}{2}k(z-y)^2.V=21​k(x−y)2+21​k(z−y)2.

Newton’s second law, with each force obtained from the negative derivative of the potential energy, gives

mx¨=−k(x−y),m\ddot{x}=-k(x-y),mx¨=−k(x−y),
My¨=−k(2y−x−z),M\ddot{y}=-k(2y-x-z),My¨​=−k(2y−x−z),
mz¨=−k(z−y).m\ddot{z}=-k(z-y).mz¨=−k(z−y).

The equations are coupled because the acceleration of each atom depends on the positions of neighboring atoms.

Converting the equations to an eigenvalue problem

Seek a normal-mode solution in which all three atoms oscillate at the same angular frequency ω\omegaω:

x=Xeiωt,y=Yeiωt,z=Zeiωt.x=Xe^{i\omega t},\qquad y=Ye^{i\omega t},\qquad z=Ze^{i\omega t}.x=Xeiωt,y=Yeiωt,z=Zeiωt.

Taking two time derivatives multiplies each displacement by −ω2-\omega^2−ω2. After substitution and rearrangement, define

λ=mω2k,μ=mM.\lambda=\frac{m\omega^2}{k}, \qquad \mu=\frac{m}{M}.λ=kmω2​,μ=Mm​.

With r=(X,Y,Z)Tr=(X,Y,Z)^Tr=(X,Y,Z)T, the equations become the eigenvalue problem Ar=λrAr=\lambda rAr=λr, where

A=(1−10−μ2μ−μ0−11).A= \begin{pmatrix} 1&-1&0\\ -\mu&2\mu&-\mu\\ 0&-1&1 \end{pmatrix}.A=​1−μ0​−12μ−1​0−μ1​​.

The symbol AAA is used for this matrix to distinguish it from the carbon mass MMM.

The characteristic equation is

det⁡(A−λI)=(1−λ)λ(λ−1−2μ)=0.\det(A-\lambda I) =(1-\lambda)\lambda(\lambda-1-2\mu)=0.det(A−λI)=(1−λ)λ(λ−1−2μ)=0.

The eigenvalues are therefore

λ1=0,λ2=1,λ3=1+2μ.\lambda_1=0,\qquad \lambda_2=1,\qquad \lambda_3=1+2\mu.λ1​=0,λ2​=1,λ3​=1+2μ.

Since λ=mω2/k\lambda=m\omega^2/kλ=mω2/k, the corresponding angular frequencies are

ω1=0,ω2=km,ω3=km(1+2μ).\omega_1=0,\qquad \omega_2=\sqrt{\frac{k}{m}},\qquad \omega_3=\sqrt{\frac{k}{m}(1+2\mu)}.ω1​=0,ω2​=mk​​,ω3​=mk​(1+2μ)​.

The three normal modes

The eigenvectors specify how the atoms move relative to one another.

  • Translation: For λ=0\lambda=0λ=0, the eigenvector is (1,1,1)(1,1,1)(1,1,1). All three atoms move together by the same amount. Neither bond changes length, so there is no restoring force and the frequency is zero. This is motion of the whole molecule, not a vibration.

  • Symmetric stretch: For λ=1\lambda=1λ=1, the eigenvector is (1,0,−1)(1,0,-1)(1,0,−1). The carbon remains stationary while the oxygens move in opposite directions. The two bonds stretch and shrink together as mirror images.

  • Antisymmetric stretch: For λ=1+2μ\lambda=1+2\muλ=1+2μ, the eigenvector is (1,−2μ,1)(1,-2\mu,1)(1,−2μ,1). The oxygens move in the same direction while the carbon recoils in the opposite direction. One bond stretches while the other shrinks.

Any motion of the molecule along this line can be expressed as a combination of these three modes. The antisymmetric stretch is faster than the symmetric stretch by the factor 1+2μ\sqrt{1+2\mu}1+2μ​.

Comparison with real carbon dioxide

For carbon dioxide, the oxygen mass is 161616 and the carbon mass is 121212, so μ=16/12\mu=16/12μ=16/12. The model predicts a ratio of stretching frequencies

1+2mM=1+3212≈1.92.\sqrt{1+\frac{2m}{M}} =\sqrt{1+\frac{32}{12}} \approx 1.92.1+M2m​​=1+1232​​≈1.92.

The measured stretching frequencies are 234923492349 and 133313331333 inverse centimeters, with a ratio of about 1.761.761.76. The simple model captures the relationship reasonably well, but not exactly, because real chemical bonds are not ideal springs.

The central result is that a normal-mode trial solution turns coupled equations of motion into an eigenvalue problem: eigenvalues determine the oscillation frequencies, while eigenvectors determine the normal-mode shapes.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent