I don't know where to start with this one:
Let $f(z)=\sum_{n=0}^{\infty}{a_nz^n}$ be a series with radius of convergence $1$.
a) Prove that $\frac{1}{2\pi}\int_0^{2\pi}{|f(re^{i\theta})|^2}d\theta=\sum_{n=0}^{\infty}{|a_n|^2r^{2n}}$ for all $0<r<1$.
If I plug the $f(z)$ expression into the integral, I have the square of a sum and I don't know if it's the easiest way to solve it. I'd appreciate any hint.
Thanks for your time.
Apply this for $r < 1$ and $\theta\in\mathbb{R}$.
$$|f(re^{i\theta}|^2 = \sum_{n=0}^\infty\sum_{m=0}^\infty a_m\overline{a_n}r^{m+n} e^{im\theta} e^{-in\theta}.$$