33Projection of onto
Find the projection of onto .
Projecting onto a means finding how far b stretches along a's direction: proj = (a·b / a·a)·a. Here a·b = 3 and a·a = 1, giving proj = 3(1,0) = (3, 0). Check: b − proj = (0,4) is perpendicular to a, dot product 0.