Euclidean space/Affine subspace/Perpendicular/Fact/Proof

< Euclidean space < Affine subspace < Perpendicular < Fact
Proof

We write with , , and ; such a decomposition does always exist, are not uniquely determined (in case ), but is uniquely determined. We have

and , and . The distance between and is . For arbitrary points and fulfilling and , we have

that is,