Diagonalization of Symmetric Matrices
Symmetric matrices () are the best-behaved matrices there are: their eigenvalues are real and their eigenvectors are perpendicular. So every symmetric matrix is just stretching along perpendicular axes, , and since is orthogonal, its inverse is simply .
What the symbols mean
- Orthogonal matrix
Columns are orthonormal eigenvectors, so P⁻¹ is just Pᵀ.
Explanation
A symmetric matrix is simply one that's a mirror image of itself across its main diagonal: the entry in row , column equals the entry in row , column , so . "Orthogonally diagonalizing" it means diagonalizing it the way you already know how to, , but with a whose columns are perpendicular unit vectors. What it's good for: symmetric matrices show up all over science and engineering, and for them diagonalizing is about as easy as it gets. All we're really saying here is that breaks the matrix into three moves: (rewrite in eigenvector coordinates), (stretch each coordinate by its eigenvalue) and (go back to the usual coordinates). It's the same diagonalization as before, with replaced by the much easier .
Think about where that comes from. Back in the orthogonal sets lesson, you saw that a matrix with orthonormal columns has , so its inverse is just its transpose. The spectral theorem says a symmetric matrix always has enough perpendicular eigenvectors to build such a .
What's guaranteed:
- All eigenvalues are real (no rotation hidden inside).
- Eigenvectors for different eigenvalues are automatically orthogonal.
- There's always a full orthonormal basis of eigenvectors, even with repeated eigenvalues.
Here's why the second one is true. Say and with . Then , using in the middle. So , and since the eigenvalues differ, .
Spectral decomposition: . Each is the projection onto the line through , so this says is a sum of projections onto the eigenvector directions, each weighted by its eigenvalue: split into perpendicular pieces, stretch each piece, add them back.
A common mistake. It's tempting to think every diagonalizable matrix has perpendicular eigenvectors, because it works out so neatly here. It doesn't: has eigenvectors and , which aren't perpendicular. Orthogonal eigenvectors are special to symmetric matrices.
Covariance matrices, stiffness matrices and Hessians are all symmetric, which is why this theorem is everywhere. There's an animation further down that shows a symmetric matrix acting as pure stretching along two perpendicular axes.
See it
Worked examples
Orthogonally diagonalize .
- 1
The eigenvalues are 3 and 1 (trace 4, determinant 3), with eigenvectors and . Their dot product is , just as the spectral theorem promises for a symmetric matrix.
Practice
Type your answer and check it. Solve them all to complete the lesson.
Is symmetric?
Find the eigenvalues of .
Find the dot product of its eigenvectors and .
Give the unit eigenvector for with positive entries.
For an orthogonal matrix , what is ?
A flat plate's inertia matrix is (kg·m²). Its eigenvectors are the principal axes, the directions it spins about without wobbling, and its eigenvalues are the principal moments. Find the principal axis for the larger moment, as a unit vector with positive entries.
The hardest one here. Get it, and you've got this lesson.
Find the symmetric matrix with eigenvalues and whose eigenvector for is . Row by row.
Where it's used
Vibration analysis of structures, the principal stresses in materials and the normal modes of molecules all come from orthogonally diagonalizing symmetric matrices.