Eigenvalues and Eigenvectors of 2×2 Matrices


Eigenvalues and Eigenvectors of 2×2 Matrices

Simon
Welcome back. We’re continuing our work with eigenvalues and eigenvectors, starting with familiar two-by-two matrices and then building up to a three-by-three example. Along the way, we’ll see how eigenvectors let us diagonalize a matrix, and what changes when the entries are complex or an eigenvalue is repeated.

Michael
Let’s begin with the Pauli spin matrix in the x direction: its rows are zero, one, and one, zero. We look for a vector with entries x and y such that multiplying by the matrix gives lambda times that same vector.

Simon
For a nonzero solution, the determinant of the matrix minus lambda times the identity must be zero. Here that determinant is minus lambda squared? More carefully, it is lambda squared minus one, so the possible eigenvalues are plus one and minus one.

Michael
Let’s find the eigenvector for lambda equals plus one. The two component equations both say that x equals y. If we want a normalized vector, we set x squared plus y squared equal to one. Since the components are equal, each is one over the square root of two.

Simon
So one normalized eigenvector for plus one is one over root two times the column with entries one, one. For lambda equals minus one, the equations instead say x equals minus y. Normalizing gives one over root two times the column with entries one, minus one.

Michael
The relative signs matter: they distinguish the two eigenvectors. But the overall sign does not. We could multiply either entire vector by minus one and still have a valid eigenvector, because the equation remains true.

Simon
That freedom is part of a broader idea: an eigenvector is defined up to an overall factor, or, for complex vectors, an overall phase. But changing just one component can change the relative signs or phases, and that can make it a different eigenvector—or no longer a solution at all.

Michael
Now put the two normalized eigenvectors into a matrix as its columns. Call that matrix O. Its columns are orthonormal, so O is orthogonal and its inverse is its transpose. The original matrix can then be written as O times the diagonal matrix of eigenvalues times O transpose.

Simon
Equivalently, if we multiply the original matrix by O transpose on the left and O on the right, we get the diagonal matrix: O transpose A O equals Lambda. That operation is a similarity transformation. Finding a complete set of eigenvectors is therefore a way to diagonalize the matrix.

Michael
There are useful checks here. The determinant of the x Pauli matrix is minus one, and the product of its eigenvalues, plus one times minus one, is also minus one. Its trace—the sum of its diagonal entries—is zero, which matches the sum of its eigenvalues.

Simon
Those are general properties highlighted in this example: a matrix’s determinant is the product of its eigenvalues, and its trace is their sum. Determinant and trace are examples of quantities associated with the matrix that remain the same when we express it in diagonal form.

Michael
Next is the Pauli spin matrix in the y direction, with rows zero, minus i, and i, zero. Its entries are complex, but we use the same determinant condition. The determinant of the matrix minus lambda times the identity is again lambda squared minus one, so the eigenvalues are still plus one and minus one.

Simon
For lambda equals plus one, the first equation is minus i times y equals x. Rearranging gives y equals i times x, and the second equation agrees. The eigenvector’s components are complex, so we need to be careful about normalization.

Michael
For complex components, we don’t normalize by adding their ordinary squares. We add their absolute-value squares: absolute x squared plus absolute y squared equals one. Since y is i times x, its absolute value is the same as x’s, so each component has magnitude one over root two.

Simon
Choosing x to be one over root two gives y equal to i over root two. Thus an eigenvector for plus one is the column with entries one over root two and i over root two. If you used ordinary squares here, the terms could cancel; absolute-value squares prevent that and give the correct norm.

Michael
For lambda equals minus one, the equations give y equals minus i times x. The same normalization gives the vector with entries one over root two and minus i over root two. Again, the relative phases distinguish the eigenvectors, while multiplying the whole vector by an overall phase leaves it valid.

Simon
Putting those two complex eigenvectors into a matrix U gives a unitary matrix rather than an orthogonal one. The columns are normalized and orthogonal when we use complex conjugation in the inner product. In other words, U’s inverse is its Hermitian adjoint, U dagger.

Michael
So the diagonalization takes the form U dagger A U equals Lambda, with Lambda containing plus one and minus one on the diagonal. The y matrix is Hermitian, and its eigenvalues are real even though its eigenvectors have complex entries.

Simon
That gives us an important distinction: a real symmetric matrix is diagonalized by an orthogonal matrix, while a Hermitian matrix is diagonalized by a unitary matrix. The y Pauli matrix is Hermitian, so the unitary version is the right one here.

Michael
The z Pauli matrix is even simpler: it is already diagonal, with one and minus one on its diagonal. Its eigenvectors are the two coordinate columns, one, zero and zero, one. The matrix that collects them is just the identity.

Simon
Let’s move to a three-by-three example: the symmetric matrix with rows five, zero, two; zero, one, zero; and two, zero, two. A corresponding eigenvector has three components, which we can call x, y, and z. Because the matrix is real and symmetric, its eigenvalues are real.

Michael
To find them, set the determinant of A minus lambda times the identity equal to zero. Expanding the determinant gives the factorization: one minus lambda, multiplied by lambda squared minus seven lambda plus six. The quadratic factors into lambda minus six and lambda minus one, so the eigenvalues are six and one, with one appearing twice.

Simon
That repeated eigenvalue is called degenerate; here, the eigenvalue one has degeneracy two. Before tackling that, let’s find the eigenvector for the non-repeated eigenvalue, six. The equations reduce to x equals two z and y equals zero.

Michael
Normalize it by requiring x squared plus y squared plus z squared to equal one. Substituting x equals two z and y equals zero gives five z squared equals one. We can choose z to be one over root five, so x is two over root five. One normalized eigenvector for six is therefore two over root five, zero, one over root five.

Simon
Now consider lambda equals one. The equations give two x plus z equals zero, while the middle equation simply says y equals y. So y is free, and x and z must satisfy z equals minus two x. That leaves two independent choices, which is why this eigenvalue has a two-dimensional eigenspace.

Michael
One convenient choice is to set y equal to zero. Then we can normalize the vector with components x, zero, minus two x. Choosing x to be minus one over root five gives the eigenvector minus one over root five, zero, two over root five.

Simon
For the second eigenvector with eigenvalue one, we choose a direction that is orthogonal to the first two eigenvectors. Since the first eigenvector for six and the one we just found both have zero in the middle component, the remaining coordinate direction works: zero, one, zero.

Michael
So we have three orthonormal eigenvectors: one for six, and two for one. Put them into a matrix as columns, and the resulting matrix is orthogonal. With the eigenvectors ordered as we found them, the diagonal matrix has six, one, and one on its diagonal.

Simon
Degeneracy means there is more than one valid direction in the eigenspace, not that we have to use one particular pair of vectors. We can choose an orthonormal basis within that space. In this example, choosing the second vector orthogonal to the eigenvectors already found makes the full eigenvector matrix orthogonal.

Michael
The matrix’s structure also gives us a shortcut to notice one of those vectors. Its middle row and middle column have no off-diagonal entries, so the middle component is separated from the first and third. That makes zero, one, zero an eigenvector with eigenvalue one.

Simon
You can see the same pattern in a matrix whose first two coordinates are linked by off-diagonal entries, while the third coordinate stands alone. The isolated coordinate has its own eigenvector. Looking at which entries are connected through rows and columns can reveal useful features before doing all the algebra.

Michael
And degeneracy is not just a matrix exercise. The lecture points to examples in quantum mechanics, including energy levels in the hydrogen atom and a particle in a two-dimensional box. In those settings, repeated energy eigenvalues make it especially useful to understand how to choose eigenvectors within a degenerate space.

Simon
The big picture is that eigenvalues tell us the characteristic values associated with a matrix, while eigenvectors give us directions that the matrix maps back onto themselves, scaled by those values. Collecting a full set of eigenvectors lets us transform the matrix into diagonal form.

Michael
And the examples give us a practical guide: use ordinary normalization for real vectors, absolute-value squares for complex ones, orthogonal matrices for real symmetric matrices, and unitary matrices for Hermitian ones. When an eigenvalue repeats, find an orthonormal basis for its eigenspace. That’s a solid toolkit for the next matrix problems.

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