Linear AlgebraGram-Schmidt

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

Homework Question

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

Verified Final Answer
e1=[22220]T\mathbf{e}_1 = \begin{bmatrix}\frac{\sqrt{2}}{2} & \frac{\sqrt{2}}{2} & 0\end{bmatrix}^T, e2=[66−6663]T\mathbf{e}_2 = \begin{bmatrix}\frac{\sqrt{6}}{6} & - \frac{\sqrt{6}}{6} & \frac{\sqrt{6}}{3}\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=[110]T\mathbf{u}_1 = \mathbf{v}_1 = \begin{bmatrix}1 & 1 & 0\end{bmatrix}^T.
  2. 2
    Projection coefficient: v2⋅u1u1⋅u1=12=12\frac{\mathbf{v}_2 \cdot \mathbf{u}_1}{\mathbf{u}_1 \cdot \mathbf{u}_1} = \frac{1}{2} = \frac{1}{2}.
  3. 3
    u2=v2−12u1=[12−121]T\mathbf{u}_2 = \mathbf{v}_2 - \frac{1}{2}\mathbf{u}_1 = \begin{bmatrix}\frac{1}{2} & - \frac{1}{2} & 1\end{bmatrix}^T (check: u1⋅u2=0\mathbf{u}_1 \cdot \mathbf{u}_2 = 0).
  4. 4
    Normalize: ∥u1∥=2\|\mathbf{u}_1\| = \sqrt{2}, ∥u2∥=62\|\mathbf{u}_2\| = \frac{\sqrt{6}}{2}, 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 →
Gram-Schmidt

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

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

Gram-Schmidt

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

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

Vector Projection

Find the projection of a = (3, 4) onto b = (1, 0)

Answer: projba=[30]T\text{proj}_{\mathbf{b}}\mathbf{a} = \begin{bmatrix}3 & 0\end{bmatrix}^T, orthogonal part =[04]T= \begin{bmatrix}0 & 4\end{bmatrix}^T

Vector Projection

Find the projection of a = (2, -1, 3) onto b = (1, 1, 1)

Answer: projba=[434343]T\text{proj}_{\mathbf{b}}\mathbf{a} = \begin{bmatrix}\frac{4}{3} & \frac{4}{3} & \frac{4}{3}\end{bmatrix}^T, orthogonal part =[23−7353]T= \begin{bmatrix}\frac{2}{3} & - \frac{7}{3} & \frac{5}{3}\end{bmatrix}^T

Vector Projection

Find the projection of a = (4, 2, -2) onto b = (1, 2, 2)

Answer: projba=[498989]T\text{proj}_{\mathbf{b}}\mathbf{a} = \begin{bmatrix}\frac{4}{9} & \frac{8}{9} & \frac{8}{9}\end{bmatrix}^T, orthogonal part =[329109−269]T= \begin{bmatrix}\frac{32}{9} & \frac{10}{9} & - \frac{26}{9}\end{bmatrix}^T

Cramer's Rule

Solve the 2x2 system 2 x + 3 y = 8; 4 x - y = 2 using Cramer's rule

Answer: x=1,  y=2x = 1,\; y = 2