LINEAR-ALGEBRA · Interactive Practice | Unit 24 · Video 1

The Spectral Theorem: Why Symmetric Matrices Are Special

IKey Formulas

Formula Name Description
A=ATA = A^T Symmetric matrix Equal to its own transpose
A=QΛQTA = Q \Lambda Q^T Spectral decomposition QQ orthonormal, Λ\Lambda diagonal real
QTQ=IQ^T Q = I, so Q1=QTQ^{-1} = Q^T Orthogonal matrix Inverse equals transpose
A=λ1q1q1T+λ2q2q2T+A = \lambda_1 q_1 q_1^T + \lambda_2 q_2 q_2^T + \cdots Spectral sum Weighted projections onto eigen-axes

IIStretching Along Perpendicular Axes

A symmetric matrix sends the unit circle to an ellipse whose axes lie along perpendicular eigenvectors.

💡 Challenge: find an input direction where AvAv is parallel to vv — those eigenvector directions stay perpendicular for every symmetric matrix.

IIIA Sum of Rank-One Projections

Every symmetric matrix is λ1q1q1T+λ2q2q2T\lambda_1 q_1 q_1^T + \lambda_2 q_2 q_2^T — eigenvalues scaling perpendicular projections.

💡 Challenge: set λ2=0\lambda_2 = 0 — the ellipse collapses to a line and AA becomes rank-one, projecting the whole plane onto the q1q_1 axis.

IVSymmetric vs. Non-Symmetric Distortion

Adding an antisymmetric shear tilts the eigenvectors and injects rotation into a pure stretch.

Symmetric A = [3 1; 1 3]

💡 Symmetry kills rotation — only perpendicular stretching survives. Past a shear of 0.50.5 the eigenvalues turn complex and the map becomes purely rotational.

VQuiz Questions

Question 1

Which of the following matrices is symmetric (i.e., satisfies A=ATA = A^T)?

Correct! The off-diagonal entries are both 3, so A=ATA = A^T.

Not quite. A matrix is symmetric when entry (i,j)(i,j) equals entry (j,i)(j,i). The off-diagonals must match exactly.

Show solution

Solution:

A matrix is symmetric when Aij=AjiA_{ij} = A_{ji} for every off-diagonal pair. Check each option:

  • (2335)\begin{pmatrix} 2 & 3 \\ 3 & 5 \end{pmatrix}: off-diagonals are 33 and 33 — symmetric.
  • (2335)\begin{pmatrix} 2 & 3 \\ -3 & 5 \end{pmatrix}: 333 \neq -3 — not symmetric (in fact, antisymmetric in the off-diagonal).
  • (2345)\begin{pmatrix} 2 & 3 \\ 4 & 5 \end{pmatrix}: 343 \neq 4 — not symmetric.
  • (0110)\begin{pmatrix} 0 & 1 \\ -1 & 0 \end{pmatrix}: 111 \neq -1 — not symmetric (it's a 90° rotation).

The first option is correct.

Question 2

Let QQ be a matrix whose columns are orthonormal (mutually perpendicular unit vectors). Which equation is always true?

Correct! Orthonormal columns mean QTQ=IQ^T Q = I, so the transpose is the inverse.

Not quite. Compute QTQQ^T Q entry by entry: it is the dot products of columns.

Show solution

Solution:

The (i,j)(i, j) entry of QTQQ^T Q is the dot product of column ii of QQ with column jj of QQ.

  • Same column (i=ji = j): unit vector dotted with itself gives 11.
  • Different columns (iji \neq j): perpendicular vectors give 00.

So QTQ=IQ^T Q = I. Multiplying both sides by Q1Q^{-1} on the right gives QT=Q1Q^T = Q^{-1}.

This is the magical property of orthogonal matrices: the inverse is free — just transpose. It's why the spectral theorem A=QΛQTA = Q \Lambda Q^T never requires computing an inverse.

Question 3

Consider the symmetric matrix A=(3113)A = \begin{pmatrix} 3 & 1 \\ 1 & 3 \end{pmatrix}.

Its characteristic equation is (3λ)21=0(3 - \lambda)^2 - 1 = 0. What are the eigenvalues?

Correct! Expanding gives λ26λ+8=0\lambda^2 - 6\lambda + 8 = 0, factoring as (λ4)(λ2)(\lambda-4)(\lambda-2).

Not quite. Expand the characteristic polynomial first, then factor it. Real symmetric matrices never have complex eigenvalues.

Show solution

Solution:

Expand (3λ)21=0(3 - \lambda)^2 - 1 = 0:

λ26λ+91=λ26λ+8=0\lambda^2 - 6\lambda + 9 - 1 = \lambda^2 - 6\lambda + 8 = 0

Factor:

(λ4)(λ2)=0(\lambda - 4)(\lambda - 2) = 0

So λ1=4\lambda_1 = 4 and λ2=2\lambda_2 = 2. Both real, as guaranteed for any real symmetric matrix.

The corresponding orthonormal eigenvectors are q1=12(1,1)q_1 = \tfrac{1}{\sqrt{2}}(1, 1) and q2=12(1,1)q_2 = \tfrac{1}{\sqrt{2}}(1, -1), which are perpendicular (q1q2=0q_1 \cdot q_2 = 0).

Question 4

True or False: Every real symmetric matrix is geometrically just a stretching along perpendicular axes — there is no rotation or shear, only pure scaling in the right rotated coordinate frame.

Correct! This is the geometric content of the spectral theorem A=QΛQTA = Q \Lambda Q^T — rotate, scale, rotate back.

Not quite. Re-examine the factorization A=QΛQTA = Q \Lambda Q^T: QQ is a rotation, Λ\Lambda is pure scaling, and QTQ^T undoes the rotation. The eigenvectors are perpendicular axes.

Show solution

Solution:

True. The spectral theorem A=QΛQTA = Q \Lambda Q^T tells us exactly this geometric story:

  1. QTQ^T: rotate space so the eigenvectors become the standard axes.
  2. Λ\Lambda: scale along each axis by the corresponding eigenvalue.
  3. QQ: rotate back to the original frame.

There is no shear, no rotation in the net effect on the eigen-axes — just scaling. This is why the unit circle always maps to an ellipse whose principal axes are perpendicular (and aligned with the eigenvectors).

This insight is the foundation of:

  • PCA: covariance matrices are symmetric → principal components are perpendicular axes of variance.
  • Optimization: the Hessian is symmetric → its eigenvalues tell you curvatures along perpendicular directions.
  • Quantum mechanics: observables are symmetric (Hermitian) → measurable values are real eigenvalues.

Solved: 0 / 4