Linear AlgebraGram-Schmidt

Apply Gram-Schmidt to v1 = (2, 0, 1) and v2 = (1, 3, 2)

Homework Question

Apply the Gram-Schmidt process to v1=[201]T\mathbf{v}_1 = \begin{bmatrix}2 & 0 & 1\end{bmatrix}^T and v2=[132]T\mathbf{v}_2 = \begin{bmatrix}1 & 3 & 2\end{bmatrix}^T to produce an orthonormal basis for their span.

Verified Final Answer
e1=[255055]T\mathbf{e}_1 = \begin{bmatrix}\frac{2 \sqrt{5}}{5} & 0 & \frac{\sqrt{5}}{5}\end{bmatrix}^T, e2=[−30303063015]T\mathbf{e}_2 = \begin{bmatrix}- \frac{\sqrt{30}}{30} & \frac{\sqrt{30}}{6} & \frac{\sqrt{30}}{15}\end{bmatrix}^T

Key Formula & Principle

u2=v2−v2⋅u1u1⋅u1u1,ei=ui∥ui∥\mathbf{u}_2 = \mathbf{v}_2 - \frac{\mathbf{v}_2 \cdot \mathbf{u}_1}{\mathbf{u}_1 \cdot \mathbf{u}_1}\mathbf{u}_1, \quad \mathbf{e}_i = \frac{\mathbf{u}_i}{\|\mathbf{u}_i\|}

Step-by-Step Solution

  1. 1
    Set u1=v1=[201]T\mathbf{u}_1 = \mathbf{v}_1 = \begin{bmatrix}2 & 0 & 1\end{bmatrix}^T.
  2. 2
    Projection coefficient: v2⋅u1u1⋅u1=45=45\frac{\mathbf{v}_2 \cdot \mathbf{u}_1}{\mathbf{u}_1 \cdot \mathbf{u}_1} = \frac{4}{5} = \frac{4}{5}.
  3. 3
    u2=v2−45u1=[−35365]T\mathbf{u}_2 = \mathbf{v}_2 - \frac{4}{5}\mathbf{u}_1 = \begin{bmatrix}- \frac{3}{5} & 3 & \frac{6}{5}\end{bmatrix}^T (check: u1⋅u2=0\mathbf{u}_1 \cdot \mathbf{u}_2 = 0).
  4. 4
    Normalize: ∥u1∥=5\|\mathbf{u}_1\| = \sqrt{5}, ∥u2∥=3305\|\mathbf{u}_2\| = \frac{3 \sqrt{30}}{5}, giving e1\mathbf{e}_1 and e2\mathbf{e}_2.
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 →