Linear AlgebraOrthogonal Projections

Orthogonal Projection of y = (4, 3, 5) onto a 2D Subspace W

Homework Question

Find the orthogonal projection y^=proj⁡W(y)\hat{\mathbf{y}} = \operatorname{proj}_W(\mathbf{y}) of y=(4,3,5)\mathbf{y} = (4, 3, 5) onto W=Span⁡{u1,u2}W = \operatorname{Span}\{\mathbf{u}_1, \mathbf{u}_2\} with u1=(1,1,0)\mathbf{u}_1 = (1, 1, 0) and u2=(1,−1,1)\mathbf{u}_2 = (1, -1, 1), and find the distance from y\mathbf{y} to WW.

Verified Final Answer
y^=(112,32,2)\hat{\mathbf{y}} = \left(\frac{11}{2}, \frac{3}{2}, 2\right), distance =362= \frac{3\sqrt{6}}{2}

Key Formula & Principle

proj⁡W(y)=y⋅u1u1⋅u1u1+y⋅u2u2⋅u2u2\operatorname{proj}_W(\mathbf{y}) = \frac{\mathbf{y}\cdot\mathbf{u}_1}{\mathbf{u}_1\cdot\mathbf{u}_1}\mathbf{u}_1 + \frac{\mathbf{y}\cdot\mathbf{u}_2}{\mathbf{u}_2\cdot\mathbf{u}_2}\mathbf{u}_2

Step-by-Step Solution

  1. 1
    Confirm orthogonality of the basis: u1⋅u2=1−1+0=0\mathbf{u}_1 \cdot \mathbf{u}_2 = 1 - 1 + 0 = 0, with ∥u1∥2=2\|\mathbf{u}_1\|^2 = 2 and ∥u2∥2=3\|\mathbf{u}_2\|^2 = 3.
  2. 2
    Compute projections: y⋅u12u1=72(1,1,0)\frac{\mathbf{y}\cdot\mathbf{u}_1}{2}\mathbf{u}_1 = \frac{7}{2}(1, 1, 0) and y⋅u23u2=63(1,−1,1)=(2,−2,2)\frac{\mathbf{y}\cdot\mathbf{u}_2}{3}\mathbf{u}_2 = \frac{6}{3}(1, -1, 1) = (2, -2, 2).
  3. 3
    Sum to find y^=(72+2,72−2,2)=(112,32,2)\hat{\mathbf{y}} = \left(\frac{7}{2} + 2, \frac{7}{2} - 2, 2\right) = \left(\frac{11}{2}, \frac{3}{2}, 2\right).
  4. 4
    Compute residual y−y^=(−32,32,3)\mathbf{y} - \hat{\mathbf{y}} = \left(-\frac{3}{2}, \frac{3}{2}, 3\right) and its norm 94+94+9=272=362\sqrt{\frac{9}{4} + \frac{9}{4} + 9} = \sqrt{\frac{27}{2}} = \frac{3\sqrt{6}}{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 →