The Spectral Theorem
A real square matrix can be diagonalized by an orthogonal change of basis exactly when it is symmetric. The Spectral Theorem (Theorem 9.1) packages a symmetric as , where holds the (always real) eigenvalues and the columns of the orthogonal matrix form an orthonormal eigenbasis. This lesson shows why symmetry is the exact dividing line, and how to build and in practice.
Before you start — give these a try
Attempting first primes your brain for the lesson — even if you miss. Nothing is graded or saved; it's just a warm-up.
The matrix is symmetric, hence orthogonally diagonalizable. Find its smaller eigenvalue.
For the symmetric matrix , enter its two eigenvalues as a vector in increasing order .
What you’ll be able to do
- State Definition 9.1: is orthogonally diagonalizable when some orthogonal matrix (written in the course notes) makes diagonal, and recognise that this happens exactly when has an orthonormal eigenbasis.
- Apply the Spectral Theorem (Theorem 9.1): a real square matrix is orthogonally diagonalizable if and only if it is symmetric (), so a single symmetry check settles the question.
- Explain both directions: orthogonally diagonalizable symmetric (Remark 9.1, since ), and symmetric diagonalizable orthogonally diagonalizable (Proposition 9.1), using that eigenspaces for distinct eigenvalues are orthogonal (Lemma 9.1).
- Construct and from a symmetric matrix (Remark 9.3): find the real eigenvalues, produce an orthonormal eigenbasis (normalise each eigenvector, Gram--Schmidt within a repeated eigenspace), put those vectors in the columns of and the matching eigenvalues on the diagonal of .
- Use and verify the spectral decomposition : reconstruct from and , check , and remember that is not unique (eigenvector columns may be sign-flipped, reordered, or rotated inside a repeated eigenspace) while is fixed up to the order of its entries.
In your course
· MATH2015 · Linear Algebra & Probability- Definition 9.1Orthogonally diagonalizableis orthogonally diagonalizable if there is an orthogonal (notes: ) with diagonal; equivalently has an orthonormal eigenbasis.
- Remark 9.1Orthogonally diagonalizable matrices are symmetric.
- Theorem 9.1Spectral TheoremA real matrix is orthogonally diagonalizable if and only if it is symmetric.
- Lemma 9.1Eigenspaces of a symmetric matrix are orthogonalEigenvectors for distinct eigenvalues of a symmetric matrix are orthogonal.
- Proposition 9.1Symmetric and diagonalizable implies orthogonally diagonalizable
- Proposition 9.2A symmetric n-by-n matrix has n real eigenvalues (with multiplicity)
- Lemma 9.2For an eigenvector of symmetric , is an -invariant -dimensional subspace
- Remark 9.3Building the orthogonal diagonalizing matrix
Orthogonal diagonalization: the definition
Recall that an orthogonal matrix is a square matrix with orthonormal columns, equivalently , so that . A matrix is orthogonally diagonalizable when there is an orthogonal for which is diagonal (Definition 9.1; the course notes call this matrix ). Rearranging gives the spectral decomposition Reading the equation column by column shows exactly what and contain: the -th column of satisfies , so the columns of are eigenvectors of and the diagonal entries of are the corresponding eigenvalues. Because the columns of are orthonormal, this says precisely that is orthogonally diagonalizable if and only if has an orthonormal eigenbasis -- an orthonormal basis of made entirely of eigenvectors of .
The Spectral Theorem: symmetry is the whole story
The Spectral Theorem (Theorem 9.1) is one of the cleanest classification results in linear algebra: a real matrix is orthogonally diagonalizable if and only if is symmetric (). One direction is a one-line computation (Remark 9.1): if with orthogonal and diagonal, then using . So every orthogonally diagonalizable matrix is automatically symmetric. The striking direction is the converse -- that symmetry alone guarantees an orthonormal eigenbasis -- proved by induction on , peeling off one real unit eigenvector at a time and restricting to its orthogonal complement, which stays symmetric (Lemma 9.2). The practical payoff is enormous: to decide whether a real matrix can be orthogonally diagonalized you do not compute a single eigenvalue -- you just check whether .
Why symmetric matrices always cooperate
Two facts about a symmetric make the hard direction work. First, all eigenvalues are real (Proposition 9.2): there are of them, counted with multiplicity, so the characteristic polynomial never forces complex roots. Second, eigenvectors from distinct eigenvalues are automatically orthogonal (Lemma 9.1). The proof computes two ways for eigenvectors with : on one hand , and on the other, using , ; subtracting gives , so . These two facts drive Proposition 9.1: if a symmetric is diagonalizable then it is orthogonally diagonalizable -- its distinct eigenspaces are already mutually perpendicular, so you only normalise the eigenvectors in each one-dimensional eigenspace and run Gram--Schmidt inside any higher-dimensional eigenspace to finish an orthonormal eigenbasis.
Building $Q$ and $D$ -- and why $Q$ is not unique
Remark 9.3 turns the theory into a recipe for a symmetric : (1) find the eigenvalues from ; (2) for each eigenvalue find its eigenvectors; (3) orthonormalise -- normalise within each one-dimensional eigenspace, and apply Gram--Schmidt inside any repeated eigenspace (distinct eigenspaces are already orthogonal by Lemma 9.1); (4) place the orthonormal eigenvectors as the columns of and the matching eigenvalues, in the same order, on the diagonal of . Then . A crucial caveat for checking answers: is far from unique. You may replace any column by (still a unit eigenvector), reorder the columns (reordering to match), or, inside a repeated eigenspace, rotate to any other orthonormal basis. The diagonal matrix is unique up to the order of its entries -- it is literally the list of eigenvalues -- but there is no single 'correct' . This is why the reconstructed product and the (ordered) eigenvalues are well-defined answers, while '' is not.
An matrix is orthogonally diagonalizable if there exists an orthogonal matrix (denoted in the course notes) such that is diagonal. Equivalently, is orthogonally diagonalizable if and only if has an orthonormal eigenbasis.
An real matrix is orthogonally diagonalizable if and only if is symmetric (). In that case with orthogonal (its columns an orthonormal eigenbasis) and the diagonal matrix of the real eigenvalues.
If a symmetric matrix is diagonalizable, then it is orthogonally diagonalizable.
For a symmetric : find the eigenvalues, find an eigenvector for each, orthonormalise them (normalise one-dimensional eigenspaces; Gram--Schmidt within a repeated eigenspace), and take with those orthonormal eigenvectors as columns and with the eigenvalues in the matching order. Then .
Worked examples
Orthogonally diagonalize the symmetric matrix : find an orthogonal and diagonal with , and verify the factorization.
- 1
Check symmetry first. , so by the Spectral Theorem (Theorem 9.1) is orthogonally diagonalizable -- an orthonormal eigenbasis exists.
- 2
Eigenvalues. , so and .
- 3
Eigenvectors. For : gives , eigenvector . For : gives , eigenvector . They are orthogonal, as Lemma 9.1 promises for distinct eigenvalues.
- 4
Normalise. Each eigenvector has length , so and .
- 5
Assemble (Remark 9.3). Put the eigenvectors in the columns of and the eigenvalues in the matching order on :
- 6
Verify. (columns orthonormal), and
You are given an orthogonal matrix and diagonal . Reconstruct the symmetric matrix , and confirm its eigenvalues and eigenvectors match and .
Orthogonally diagonalize , whose eigenvalues are irrational. Give and to decimal places and verify .