Skip to content

Level 1D: Inner Products, Orthogonality, and the Spectral Theorem

The Defect. Orthogonality arrives in linear algebra courses as a row operation (make the columns agree to zero) or as a picture of perpendicular arrows. Both miss the point. The inner product is a measurement structure added to a vector space: it defines length, angle, distance, and perpendicularity from a single bilinear function. Once it exists, it picks out the maps that respect the measurement (self-adjoint ones), and the spectral theorem says those maps are exactly the ones diagonalisable in the most rigid way possible: by an orthonormal basis. This page proves all of it, ending at the theorem that powers principal component analysis, quantum mechanics, and every least-squares fit ever computed.

The One-Line Reveal. An inner product is one bilinear function from which length, angle, and distance are derived; the spectral theorem says the maps that respect this measurement can be completely understood by eigenvalues, provided the field is honest about complex numbers.

Scope. From Level 1B: bases, basis extension, rank-nullity. From Level 1C: eigenvalues, the characteristic polynomial, triangularisation, and the declared fundamental theorem of algebra, which this page re-uses exactly once (to know that the complexified characteristic polynomial splits). The page works over R\mathbb{R} as the primary field; the complex Hermitian variant is flagged wherever it differs. No other inputs are declared: Cauchy-Schwarz, Gram-Schmidt, and the spectral theorem are all proved here.

Definition. An inner product on a real vector space VV is a function ⟨⋅,⋅⟩:V×V→R\langle \cdot, \cdot \rangle: V \times V \to \mathbb{R} that is

  1. bilinear: linear in each argument separately;
  2. symmetric: ⟨u,v⟩=⟨v,u⟩\langle u, v \rangle = \langle v, u \rangle;
  3. positive definite: ⟨v,v⟩≥0\langle v, v \rangle \geq 0, with equality only for v=0v = 0.

A vector space with an inner product is an inner product space.

Example (the model). On Rn\mathbb{R}^n with the standard basis, ⟨u,v⟩:=∑iuivi\langle u, v \rangle := \sum_i u_i v_i. Bilinearity is bilinearity of the coordinate functions (3A’s Proposition 1.2 logic), symmetry is commutativity of addition, and positive definiteness holds because ∑ivi2≥0\sum_i v_i^2 \geq 0 with equality iff every vi=0v_i = 0. ■\blacksquare

Definition. The norm of vv is ∥v∥:=⟨v,v⟩\|v\| := \sqrt{\langle v, v \rangle}. Vectors are orthogonal, written v⊥wv \perp w, when ⟨v,w⟩=0\langle v, w \rangle = 0.

Lemma 1.1 (polarisation). In a real inner product space,

2⟨u,v⟩=∥u+v∥2−∥u∥2−∥v∥2.2\langle u, v \rangle = \|u + v\|^2 - \|u\|^2 - \|v\|^2.

Proof. Bilinearity expands ∥u+v∥2=⟨u+v,u+v⟩=∥u∥2+∥v∥2+2⟨u,v⟩\|u+v\|^2 = \langle u+v, u+v \rangle = \|u\|^2 + \|v\|^2 + 2\langle u, v \rangle; the symmetry of the inner product makes the cross terms agree. ■\blacksquare

So the inner product is recoverable from the norm: length determines angle. This is why “geometry from one bilinear function” is literal.

Theorem 1.2 (Cauchy-Schwarz). For all u,vu, v: ∣⟨u,v⟩∣≤∥u∥ ∥v∥|\langle u, v \rangle| \leq \|u\| \, \|v\|, with equality iff uu and vv are dependent.

Proof. If v=0v = 0, both sides are zero and the dependent case holds. Let v≠0v \neq 0 and consider, for each real tt, the nonnegative number

0≤∥u+tv∥2=∥u∥2+2t⟨u,v⟩+t2∥v∥20 \leq \|u + t v\|^2 = \|u\|^2 + 2t \langle u, v \rangle + t^2 \|v\|^2

(bilinearity plus Lemma 1.1’s expansion). The right side is a quadratic polynomial in tt with nonnegative value at every real tt, so its discriminant cannot be positive:

(2⟨u,v⟩)2−4∥v∥2∥u∥2≤0  ⟹  ∣⟨u,v⟩∣≤∥u∥ ∥v∥.(2 \langle u, v \rangle)^2 - 4 \|v\|^2 \|u\|^2 \leq 0 \implies |\langle u, v \rangle| \leq \|u\| \, \|v\|.

Equality in the quadratic argument means the polynomial attains zero, i.e. u+tv=0u + t v = 0 for its root tt: dependence. Conversely, dependent vectors attain equality: for u=cvu = c v both sides equal ∣c∣ ∥v∥2|c| \, \|v\|^2. ■\blacksquare

Theorem 1.3 (triangle inequality). ∥u+v∥≤∥u∥+∥v∥\|u + v\| \leq \|u\| + \|v\|, with equality iff one vector is a nonnegative multiple of the other.

Proof. Square the claim and expand by bilinearity:

∥u+v∥2=∥u∥2+2⟨u,v⟩+∥v∥2≤∥u∥2+2∥u∥ ∥v∥+∥v∥2=(∥u∥+∥v∥)2,\|u + v\|^2 = \|u\|^2 + 2 \langle u, v \rangle + \|v\|^2 \leq \|u\|^2 + 2 \|u\|\,\|v\| + \|v\|^2 = (\|u\| + \|v\|)^2,

where the middle step is Cauchy-Schwarz plus symmetry (⟨u,v⟩≤∣⟨u,v⟩∣\langle u, v \rangle \leq |\langle u, v \rangle|). Taking square roots (all quantities nonnegative) gives the inequality. Equality forces ⟨u,v⟩=∥u∥∥v∥\langle u, v \rangle = \|u\|\|v\|, the equality case of Cauchy-Schwarz with a nonnegative sign: dependence with a nonnegative multiple. ■\blacksquare

So ∥v−w∥\|v - w\| behaves as a distance, satisfying the triangle inequality: inner product spaces are metric spaces (the Level 2 axioms), and the geometry is honest.

Quick check.

  1. State the three defining properties of an inner product.
  2. Why is ∥cv∥=∣c∣ ∥v∥\|cv\| = |c|\, \|v\|?
  3. State Cauchy-Schwarz and its equality case.
  4. Which polynomial does the Cauchy-Schwarz proof analyse?
  5. What does polarisation recover from the norm?

Answers: 1. Bilinearity, symmetry, positive definiteness. 2. Bilinearity: ⟨cv,cv⟩=c2⟨v,v⟩\langle cv, cv \rangle = c^2 \langle v, v \rangle, and the norm is the nonnegative square root. 3. ∣⟨u,v⟩∣≤∥u∥∥v∥|\langle u, v \rangle| \leq \|u\|\|v\|, with equality iff u,vu, v are dependent. 4. ∥u+tv∥2\|u + tv\|^2 as a quadratic in tt; nonnegativity forces a nonpositive discriminant. 5. The inner product: 2⟨u,v⟩=∥u+v∥2−∥u∥2−∥v∥22\langle u, v \rangle = \|u+v\|^2 - \|u\|^2 - \|v\|^2.

Lemma 2.1 (Pythagoras). If u⊥vu \perp v then ∥u+v∥2=∥u∥2+∥v∥2\|u + v\|^2 = \|u\|^2 + \|v\|^2.

Proof. Expand by bilinearity; the cross term is 2⟨u,v⟩=02\langle u, v \rangle = 0. ■\blacksquare

Lemma 2.2 (orthogonal families are independent). A list of nonzero pairwise orthogonal vectors is linearly independent.

Proof. Suppose ∑icivi=0\sum_i c_i v_i = 0 with the viv_i nonzero and pairwise orthogonal. Apply ⟨⋅,vj⟩\langle \cdot, v_j \rangle: every term ci⟨vi,vj⟩c_i \langle v_i, v_j \rangle vanishes except i=ji = j, where $\langle v_j, v_j \rangle

0(positivedefinitenessand(positive definiteness andv_j \neq 0).So). Soc_j \langle v_j, v_j \rangle = 0,forcing, forcingc_j = 0;forevery; for everyj..\blacksquare$

Theorem 2.3 (Gram-Schmidt). Let w1,…,wkw_1, \dots, w_k be linearly independent vectors of an inner product space. Define inductively

u1:=w1,ui:=wi−∑j<i⟨wi,uj⟩∥uj∥2 uj(i=2,…,k).u_1 := w_1, \qquad u_i := w_i - \sum_{j < i} \frac{\langle w_i, u_j \rangle}{\|u_j\|^2}\, u_j \quad (i = 2, \dots, k).

Then u1,…,uku_1, \dots, u_k are pairwise orthogonal, each ui≠0u_i \neq 0, and span⁡(u1,…,ui)=span⁡(w1,…,wi)\operatorname{span}(u_1, \dots, u_i) = \operatorname{span}(w_1, \dots, w_i) for every ii. Normalising ei:=ui/∥ui∥e_i := u_i / \|u_i\| yields an orthonormal list (pairwise orthogonal unit vectors) with the same spans.

Proof. Induct on ii. Assume u1,…,ui−1u_1, \dots, u_{i-1} are pairwise orthogonal, nonzero, and span the same space as w1,…,wi−1w_1, \dots, w_{i-1}. Then

⟨ui,um⟩=⟨wi,um⟩−∑j<i⟨wi,uj⟩∥uj∥2⟨uj,um⟩\langle u_i, u_m \rangle = \langle w_i, u_m \rangle - \sum_{j < i} \frac{\langle w_i, u_j \rangle}{\|u_j\|^2} \langle u_j, u_m \rangle

and for m<im < i the only surviving summand is j=mj = m, whose coefficient −⟨wi,um⟩∥um∥2⋅∥um∥2-\frac{\langle w_i, u_m \rangle}{\|u_m\|^2} \cdot \|u_m\|^2 cancels the first term exactly: ⟨ui,um⟩=0\langle u_i, u_m \rangle = 0. So uiu_i is orthogonal to all earlier umu_m. Also ui≠0u_i \neq 0: otherwise wiw_i would lie in span⁡(u1,…,ui−1)=span⁡(w1,…,wi−1)\operatorname{span}(u_1, \dots, u_{i-1}) = \operatorname{span}(w_1, \dots, w_{i-1}), contradicting the independence of the ww-list. The span identity holds because each uju_j (j<ij < i) is, by its own defining induction, a combination of ww‘s of index at most jj, and conversely wiw_i is a combination of uju_j‘s of index at most ii (solve the definition for wiw_i). Normalisation preserves orthogonality and nonzero spans. ■\blacksquare

Corollary 2.4. Every finite-dimensional inner product space has an orthonormal basis, and so does every subspace of one.

Proof. Take any basis (they exist: 1B, Theorem 1.2 for the spanned space), run Gram-Schmidt, and normalise: an orthonormal basis. For a subspace WW: it is finitely spanned (1B, Theorem 1.6), so it has a basis by 1B, Theorem 1.2; Gram-Schmidt inside WW (the inner product restricts). ■\blacksquare

Theorem 2.5 (coordinate formula). If e1,…,ene_1, \dots, e_n is an orthonormal basis, every v∈Vv \in V satisfies v=∑i⟨v,ei⟩eiv = \sum_i \langle v, e_i \rangle e_i.

Proof. Both sides equal… write v=∑icieiv = \sum_i c_i e_i by the basis property; applying ⟨⋅,ej⟩\langle \cdot, e_j \rangle gives ⟨v,ej⟩=∑ici⟨ei,ej⟩=cj\langle v, e_j \rangle = \sum_i c_i \langle e_i, e_j \rangle = c_j by orthonormality. Substituting cj=⟨v,ej⟩c_j = \langle v, e_j \rangle into the expansion is the claim. ■\blacksquare

This is Parseval’s identity’s engine: in an orthonormal basis, coordinates are inner products. Measurement replaces bookkeeping.

Quick check.

  1. State Pythagoras and where its proof uses orthogonality.
  2. Why is a pairwise orthogonal family of nonzero vectors automatically independent?
  3. What does Gram-Schmidt take in and produce?
  4. Why is each uiu_i in the construction nonzero?
  5. In an orthonormal basis, what are the coordinates of vv?

Answers: 1. ∥u+v∥2=∥u∥2+∥v∥2\|u+v\|^2 = \|u\|^2 + \|v\|^2; the cross term is the inner product, which is zero. 2. Testing against vjv_j kills every other coefficient by orthogonality and the last by positive definiteness (Lemma 2.2). 3. An independent list in; an orthonormal list out, with the same successive spans. 4. Otherwise wiw_i would lie in the previous span, contradicting independence. 5. The inner products ⟨v,ei⟩\langle v, e_i \rangle (Theorem 2.5).

Definition. For a subspace W⊆VW \subseteq V, the orthogonal complement is W⊥:={v∈V:⟨v,w⟩=0 for all w∈W}W^\perp := \{v \in V : \langle v, w \rangle = 0 \text{ for all } w \in W\}, a subspace (linearity in the first argument).

Theorem 3.1 (orthogonal decomposition). V=W⊕W⊥V = W \oplus W^\perp: every v∈Vv \in V decomposes uniquely as v=w+w′v = w + w' with w∈Ww \in W and w′∈W⊥w' \in W^\perp.

Proof. Take an orthonormal basis e1,…,ere_1, \dots, e_r of WW (Corollary 2.4), define w:=∑i≤r⟨v,ei⟩eiw := \sum_{i \leq r} \langle v, e_i \rangle e_i and $w’ := v

  • w.Then. Thenw \in W,andforeachbasisvector, and for each basis vectore_jofofW::\langle w’, e_j \rangle = \langle v, e_j \rangle - \langle w, e_j \rangle = \langle v, e_j \rangle - \langle v, e_j \rangle = 0(theinnerproductof(the inner product ofwwithwithe_jpicksoutexactlythepicks out exactly thej−thcoefficient,Theorem2.5′sargumentontheorthonormallist).Sincethe-th coefficient, Theorem 2.5's argument on the orthonormal list). Since thee_jspanspanW,linearitygives, linearity givesw’ \in W^\perp.Existencedone.Uniqueness:if. Existence done. Uniqueness: ifv = w_1 + w_1’ = w_2 + w_2’withwithw_1 - w_2 = w_2’ - w_1’lyinginbothlying in bothWandandW^\perp,itisorthogonaltoitself,so, it is orthogonal to itself, so|w_1 - w_2|^2 = 0andandw_1 = w_2,forcing, forcingw_1’ = w_2’too.too.\blacksquare$

Definition. The map pW:V→Wp_W: V \to W, pW(v):=wp_W(v) := w (the WW-component of Theorem 3.1’s decomposition) is the orthogonal projection onto WW.

Theorem 3.2 (best approximation). For every v∈Vv \in V and every w∈Ww \in W: ∥v−pW(v)∥≤∥v−w∥\|v - p_W(v)\| \leq \|v - w\|, with equality iff w=pW(v)w = p_W(v). The projection is linear.

Proof. Write v−w=(v−pW(v))+(pW(v)−w)v - w = (v - p_W(v)) + (p_W(v) - w); the first summand lies in W⊥W^\perp, the second in WW. Pythagoras (Lemma 2.1) gives

∥v−w∥2=∥v−pW(v)∥2+∥pW(v)−w∥2≥∥v−pW(v)∥2,\|v - w\|^2 = \|v - p_W(v)\|^2 + \|p_W(v) - w\|^2 \geq \|v - p_W(v)\|^2,

with equality iff pW(v)=wp_W(v) = w. Linearity: the decomposition of $\alpha v_1

  • \beta v_2isthecombinationofthedecompositions,byuniqueness.is the combination of the decompositions, by uniqueness.\blacksquare$

This theorem is why orthonormality matters beyond geometry: expanding a signal in an orthonormal basis is best approximation, and the error is exactly the part the basis cannot see.

Quick check.

  1. Define W⊥W^\perp and say why it is a subspace.
  2. State the orthogonal decomposition theorem.
  3. What is the orthogonal projection pWp_W?
  4. Which lemma does the best-approximation inequality use, and where?
  5. When does ∥v−w∥=∥v−pW(v)∥\|v - w\| = \|v - p_W(v)\| for w∈Ww \in W?

Answers: 1. The vectors orthogonal to every element of WW; it is a kernel-like subspace by linearity. 2. V=W⊕W⊥V = W \oplus W^\perp, unique decomposition (Theorem 3.1). 3. The unique WW-component of vv. 4. Pythagoras (Lemma 2.1) on the split v−w=(v−pW)+(pW−w)v - w = (v - p_W) + (p_W - w). 5. Exactly when w=pW(v)w = p_W(v) (the second Pythagoras summand vanishes).

Definition. For a linear map T:V→VT: V \to V, the adjoint is a map T∗:V→VT^*: V \to V with ⟨Tu,v⟩=⟨u,T∗v⟩\langle T u, v \rangle = \langle u, T^* v \rangle for all u,vu, v. TT is self-adjoint (or symmetric) when T∗=TT^* = T.

Theorem 4.1 (the adjoint exists, is unique, is linear). In a finite-dimensional inner product space, every linear TT has exactly one adjoint, and it is linear. In an orthonormal basis, the matrix of T∗T^* is the transpose of the matrix of TT.

Proof. Let e1,…,ene_1, \dots, e_n be an orthonormal basis and let BB be the matrix of TT. First note that orthonormality converts the inner product into a dot product of coordinates: for x=∑ixieix = \sum_i x_i e_i and y=∑jyjejy = \sum_j y_j e_j, bilinearity gives ⟨x,y⟩=∑i,jxiyj⟨ei,ej⟩=∑ixiyi\langle x, y \rangle = \sum_{i, j} x_i y_j \langle e_i, e_j \rangle = \sum_i x_i y_i (the Kronecker deltas of orthonormality). Define T∗T^* to be the linear map whose matrix is BTB^T (the transpose, defined entrywise). Then ⟨Tu,v⟩=∑i(Tu)ivi=∑i,jBjiujvi\langle T u, v \rangle = \sum_i (Tu)_i v_i = \sum_{i, j} B_{j i} u_j v_i, while ⟨u,T∗v⟩=∑juj(BTv)j=∑i,jBjiujvi\langle u, T^* v \rangle = \sum_j u_j (B^T v)_j = \sum_{i, j} B_{j i} u_j v_i: equal. So this T∗T^* is an adjoint. For uniqueness: if T1∗T^*_1 and T2∗T^*_2 are both adjoints, then for all u,vu, v: ⟨u,(T1∗−T2∗)v⟩=0\langle u, (T^*_1 - T^*_2) v \rangle = 0; taking u=(T1∗−T2∗)vu = (T^*_1 - T^*_2) v gives ∥(T1∗−T2∗)v∥2=0\| (T^*_1 - T^*_2) v \|^2 = 0, so T1∗=T2∗T^*_1 = T^*_2. Linearity of T∗T^* follows from the defining identity by applying it to combinations, or directly from the transpose’s linearity. ■\blacksquare

Proposition 4.2 (matrix characterisation). TT is self-adjoint iff its matrix in every orthonormal basis is symmetric (B=BTB = B^T); in a non-orthonormal basis this characterisation can fail, which is why the definition is via the inner product.

Proof. In an orthonormal basis, T∗=TT^* = T translates to BT=BB^T = B by Theorem 4.1’s computation. Conversely a symmetric matrix gives a self-adjoint map by the same computation in reverse. ■\blacksquare

Quick check.

  1. Define the adjoint of TT.
  2. What is the matrix of T∗T^* in an orthonormal basis?
  3. Define self-adjoint.
  4. Why must an adjoint be unique? (Which norm argument?)
  5. Does “symmetric matrix” depend on the basis?

Answers: 1. The unique linear T∗T^* with ⟨Tu,v⟩=⟨u,T∗v⟩\langle T u, v \rangle = \langle u, T^* v \rangle for all u,vu, v. 2. The transpose of TT‘s matrix (Theorem 4.1). 3. T∗=TT^* = T. 4. If two adjoints differed, their difference applied to some vv would be a nonzero vector orthogonal to every vector, including itself: norm zero, contradiction. 5. Not in arbitrary bases; only in orthonormal ones (Proposition 4.2).

Lemma 5.1 (self-adjoint eigenvalues are real; invariant complements). Let TT be self-adjoint. (i) Every complex eigenvalue of the complexified TT is real. (ii) Eigenspaces of distinct eigenvalues are orthogonal, and Eλ⊥E_\lambda^\perp is TT-invariant for every eigenvalue λ\lambda.

Proof. (ii) first, over the real field: if x∈Eλx \in E_\lambda and y∈Eμy \in E_\mu with λ≠μ\lambda \neq \mu, then λ⟨x,y⟩=⟨Tx,y⟩=⟨x,Ty⟩=μ⟨x,y⟩\lambda \langle x, y \rangle = \langle T x, y \rangle = \langle x, T y \rangle = \mu \langle x, y \rangle, so (λ−μ)⟨x,y⟩=0(\lambda - \mu) \langle x, y \rangle = 0 and ⟨x,y⟩=0\langle x, y \rangle = 0. For the invariance of Eλ⊥E_\lambda^\perp: take y∈Eλ⊥y \in E_\lambda^\perp and x∈Eλx \in E_\lambda; then ⟨Ty,x⟩=⟨y,Tx⟩=⟨y,λx⟩=λ⟨y,x⟩=0\langle T y, x \rangle = \langle y, T x \rangle = \langle y, \lambda x \rangle = \lambda \langle y, x \rangle = 0. Since this holds for every x∈Eλx \in E_\lambda, it holds for every vector of their span, which is EλE_\lambda: so Ty∈Eλ⊥T y \in E_\lambda^\perp.

(i) requires the complexification, defined without tensor products: set VC:={u+iv}V_\mathbb{C} := \{u + i v\} (formal pairs), with complex-scalar multiplication and the Hermitian form ⟨u+iv,u′+iv′⟩:=⟨u,u′⟩+⟨v,v′⟩+i(⟨v,u′⟩−⟨u,v′⟩)\langle u + i v, u' + i v' \rangle := \langle u, u' \rangle + \langle v, v' \rangle + i(\langle v, u' \rangle - \langle u, v' \rangle), which is linear in the first argument and conjugate-linear in the second. Extend TT by $T_\mathbb{C}(u

  • i v) := T u + i, T v;theself−adjointidentitysurvivestheextension.If; the self-adjoint identity survives the extension. IfT_\mathbb{C} v = \lambda vwithwithv \neq 0$, then
λ⟨v,v⟩=⟨TCv,v⟩=⟨v,TCv⟩=λˉ ⟨v,v⟩,\lambda \langle v, v \rangle = \langle T_\mathbb{C} v, v \rangle = \langle v, T_\mathbb{C} v \rangle = \bar{\lambda}\, \langle v, v \rangle,

the last step being conjugate-linearity in the second slot, and ⟨v,v⟩>0\langle v, v \rangle > 0 (it is ∥Re⁡v∥2+∥Im⁡v∥2\|\operatorname{Re} v\|^2 + \|\operatorname{Im} v\|^2). So λ=λˉ\lambda = \bar{\lambda}: real. ■\blacksquare

Theorem 5.2 (the real spectral theorem). Let T:V→VT: V \to V be self-adjoint on a finite-dimensional real inner product space. Then VV has an orthonormal basis of eigenvectors of TT, and the matrix of TT in that basis is diagonal with real entries.

Proof. Induct on nn. Consider the complexification VC=V⊗CV_\mathbb{C} = V \otimes \mathbb{C} with the extended map TCT_\mathbb{C} (still self-adjoint for the Hermitian extension). Its characteristic polynomial χT\chi_T splits by the fundamental theorem of algebra (the declared input, as in 1C), so TCT_\mathbb{C} has an eigenvector v≠0v \neq 0 with eigenvalue λ\lambda; Lemma 5.1(i) shows λ∈R\lambda \in \mathbb{R}. Then TCv=λvT_\mathbb{C} v = \lambda v with λ\lambda real means the real and imaginary parts of vv are eigenvectors of the real TT (real eigenvalue, real matrix action), and at least one of them is nonzero: the real TT has a real eigenvector x≠0x \neq 0 with Tx=λxT x = \lambda x. Normalise it to a unit vector e1e_1. The line L=span⁡(e1)L = \operatorname{span}(e_1) is TT-invariant, so TT induces Tˉ\bar{T} on L⊥L^\perp (Lemma 5.1(ii)‘s computation shows L⊥L^\perp is TT-invariant: for y⊥e1y \perp e_1, ⟨Ty,e1⟩=⟨y,Te1⟩=λ⟨y,e1⟩=0\langle T y, e_1 \rangle = \langle y, T e_1 \rangle = \lambda \langle y, e_1 \rangle = 0, and dim⁡L⊥=n−1\dim L^\perp = n - 1 by Theorem 3.1’s decomposition). The restriction Tˉ:=T∣L⊥\bar{T} := T|_{L^\perp} is again self-adjoint (the adjoint of a restriction to an invariant complement is the restriction of the adjoint: the defining identity restricted to L⊥×L⊥L^\perp \times L^\perp). By the induction hypothesis, L⊥L^\perp has an orthonormal eigenbasis of Tˉ\bar{T}; prefixing e1e_1 gives an orthonormal list of nn eigenvectors of TT, which are independent (Lemma 2.2) and span (count and rank-nullity): an orthonormal eigenbasis. In it, TT‘s matrix is diagonal with the real eigenvalues. ■\blacksquare

Corollary 5.3. A real symmetric n×nn \times n matrix AA can be written A=QDQTA = Q D Q^T with QQ orthogonal (QTQ=IQ^T Q = I) and DD diagonal real: the principal axis decomposition. In particular AA is diagonalisable, all eigenvalues are real, and det⁡A\det A is the product of the eigenvalues.

Proof. AA is the matrix of a self-adjoint endomorphism on Rn\mathbb{R}^n with the dot product (Proposition 4.2). The spectral theorem gives an orthonormal eigenbasis; the matrix QQ with those eigenvectors as columns is orthogonal (QTQ=IQ^T Q = I: orthonormal columns) and AQ=QDA Q = Q D, so A=QDQTA = Q D Q^T. ■\blacksquare

Quick check.

  1. Why are a self-adjoint map’s eigenvalues real?
  2. State the Hermitian symmetry used in that proof.
  3. Why is Eλ⊥E_\lambda^\perp invariant under a self-adjoint TT?
  4. What does the complexification buy in the spectral proof?
  5. Write the principal axis decomposition of a symmetric matrix.

Answers: 1. λ⟨v,v⟩=⟨v,Tv⟩=λˉ⟨v,v⟩\lambda \langle v, v \rangle = \langle v, T v \rangle = \bar{\lambda} \langle v, v \rangle in the complexification, so λ\lambda equals its conjugate (Lemma 5.1). 2. ⟨u,w⟩=⟨w,u⟩‾\langle u, w \rangle = \overline{\langle w, u \rangle}. 3. ⟨Ty,x⟩=⟨y,Tx⟩=λ⟨y,x⟩=0\langle T y, x \rangle = \langle y, T x \rangle = \lambda \langle y, x \rangle = 0 for x∈Eλx \in E_\lambda, y⊥Eλy \perp E_\lambda. 4. It makes the characteristic polynomial split (via the declared fundamental theorem of algebra) while Lemma 5.1 pulls the eigenvalues back to the reals. 5. A=QDQTA = Q D Q^T with QQ orthogonal, DD real diagonal (Corollary 5.3).

Problems. The quick checks above tested recall. These chain several results and require full written arguments.

  1. Prove the parallelogram law: ∥u+v∥2+∥u−v∥2=2∥u∥2+2∥v∥2\|u + v\|^2 + \|u - v\|^2 = 2\|u\|^2 + 2\|v\|^2, and conclude that not every norm on R2\mathbb{R}^2 comes from an inner product (exhibit a norm violating it, e.g. the maximum norm). (Expand both squares by bilinearity; the cross terms cancel in the sum. For the converse failure: the maximum norm’s unit ball has corners, and the parallelogram law fails on (1,0)(1,0), (0,1)(0,1).)
  2. Prove that a vector orthogonal to a spanning list is zero. (Linearity of the inner product in the first argument.)
  3. Prove that dim⁡W+dim⁡W⊥=dim⁡V\dim W + \dim W^\perp = \dim V in two ways: from the orthogonal decomposition (Theorem 3.1) and from rank-nullity applied to pWp_W.
  4. Prove that (W⊥)⊥=W(W^\perp)^\perp = W for subspaces of a finite-dimensional inner product space. (The decomposition theorem applied twice; W⊆(W⊥)⊥W \subseteq (W^\perp)^\perp by symmetry of the real inner product, and dimensions match.)
  5. Prove that the orthogonal projection pWp_W is self-adjoint and satisfies pW2=pWp_W^2 = p_W. (Compute ⟨pWu,v⟩\langle p_W u, v \rangle via the orthonormal basis formula, Theorem 2.5; and pW(pW(v))p_W(p_W(v)) is the WW-component of a vector already in WW.)
  6. Prove that two self-adjoint maps commute iff their product is self-adjoint. ((ST)∗=T∗S∗=TS(ST)^* = T^* S^* = TS, proved from the defining identity twice; so (ST)∗=ST(ST)^* = ST iff TS=STTS = ST.)
  7. Harder: prove that every subspace’s orthogonal projection minimises distance simultaneously for all vv: the map w↦∥v−w∥2w \mapsto \|v - w\|^2 on WW is a convex quadratic with unique minimiser pW(v)p_W(v). (Write w=pW(v)+zw = p_W(v) + z with z∈Wz \in W; expand by Pythagoras; the square of ∥z∥\|z\| is the only variable term.)

The entire page follows from one function: the inner product defines length (polarisation in reverse defines it back), orthogonality (its vanishing), and thereby the decomposition V=W⊕W⊥V = W \oplus W^\perp that turns every subspace into coordinates. Adjoints are what the measurement does to maps; self-adjoint maps are the ones the measurement cannot confuse; and the spectral theorem is the induction that says their eigenspaces tile the space orthogonally.

  • Level 1E: Canonical Forms – what remains when the map is not diagonalisable: Jordan form, rational canonical form, and the structure theorem. Under construction; the link lands here when it ships.
  • Level 1C: Eigenvectors – the eigenvalue machinery this page upgrades to orthonormal bases.
  • Linear Algebra Done Wrong – Treil’s chapters on inner product spaces and spectral theory.