MIT 6.300 — Lecture 7

DT Fourier Transform

§ Lecture: The DT Fourier Transform

Let's do it all again for DT. You might take the following as a prototypical example.

f[n]:={1 if n{2,1,0,1,2}.0 otherwise.f[n] := \begin{cases} 1 & \text{ if } n \in \{-2, -1, 0, 1, 2\}. \\ 0 & \text{ otherwise.} \end{cases}

The goal, as before, is to express f[n]f[n] as a sum (or rather, integral) of complex exponentials, even though f[n]f[n] is aperiodic.

We'll just cut straight to the punchline this time.

Theorem. (DT Fourier Transform) Given a DT signal f[n]f[n], define its Fourier transform to be F(Ω):=n=f[n]ejΩnF(\Omega) := \sum_{n = -\infty}^{\infty} f[n] e^{-j \Omega n}. It then follows that f[n]=12π02πF(Ω)ejΩndΩf[n] = \frac{1}{2\pi} \int_{0}^{2\pi} F(\Omega) e^{j \Omega n} \, \mathrm{d}\Omega.

Remark. Even though the signal f[n]f[n] is discrete and possibly aperiodic, the Fourier transform F(Ω)F(\Omega) is continuous and guaranteed periodic with period 2π2\pi.

Proof: Our strategy is the same as last time: consider signals fN[n]f_N[n] that are extensions of f[n]f[n] to have period NN, take the DT Fourier series of fN[n]f_N[n], and investigate the series for NN \to \infty.

The DT Fourier series for fN[n]f_N[n] looks like:

fN[n]=kNFN[k]ejn(2πk/N)  where  FN[k]=1NnNfN[n]ejn(2πk/N).f_N[n] = \sum_{k \in \langle N \rangle} F_N[k] e^{jn \textcolor{#bf0140}{(2\pi k / N)}} ~ \text{ where } ~ F_N[k] = \frac{1}{N} \sum_{n \in \langle N \rangle} f_N[n] e^{-jn \textcolor{#bf0140}{(2\pi k / N)}}.

Here, N\langle N \rangle denotes a set of NN consecutive integers roughly centered at zero. Remember that for DT Fourier series, FN[k]F_N[k] is a finite array of length NN, or equivalently, an infinite array with period NN.

Let's follow the recipe from last time: take F(Ω):=limNNFN[k]F(\Omega) := \lim_{N \to \infty} N \cdot F_N[k], where the continuous frequency variable Ω:=2πk/N\textcolor{#bf0140}{\Omega := 2\pi k / N} is held fixed as NN \to \infty (so the index kk grows in proportion to NN). Then:

F(Ω)=limNN(1NnNfN[n]ejn(2πk/N))=limNnNfN[n]ejnΩ=n=f[n]ejnΩ.F(\Omega) = \lim_{N \to \infty} N \cdot \left( \frac{1}{N} \sum_{n \in \langle N \rangle} f_N[n] e^{-jn \textcolor{#bf0140}{(2\pi k / N)}} \right) = \lim_{N \to \infty} \sum_{n \in \langle N \rangle} f_N[n] e^{-jn \textcolor{#bf0140}{\Omega}} = \sum_{n = -\infty}^{\infty} f[n] e^{-jn \textcolor{#bf0140}{\Omega}}.

Just as promised. Now make the parametrization {Ωk}kN\{\Omega_k\}_{k \in \langle N \rangle} where Ωk:=2πk/N\textcolor{#bf0140}{\Omega_k := 2\pi k / N}. Noting that ΔΩ:=Ωk+1Ωk=2π/N\Delta \Omega := \Omega_{k + 1} - \Omega_k = 2\pi / N and sending NN \to \infty, the Fourier series becomes:

f[n]=limNfN[n]=limNkNFN[k]ejn(2πk/N)=limN12πkNF(Ωk)ejnΩkΔΩ=12π2πF(Ω)ejnΩdΩ.\begin{align*}f[n] = \lim_{N \to \infty} f_N[n] & = \lim_{N \to \infty} \sum_{k \in \langle N \rangle} F_N[k] e^{jn \textcolor{#bf0140}{(2\pi k / N)}} \\ & = \lim_{N \to \infty} \frac{1}{2\pi} \sum_{k \in \langle N \rangle} F(\Omega_k) e^{jn\textcolor{#bf0140}{\Omega_k}} \Delta \Omega = \frac{1}{2\pi} \int_{\langle 2\pi \rangle} F(\Omega) e^{jn \textcolor{#bf0140}{\Omega}} \, \mathrm{d}\Omega.\end{align*}

Just as promised. Here, 2π\langle 2\pi \rangle refers to any interval of length 2π2\pi; it appears because the set of frequencies {Ωk}kN\{\Omega_k\}_{k \in \langle N \rangle} covers an interval of length 2π2\pi in the limit NN \to \infty.   \blacksquare

Remark. Given a DT signal f[n]f[n], consider the “staircase” CT signal g(t):=f[t]g(t) := f[\lfloor t \rfloor]. Then the following claim (perhaps surprisingly!) is false.

False Claim. The CT Fourier transform G(ω)G(\omega) of g(t)g(t) is the same as the DT Fourier transform F(Ω)F(\Omega) of f[n]f[n].

To see why this claim fails, compute G(ω)G(\omega) one staircase step at a time:

G(ω)=n=f[n]nn+1ejωtdt=n=f[n]ejωn[1ejωjω]=F(Ω)[1ejωjω].     (Ω:=:ω)G(\omega) = \sum_{n = -\infty}^{\infty} f[n] \int_{n}^{n + 1} e^{-j \omega t} \, \mathrm{d}t = \sum_{n = -\infty}^{\infty} f[n] e^{-j \omega n} \left[ \frac{1 - e^{-j\omega}}{j\omega} \right] = F(\Omega) \left[ \frac{1 - e^{-j\omega}}{j\omega} \right]. ~~~~~ (\Omega :=: \omega)

So the CTFT G(ω)G(\omega) is the DTFT F(Ω)F(\Omega) times an extra decay factor of [1ejωjω]\left[\frac{1 - e^{-j\omega}}{j\omega}\right].

This factor is also why the synthesis equations differ: the CTFT G(ω)G(\omega) decays, so it's aperiodic and thus synthesized by \int_{-\infty}^{\infty}. In contrast, F(Ω)F(\Omega) is 2π2\pi-periodic and thus synthesized by 02π\int_0^{2\pi}.

Problem. Compute the DT Fourier transform of the following DT signal, where SS is a positive integer.

f[n]:={1 if nS.0 otherwise.f[n] := \begin{cases} 1 & \text{ if } |n| \leq S. \\ 0 & \text{ otherwise.} \end{cases}

Solution: The analysis equation gives us:

F(Ω)=n=SS(ejΩ)n=ejSΩ(1e(2S+1)jΩ1ejΩ)=e(S+12)jΩe(S+12)jΩe12jΩe12jΩ=sin((S+12)Ω)sin(12Ω).F(\Omega) = \sum_{n = -S}^{S} \left(e^{-j\Omega}\right)^n = e^{jS\Omega} \left(\frac{1 - e^{- (2S + 1)j\Omega}}{1 - e^{-j \Omega}}\right) = \frac{ e^{(S + \frac{1}{2})j \Omega} - e^{-(S + \frac{1}{2})j \Omega} }{ e^{\frac{1}{2}j \Omega} - e^{-\frac{1}{2}j \Omega} } = \frac{\sin\left(\left(S + \frac{1}{2}\right)\Omega\right)}{\sin\left(\frac{1}{2}\Omega\right)}.

Here, we simplify a finite geometric series, then multiply the numerator and denominator by ejΩ/2e^{j \Omega / 2} to reach a quotient of sines.   \blacksquare

§ Lecture and Recitation: Properties of the DT Fourier Transform

Here's what the Fourier transforms of the f[n]f[n] signal from the previous example look like for different values of SS.

Because we're working with DT signals, it's hard to formally put into words the time-scaling property.

Other than time-scaling and duality, all of the other CT Fourier transform properties can be ported over to DT easily. (Proofs are obvious.)

Theorem. (Even / Odd) If f[n]f[n] is real and even, F(Ω)F(\Omega) is real and even. If f[n]f[n] is real and odd, F(Ω)F(\Omega) is imaginary and odd.

Theorem. (Hermitian Symmetry) If f[n]f[n] is real, then F(Ω)=F(Ω)F(-\Omega) = \overline{F(\Omega)} for all Ω\Omega.

Theorem. (DT Areas) The value of f[0]f[0] is 12π02πF(Ω)dΩ\frac{1}{2\pi} \int_0^{2\pi} F(\Omega) \, \mathrm{d}\Omega, and the value of F(0)F(0) is n=f[n]\sum_{n = -\infty}^{\infty} f[n].

Theorem. (Time Delay) The FT of f[nn0]f[n - n_0] is ejΩn0F(Ω)e^{-j \Omega n_0} F(\Omega).

Theorem. (Derivative FT) If the FT of f[n]f[n] is F(Ω)F(\Omega), then the FT of g[n]:=nf[n]g[n] := n f[n] is G(Ω)=jF(Ω)G(\Omega) = j F'(\Omega).

Theorem. (Kronecker Delta FT) Let the Kronecker delta function δ[n]\delta[n] be defined so that δ[0]=1\delta[0] = 1 and δ[k]=0\delta[k] = 0 for all k0k \neq 0. The FT of δ[n]\delta[n] is the constant function F(Ω)=1F(\Omega) = 1.

Theorem. (Periodic DT) Suppose f[n]f[n] is a periodic signal with Fourier coefficients F[k]F[k], so that f[n]=k=0N1F[k]ejn(2πk/N)f[n] = \sum_{k = 0}^{N - 1} F[k] e^{jn(2\pi k/N)}. Then, treating F[k]F[k] as an infinite array with period NN, the Fourier transform of f[n]f[n] is F(Ω)=k=2πF[k]δ(Ω2πkN)F(\Omega) = \sum_{k = -\infty}^{\infty} 2\pi F[k] \delta\left(\Omega - \frac{2\pi k}{N}\right).

Here's what that last theorem looks like visually.