Skip to main content

Orthonormal Bases and Gram–Schmidt

  • Situation: Removing overlap before normalization
  • Learning targets: Orthonormality · Gram–Schmidt · Zero remainder
  • Convention: Declared field ℝ or ℂ; column vectors; rightmost matrix first; dimensionless data unless units stated · Finite-dimensional inner product spaces; first slot linear, second conjugate-linear; standard inner product for numerical examples

Core concepts​

  • Orthonormality: unit vectors with pairwise zero inner products; coefficients ⟨x,qᵢ⟩ under the first-slot-linear convention
Two oblique basis vectors transformed into an orthonormal pair by subtracting a projection and normalizing
Figure 1. Removing overlap before normalization
  • Gram–Schmidt: subtract earlier projections, then normalize the remainder; span of each initial list preserved

  • Zero remainder: dependent input, no normalization; discard for a basis or use rank-revealing processing

  • Numerics: exact radicals distinct from rounded checks; modified Gram–Schmidt or Householder QR for improved stability

Worked example​

u=(1,1,0)T,v=(1,0,1)T,U={(x,y,z)T:x−y−z=0},e3=(0,0,1)Tu=(1,1,0)^T,\quad v=(1,0,1)^T,\quad U=\{(x,y,z)^T:x-y-z=0\},\quad e_3=(0,0,1)^T b=(2,0,1)T,n=(1,−1,−1)T,C=[u v],H=CTC=[2112]b=(2,0,1)^T,\quad n=(1,-1,-1)^T,\quad C=[u\ v],\quad H=C^TC=\begin{bmatrix}2&1\\1&2\end{bmatrix} q1=u2,v−⟨v,q1⟩q1=(1/2,−1/2,1)T,q2=(1,−1,2)T6q_1=\frac u{\sqrt2},\quad v-\langle v,q_1\rangle q_1=(1/2,-1/2,1)^T,\quad q_2=\frac{(1,-1,2)^T}{\sqrt6}

Practice​

  • Preparation: Paper or calculator; example inputs and ordered bases; exercise cases below as the calculation dataset
  • Prediction: Result, dimensions and applicable conditions before calculation
  • Calculation: First two exercises by hand → substitution into defining equations → exact and rounded checks separately
  • Record: Assumed inputs and calculated results; no physical measurements; optional software output recorded separately
  • Next step: Inputs, basis order and checked identities retained for the next chapter
CasePredictionExact result and reasonSoftware check
⟨q1,q2⟩,∥q2∥\langle q_1,q_2\rangle,\quad\Vert q_2\Vert
⟨b,q1⟩,⟨b,q2⟩\langle b,q_1\rangle,\quad\langle b,q_2\rangle
  • Optional extension: One changed input or removed hypothesis → recalculation → comparison of the conclusion

Exercises​

  1. Problem: ⟨q1,q2⟩,∥q2∥\langle q_1,q_2\rangle,\quad\|q_2\|
  2. Problem: ⟨b,q1⟩,⟨b,q2⟩\langle b,q_1\rangle,\quad\langle b,q_2\rangle
  3. Problem: Second input u instead of v
Answers and checks
  1. Answer: 0,10,\quad1
  2. Answer: 2,4/6\sqrt2,\quad4/\sqrt6
  3. Answer: Zero remainder; dependent list, division by zero prohibited

Connections​