Find the trigonometric polynomial so that the integral is minimized, by defining a suitable inner product in the space of integrable functions on , and interpret the integral as the distance , where .

I have no idea how to solve this, but the answer is for all