Eigenvalues and Eigenvectors


Eigenvalues and Eigenvectors

Anna
A matrix usually changes a vector’s direction as well as its length. But a few special directions are different: the matrix only stretches them, without turning them. Those directions are eigenvectors, and the amount of stretching is the corresponding eigenvalue.

Michael
And these aren’t just abstract curiosities. In physics, eigenvector directions can describe natural directions of motion, such as normal modes of vibrating molecules, definite-energy states in quantum mechanics, or principal axes of a rotating body.

Anna
Let’s build the method from a familiar equation. Start with a matrix M acting on a vector r, and ask when the result is just some number lambda times r: M r equals lambda r.

Michael
To write both sides as matrices acting on r, we use the identity matrix I: M r equals lambda I r. Then bring everything to one side, giving the homogeneous equation, M minus lambda I, times r, equals zero.

Anna
The zero vector is always a solution, but it doesn’t count as an eigenvector. We need a nonzero solution. A homogeneous system has a nonzero solution exactly when its matrix has determinant zero, so we set det of M minus lambda I equal to zero.

Michael
That equation is called the characteristic equation. It gives us the eigenvalues. Then, for each eigenvalue, we put it back into the homogeneous equation to find the associated eigenvectors.

Anna
Let’s work through the two-by-two example, with M having rows five, minus two, and minus two, two. First form M minus lambda I. Since lambda I has lambda only on its diagonal, we subtract lambda from the diagonal entries and leave the off-diagonal minus twos alone.

Michael
That’s an easy place to make a mistake: lambda is not subtracted from every entry. The matrix is five minus lambda, minus two; minus two, two minus lambda.

Anna
Now set its determinant to zero. For a two-by-two matrix, that’s the product of the diagonal entries minus the product of the off-diagonal entries. Expanding and collecting powers of lambda gives lambda squared minus seven lambda plus six equals zero.

Michael
Factor it as lambda minus one times lambda minus six equals zero. So the eigenvalues are one and six.

Anna
There are two useful checks here. The eigenvalues add to seven, which is the sum of the diagonal entries of M, five plus two. And they multiply to six, which is the determinant of M.

Michael
Now find the eigenvector for lambda equals one. Substitute one into M minus lambda I and solve the homogeneous equations. The resulting rows both say y equals two x.

Anna
They agree because the determinant is zero, so there’s really just one independent equation. Let x equal c, and then y equals two c. That gives vectors proportional to the column with entries one and two.

Michael
If we want a unit eigenvector, we choose c so that the dot product of the vector with itself is one. The length of the column one, two is the square root of five, so the normalized eigenvector is one over root five times the column one, two.

Anna
And it’s worth checking directly. Multiplying M by that vector gives the same vector back, so the eigenvalue really is one.

Michael
For lambda equals six, the same process gives y equals minus x over two. Choose x to be minus c, so y is c over two. After normalizing, the eigenvector is one over root five times the column with entries minus two and one.

Anna
Check it by multiplying by M: the result is six times that vector. So we have both eigenvalue-eigenvector pairs, one with the direction one, two, and six with the direction minus two, one.

Michael
And the two eigenvectors are perpendicular. Their dot product has the products minus two and plus two, which cancel. Geometrically, their directions lie on the lines y equals two x and y equals minus x over two, which meet at a right angle.

Anna
That perpendicularity is not a coincidence. M is symmetric, meaning it equals its transpose. For a real symmetric matrix, eigenvectors belonging to different eigenvalues are always orthogonal. That property is one reason symmetric matrices are so useful in physics.

Michael
So the workflow is: solve the characteristic equation for eigenvalues, substitute each one into the homogeneous equation for eigenvectors, and normalize if you want unit vectors. Then check that M r equals lambda r.

Anna
Once we know the eigenvectors, we can use them as new coordinate axes. This is the idea behind diagonalization. A diagonal matrix is simple: it scales each coordinate separately instead of mixing coordinates together.

Michael
Suppose an n-by-n matrix M has n linearly independent eigenvectors. Put those vectors into the columns of a matrix C. Because the columns are independent, C has an inverse.

Anna
Call C inverse times M times C the matrix D, and call C inverse times r the new coordinate vector r prime. In those coordinates, D acts on r prime, and D is diagonal, with the eigenvalues on its diagonal.

Michael
Here’s why. When M multiplies C, it acts on each column separately. Each column is an eigenvector, so the columns become lambda one times r one, lambda two times r two, and so on.

Anna
That is exactly the same as multiplying C on the right by a diagonal matrix of eigenvalues. So M C equals C D. Multiplying by C inverse on the left gives C inverse M C equals D.

Michael
The order matters: the first column of C must correspond to the first diagonal entry of D. If you change the order of the eigenvectors in C, you must change the eigenvalues in D to match.

Anna
For our example, put the two normalized eigenvectors into C as columns. They’re orthonormal, so C inverse is just C transpose. That saves us from calculating a general matrix inverse.

Michael
Then C transpose M C gives a diagonal matrix with one and six on the diagonal, in the same order as the eigenvectors. The off-diagonal entries cancel, and the diagonal entries are the eigenvalues.

Anna
Because C transpose C is the identity and the determinant of C is one, this C represents a rotation. So the new coordinates simply measure the vector along the eigenvector directions instead of along the original x and y axes.

Michael
In those rotated axes, the matrix no longer mixes the components. It stretches by one along the first eigenvector and by six along the second.

Anna
Now let’s look at what happens when an eigenvalue repeats. An eigenvalue is called degenerate when it appears more than once as a root of the characteristic equation and has more than one independent eigenvector.

Michael
Instead of just one eigenvector direction, a repeated eigenvalue can be associated with a whole plane, or a larger space, of eigenvectors. In the three-by-three example, the characteristic polynomial factors into minus lambda minus six times lambda plus three squared.

Anna
So the eigenvalues are six and minus three, with minus three repeated twice. The quick checks work here too: the eigenvalues add to zero, the trace of the matrix, and their product is fifty-four, the determinant.

Michael
For lambda equals six, solving the equations gives y equals minus x and z equals x over two. Choosing x equal to two gives a vector proportional to the column two, minus two, one; its length is three, so dividing by three gives a unit eigenvector.

Anna
For the repeated eigenvalue minus three, the rows of the homogeneous system all give the same equation: two x minus two y plus z equals zero. One equation in three unknowns leaves two free choices, which is why there are two independent eigenvectors.

Michael
Two different choices give two independent vectors in that plane. And any nonzero combination of those two vectors is also an eigenvector with eigenvalue minus three. The particular pair isn’t unique; although the example’s first pair isn’t perpendicular, we can choose a perpendicular pair instead.

Anna
Degeneracy appears in quantum mechanics. The time-independent Schrodinger equation, H psi equals E psi, has the same mathematical form as a matrix eigenvalue equation. The energies are the eigenvalues, and the states are the eigenvectors.

Michael
For hydrogen, the lowest energy level has a single state, the one s orbital. The next energy level has four different states with the same energy: two s, two p x, two p y, and two p z. That makes it fourfold degenerate.

Anna
The three p states have the same shape but point along different axes. Because the atom looks the same in every direction, its rotational symmetry forces those states to share an energy. The fact that two s shares that energy too is special to hydrogen; in atoms with more electrons, two s and two p separate.

Michael
Let’s move from quantum states to molecular vibrations. In a molecule, atoms are linked by bonds, so moving one atom pushes and pulls on others. Their motions are coupled, but there are special patterns called normal modes in which all atoms oscillate at the same frequency.

Anna
Those frequencies matter because they’re exactly what infrared spectroscopy measures. We’ll model carbon dioxide as oxygen, carbon, oxygen in a line. Each oxygen has mass m, the carbon has mass capital M, and each bond is a spring with constant k.

Michael
Let x, y, and z be the displacements of the left oxygen, carbon, and right oxygen from equilibrium, measured to the right. The spring potential energy is one half k times x minus y squared, plus one half k times z minus y squared.

Anna
Using Newton’s second law, the left oxygen feels force minus k times x minus y. The carbon feels the combined pull of both springs, minus k times two y minus x minus z. The right oxygen feels minus k times z minus y.

Michael
So each atom’s acceleration depends on the positions of its neighbors. To find a normal mode, assume all three displacements oscillate with the same angular frequency omega: x equals capital X times e to the i omega t, and similarly for y and z.

Anna
Taking two time derivatives brings down minus omega squared. Substitute the trial motion into Newton’s equations, cancel the common time factor, and divide by k. Define lambda to be m omega squared over k, and define mu to be m over capital M.

Michael
After scaling the middle equation by m over capital M, the equations take the form A r equals lambda r. It’s an eigenvalue problem, with the displacement pattern as the eigenvector.

Anna
The characteristic equation gives three eigenvalues: zero, one, and one plus two mu. Since lambda equals m omega squared over k, these correspond to frequencies zero, the square root of k over m, and the square root of k over m times the square root of one plus two mu.

Michael
The eigenvectors tell us the shapes of the modes. For lambda zero, the vector one, one, one means all three atoms move together. That’s translation of the whole molecule: no bond changes length, so there’s no restoring force and the frequency is zero. It isn’t really a vibration.

Anna
For lambda one, the vector one, zero, minus one describes the symmetric stretch. The carbon stays still while the two oxygens move in opposite directions, so the bonds stretch and shrink together as mirror images.

Michael
For the third eigenvalue, the vector is one, minus two m over capital M, one. Both oxygens move the same way while the carbon recoils in the other direction. One bond stretches while the other shrinks, so this is the antisymmetric stretch.

Anna
The antisymmetric stretch is faster. In the model, its frequency is higher than the symmetric stretch by a factor of the square root of one plus two m over capital M. Any motion of the molecule along this line can be expressed as a combination of the three modes.

Michael
For real carbon dioxide, oxygen has mass sixteen and carbon has mass twelve. The model predicts a ratio of stretching frequencies of about 1.92. The measured frequencies are 2349 and 1333 inverse centimeters, a ratio of about 1.76.

Anna
That’s reasonably close for a model made of three masses and two ideal springs. The remaining difference is explained by the fact that real bonds aren’t perfect springs.

Michael
And that brings the whole story together: eigenvalues tell us how strongly special directions are stretched, and eigenvectors give those directions. In a vibration problem, the eigenvalues determine the frequencies, while the eigenvectors reveal the normal-mode patterns.

Anna
We’ve also seen how eigenvectors can become new coordinate axes, how symmetric matrices give orthogonal eigenvectors, and how repeated eigenvalues can have whole spaces of eigenvectors. That’s why these ideas connect so naturally to geometry, quantum mechanics, and molecular motion.

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