Show that the $2 n+1$ complex exponentials $e^{i k x}$ for $k=-n,-n+1, \ldots,-1,0,1, \ldots, n$, form an orthonormal basis for the space of complex-valued trigonometric polynomials under the Hermitian inner product $\langle f, g\rangle=\frac{1}{2 \pi} \int_{-\pi}^\pi f(x) \overline{g(x)} d x$.