Prove that the series
$$\sum_{n=0}^\infty (-1)^n x^{2n}$$
$L^2$ converges in $(-1,1)$.
I thought that we needed a target function since the definition of $L^2$ convergence is that
$$\lim_{N\to \infty}\int_a^b |f(x) - \sum_{n=0}^Nf(x_n)|^2 dx = 0$$
but this problem has no target function
Hint. There is a target function $f\in L^2(-1,1)$. For $x\in(-1,1)$ we have a convergent geometric series: $$f(x)=\sum_{n=0}^\infty (-1)^n x^{2n}=\frac{1}{1+x^2}.$$