Solution

ID: past-exam-of-the-year-1-of-the-computer-science-course-of-the-university-of-oxford/2019/digital-systems-linear-algebra-introduction-to-formal-proof/5/a/solution

For nonzero , let be its angle to the unit vector . The scalar projection on the oriented axis is . Since , the dot product identity gives . Multiplying that signed scalar by places the foot at .
The residual is perpendicular to the axis, because . An obtuse angle gives a negative scalar and a foot on the negative side of the line; has projection zero without needing an angle.
Figure 1.
Projection drops a perpendicular to a unit direction; directional stretching doubles only the parallel component
. Details.
The first panel is a constructed geometric illustration. The second illustrates the directional stretch used later in Question 6.

New to topics? Read the docs here!