Symmetric matrices and orthogonal diagonalization
1Introduction
The important point of this lecture is that a
A general matrix may fail to be diagonalizable. Even if it is diagonalizable, its eigenvector basis need not be orthogonal. By contrast, every real symmetric matrix is diagonalizable by an
2Terms and definitions
A real square matrix is
A complex square matrix is
A
It preserves the complex inner product, lengths, and orthogonality.
A
Hermitian and unitary matrices are basic examples of normal matrices.
with orthogonal and diagonal. In the complex case one writes
with unitary.
3Plan
First, symmetry is interpreted through the inner-product identity
Then this identity is used to prove that eigenvectors belonging to distinct eigenvalues are orthogonal.
data/lecture/math/linear-algebra/inner-product-space-basics.lecture.n.md data/lecture/math/linear-algebra/complex-inner-products-and-unitary-matrices.lecture.n.md4Intuitive explanation
A symmetric matrix is a transformation whose input and output contributions are balanced in the inner product. Such a transformation can be decomposed into stretches along mutually orthogonal principal directions. The principal directions are eigenvectors, and the stretch factors are eigenvalues.
5Precise explanation
5.11. Eigenvectors for distinct eigenvalues are orthogonal
Let be a real symmetric matrix, and suppose
Because is symmetric,
Substituting the eigenvalue equations gives
Hence
Since , , so and are orthogonal.
The same argument works for complex Hermitian matrices. If , then
Since implies , we get , so Hermitian eigenvalues are real.
5.22. Spectral theorem for real symmetric matrices
For a real symmetric matrix in finite dimensions,
Here is an
In the complex Hermitian case,
where is unitary and the diagonal entries of are real.
5.33. Relation with normal matrices
Over finite-dimensional complex inner product spaces,
Hermitian matrices are the normal matrices whose eigenvalues are real. Real symmetric matrices are the real version of this self-adjoint situation.
6Concrete example
Let
This matrix is symmetric. Take
The corresponding eigenvalues are and . Therefore
and
7Another viewpoint
Ordinary diagonalization chooses a basis that simplifies a matrix. Orthogonal diagonalization makes the stronger claim that this basis can be orthonormal. Because orthogonal and unitary matrices preserve lengths and angles, the change of coordinates does not destroy the inner-product structure.
8Criteria
- A real symmetric matrix is orthogonally diagonalizable.
- A Hermitian matrix is unitarily diagonalizable.
- Over complex finite-dimensional spaces, a matrix is unitarily diagonalizable exactly when it is normal.
- Eigenvectors for distinct eigenvalues of a symmetric or Hermitian matrix are orthogonal.
- Eigenvalues describe stretch factors along principal directions.
9Scope and limitations
Orthogonal diagonalization does not hold for every diagonalizable matrix. It requires symmetry compatible with the inner product. In complex linear algebra, the correct analogue of a real symmetric matrix is a Hermitian matrix, not merely a matrix satisfying .
10Final forms
11In one sentence
A
A real
The repeated-eigenvalue case is the main place where mistakes occur. Eigenvectors for different eigenvalues are automatically orthogonal, but inside one eigenspace one may still need Gram-Schmidt to choose an orthonormal basis. Orthogonal diagonalization preserves lengths and angles, which is why it is the right form for quadratic forms and principal-axis calculations.
12Theorem: real and complex spectral theorems
In a finite-dimensional real inner product space, every real symmetric matrix has an orthonormal basis of eigenvectors:
Equivalently,
In a finite-dimensional complex inner product space, every
Hermitian matrices are the special case in which the diagonal entries of are real.
13Proof idea: from one eigenvector to its orthogonal complement
For a real symmetric matrix, one first chooses a unit eigenvector . Then consider the orthogonal complement . If , then
Thus , so is invariant under . Applying induction to this invariant subspace gives the remaining orthonormal eigenvectors.
The crucial point is that symmetry preserves orthogonal complements. This is exactly what fails for a general matrix.
data/lecture/math/linear-algebra/orthogonal-complements-and-projections.lecture.n.md14Non-example: diagonalizable does not imply orthogonally diagonalizable
The matrix
has distinct eigenvalues and , so it is diagonalizable. But , and it cannot be orthogonally diagonalized. If with orthogonal and diagonal, then , which is symmetric. That contradicts .
This example separates diagonalizability from orthogonal diagonalizability.