Solveeit Logo

Question

Question: How can I find the projection of a vector onto a subspace?...

How can I find the projection of a vector onto a subspace?

Explanation

Solution

From the question given, we have been asked to find the projection of a vector onto a subspace. We can find the projection of a vector onto a subspace by using the concept of linear combination of vectors.

Complete step-by-step solution:
Projection of a vector onto a subspace:
First of all, for our convenience, let us assume a subspace.
Let us assume as a subspace of SVS\subset V
The subspace SVS\subset V admits u1,u2,..........un{{u}_{1}},{{u}_{2}},..........{{u}_{n}} as an orthogonal basis.
This means that every vector uSu\in S can be written as a linear combination of the ui{{u}_{i}} vectors.
Representation of the vector as a linear combination of the ui{{u}_{i}} vectors: u=i=1naiuiu=\sum\limits_{i=1}^{n}{{{a}_{i}}{{u}_{i}}}
Now, assume that you want to project a certain vector vVv\in V onto SS. Of course, if in particular vSv\in S, then its projection is vv itself. Let us assume that vVv\in V but vSv\notin S.
Let us call uu as the projection of vv onto SS.
Following what we wrote before, we need to find the coefficients ai{{a}_{i}} to express uu inside SS.
Now, as discussed above the coefficients are ai=v,uiui,ui{{a}_{i}}=\dfrac{\left\langle v,{{u}_{i}} \right\rangle }{\left\langle {{u}_{i}},{{u}_{i}} \right\rangle }
Therefore, we got the coefficients.
Now, we have to find the projection of the vector onto a subspace.
The projection of vector onto a subspace using the coefficient we found is u=i=1nv,uiui,uiu=\sum\limits_{i=1}^{n}{\dfrac{\left\langle v,{{u}_{i}} \right\rangle }{\left\langle {{u}_{i}},{{u}_{i}} \right\rangle }}
Hence, the projection of the vector onto a subspace is found.

Note: We should be well aware of the vectors concept. Also, we should be well aware of the properties of vectors. Also, we should be very careful while finding the coefficient. Also, we should make the assumptions very clear to get the correct answer for the given question. Also we should not get confused while doing the vector calculation.