# Why integrate over $2\pi$ in inverse DTFT?

In DTFT of a signal, the spectrum of a sequence is periodic with period $2\pi$ and all the information needed for derivation of the original signal from its spectrum is contained in $\pi <\omega <\pi$.

But , why do they integrate over $2\pi$ and not from $-\infty$ to $+\infty$ , as in continuous Fourier transform in inverse DTFT? After all, when you derive a transform of a signal, the inverse of it is not arbitrary and to recover the original signal, you can't integrate over an other interval because all the information is contained in there.

• Doesn't your first sentence give the answer to your question? – Matt L. May 21 '13 at 15:00
• This transform is somehow derived from the continuous transform,and the definition for inverse of it isn't arbitrary at all in CFT.If you don't integrate over all real axis, you will have wrong answer for $x$. Because this inversion formula must give you your original function,from which you have obtained the spectrum. – Zorich May 21 '13 at 15:10
• Yes, but there's a difference between continuous and discrete-time transforms, as you have correctly pointed out. You can see the inverse transform in the discrete-time case simply as computing the Fourier series coefficients of the periodic spectrum. – Matt L. May 21 '13 at 15:32
• Short answer: for the same reason that when calculating a Fourier series you only integrate over one period of the waveform instead of over the entire real line (as you do in the Fourier transform). It's due to the periodicity of the input (in your case, the periodic DTFT spectrum). – Jason R May 21 '13 at 15:36

1. As you say, the sequence is periodic so all of the information is contained in the $-\pi < w <\pi$ region. Thus, integrating over that region tells you everything that there is to be learned from the inverse transform.
2. Integrating from $-\infty < w< \infty$ would only give answers of $0$, $\infty$, or $-\infty$. The reason for that is that integrating over $-\pi < w <\pi$ will generally give a finite answer which can be something negative (e.g. -4), 0, or something positive (e.g. 2.5). If you integrate over $-\infty < w< \infty$ each $2\pi$ region will give the exact same answer, so the negative results will accumulate to $-\infty$, the zeros will sum to $0$, and the positive results will sum to $\infty$. (Note that the results are often complex, but that doesn't change the primary point. It just increases the dimensionality of the infinities.)
Mathematically , you have to integrate over $2\pi$: $$X(\omega) = \sum_{n=-\infty}^{\infty} x[n] \,e^{-i \omega n}$$
$$x[n]= \frac{1}{2 \pi}\int_{2\pi} X(\omega)\cdot e^{i \omega n} d\omega= \frac{1}{2 \pi}\int_{2\pi} \sum_{k=-\infty}^{\infty} x[k] \,e^{-i \omega k}\cdot e^{i \omega n} d\omega$$ because of orthogonality of sinusoidals , this will be zero for all $k$s except $k=n$: $$\to x[n]= \frac{1}{2 \pi}\int_{2\pi}x[n]d\omega$$
In the case of a continuous Fourier transform you'll arrive at a delta function and you have to integrate over $(-\infty,\infty)$.