We have some orthogonal system $\phi_0, \phi_1,...$.
Then we say "if the function $f$ is square-integrable then we have a fourier series...".
Question 1: why do we talk about square-integrable functions? I know that if the function is square-integrable then the fourier series converges. But I dont understand why? On which step of our theory we get this conclusion? I read several chapters on fourier analysis several times and do not understand from what we get this conclusion.
Steps:
we have orthogonal system $\phi_0, \phi_1,...$.
we take a function and write
$f\sim c_0\phi_0+c_1\phi_1+...$
to replace the $"\sim"$ sign with "=" we need to show thet this fourier series converges.
we know that if functions on our orthogonal system is continuous and if our series converges uniformaly then this fourier series is correct.
Question 2: again why do we worry about square-integrable functions? Where we need them in four steps?