Math 2.0

Linear and multilinear algebra; matrix theory Proof

Proof that the Gram–Schmidt vectors are orthogonal

Builds on Inner productGram–Schmidt processOrthogonal vectorsLinear independenceLinear span

Proof

We argue by induction on jj.

  1. Let VV be an inner product space over 𝕂=ℝ\mathbb{K} = \R or ℂ\C, with inner product ⟨⋅,⋅⟩\ip{\cdot}{\cdot}. Let v1,…,vk∈Vv_1, \dots, v_k \in V be linearly independent.
  2. The Gram–Schmidt process sets u1=v1u_1 = v_1 and uj=vj−∑i=1j−1cjiuiu_j = v_j - \sum_{i=1}^{j-1} c_{ji} u_i for j≥2j \ge 2, where cji=⟨vj,ui⟩/⟨ui,ui⟩c_{ji} = \ip{v_j}{u_i} / \ip{u_i}{u_i}.
  3. The formula for uju_j makes sense only if u1,…,uj−1u_1, \dots, u_{j-1} are nonzero. So we prove, for 1≤j≤k1 \le j \le k, the claim P(j)P(j) below.
  4. P(j)P(j) says: the vectors u1,…,uju_1, \dots, u_j are defined and nonzero, they are pairwise orthogonal, and span⁡(u1,…,uj)=span⁡(v1,…,vj)\operatorname{span}(u_1, \dots, u_j) = \operatorname{span}(v_1, \dots, v_j). Here span is the linear span.
  5. Base case j=1j = 1. We have u1=v1u_1 = v_1. A linearly independent family has no zero vector, since 1⋅0=01 \cdot 0 = 0 is a nontrivial vanishing combination. So u1≠0u_1 \ne 0.
  6. Also span⁡(u1)=span⁡(v1)\operatorname{span}(u_1) = \operatorname{span}(v_1), and there is no pair to check. So P(1)P(1) holds.
  7. Induction step. Let 2≤j≤k2 \le j \le k and assume P(j−1)P(j-1). Write S=span⁡(u1,…,uj−1)=span⁡(v1,…,vj−1)S = \operatorname{span}(u_1, \dots, u_{j-1}) = \operatorname{span}(v_1, \dots, v_{j-1}).
  8. Each uiu_i with i<ji < j is nonzero, so ⟨ui,ui⟩>0\ip{u_i}{u_i} > 0. Hence the numbers cjic_{ji} and the vector uju_j are defined.
  9. Fix m<jm < j. Linearity in the first argument gives ⟨uj,um⟩=⟨vj,um⟩−∑i=1j−1cji⟨ui,um⟩\ip{u_j}{u_m} = \ip{v_j}{u_m} - \sum_{i=1}^{j-1} c_{ji} \ip{u_i}{u_m}.
  10. By P(j−1)P(j-1), ⟨ui,um⟩=0\ip{u_i}{u_m} = 0 for i≠mi \ne m with i,m<ji, m < j. So the sum in step 9 is cjm⟨um,um⟩=⟨vj,um⟩c_{jm} \ip{u_m}{u_m} = \ip{v_j}{u_m}.
  11. Hence ⟨uj,um⟩=0\ip{u_j}{u_m} = 0. By conjugate symmetry, also ⟨um,uj⟩=0‾=0\ip{u_m}{u_j} = \overline{0} = 0. With P(j−1)P(j-1), the vectors u1,…,uju_1, \dots, u_j are pairwise orthogonal.
  12. By step 2, uj=vj−su_j = v_j - s with s=∑i<jcjiui∈Ss = \sum_{i < j} c_{ji} u_i \in S. Since S⊆span⁡(v1,…,vj)S \subseteq \operatorname{span}(v_1, \dots, v_j), we get uj∈span⁡(v1,…,vj)u_j \in \operatorname{span}(v_1, \dots, v_j).
  13. Also u1,…,uj−1∈S⊆span⁡(v1,…,vj)u_1, \dots, u_{j-1} \in S \subseteq \operatorname{span}(v_1, \dots, v_j). So span⁡(u1,…,uj)⊆span⁡(v1,…,vj)\operatorname{span}(u_1, \dots, u_j) \subseteq \operatorname{span}(v_1, \dots, v_j), because the span is the smallest subspace that contains the vectors.
  14. Conversely, vj=uj+sv_j = u_j + s with s∈S⊆span⁡(u1,…,uj)s \in S \subseteq \operatorname{span}(u_1, \dots, u_j). With v1,…,vj−1∈Sv_1, \dots, v_{j-1} \in S, this gives the reverse inclusion. So the two spans are equal.
  15. Suppose that uj=0u_j = 0. Then vj=s∈S=span⁡(v1,…,vj−1)v_j = s \in S = \operatorname{span}(v_1, \dots, v_{j-1}).
  16. Write vj=∑i<jbiviv_j = \sum_{i < j} b_i v_i. Then ∑i<jbivi−vj=0\sum_{i<j} b_i v_i - v_j = 0 is a vanishing combination with coefficient −1-1 at vjv_j. This contradicts linear independence.
  17. Hence uj≠0u_j \ne 0, and P(j)P(j) holds.
  18. By induction, P(k)P(k) holds, and P(j)P(j) holds for every j≤kj \le k. So u1,…,uku_1, \dots, u_k are nonzero and pairwise orthogonal, with the stated spans.

Idea

Each new vector uju_j is vjv_j minus its components along the earlier uiu_i. Because the earlier vectors are already orthogonal, subtracting the component along umu_m kills exactly the inner product with umu_m. The vector uju_j cannot be zero, since then vjv_j would be a combination of the earlier viv_i.

Reading path

To understand this page from the ground up, read these 10 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Vector space definition
  2. Inner product definition
  3. Linear combination definition
  4. Linear subspace definition
  5. Orthogonal vectors definition
  6. Linear independence definition
  7. Linear span definition
  8. Orthonormal family definition
  9. Gram–Schmidt process concept
  10. Proof that the Gram–Schmidt vectors are orthogonal proof

Where this leads

119 pages build on this one.

Further reading

  1. Web https://linear.axler.net/LADR4e.pdf, Theorem 6.32
About this page
TagEG3D04CHCW
URIm2://EG3D04CHCW
Kindproof
WritingW0 stub
MSC15A63, 65F25
ProvesGram–Schmidt vectors are orthogonal
UsesInner product, Gram–Schmidt process, Orthogonal vectors, Linear independence, Linear span
Changed4 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.