The shear with rows and has a single eigenline, so it has no basis of eigenvectors at all. The quarter turn with rows and has no real eigenvector, yet over its eigenvectors and are orthogonal. Which complex square matrices have an orthonormal basis of eigenvectors? This lesson proves that they are exactly the normal matrices, the ones that commute with their own conjugate transpose, and then shows what the Hermitian and unitary conditions add to the eigenvalues.
Key terms
Normal operator
Definition Let be a finite-dimensional inner product space over , where is or , and let be linear with adjoint , defined by for all . The operator is normal if
A square matrix is normal if , where . For a real matrix this reads . In an orthonormal basis the matrix of is the conjugate transpose of the matrix of , so is normal exactly when its matrix in an orthonormal basis is a normal matrix. The adjoint depends on the inner product, and so does normality. In a basis that is not orthonormal, the conjugate transpose of the matrix need not represent , and the matrix test can give the wrong answer. Hermitian operators, with , and unitary operators, with , are normal, but the normal operators form a larger class.
In plain words Applying a normal operator and then its adjoint gives the same map as applying them in the other order. That balance between the operator and its adjoint is what makes an orthonormal eigenbasis possible over .
Example For the shear with rows and ,
so is not normal. The matrix with rows and satisfies , so it is normal. It is not Hermitian, since , and it is not unitary, since . Its eigenvalues are and , which are neither real nor of modulus one.
Complex spectral theorem
Definition Let be a finite-dimensional complex inner product space and let be linear. Then has an orthonormal basis consisting of eigenvectors of if and only if is normal. In matrix form, a matrix is normal if and only if
for some unitary and some diagonal . The proof rests on a lemma. An upper triangular normal matrix is diagonal. To see this, compare the first diagonal entries of and . The first is the squared length of the first row of . The second is the squared length of the first column, which is only because is upper triangular. Equality leaves
and a sum of nonnegative real numbers is zero only when every term is zero. So the first row has no entries off the diagonal, splits into the block and an upper triangular block of size , and comparing the lower blocks of and shows that is normal. Induction on finishes the lemma, since every matrix is diagonal. For the theorem, Schur decomposition gives with unitary and upper triangular. Then and , so is normal when is, and the lemma makes diagonal. Conversely, if , then and , and these agree because both diagonal products have entries . The field matters. Schur decomposition needs the complex eigenvalues that the fundamental theorem of algebra supplies, and over the quarter turn is normal but has no real eigenvector.
In plain words Over every square matrix becomes upper triangular in a suitable orthonormal basis. Normality forces each row to have the same length as the matching column, and in triangular form that leaves no room for entries above the diagonal.
Example For an upper triangular matrix
the first diagonal entries of and are and . So can be normal only if , and then it is diagonal. The shear fails exactly here, with . The normal matrix with rows and has the orthonormal eigenvectors
with and , as the theorem promises. Over the same matrix has no eigenvector, because its eigenvalues are not real.
Unitary diagonalization
Definition A matrix is unitarily diagonalizable if , or equivalently , for some unitary and some diagonal . Writing for the columns of , this says exactly that the are orthonormal and . It also gives the spectral decomposition
in which each is the orthogonal projection onto the line spanned by . The diagonal entries of are the eigenvalues of repeated according to algebraic multiplicity, so is unique up to the order of its entries. The matrix is not unique. Each column can be multiplied by a complex number of modulus one, and the columns that belong to an eigenspace of dimension two or more can be replaced by any other orthonormal basis of that eigenspace. Since , the eigenspace for is spanned by the columns with . Hence eigenvectors of a normal matrix for distinct eigenvalues are automatically orthogonal, and a unitary diagonalization is found by choosing an orthonormal basis of each eigenspace and putting these bases together. Ordinary diagonalization with an invertible is weaker. By the spectral theorem, can be chosen unitary only when is normal.
In plain words A unitary diagonalization writes every input in coordinates along perpendicular unit eigenvectors, and the matrix multiplies each coordinate by the matching eigenvalue. The change of coordinates keeps all lengths and angles, so nothing is distorted along the way.
Example The Hermitian matrix
has trace and determinant , so
Solving and gives the eigenvectors for and for . Their inner product, with the first vector conjugated, is , and each has squared length . So with
The spectral decomposition reads
and adding entries returns , for example in the top left corner.
Hermitian operator
Definition Let be a finite-dimensional complex inner product space. A linear operator is Hermitian, or self-adjoint, if , that is, if for all . A matrix is Hermitian if , so its diagonal entries are real and . Every eigenvalue of a Hermitian operator is real. If with , then
using for the middle equality, linearity of the inner product in the second argument and conjugate-linearity in the first. Since , this gives . Together with the spectral theorem, this shows that is Hermitian if and only if it has an orthonormal eigenbasis whose eigenvalues are all real. In matrix form, is Hermitian if and only if with unitary and real diagonal, where the converse holds because a real gives . A real symmetric matrix, meaning with , is Hermitian, so its eigenvalues are real, and it even has a real orthonormal eigenbasis, with real orthogonal. The reason is that the real and imaginary parts of a complex eigenvector for a real eigenvalue solve the same real equation, and at least one of them is nonzero. If with real, symmetry gives , so maps the real orthogonal complement of into itself, the restriction there is again symmetric, and induction on dimension finishes the proof.
In plain words A Hermitian operator can be moved from one side of the inner product to the other. That forces every eigenvalue to equal its own conjugate, and the spectral theorem then gives perpendicular modes that are scaled by real numbers.
Example The real symmetric matrix whose nine entries all equal sends to , and for every in the plane . So its eigenvalues are . The eigenvalue is repeated, and any orthonormal basis of that plane completes an orthonormal eigenbasis, for instance
or equally well and . With as the first column, either pair completes a real orthogonal with . The eigenvalues are determined, but the eigenvectors inside the repeated eigenspace are a choice.
Unitary operator
Definition Let be a finite-dimensional complex inner product space. A linear operator is unitary if . In finite dimension this makes invertible with , so as well, and every unitary operator is normal. The condition holds exactly when preserves inner products, because
for all . In particular for every . A matrix is unitary when , which says that its columns are orthonormal, and a real matrix with is called orthogonal. Every eigenvalue of a unitary operator has modulus one. If with , then , and dividing by gives . Together with the spectral theorem, this shows that is unitary if and only if it has an orthonormal eigenbasis whose eigenvalues all lie on the unit circle. In matrix form the converse holds because for such eigenvalues, so with unitary gives .
In plain words A unitary operator keeps every length and every angle. On an eigenvector it can only multiply by a number of modulus one, a pure phase, never a stretch or a shrink.
Example The matrix
has . It sends to and to . Both eigenvalues have modulus , and they equal and . The two eigenvectors are orthogonal, so dividing each by gives an orthonormal eigenbasis. By contrast, a number such as or can never be an eigenvalue of a unitary matrix.
Check yourself
- Decide whether the matrix with rows and is normal, Hermitian or unitary, and find the moduli of its eigenvalues.
Show the answer
The conjugate transpose has rows and . Multiplying gives , so is normal. It is not Hermitian, because its diagonal entries are not real. It does satisfy , but for a complex matrix being symmetric is not the same as being Hermitian. It is not unitary either, because . The vectors and are eigenvectors with eigenvalues and , both of modulus , and they are orthogonal, as the spectral theorem predicts for a normal matrix.
- The matrix with rows and has two distinct eigenvalues, so it is diagonalizable. Does it have an orthonormal eigenbasis?
Show the answer
No. The eigenvalues are and , with eigenvectors and . Each eigenspace is a single line, so these are the only eigenvector directions, and their inner product is . The spectral theorem explains the failure through normality. The first diagonal entries of and are and , so is not normal. Diagonalizable with some invertible is weaker than unitarily diagonalizable.
- Suppose is both Hermitian and unitary. Show that every eigenvalue of is or and that , and give an example other than .
Show the answer
Because is Hermitian, every eigenvalue is real. Because is unitary, every eigenvalue has modulus one. The only real numbers of modulus one are and . For the square, use to get
An example is the real matrix with rows and , the reflection across the line . It is symmetric and orthogonal, it fixes and it sends to , so its eigenvalues are and .