1. Home
  2. Explore
  3. Mathematics
  4. Fast Fourier Transform

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Fast Fourier Transform

Fast Fourier Transform: Concepts, Derivation, and Applications

From a recorded signal to its frequencies

A microphone does not directly record musical notes. It measures changing air pressure and produces a sequence of numerical samples. A chord recording may look like a complicated, irregular waveform, even though it is made from a small number of simpler tones.

The Fourier transform changes the description of a signal from its values over time to the frequencies it contains. A signal made from several tones produces a spectrum with corresponding frequency components. This is useful for tasks such as identifying notes, analyzing audio, and processing images.

A pure tone can be understood as a rotating point or arrow:

  • A point moving around a circle at a constant speed has a height that varies as a sinusoidal wave.

  • Faster rotation produces a higher-frequency wave.

  • Reversing the direction of rotation corresponds to a negative frequency in the complex-number representation.

  • Adding rotating arrows with different lengths and phases can represent a complicated signal.

The spectrum therefore describes a signal as a collection of frequency components, including the strength and phase of each component. A Fourier transform finds this collection.


Complex numbers as rotations

A complex number can be represented as a point on a plane. Its real part gives its horizontal coordinate, and its imaginary part gives its vertical coordinate. For example, 3+2i3+2i3+2i represents a point three units to the right and two units up.

Complex multiplication has a useful geometric interpretation:

  • The lengths, or magnitudes, of two complex numbers multiply.

  • Their angles add.

  • Multiplication by iii rotates a point one-quarter turn counterclockwise.

  • Since two quarter-turns make a half-turn, i2=−1i^2=-1i2=−1.

Euler’s formula connects complex numbers to circular motion:

eiθ=cos⁡θ+isin⁡θe^{i\theta}=\cos\theta+i\sin\thetaeiθ=cosθ+isinθ

The value eiθe^{i\theta}eiθ is the point on the unit circle at angle θ\thetaθ. As θ\thetaθ increases, the point rotates around the circle. In particular, eiπ=−1e^{i\pi}=-1eiπ=−1, and ei2π=1e^{i2\pi}=1ei2π=1.

Because multiplying complex exponentials adds their angles,

eiaeib=ei(a+b).e^{ia}e^{ib}=e^{i(a+b)}.eiaeib=ei(a+b).

A rotating complex exponential can also be imagined as a coil extending through time. Looking at the coil from different directions produces sinusoidal projections: one is related to cosine and another to sine. A tighter coil represents faster rotation and thus a higher frequency.

The Fourier transform convention used here represents the rotations in the clockwise direction. Its complex exponentials therefore have negative angles.


Roots of unity and twiddle factors

For a transform with NNN samples, divide the unit circle into NNN equally spaced points. These points are called the NNNth roots of unity: raising any one of them to the NNNth power gives 111.

Define one clockwise step around the circle as

WN=e−2πi/N.W_N=e^{-2\pi i/N}.WN​=e−2πi/N.

The other points are powers of this one:

WN2, WN3, …, WNN−1.W_N^2,\ W_N^3,\ \ldots,\ W_N^{N-1}.WN2​, WN3​, …, WNN−1​.

A factor such as WNnkW_N^{nk}WNnk​ is called a twiddle factor. It supplies the rotation used to test a sample against a particular frequency.

Two properties of these factors are especially important:

Periodicity

After one complete turn, the point returns to its starting position:

WNk+N=WNk.W_N^{k+N}=W_N^k.WNk+N​=WNk​.

Half-turn sign change

Advancing by half a circle reverses the direction of the arrow:

WNk+N/2=−WNk.W_N^{k+N/2}=-W_N^k.WNk+N/2​=−WNk​.

The half-turn identity lets the FFT reuse a multiplication to produce two outputs.


The discrete Fourier transform

The discrete Fourier transform (DFT) converts NNN input samples x[n]x[n]x[n] into NNN frequency-domain outputs X[k]X[k]X[k]:

X[k]=∑n=0N−1x[n]WNnk,k=0,…,N−1.X[k]=\sum_{n=0}^{N-1}x[n]W_N^{nk}, \qquad k=0,\ldots,N-1.X[k]=∑n=0N−1​x[n]WNnk​,k=0,…,N−1.

Here:

  • x[n]x[n]x[n] is the input sample at position nnn.

  • X[k]X[k]X[k] is the output for frequency bin kkk.

  • Each input sample is multiplied by a frequency-dependent twiddle factor.

  • The resulting complex values are added together.

Each output uses all NNN input samples. The output records the signal’s contribution at the corresponding frequency. Its magnitude indicates the strength of that frequency component, while its complex angle carries phase information.

Geometric interpretation

For a chosen frequency bin kkk, each sample is represented by an arrow whose length is determined by the sample value. The twiddle factor rotates that arrow by an amount determined by the sample’s position and the chosen frequency.

The DFT adds these rotated arrows:

  • If the chosen frequency matches a component in the signal, the arrows tend to align, producing a large sum.

  • If it does not match, the arrows tend to spread around the circle and cancel, producing a small sum.

The DFT output is the sum of the arrows, not their average. If the arrow-tip balance point is viewed as an average, then the DFT sum is NNN times that average.

The output at k=0k=0k=0 involves no rotation, so it is the sum of the samples:

X[0]=∑n=0N−1x[n].X[0]=\sum_{n=0}^{N-1}x[n].X[0]=∑n=0N−1​x[n].

This is the zero-frequency, or DC, component. It measures the signal’s average level, scaled by the number of samples.

Small example

For four samples 1,2,3,41,2,3,41,2,3,4, the one-step twiddle is

W4=e−2πi/4=−i.W_4=e^{-2\pi i/4}=-i.W4​=e−2πi/4=−i.

For k=1k=1k=1,

X[1]=1+2(−i)+3(−1)+4(i)=−2+2i.X[1] =1+2(-i)+3(-1)+4(i) =-2+2i.X[1]=1+2(−i)+3(−1)+4(i)=−2+2i.

This direct calculation uses four sample–twiddle products for one output. Calculating all four outputs directly requires 42=164^2=1642=16 such products.


The DFT as polynomial evaluation

Represent the samples as coefficients of a polynomial:

P(z)=x[0]+x[1]z+x[2]z2+⋯+x[N−1]zN−1.P(z)=x[0]+x[1]z+x[2]z^2+\cdots+x[N-1]z^{N-1}.P(z)=x[0]+x[1]z+x[2]z2+⋯+x[N−1]zN−1.

Evaluating this polynomial at a value zzz means substituting that value for the variable. The DFT formula uses the factor WNnkW_N^{nk}WNnk​ for the coefficient x[n]x[n]x[n], which is exactly the polynomial term evaluated at z=WNkz=W_N^kz=WNk​. Therefore,

X[k]=P(WNk).X[k]=P(W_N^k).X[k]=P(WNk​).

The DFT is thus the evaluation of one polynomial at all NNN roots of unity. These evaluation points have a repeating circular structure, which makes it possible to reuse work rather than calculate every output independently.


Why the direct DFT is expensive

A direct DFT computes every output from every input. Its work can be represented as a grid:

  • Each row corresponds to one output frequency.

  • Each column corresponds to one input sample.

  • Each cell represents one sample–twiddle multiplication.

The grid contains NNN rows and NNN columns, giving approximately

N2N^2N2

multiplications. This is quadratic time, written O(N2)O(N^2)O(N2). Doubling the input length makes the direct work roughly four times as large.

For example:

  • At N=8N=8N=8, the direct calculation has 646464 sample–twiddle products.

  • At N=4096N=4096N=4096, N2N^2N2 is about 16.816.816.8 million products per transform.

  • At N=1,000,000N=1{,}000{,}000N=1,000,000, N2N^2N2 is about one trillion products.

This cost is too high for many real-time tasks, such as repeatedly analyzing audio frames. The FFT makes the DFT practical by finding overlapping calculations and sharing their results.


Splitting a DFT into even and odd samples

The key step in the radix-2 FFT is to separate the input into even-indexed and odd-indexed samples. For an even transform length NNN, write the even indices as n=2rn=2rn=2r and the odd indices as n=2r+1n=2r+1n=2r+1. Substituting these into the DFT gives

X[k]=∑r=0N/2−1x[2r]WN2rk+∑r=0N/2−1x[2r+1]WN(2r+1)k.X[k] = \sum_{r=0}^{N/2-1}x[2r]W_N^{2rk} + \sum_{r=0}^{N/2-1}x[2r+1]W_N^{(2r+1)k}.X[k]=∑r=0N/2−1​x[2r]WN2rk​+∑r=0N/2−1​x[2r+1]WN(2r+1)k​.

In the odd-indexed sum, the twiddle can be separated:

WN(2r+1)k=WN2rkWNk.W_N^{(2r+1)k}=W_N^{2rk}W_N^k.WN(2r+1)k​=WN2rk​WNk​.

The factor WNkW_N^kWNk​ does not depend on rrr, so it can be taken outside that sum. Also,

WN2rk=(WN2)rk.W_N^{2rk}=(W_N^2)^{rk}.WN2rk​=(WN2​)rk.

Since WN2W_N^2WN2​ advances by two steps on the NNN-point circle, it is one step on a circle with half as many points:

WN2=WN/2.W_N^2=W_{N/2}.WN2​=WN/2​.

The even-indexed and odd-indexed sums are consequently two DFTs of length N/2N/2N/2. Call them E[k]E[k]E[k] and O[k]O[k]O[k]. Then

X[k]=E[k]+WNkO[k].X[k]=E[k]+W_N^kO[k].X[k]=E[k]+WNk​O[k].

This says that the full transform can be assembled from:

  1. A transform of the even samples.

  2. A transform of the odd samples.

  3. A twiddle multiplication and a combination of the two results.

The even and odd groups each contain samples from the original signal, but at a coarser spacing. Together, they retain all the information in the original input.

Reusing half-size outputs

The half-size transforms repeat after N/2N/2N/2 outputs:

E[k+N/2]=E[k],O[k+N/2]=O[k].E[k+N/2]=E[k], \qquad O[k+N/2]=O[k].E[k+N/2]=E[k],O[k+N/2]=O[k].

For the first half of the output indices,

X[k]=E[k]+WNkO[k].X[k]=E[k]+W_N^kO[k].X[k]=E[k]+WNk​O[k].

For the matching output in the second half, use the half-turn identity:

X[k+N/2]=E[k]−WNkO[k].X[k+N/2]=E[k]-W_N^kO[k].X[k+N/2]=E[k]−WNk​O[k].

The same product WNkO[k]W_N^kO[k]WNk​O[k] is used once for both outputs. Only the sign changes. This reuse is the core source of the FFT’s efficiency.


The butterfly operation

The combination of two half-size results is called a butterfly. Given inputs aaa and bbb and a twiddle factor WWW, it computes

a+Wbanda−Wb.a+Wb \qquad\text{and}\qquad a-Wb.a+Wbanda−Wb.

A butterfly uses one twiddle multiplication to produce two outputs, together with an addition and a subtraction. It is more efficient than computing each output’s contribution independently.

Geometrically, multiplication by WWW rotates bbb without changing its length. The two outputs combine aaa with the rotated value in opposite ways, producing a pair related by a sign change.

The twiddle pattern is structured rather than arbitrary:

  • Twiddles repeat after a complete turn.

  • Twiddles in the second half of a transform are negatives of their counterparts in the first half.

  • Many twiddles are 111 or −i-i−i, which can be implemented with simple additions, subtractions, or sign changes rather than general complex multiplication.


Recursion and the FFT’s complexity

The even–odd split can be repeated on each half-size DFT. For an 888-point transform, the recursive structure is:

  • One problem of size 888.

  • Two problems of size 444.

  • Four problems of size 222.

  • Eight problems of size 111.

A one-sample DFT is just that sample, because its only twiddle is W10=1W_1^0=1W10​=1. This is the base case that ends the recursion. The butterfly combinations then reconstruct the solution as the recursion returns upward.

At each level, there are N/2N/2N/2 butterflies across the entire set of subproblems. The number of levels is log⁡2N\log_2Nlog2​N, because the problem size is halved at every level. Thus, the FFT uses approximately

N2log⁡2N\frac{N}{2}\log_2N2N​log2​N

butterflies and has complexity

O(Nlog⁡N).O(N\log N).O(NlogN).

The same result follows from the recurrence

T(N)=2T(N/2)+O(N).T(N)=2T(N/2)+O(N).T(N)=2T(N/2)+O(N).

This recurrence says that a transform consists of two half-size transforms plus linear work to combine their results. The work at each level is proportional to NNN, and there are log⁡2N\log_2Nlog2​N levels.

For N=8N=8N=8, the direct DFT has 646464 sample–twiddle products, whereas the radix-2 FFT has 121212 butterflies. The FFT’s advantage grows with input size: its work grows only slightly faster than linearly, rather than quadratically.


Bit-reversed order and the iterative FFT

A recursive even–odd split rearranges the input in a particular order. For eight samples, the leaves of the recursion tree appear as

x[0],x[4],x[2],x[6],x[1],x[5],x[3],x[7].x[0],x[4],x[2],x[6],x[1],x[5],x[3],x[7].x[0],x[4],x[2],x[6],x[1],x[5],x[3],x[7].

This is bit-reversed order. Each index is written in binary using enough bits to represent all indices, and then its bits are reversed. For example, with three bits,

001⟶100,001\longrightarrow100,001⟶100,

so index 111 maps to index 444.

The reason for the ordering follows from the splits:

  • The first split separates even and odd indices, determined by the last binary bit.

  • The next split examines the next bit.

  • Continuing the recursion examines index bits from right to left.

Reversing the bits places the samples in the order required by the recursive butterflies. A bit-reversal permutation can be performed in one pass, with pairs swapped in place when needed.

Iterative radix-2 decimation in time

The recursive computation can be performed without recursive function calls:

  1. Reorder the input into bit-reversed order.

  2. Start with groups of size 222.

  3. Double the group size at each stage: 2,4,8,…,N2,4,8,\ldots,N2,4,8,…,N.

  4. Within each group, apply butterflies using the twiddles appropriate to that stage.

At the first stage, each butterfly combines neighboring values. At later stages, the values paired by a butterfly become farther apart. In an 888-point transform, the partner spacing progresses from 111 row to 222 rows to 444 rows.

This form is in place: each butterfly reads two values and writes its results back into those same two array positions. After it has read its inputs, it no longer needs them. The algorithm can therefore use a single array, rewriting it at each stage.


Radix-2 FFT length requirements and zero padding

The repeated even–odd split works cleanly when NNN is a power of two. Each problem then divides evenly until it reaches one-sample base cases. A length such as 666 splits into two groups of 333, and a group of 333 cannot be divided into equal even- and odd-indexed halves for the same radix-2 recursion.

One practical option is zero padding: append zeros until the input length reaches the next power of two. For example, a six-sample signal can be extended to eight samples.

Zero padding does not add new signal information, because the appended zeros contribute nothing to the DFT sums. It does, however, sample the spectrum at more closely spaced frequency bins, producing a finer-looking frequency grid. The frequency-bin spacing for a sampling rate fsf_sfs​ and transform length NNN is

Δf=fsN.\Delta f=\frac{f_s}{N}.Δf=Nfs​​.

When the padded transform length is larger, the bins are closer together. However, zero padding does not improve the fundamental ability to distinguish two closely spaced tones; that depends on having a longer recorded signal. It also changes the bin spacing, so frequency estimates must use the padded transform length rather than the original sample count.

Other FFT algorithms support lengths that are not powers of two, but the radix-2 method applies directly to power-of-two lengths.


Worked 888-point FFT example

Consider the input

x=[1,2,1,0,0,0,0,0].x=[1,2,1,0,0,0,0,0].x=[1,2,1,0,0,0,0,0].

Its first output must be the sum of the samples:

X[0]=1+2+1=4.X[0]=1+2+1=4.X[0]=1+2+1=4.

Input permutation and first stage

The bit-reversed input order is

x[0],x[4],x[2],x[6],x[1],x[5],x[3],x[7],x[0],x[4],x[2],x[6],x[1],x[5],x[3],x[7],x[0],x[4],x[2],x[6],x[1],x[5],x[3],x[7],

which gives the value sequence

[1,0,1,0,2,0,0,0].[1,0,1,0,2,0,0,0].[1,0,1,0,2,0,0,0].

The first stage uses twiddle factor 111 throughout, so each butterfly produces a sum and a difference. Its output sequence is

[1,1,1,1,2,2,0,0].[1,1,1,1,2,2,0,0].[1,1,1,1,2,2,0,0].

Second stage

The second stage combines values two positions apart and uses the 444-point twiddles 111 and −i-i−i. The first group becomes

[2, 1−i, 0, 1+i],[2,\ 1-i,\ 0,\ 1+i],[2, 1−i, 0, 1+i],

which is the transform of the even-indexed samples [1,1,0,0][1,1,0,0][1,1,0,0].

The second group becomes

[2,2,2,2],[2,2,2,2],[2,2,2,2],

which is the transform of the odd-indexed samples [2,0,0,0][2,0,0,0][2,0,0,0].

Final stage

The last stage combines matching values from these two groups using the 888-point twiddles. The complete output is

X[0]=4,X[1]≈2.414−2.414i,X[2]=−2i,X[3]≈−0.414−0.414i,X[4]=0,X[5]≈−0.414+0.414i,X[6]=2i,X[7]≈2.414+2.414i.\begin{aligned} X[0]&=4,\\ X[1]&\approx 2.414-2.414i,\\ X[2]&=-2i,\\ X[3]&\approx -0.414-0.414i,\\ X[4]&=0,\\ X[5]&\approx -0.414+0.414i,\\ X[6]&=2i,\\ X[7]&\approx 2.414+2.414i. \end{aligned}X[0]X[1]X[2]X[3]X[4]X[5]X[6]X[7]​=4,≈2.414−2.414i,=−2i,≈−0.414−0.414i,=0,≈−0.414+0.414i,=2i,≈2.414+2.414i.​

The result has several useful checks:

  • X[0]X[0]X[0] is the sum of the input samples.

  • X[4]X[4]X[4] is zero because the alternating sum 1−2+11-2+11−2+1 is zero.

  • The largest nonzero magnitudes occur among the lower-frequency outputs, consistent with a short, smooth bump in the input.

  • Because the input is real, the spectrum has conjugate symmetry: X[7]X[7]X[7] is the complex conjugate of X[1]X[1]X[1], X[6]X[6]X[6] of X[2]X[2]X[2], and X[5]X[5]X[5] of X[3]X[3]X[3].

This conjugate symmetry occurs for every real-valued input. As a result, many real-signal implementations need to store or return only about half of the spectrum.


Decimation in time and decimation in frequency

The even–odd split is called decimation in time (DIT) because it separates the input’s time samples into even and odd positions. The FFT can also be derived by splitting the output frequencies instead.

Divide the input into its first and second halves. Reindexing the second half gives

X[k]=∑n=0N/2−1x[n]WNnk+∑n=0N/2−1x[n+N/2]WN(n+N/2)k.X[k] = \sum_{n=0}^{N/2-1}x[n]W_N^{nk} + \sum_{n=0}^{N/2-1}x[n+N/2]W_N^{(n+N/2)k}.X[k]=∑n=0N/2−1​x[n]WNnk​+∑n=0N/2−1​x[n+N/2]WN(n+N/2)k​.

The second twiddle can be separated using the half-turn identity. Since WNN/2=−1W_N^{N/2}=-1WNN/2​=−1,

WN(n+N/2)k=WNnk(−1)k.W_N^{(n+N/2)k}=W_N^{nk}(-1)^k.WN(n+N/2)k​=WNnk​(−1)k.

Therefore,

X[k]=∑n=0N/2−1(x[n]+(−1)kx[n+N/2])WNnk.X[k] = \sum_{n=0}^{N/2-1} \left(x[n]+(-1)^kx[n+N/2]\right)W_N^{nk}.X[k]=∑n=0N/2−1​(x[n]+(−1)kx[n+N/2])WNnk​.

For even output indices, let k=2rk=2rk=2r. Then (−1)k=1(-1)^k=1(−1)k=1, so the inputs combine by addition:

X[2r]=∑n=0N/2−1(x[n]+x[n+N/2])WN/2nr.X[2r] = \sum_{n=0}^{N/2-1} \left(x[n]+x[n+N/2]\right)W_{N/2}^{nr}.X[2r]=∑n=0N/2−1​(x[n]+x[n+N/2])WN/2nr​.

For odd output indices, let k=2r+1k=2r+1k=2r+1. Then (−1)k=−1(-1)^k=-1(−1)k=−1, so the inputs combine by subtraction, with an additional twiddle:

X[2r+1]=∑n=0N/2−1(x[n]−x[n+N/2])WNnWN/2nr.X[2r+1] = \sum_{n=0}^{N/2-1} \left(x[n]-x[n+N/2]\right)W_N^nW_{N/2}^{nr}.X[2r+1]=∑n=0N/2−1​(x[n]−x[n+N/2])WNn​WN/2nr​.

This is decimation in frequency (DIF): it splits the output into even- and odd-indexed frequency results.

Comparing DIT and DIF

  • DIT: Split the input into even and odd samples; apply the twiddle to the odd transform before combining. A standard iterative DIT arrangement uses bit-reversed input and produces normally ordered output.

  • DIF: Split the input into its first and second halves; add and subtract first, then apply the twiddle to the difference. A standard iterative DIF arrangement accepts normally ordered input and produces bit-reversed output.

The two forms are mirror images in their data flow. Both use the same circle symmetries, the same butterfly principle, and the same O(Nlog⁡N)O(N\log N)O(NlogN) complexity.

DIF can be convenient when an application does not need intermediate frequency data in normal order. For example, a forward transform and an inverse transform can be arranged so that their bit-reversed orderings cancel, avoiding a separate bit-reversal pass between them.


Applications of the FFT

Spectrograms and audio analysis

A spectrogram displays how a signal’s frequency content changes over time. Audio is divided into short, often overlapping frames. An FFT is calculated for each frame, and the results are arranged with time horizontally, frequency vertically, and brightness representing strength.

For example, at a sample rate of 44.144.144.1 kHz, a frame size of 204820482048 samples, and a hop size of 512512512 samples, the analysis produces about 868686 frames per second. A direct DFT of each frame would require about 4.24.24.2 million sample–twiddle products per frame, or roughly 360360360 million per second. An FFT requires roughly 11,00011{,}00011,000 butterflies per frame, making a responsive display far more practical.

Voice-recognition systems also analyze audio in successive frames, so FFT-based frequency analysis is part of many audio-processing pipelines.

Convolution and filtering

Convolution combines one signal with another by sliding one across the other and multiplying and adding at each position. It is used in tasks such as applying audio reverb, filtering signals, and blurring images. A direct convolution can require quadratic work for long inputs.

The convolution theorem states that convolution in the time domain corresponds to point-by-point multiplication in the frequency domain. For long signals, a faster approach is:

  1. Compute an FFT of each signal.

  2. Multiply the frequency-domain values point by point.

  3. Compute an inverse FFT to return to the time domain.

This replaces a costly direct convolution with a few fast transforms and a linear number of frequency-domain multiplications.

The inverse transform converts frequency data back into samples. Under the DFT convention used here, it is

x[n]=1N∑k=0N−1X[k]e2πink/N.x[n]=\frac{1}{N}\sum_{k=0}^{N-1}X[k]e^{2\pi i nk/N}.x[n]=N1​∑k=0N−1​X[k]e2πink/N.

Polynomial and integer multiplication

Multiplying two polynomials is a convolution of their coefficient lists. The FFT can therefore accelerate polynomial multiplication:

  1. Evaluate both polynomials at the roots of unity.

  2. Multiply corresponding evaluated values.

  3. Interpolate the product polynomial using an inverse transform.

Related methods use fast polynomial multiplication to accelerate multiplication of very large integers, including computations used in high-precision calculations such as large-scale computations of π\piπ.

Image and audio compression

Image pixels that are near one another often have similar values, so much of the image information can be represented by relatively low-frequency patterns. JPEG applies a close relative of the DFT, the discrete cosine transform (DCT), to small image blocks such as 8×88\times 88×8 blocks.

Compression retains strong coefficients and rounds or discards weaker ones. This can reduce the amount of stored data while making changes difficult for human vision to notice. MP3 and AAC use related frequency-transform ideas to compress sound. The divide-and-conquer techniques behind fast transforms make these operations efficient.

Wireless communication

Wi-Fi and mobile networks use orthogonal frequency-division multiplexing (OFDM), which distributes a transmitted signal over many narrow sub-carriers.

  • A transmitter uses an inverse FFT to combine the sub-carriers into a signal.

  • A receiver uses an FFT to separate them again.

In classic Wi-Fi, a 646464-point FFT can be used about 250,000250{,}000250,000 times per second. Mobile networks use related methods with larger transforms.

Medical imaging, radar, astronomy, and seismology

MRI systems collect frequency-domain measurements from the body; a two-dimensional inverse Fourier transform is used to reconstruct an image. Radar uses FFTs to analyze echoes and estimate properties such as distance and speed. Radio astronomy uses them to detect faint signals within noise, and seismology uses them to analyze earthquake signals.

Across these fields, the same basic strategy recurs: use structured circular rotations, divide the calculation into smaller transforms, and combine the results with butterflies.


Central ideas to remember

  • The DFT represents a sampled signal in terms of its frequency components.

  • The DFT is polynomial evaluation at equally spaced points around the unit circle.

  • A direct DFT requires O(N2)O(N^2)O(N2) work because every output uses every input.

  • Splitting samples into even and odd groups creates two half-size DFTs.

  • The roots-of-unity symmetry lets one twiddle product generate a pair of outputs.

  • Repeating the split produces a radix-2 FFT with log⁡2N\log_2Nlog2​N levels and O(Nlog⁡N)O(N\log N)O(NlogN) work.

  • Bit reversal places input samples in the order required by the iterative DIT butterfly stages.

  • DIT and DIF are complementary arrangements of the same underlying FFT structure.

  • The FFT’s efficiency comes from exploiting symmetry and reusing calculations, not from approximating the DFT.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent