Linear AlgebraGram-Schmidt

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

Homework Question

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

Verified Final Answer
e1=[132323]T\mathbf{e}_1 = \begin{bmatrix}\frac{1}{3} & \frac{2}{3} & \frac{2}{3}\end{bmatrix}^T, e2=[42639−11267872678]T\mathbf{e}_2 = \begin{bmatrix}\frac{4 \sqrt{26}}{39} & - \frac{11 \sqrt{26}}{78} & \frac{7 \sqrt{26}}{78}\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=[122]T\mathbf{u}_1 = \mathbf{v}_1 = \begin{bmatrix}1 & 2 & 2\end{bmatrix}^T.
  2. 2
    Projection coefficient: v2⋅u1u1⋅u1=119=119\frac{\mathbf{v}_2 \cdot \mathbf{u}_1}{\mathbf{u}_1 \cdot \mathbf{u}_1} = \frac{11}{9} = \frac{11}{9}.
  3. 3
    u2=v2−119u1=[169−229149]T\mathbf{u}_2 = \mathbf{v}_2 - \frac{11}{9}\mathbf{u}_1 = \begin{bmatrix}\frac{16}{9} & - \frac{22}{9} & \frac{14}{9}\end{bmatrix}^T (check: u1⋅u2=0\mathbf{u}_1 \cdot \mathbf{u}_2 = 0).
  4. 4
    Normalize: ∥u1∥=3\|\mathbf{u}_1\| = 3, ∥u2∥=2263\|\mathbf{u}_2\| = \frac{2 \sqrt{26}}{3}, 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 →