Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 326 1 1 d Solution Created 2026-10-03 Updated 2026-10-05
Write . Every least-squares solution is for some , while . Decompose using orthogonal projections. Then the Pythagorean identity givesThe first term is independent of , and the second vanishes at exactly one point. Hence the unique nearest least-squares solution isGeometrically this is the orthogonal projection of onto the closed affine subspace of least-squares solutions.