Linear Algebra: Projection onto a subspace

4 replies · 4K views · last reply
Kisa30
Messages
4
Reaction score
0

Homework Statement



Homework problem: find the projection of v = (-9, -17, -8) onto the subspace V of R^3 spanned by (5, -6, 2) and (-2, 0, -1), with three entered answer boxes showing -7.24615384615385, -3.78461538461538, -3.93846153846154.


That is the question. The answer on the bottom is incorrect

Homework Equations



Formula for orthogonal projection of a vector v onto a subspace with orthogonal basis v1 through vr: proj v = (v·v1 / v1·v1) v1 + (v·v2 / v2·v2) v2 + ... + (v·vr / vr·vr) vr, labelled (*).

I believe that is the formula that is supposed to be used.

The Attempt at a Solution



All I really did was plug in the equation into the formula but there is something I am missing because the answer is incorrect

Projection = (41/65)v1 + (26/5)v2
This is what I got after inserting the projection formula.
And in the first image, on the bottom it shows the final solutions I got.


Please help me figure out how to do this question and where I went wrong.

Thanks in advanced!
 
Just a thought, but do you have to provide the solutions in a specific number format (i.e. rounded to a certain number of figures) or maybe as exact fractions?
 
What conditions must v1 and v2 meet so that the formula can be used?

An alternative approach would be to find a vector x that's perpendicular to V, and find the projection of v onto x, and subtract that from v. What's left over will lie in the subspace V.
 
Apparently the problem is that it's not orthogonal.