2 Symmetric matrices
Symmetric matrices have a number of useful properties which we will investigate in this Section.
Task!
Consider the following four matrices
What property do the matrices and possess that and do not?
Matrices and are symmetric across the principal diagonal. In other words transposing these matrices, i.e. interchanging their rows and columns, does not change them.
This property does not hold for matrices and which are non-symmetric .
Calculating the eigenvalues of an matrix with real elements involves, in principle at least, solving an order polynomial equation, a quadratic equation if , a cubic equation if , and so on. As is well known, such equations sometimes have only real solutions, but complex solutions (occurring as complex conjugate pairs) can also arise. This situation can therefore arise with the eigenvalues of matrices.
Task!
Consider the non-symmetric matrix
Obtain the eigenvalues of and show that they form a complex conjugate pair.
The characteristic equation of is
i.e.
leading to
giving eigenvalues which are of course complex conjugates.
In particular any matrix of the form
has complex conjugate eigenvalues .
A example of a matrix with some complex eigenvalues is
A straightforward calculation shows that the eigenvalues of are
(real), (complex conjugates).
With symmetric matrices on the other hand, complex eigenvalues are not possible.
Key Point 6
The eigenvalues of a symmetric matrix with real elements are always real.
The general proof of this result in Key Point 6 is beyond our scope but a simple proof for symmetric matrices is straightforward.
Let be any symmetric matrix, being real numbers.
The characteristic equation for is
or, expanding:
from which
The quantity under the square root sign can be treated as follows:
which is always positive and hence cannot be complex .
Task!
Obtain the eigenvalues and the eigenvectors of the symmetric matrix
The characteristic equation for is
or
giving and , both of which are of course real and also unequal (i.e. distinct). For the larger eigenvalue the eigenvector satisfy
i.e.
Both equations tell us that so an eigenvector for is or anymultiple of this. For the associated eigenvectors satisfy
i.e. (from both equations) so an eigenvector is or any multiple.
We now look more closely at the eigenvectors and in the last task. In particular we consider the product .
Task!
Evaluate from the previous task i.e. where
Task!
We obtained earlier in Section 22.1 Example 6 the eigenvalues of the matrix
which, as we now emphasize, is symmetric . We found that the eigenvalues were which are real and distinct. The corresponding eigenvectors were, respectively
(or, as usual, any multiple of these).
Show that these three eigenvectors are mutually orthogonal .
The following proof that eigenvectors corresponding to distinct eigenvalues of a symmetric matrix are orthogonal is straightforward and you are encouraged to follow it through.
Let be a symmetric matrix and let be two distinct eigenvalues of i.e. with associated eigenvectors respectively. We have seen that and must be real since is symmetric. Then
(1)
Transposing the first of there results gives
(2)
(Remember that for any two matrices the transpose of a product is the product of the transposes in reverse order .)
We now multiply both sides of (2) on the right by (as well as putting , since is symmetric) to give:
(3)
But, using the second eigenvalue equation of (1), equation (3) becomes
or, since is just a number,
Taking all terms to the same side and factorising gives
from which, since by assumption , we obtain the result
and the orthogonality has been proved.
Key Point 8
The eigenvectors associated with distinct eigenvalues of a
symmetric matrix are mutually orthogonal .
The reader familiar with the algebra of vectors will recall that for two vectors whose Cartesian forms are
the scalar (or dot) product is
Furthermore, if and are mutually perpendicular then . (The word ‘orthogonal’ is sometimes used instead of perpendicular in the case.) Our result, that two column vectors are orthogonal if , may thus be considered as a generalisation of the 3-dimensional result .
2.2 Diagonalization of symmetric matrices
Recall from our earlier work that
- We can always diagonalize a matrix with distinct eigenvalues (whether these are real or complex).
- We can sometimes diagonalize a matrix with repeated eigenvalues. (The condition for this to be possible is that any eigenvalue of multiplicity had to have associated with it linearly independent eigenvectors.)
The situation with symmetric matrices is simpler. Basically we can diagonalize any symmetric matrix. To take the discussions further we first need the concept of an orthogonal matrix.
A square matrix is said to be orthogonal if its inverse (if it exists) is equal to its transpose:
or, equivalently,
Example
An important example of an orthogonal matrix is
which arises when we use matrices to describe rotations in a plane.
It is clear that also, so is indeed orthogonal.
It can be shown, but we omit the details, that any matrix which is orthogonal can be written in one of the two forms.
or
If we look closely at either of these matrices we can see that
-
The two columns are mutually orthogonal e.g. for the first matrix we have
- Each column has magnitude 1 (because )
Although we shall not prove it, these results are necessary and sufficient for any order square matrix to be orthogonal.
Key Point 9
A square matrix is said to be orthogonal if its inverse (if it exists) is equal to its transpose:
or, equivalently,
A square matrix is orthogonal if and only if its columns are mutually orthogonal and each column has unit magnitude.
Task!
For each of the following matrices verify that the two properties above are satisfied. Then check in both cases that i.e. that .
-
Since
the columns are orthogonal.
Since and each column has unit magnitude.
Straightforward multiplication shows
- Proceed as in (1).
The following is the key result of this Section.
Key Point 10
Any symmetric matrix can be diagonalized using an orthogonal modal matrix via the transformation
It should be clear to the reader that Key Point 10 is a very powerful result for any applications that involve diagonalization of a symmetric matrix. Further, if we do need to find the inverse of , then this is a trivial process since
Task!
The symmetric matrix
has eigenvalues (i.e. eigenvalue 2 is repeated with multiplicity 2.)
Associated with the non-repeated eigenvalue is an eigenvector:
(or any multiple)
-
Normalize the eigenvector
:
Normalizing which has magnitude gives
-
Investigate the eigenvectors associated with the repeated eigenvalue 2:
The eigenvectors associated with satisfy
which gives
The first and third equations give
i.e.
The equations give us no information about so its value is arbitrary.
Thus has the form where both and are arbitrary.
A certain amount of care is now required in the choice of and if we are to find an orthogonal modal matrix to diagonalize .
For any choice
So and are orthogonal. (The normalization of does not affect this.)
However, we also need two orthogonal eigenvectors of the form . Two such are
After normalization, these become
Hence the matrix
is orthogonal and diagonalizes :
2.3 Hermitian matrices
In some applications, of which quantum mechanics is one, matrices with complex elements arise.
If is such a matrix then the matrix is the conjugate transpose of , i.e. the complex conjugate of each element of is taken as well as being transposed. Thus if
An Hermitian matrix is one satisfying
The matrix above is clearly non-Hermitian. Indeed the most obvious features of an Hermitian matrix is that its diagonal elements must be real. (Can you see why?) Thus
is Hermitian.
A example of an Hermitian matrix is
An Hermitian matrix is in fact a generalization of a symmetric matrix. The key property of an Hermitian matrix is the same as that of a real symmetric matrix – i.e. the eigenvalues are always real .