Vector projection
Find the orthogonal projection of a vector onto the direction of another and the coefficient of the projection.
Calculate the result
Worked example
Problem
Find the orthogonal projection of the vector u(3, 2) onto v(2, 0). Check that the difference of u from the projection is perpendicular to v.
The projection of u(3, 2) in the direction of v(2, 0) is the vector (3, 0).
Find the coefficient of the projection
Multiply the v
Check the perpendicular remainder
Common mistake
The denominator is the square of the magnitude of v. v must be nonzero in order to define a direction.
