Let $R_n(x)=f(x)-S_n(x)$ where $S_n(x)$ is the partial sum of Fourier series of $f(x)$ function.
$\lim_{n \to \infty} <R_n(x),R_n(x)>$ $=0$ $\iff$ $\sum_{n=1}^{\infty}c_i^2 = \int_{-\pi}^{\pi}(f(x))^2dx$ (Parseval identity where $c_i$ s are Fourier coefficients)
It's written that $<R_n(x),R_n(x)>$ $=$ $\sum_{n=1}^{\infty}c_i^2 \cdot\int_{-\pi}^{\pi}(f(x))^2dx$ in my notes. But I cannot identify the reason of this equality.
My main problem is that I cannot see why Parseval identity satisfies $\lim_{n \to \infty} <R_n(x),R_n(x)>$ $=0$ ? Showing in real $L^2[-\pi,\pi]$ is enough for me now. It can be stupid question, I'm sorry. If someone explain it me in easiest way, I will be glad
Thanks
P.S. : I need a proof in the easiest way. Please do not explain with different ways. I’m only an undergraduate student now and my knowledge is really bounded unfortunately. I cannot use anything I didn’t learn in my proofs. Please illuminate me how can I show it via Parseval identity.