4.5.38 · D3Linear Algebra (Full)

Worked examples — Symmetric matrices — spectral theorem (real eigenvalues, orthogonal eigenvectors)

2,369 words11 min readBack to topic

This page is the "worked-out drill" child of the parent topic. The parent proved why real symmetric matrices behave. Here we hit every kind of case a problem can throw at you and grind each one to a numeric answer.

Before we begin, one plain-words reminder so nothing is used before it is built.


The scenario matrix

Every symmetric-matrix problem falls into one of these cells. The examples below are labelled with the cell they cover, so together they leave no gap.

# Case class What is unusual Example
C1 Both eigenvalues positive ordinary "stretch/stretch" Ex 1
C2 Mixed signs (one , one ) a reflection hides inside Ex 2
C3 A zero eigenvalue (singular ) squashes a whole direction to Ex 3
C4 Repeated eigenvalue (multiplicity 2) eigenvectors not forced — you choose them Ex 4
C5 Diagonal (degenerate/limiting) eigenvectors are the axes themselves Ex 5
C6 with a clean block full spectral decomposition in 3D Ex 6
C7 Word problem (real-world) you must build the symmetric matrix first Ex 7
C8 Exam twist — rebuild from run the theorem backwards Ex 8

Example 1 — C1: both eigenvalues positive

Both eigenvalues positive means every direction gets pushed outward. The picture below shows the eigen-axes (the only two directions leaves pointing the same way) and how a circle balloons into an ellipse.

Figure — Symmetric matrices — spectral theorem (real eigenvalues, orthogonal eigenvectors)

Example 2 — C2: mixed signs (a reflection inside)

The magenta arrow below is the reflected eigen-direction: same line, reversed arrow.

Figure — Symmetric matrices — spectral theorem (real eigenvalues, orthogonal eigenvectors)

Example 3 — C3: a zero eigenvalue (singular matrix)

The orange line below is the squashed direction — every point on it lands at the origin.

Figure — Symmetric matrices — spectral theorem (real eigenvalues, orthogonal eigenvectors)

Example 4 — C4: a repeated eigenvalue


Example 5 — C5: diagonal matrix (limiting / degenerate case)


Example 6 — C6: a block matrix (full 3D decomposition)


Example 7 — C7: word problem (build the matrix first)


Example 8 — C8: exam twist (run the theorem backwards)


Recall Quick self-test

Given for a symmetric matrix, what can you say about its eigenvalues? ::: They have opposite signs (product is negative), so reflects along one eigen-axis (Case C2). A symmetric matrix has . What does one eigenvalue equal, and what happens geometrically? ::: One eigenvalue is ; that eigen-direction is squashed onto the origin — is singular (Case C3). For a repeated eigenvalue on a symmetric matrix, are eigenvectors uniquely determined? ::: No — the eigenspace is full-dimensional, so you choose an orthonormal basis (Gram–Schmidt) (Case C4).