Find the vector projection of v=2i−j+k onto w=i+j+k. Decompose v into two vectors v1 and v2, where v1 is parallel to w and v2 is orthogonal to w.
Solution We use the formula for the projection of v onto w. v1=projwv=v⋅w‖