- A derivation of the discrete Fourier transform
In
mathematics ,computer science , andelectrical engineering , the discrete Fourier transform (DFT), occasionally called thefinite Fourier transform , is a transform forFourier analysis of finite-domaindiscrete-time signal s. As with most Fourier analysis, it expresses an input function in terms of a sum of sinusoidal components by determining the amplitude and phase of each component. Unlike the Fourier Transform, which operates upon continuous functions assumed to extend to infinity, the DFT operates upon "discrete" and "finite" sets of values: the input to the DFT is a finite sequence of real orcomplex number s, which makes the DFT ideal for processing information stored incomputer s. In particular, the DFT is widely employed in signal processing and related fields to analyze the frequencies contained in a sampled signal, to solvepartial differential equations , and to perform other operations such asconvolution s.The article
discrete Fourier transform simply defines the transform as::
but does not explain how the equations were derived.
The derivation below is an abbreviated and modified version of discrete-time Fourier transform.
When the sequence represents a subset of the samples of a waveform , we can model the process that created as applying a
window function to , followed by sampling (or vice versa). It is instructive to envision what those operations do to the Fourier transform, . The window function widens every frequency component of in a way that depends on the type of window used. That effect is calledspectral leakage . We can think of it as causing to blur... thus a loss of resolution. The sampling operation causes the Fourier transform to become periodic. Copies of the blurred are repeated at regular multiples of the sampling frequency, , and summed together where they overlap. The copies are aliases of the original frequency components. In particular, due to the overlap, aliases can significantly distort the region containing the original (if is not sufficiently large enough to prevent it). But if the windowing and sampling are done with sufficient care, the Fourier transform still contains a reasonable semblance of . The transform is defined as::
This continuous Fourier transform is valid for all frequencies, including the discrete subset:
:
One thing to note about this subset is that the width of the region it spans is , which is the periodicity of . So there is no need for more frequencies at this spacing .
Another thing to notice is that: . So the DFT coefficients are a subset of the actual (continuous) Fourier transform of the windowed and sampled waveform. And we note that periodicity of the time-samples has not been assumed. In fact up to this point, it is specifically in contradiction with the assumed window function.
Obviously, the original sequence can be recovered from by doing an inverse Fourier transform. But remarkably, it can also be shown that:
:
which is the inverse discrete Fourier transform. Thus, the DFT coefficients preserve all of the original information, except one thing:
*The original sequence was windowed, whereas this function is periodic (if we were to allow values of n outside the range shown). In the frequency domain it is the difference between a continuous function, , and a discrete one, .These are all good reasons why we are normally content to work with instead of the more cumbersome . We just have to be careful about the significance we attach to the apparent periodicity of the inverse transform. If the original sequence was periodic (and of course not windowed), then would be zero in between the DFT frequencies, and the periodicity of the inverse DFT would have significance. Otherwise it is just an artifact of substituting for
Discrete Time Fourier Transform
For completeness, we note that with this definition:
:
we can also write (now a function of ) as:
:
which is now recognizable as the
discrete-time Fourier transform .In conclusion, rather than simply presenting the DFT and the DTFT as definitions, we have shown how they can be related back to the
continuous Fourier transform of the original continuous signal .References
* [http://ccrma.stanford.edu/~jos/mdft/mdft.html Mathematics of the Discrete Fourier Transform by Julius O. Smith III ]
Wikimedia Foundation. 2010.