We know that the Fourier system is complete, i.e. that $\lbrace e_n: ~ n \in \mathbb{N} \rbrace$ defined by \begin{equation} e_n(x)=\frac{1}{\sqrt{2 \pi}}\exp(inx), ~~~ n \in \mathbb{Z} \end{equation} is an orthonormal basis of $L^2(-\pi,\pi)$.
My question is:
How do you proof, that \begin{equation} e_n(x)=\frac{1}{\sqrt{2N}}\exp\left( \frac{i \pi n}{N}x \right), ~~~ n \in \mathbb{Z} \end{equation} defines an orthonormal basis on $L^2(-N,N)$ (if it does)?
If your first formula is correct, your second can't be. Taking $N=\pi$ you don't have normed vectors. After scaling them the proof should be the same with a little substituion in the Integrals. Edit: you corrected the formel, now just using the subsitution rules for Integrals will bring you the result.