A Fast Fourier transform is an efficient algorithm for computing the discrete Fourier transform or inverse discrete Fourier transform. The discrete Fourier transform specifies the mathematical result; a Fast Fourier transform specifies how to compute it. Different Fast Fourier transform algorithms reorganize the same finite sums, with the selected sign and normalization. The Cooley-Tukey FFT algorithm is one important family of Fast Fourier transforms, using factorization of the record length.[ref]
https://ocw.mit.edu/courses/6-02-introduction-to-eecs-ii-digital-communication-systems-fall-2012/06d7972059805d20e6a7db3a52ec23f2_MIT6_02F12_chap13.pdf. Balakrishnan, Terman, and Verghese, MIT 6.02 notes, §13.2.6, p. 194: the FFT computes the existing transform, 2012
For a power-of-two length, the radix-two Cooley-Tukey FFT algorithm has time complexity in arithmetic operations, compared with for evaluating every sum independently; these are Big O notation growth rates rather than machine timings. It returns the same eight coefficients in the example. In exact arithmetic this reorganization introduces no approximation; actual implementations still incur roundoff error.
The Good-Thomas algorithm computes a discrete Fourier transform of size when are coprime integers. The Chinese remainder theorem reindexes samples and frequencies by pairs of residues. With compatible input and output permutations, the transform kernel factors into an -point kernel and a -point kernel, so the computation becomes independent transforms along two array directions.
For , one uses lengths three and five. Unlike the usual Cooley-Tukey FFT algorithm factorization, the coprime reindexing eliminates the intervening twiddle-factor multiplications. The required permutations still have computational cost, and a factorization such as does not satisfy the coprimality hypothesis.[ref]
The radix-two Cooley--Tukey algorithm recursively splits a discrete Fourier transform into transforms of the even-indexed and odd-indexed samples. For a power-of-two length this evaluates the transform in arithmetic operations.
The saving comes from reusing the two shorter discrete Fourier transforms for both halves of the output, through an FFT butterfly. For , each level of the even--odd fast Fourier transform recursion needs work proportional to , and there are levels. This gives the time complexity without changing the discrete Fourier transform being computed.
James W. Cooley and John W. Tukey published An Algorithm for the Machine Calculation of Complex Fourier Series in Mathematics of Computation 19 (1965), pp. 297–301. Their original paper factors a composite length as , derives an operation count , and discusses powers of two and in-place storage. Its opening explicitly builds on earlier algorithms by I. J. Good; the 1965 paper is a landmark computational formulation, rather than the invention of the underlying Fourier analysis. Its positive-exponent convention also illustrates why a Fast Fourier transform's exponent sign must be specified.[ref]
https://janmr.com/files/papers/cooley-tukey.pdf. Cooley and Tukey 1965, original paper, pp. 297–300, equations (1)–(12); scan of the published article
An FFT butterfly combines corresponding outputs of two half-sized transforms using a twiddle factor . Sharing the product costs one complex multiplication and two additions. For the unnormalized positive-exponent inverse discrete Fourier transform of length , use at index .
For even length , split the input of a discrete Fourier transform into its even and odd samples, and . Let be their length- discrete Fourier transforms, with negative-exponent convention. Splitting the original sum by the parity of its index gives, for ,The sign change follows from . Thus the same two short transforms supply both halves of the result through an FFT butterfly. For , recursive splitting reaches length one after levels. Each level needs arithmetic operations, so the time complexity is . For example, a length-four transform uses the two length-two transforms of and , then twiddle factors and .[ref]
Articles by others on the same topic
The Fast Fourier Transform (FFT) is an algorithm that computes the Discrete Fourier Transform (DFT) and its inverse efficiently. The DFT is a mathematical transformation used to analyze the frequency content of discrete signals, transforming a sequence of complex numbers into another sequence of complex numbers. The basic idea is to express a discrete signal as a sum of sinusoids, which can provide insights into the signal's frequency characteristics.
An efficient algorithm to calculate the discrete Fourier transform.