Euclidean space/Distance to subspace/Orthogonal projection/Fact/Proof
Appearance
Proof
For , we have, due to the Pythagorean theorem,
as and are perpendicular to each other. This expression is minimal if and only if , and this holds if and only if