silemus.

33Projection of bb onto aa

Find the projection of b=(3,4)\displaystyle b = (3, 4) onto a=(1,0)\displaystyle a = (1, 0).

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.

How good is this answer?