Linear AlgebraGram-Schmidt Orthonormalization

Gram-Schmidt Orthogonal & Orthonormal Basis in R^3

Homework Question

Apply the Gram-Schmidt process to find an orthogonal and orthonormal basis for W=Span⁡{(1,1,0),(2,0,1)}W = \operatorname{Span}\{(1, 1, 0), (2, 0, 1)\}.

Verified Final Answer
Orthogonal: {(1,1,0),(1,−1,1)}\{(1, 1, 0), (1, -1, 1)\}; orthonormal: {(12,12,0),(13,−13,13)}\left\{\left(\frac{1}{\sqrt{2}}, \frac{1}{\sqrt{2}}, 0\right), \left(\frac{1}{\sqrt{3}}, -\frac{1}{\sqrt{3}}, \frac{1}{\sqrt{3}}\right)\right\}

Key Formula & Principle

u2=v2−v2⋅u1u1⋅u1u1\mathbf{u}_2 = \mathbf{v}_2 - \frac{\mathbf{v}_2 \cdot \mathbf{u}_1}{\mathbf{u}_1 \cdot \mathbf{u}_1}\mathbf{u}_1

Step-by-Step Solution

  1. 1
    Set the first orthogonal vector u1=v1=(1,1,0)\mathbf{u}_1 = \mathbf{v}_1 = (1, 1, 0), with u1⋅u1=12+12+02=2\mathbf{u}_1 \cdot \mathbf{u}_1 = 1^2 + 1^2 + 0^2 = 2.
  2. 2
    Compute dot product v2⋅u1=(2)(1)+(0)(1)+(1)(0)=2\mathbf{v}_2 \cdot \mathbf{u}_1 = (2)(1) + (0)(1) + (1)(0) = 2.
  3. 3
    Subtract projection: u2=(2,0,1)−22(1,1,0)=(1,−1,1)\mathbf{u}_2 = (2, 0, 1) - \frac{2}{2}(1, 1, 0) = (1, -1, 1) (check u1⋅u2=1−1+0=0\mathbf{u}_1 \cdot \mathbf{u}_2 = 1 - 1 + 0 = 0).
  4. 4
    Normalize each vector by its length (∥u1∥=2\|\mathbf{u}_1\| = \sqrt{2}, ∥u2∥=3\|\mathbf{u}_2\| = \sqrt{3}) to obtain the orthonormal basis.
Interactive Homework Customizer

Have this WebAssign / Canvas problem with different numbers?

Replace the numbers or functions below to match your exact assignment version, then generate a custom step-by-step derivation.

View all Linear Algebra →