I need to show the following identity $$\frac{1}{2\pi}\int_{-\infty}^{\infty} e^{i(k-k')x}dx = \delta(k-k'),$$ where $\delta$ is the Dirac function. In the text it says that the functions $u_k = \frac{1}{\sqrt{2\pi}}e^{ikx}$ represent an orthonormal system and in order to show this it provides the identity above. In case $k=k'$ the right and left hand side of the equation coincide, i.e. $\delta(k') = \infty.$ The quetsion is then why $u_k$ would be orthonormal. In case $k \neq k'$ I do not know how the left hand side will vanish. Can somebody provide a comment or an explanation of how to check that $u_k$ is orthonormal and why there are the difficulties I raised above ?
Many thanks.