How do I find the orthogonal projection of two vectors?

1 Answer
May 3, 2015

The question perhaps is about projection of some vecbb on another vecaa in the same vector space. If this projection is vector vecpp, then set the vector dot product vecaa and (vecbb-vecpp) equal to 0, because vecaa and vecbb-vecpp would be orthogonal.

Since vecpp is along vecaa, it would be some multiple of vecaa. let it be x

Thus veca. (vecb-xveca)a.(bxa)=0, x= (veca.vecb)/(|a||a|)a.b|a||a|

Hence vecpp= x vecaa =(veca.vecb)/(|a||a|) vecaa.b|a||a|a