Let $f$ be a $2\pi$ periodic function. Assume that $f$ is quadratic integrable in the interval $[0,2\pi]$. Consider $f$ as a vector in the Hilbert space $L^2([0,2\pi])$. Give, based on the Fourier coefficients of $f$, the best approximation of $f$ in $L^2([0,2\pi])$ as a linear combination of $\sin(kx)$ (with $k∈\{1,2,3,\ldots,10\}$
Answer: I think {$\frac{sin(kx)}{\pi}|k=1..10$} is an orthonormal set. So the best approximation is the orthogonal projection on $K= span${$\frac{sin(kx)}{\pi}|k=1..10$} What is the next step? Taking the imaginary part of de fourier coefficients, or is that not the meaning?