Stated without proof in a text on Fourier Analysis:
It is easy to see that
$$ \int_{-\pi}^{\pi}e^{in\theta} \overline{e^{in\theta}} = 1 $$
since $|e^{in\theta}| = 1$. But how does one show that for $n \ne m$:
$$ \int_{-\pi}^{\pi}e^{in\theta} \overline{e^{im\theta}} = 0 $$
