The projection of (1, 0, 0, 1, 1, 1) onto the subspace spanned by (-2, 2, 1) is (0, 0, 0), and the projection of (2, 0) onto the subspace spanned by (0, 1) is (0, 0).
To find the orthogonal projection of a vector onto a subspace spanned by a basis, you can use the formula:
![\[ \text{Projection of } \mathbf{v} \text{ onto the subspace} = \frac{\mathbf{v} \cdot \mathbf{u}}{\mathbf{u} \cdot \mathbf{u}} \cdot \mathbf{u} \]](https://img.qammunity.org/2024/formulas/mathematics/high-school/6bd3o9dfp1aux9qpbna4gbrt7zp1ispj08.png)
Where:
is the given vector.
is the basis vector of the subspace.
Projection of (1, 0, 0, 1, 1, 1) onto the subspace spanned by (-2, 2, 1):
Let's compute the projection:
Given vector
= (1, 0, 0, 1, 1, 1)
Basis vector
= (-2, 2, 1)
The projection formula:
![\[ \text{Projection} = \frac{\mathbf{v} \cdot \mathbf{u}}{\mathbf{u} \cdot \mathbf{u}} \cdot \mathbf{u} \]](https://img.qammunity.org/2024/formulas/mathematics/high-school/tupm9y26owst86ijjy4oriys8rtkhafm72.png)
Calculate the dot products:
=
![-2 + 0 + 0 + 0 + 1 + 1 = 0 \]](https://img.qammunity.org/2024/formulas/mathematics/high-school/oioc3pnho66tddlp651xpkt041uku9a16s.png)
![\[ \mathbf{u} \cdot \mathbf{u} = (-2)^2 + 2^2 + 1^2 = 4 + 4 + 1 = 9 \]](https://img.qammunity.org/2024/formulas/mathematics/high-school/d1z4lbp13dxvd0yltk8j22dd0xxyu8iqyc.png)
Compute the projection:
![\[ \text{Projection} = (0)/(9) \cdot (-2, 2, 1) = (0, 0, 0) \]](https://img.qammunity.org/2024/formulas/mathematics/high-school/g3566gcwzn1kkfn0ssc1glbddizhtuowfn.png)
Projection of (2, 0) onto the subspace spanned by (0, 1):
Given vector
= (2, 0)
Basis vector
= (0, 1)
Using the same projection formula:
![\[ \mathbf{v} \cdot \mathbf{u} = (2 \cdot 0) + (0 \cdot 1) = 0 \]](https://img.qammunity.org/2024/formulas/mathematics/high-school/1ym9cpgqiotbkqzk5cyd51vded9as0d716.png)
![\[ \mathbf{u} \cdot \mathbf{u} = 0^2 + 1^2 = 1 \]](https://img.qammunity.org/2024/formulas/mathematics/high-school/6o3naktb2fvj1q6jwe5q87nwl63ogx5yio.png)
Compute the projection:
![\[ \text{Projection} = (0)/(1) \cdot (0, 1) = (0, 0) \]](https://img.qammunity.org/2024/formulas/mathematics/high-school/bnpgy4301zhump0cckuznupng6dvvcnyhw.png)