I want to derive the Fourier transform of the impulse train. So far I have gotten up to this point. $$p(t) = \sum_{n = -\infty}^{\infty}\delta(t - nT_s)$$ $$P(\omega) = \int_{-\infty}^{\infty}p(t).e^{-j\omega t}dt$$ $$P(\omega) = \int_{-\infty}^{\infty}\sum_{n = -\infty}^{\infty}\delta(t - nT_s).e^{-j\omega t}dt$$ Interchanging summation and integration, $$P(\omega) = \sum_{n = -\infty}^{\infty}\int_{-\infty}^{\infty}\delta(t - nT_s).e^{-j\omega t}dt$$ This yields $$P(\omega) = \sum_{n = -\infty}^{\infty}e^{-j\omega nT_s}$$
But I know the transform function is $$P(\omega) = \frac{2\pi}{T_s}\sum_{n = -\infty}^{\infty}\delta(\omega - n\omega_s)$$
Can anyone point me in a direction where I can get the exponential term into a delta function? :)