Orthogonal
Diagonalization
Learn how symmetric matrices can be decomposed using orthogonal eigenvectors into the elegant factorization \( A = PDP^T \).
What is Orthogonal Diagonalization?
Orthogonal diagonalization is the process of factoring a matrix \( A \) as:
$$ A = PDP^T $$
where \( P \) is an orthogonal matrix (its columns are orthonormal eigenvectors) and \( D \) is a diagonal matrix of eigenvalues.
Key Definitions
Why Does It Matter?
Orthogonal diagonalization reveals the principal axes of a transformation. It turns complex matrix operations into simple scaling along perpendicular directions.
The Spectral Theorem
The Spectral Theorem guarantees two powerful properties for any real symmetric matrix:
Visualizing \( A = PDP^T \)
Diagonalizable vs Orthogonally Diagonalizable
| Diagonalizable | Orthogonally Diag. | |
|---|---|---|
| Factorization | \( A = PDP^{-1} \) | \( A = PDP^T \) |
| Matrix \( P \) | Any invertible matrix | Orthogonal: \( P^TP = I \) |
| Requirement | \( n \) linearly independent eigenvectors | \( A \) must be symmetric |
| Eigenvalues | May be complex | Always real |
| Inverse of \( P \) | Must compute \( P^{-1} \) | Free: just transpose |
How to Orthogonally Diagonalize
Example 1: \( 2 \times 2 \) Matrix
Orthogonally diagonalize \( A = \begin{pmatrix} 3 & 1 \\ 1 & 3 \end{pmatrix} \).
Example 1: Result
The orthogonal diagonalization of \( A \) is:
$$ A = PDP^T = \frac{1}{\sqrt{2}}\begin{pmatrix} -1 & 1 \\ 1 & 1 \end{pmatrix} \begin{pmatrix} 2 & 0 \\ 0 & 4 \end{pmatrix} \frac{1}{\sqrt{2}}\begin{pmatrix} -1 & 1 \\ 1 & 1 \end{pmatrix} $$
Example 2: \( 3 \times 3 \) Matrix
Orthogonally diagonalize \( A = \begin{pmatrix} 2 & 1 & 1 \\ 1 & 2 & 1 \\ 1 & 1 & 2 \end{pmatrix} \).
Example 2: Gram-Schmidt Step
The eigenspace for \( \lambda = 1 \) has two basis vectors. We apply Gram-Schmidt to make them orthogonal:
Example 3: Using the Decomposition
Given \( A = PDP^T \) with \( D = \begin{pmatrix} 2 & 0 \\ 0 & 5 \end{pmatrix} \), compute \( A^3 \).
When is Gram-Schmidt Needed?
The Spectral Theorem guarantees eigenvectors from different eigenvalues are already orthogonal. But when an eigenvalue has algebraic multiplicity > 1, the basis vectors within that eigenspace may not be orthogonal.
Common Mistakes
Summary: Key Properties
| Property | Symmetric \( A \) | General \( A \) |
|---|---|---|
| Eigenvalues | Always real | May be complex |
| Eigenvectors (distinct \( \lambda \)) | Orthogonal | Linearly independent |
| Always diagonalizable? | Yes | Not guaranteed |
| Factorization | \( PDP^T \) | \( PDP^{-1} \) |
| Computing \( P^{-1} \) | Free (just transpose) | Row reduction needed |
| Application | Quadratic forms, PCA | General lin. systems |
Question 1 of 5
Which condition is necessary and sufficient for a real matrix \( A \) to be orthogonally diagonalizable?
Question 2 of 5
In the factorization \( A = PDP^T \), what is special about the matrix \( P \)?
Question 3 of 5
If \( A = PDP^T \) and \( D = \begin{pmatrix} 3 & 0 \\ 0 & 7 \end{pmatrix} \), what is \( A^4 \)?
Question 4 of 5
A symmetric \( 3 \times 3 \) matrix has eigenvalues \( \lambda = 2 \) (multiplicity 2) and \( \lambda = 5 \) (multiplicity 1). When must you apply Gram-Schmidt?
Question 5 of 5
Which matrix is not orthogonally diagonalizable?