Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2024/iii/paper-318/5/1/a/solution

Suppose first that is orthogonal to . Every can be written with . The Pythagorean theorem in an inner-product space gives
Thus is a best approximation.
Conversely, if minimizes the distance, then for every the quadratic
has its minimum at . Differentiating there gives in the real case; varying real and imaginary parts gives the complex case. Therefore

New to topics? Read the docs here!