Let $C[-\pi, \pi]=\{f:[-\pi, \pi] \rightarrow R \mid f$ is continuous $\}$ denote the inner product space of continuous real-valued functions defined on the interval $[-\pi, \pi] \subset R$, with inner product given by
$$
\langle f, g\rangle=\int_{-\pi}^{\pi} f(x) g(x) d x, \text { for every } \mathrm{f}, \mathrm{g} \in \mathrm{C}[-\pi, \pi]
$$
Then, given any positive integer $n \in \mathbb{Z}_{+}$, verify that the set of vectors
$$
\left\{\frac{1}{\sqrt{2 \pi}}, \frac{\sin (x)}{\sqrt{\pi}}, \frac{\sin (2 x)}{\sqrt{\pi}}, \ldots, \frac{\sin (n x)}{\sqrt{\pi}}, \frac{\cos (x)}{\sqrt{\pi}}, \frac{\cos (2 x)}{\sqrt{\pi}}, \ldots, \frac{\cos (n x)}{\sqrt{\pi}}\right\}
$$
is orthonormal.