Diagonalisation of symmetric matrices
Studying this course? Keep your progress in one place.
Key facts
- A matrix is symmetric if ; its eigenvalues are real.
- Eigenvectors of a symmetric matrix for different eigenvalues are perpendicular.
- A matrix is orthogonal if , so ; its columns are orthonormal.
- Diagonalise with : columns of are unit eigenvectors, holds the eigenvalues in the same order.
- Check with the trace and determinant: and .
Symmetric matrices
They have real eigenvalues, and eigenvectors for different eigenvalues are perpendicular.
A square matrix is symmetric if , so the entry in row , column equals the entry in row , column .
Symmetric matrices have two properties that make them special:
- all their eigenvalues are real;
- eigenvectors corresponding to different eigenvalues are perpendicular, i.e. their scalar product is .
Example: has with and with , and .
A symmetric matrix has eigenvector for . Which could be an eigenvector for a different eigenvalue?
Orthogonal matrices
A matrix whose columns are orthonormal, so its inverse is its transpose.
A square matrix is orthogonal if
Equivalently, the columns of are orthonormal: each column has magnitude and every pair of columns has scalar product . The same is true of the rows. Then .
For example is orthogonal: both columns have magnitude and their scalar product is .
- Orthogonal
- Inverse
Which of these matrices is orthogonal?
Diagonalising a symmetric matrix
Find the eigenvalues, then the eigenvectors, normalise them, and use them as the columns of .
For a symmetric matrix , follow the four steps below. Then is orthogonal and
Equivalently , because .
- 1
Eigenvalues
Solve .
- 2
Eigenvectors
Solve for each .
- 3
Normalise
Divide each eigenvector by its magnitude.
- 4
Build P and D
Normalised eigenvectors go in the columns of P; the matching eigenvalues, in the same order, go on the diagonal of D.
A symmetric matrix has eigenvalues and . If the first column of is the unit eigenvector for , what is ?
A worked 2×2 example
The eigenvectors are perpendicular, which is a built-in check on your working.
The matrix below is symmetric, so its eigenvectors will be perpendicular, as the two lines above show.
Worked example
Diagonalise .
- 1
Eigenvalues: , so or .
- 2
: gives .
- 3
: gives .
- 4
Each has magnitude , so divide each by .
- 5
Check: the eigenvectors are perpendicular since .
Normalise .
A worked 3×3 example and checks
The same method gives three mutually perpendicular eigenvectors, and the trace and determinant give two quick checks.
The same method works for a 3×3 symmetric matrix; there are three mutually perpendicular eigenvectors.
Checks: the three eigenvectors are perpendicular, the trace of equals the sum of the diagonal of , and (since ).
- 1
Find the eigenvalues
Solve det(A − λI) = 0; check they sum to the trace.
- 2
Find an eigenvector for each
For distinct eigenvalues they are already perpendicular.
- 3
Normalise each eigenvector
Divide by its magnitude.
- 4
Write P and D
The unit eigenvectors are the columns of P; D has the eigenvalues in the same order.
- 5
Check
det A = det D, and P is orthogonal.
- sum of the diagonal of
Worked example
Diagonalise , given that its eigenvalues are , and .
- 1
Eigenvectors: , , for .
- 2
Magnitudes: , , .
- 3
Divide each eigenvector by its magnitude and use them as the columns of .
- 4
Put the eigenvalues in the same order on the diagonal of .
A symmetric matrix has trace and two eigenvalues and . What is the third?
Try an exam question
The matrix . Find an orthogonal matrix and a diagonal matrix such that .
[4 marks]
- [1], so or .
- [1]For the eigenvector is , normalised to .
- [1]For the eigenvector is , normalised to .
- [1] and .
That's the notes covered.
Carry on to the next subtopic.
Try a question
What are the eigenvalues of ?
1 mark, marked against the mark scheme
What are the eigenvalues of ?
1 mark, marked against the mark scheme