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

  • 104Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Fourier Foundations

What does a phone's microphone measure when it records a chord, and what does the FFT help recover?

104 questions

  1. 1

    What does a phone's microphone measure when it records a chord, and what does the FFT help recover?

    Model answer

    The microphone measures air pressure over time as a sequence of samples. The FFT helps recover the frequencies, or notes, contained in that signal.

    Explanation

    The recording is a numerical signal rather than a direct list of notes; the FFT identifies its frequency components.

  2. 2

    How can a complicated recorded signal be understood as a combination of simpler signals?

    Model answer

    It can be represented as pure waves of different frequencies added together. A spectrum describes the strength of each component.

    Explanation

    The apparent jagged signal is the combined result of several steady waves.

  3. 3

    What is the conceptual difference between viewing a signal in the time domain and viewing its spectrum?

    Model answer

    The time-domain view shows the combined signal over time, while the spectrum shows its separate frequency components and their strengths.

    Explanation

    The Fourier transform converts the combined or “front” view into the frequency or “side” view.

  4. 4

    How does steady circular motion produce a sinusoidal wave?

    Model answer

    As a point moves around a circle at a steady speed, its height varies sinusoidally; its horizontal and vertical projections correspond to cosine and sine waves.

    Explanation

    The waves are projections, or shadows, of one rotating motion.

  5. 5

    How can several rotating arrows represent a complicated signal?

    Model answer

    The arrows can be joined tip to tail, and their combined motion can trace a range of signal shapes. Their sizes and starting positions form a recipe for the signal.

    Explanation

    The source describes a spectrum as a recipe of circles specifying each component’s size and starting point.

  6. 6

    How does multiplying a complex number by iii affect its position in the complex plane?

    Model answer

    It rotates the point by a quarter turn counterclockwise without changing its length.

    Explanation

    Applying the rotation twice gives a half-turn, so i2=−1i^2=-1i2=−1.

  7. 7

    What happens to lengths and angles when two complex numbers are multiplied?

    Model answer

    Their lengths multiply, and their angles add.

    Explanation

    This property lets complex multiplication represent rotations and scaling.

  8. 8

    What geometric meaning does Euler’s formula give to eiθe^{i\theta}eiθ?

    Model answer

    It represents the point on the unit circle at angle θ\thetaθ, with coordinates (cos⁡θ,sin⁡θ)(\cos\theta,\sin\theta)(cosθ,sinθ).

    Explanation

    The real and imaginary parts give the horizontal and vertical coordinates.

  9. 9

    What does multiplying eiae^{ia}eia by eibe^{ib}eib do geometrically?

    Model answer

    It adds the rotations, giving ei(a+b)e^{i(a+b)}ei(a+b).

    Explanation

    Complex multiplication adds angles, so the exponents combine by addition.

  10. 10

    What does the sign of the exponent indicate for a rotating complex point?

    Model answer

    A positive angle rotates counterclockwise, while a negative angle rotates clockwise; e−iθe^{-i\theta}e−iθ represents clockwise rotation.

    Explanation

    The transform uses clockwise rotations, represented by negative angles.

  11. 11

    How does the three-dimensional coil picture connect complex rotations to sine waves and cosine waves?

    Model answer

    A rotating point traced over time forms a coil. Viewed from the side its projection is a cosine wave, and viewed from above its projection is a sine wave.

    Explanation

    Both waves are projections of the same rotating motion.

  12. 12

    How does a coil’s winding relate to frequency?

    Model answer

    A tighter coil represents faster rotation and therefore a higher frequency.

    Explanation

    The point completes more rotations over the same amount of time.

  13. 13

    What are the roots of unity, and why are they given that name?

    Model answer

    They are equally spaced points on the unit circle whose NNNth powers equal 111.

    Explanation

    Raising a point to the NNNth power multiplies its angle by NNN, bringing it back to one full number of turns.

  14. 14

    What does WNW_NWN​ represent, and how are the other equally spaced circle points obtained from it?

    Model answer

    WN=e−2πi/NW_N=e^{-2\pi i/N}WN​=e−2πi/N represents one clockwise step around the NNN-point circle. Its powers represent successive steps.

    Explanation

    For example, WN2W_N^2WN2​ is two steps and WN3W_N^3WN3​ is three steps around the circle.

  15. 15

    How can a sequence of samples be encoded as a polynomial?

    Model answer

    Use the samples as coefficients: P(z)=∑n=0N−1xnznP(z)=\sum_{n=0}^{N-1}x_nz^nP(z)=∑n=0N−1​xn​zn.

    Explanation

    Evaluating the polynomial means substituting a chosen value for zzz.

  16. 16

    What does a single output X(k)X(k)X(k) of the discrete Fourier transform indicate?

    Model answer

    It indicates the contribution of frequency kkk to the signal.

    Explanation

    Each DFT output corresponds to one frequency bin.

  17. 17

    State the discrete Fourier transform formula using the twiddle factor WNW_NWN​.

    Model answer

    X(k)=∑n=0N−1xnWNnkX(k)=\sum_{n=0}^{N-1}x_nW_N^{nk}X(k)=∑n=0N−1​xn​WNnk​.

    Explanation

    Each input sample is multiplied by a frequency-dependent rotation, and the results are summed.

  18. 18

    Why does a direct DFT output use every input sample?

    Model answer

    For each output frequency, the DFT multiplies every sample by its corresponding twiddle factor and adds the products.

    Explanation

    Each output therefore depends on all NNN input samples.

  19. 19

    How does the DFT relate to evaluating the sample polynomial?

    Model answer

    The DFT output X(k)X(k)X(k) is the polynomial evaluated at z=WNkz=W_N^kz=WNk​, so the DFT evaluates one polynomial at all NNN roots of unity.

    Explanation

    The polynomial and DFT use the same powers to weight each input sample at those points.

  20. 20

    When a signal is wrapped around a circle for a particular DFT frequency, what does the sum of its arrows indicate?

    Model answer

    It indicates the balance point of the rotated sample arrows, scaled by the number of samples; a large result means the signal aligns strongly with that frequency.

    Explanation

    When the arrows spread evenly, their sum stays near the center; alignment makes the balance point move outward.

  21. 21

    Why do tones in a mixed signal produce separate peaks in its spectrum?

    Model answer

    At the winding speed matching a tone, its samples align and produce a large sum. Each component tone therefore produces a peak at its own frequency.

    Explanation

    The transform tests the signal against different winding speeds, and matching components reinforce one another.

  22. 22

    What does a large DFT value at zero frequency measure?

    Model answer

    It measures the signal’s average level or offset from zero.

    Explanation

    With no winding, all samples point in the same direction, so a nonzero average produces a large sum.

  23. 23

    Why is a DFT peak taller when a matching tone lasts longer?

    Model answer

    The DFT output is a sum rather than an average, so more aligned samples produce a larger total.

    Explanation

    The output is NNN times the balance point of the arrows.

  24. 24

    For the four samples 1,2,3,41,2,3,41,2,3,4, what is X(1)X(1)X(1) when W4=−iW_4=-iW4​=−i?

    Model answer

    X(1)=−2+2iX(1)=-2+2iX(1)=−2+2i.

    Explanation

    The weighted terms are 111, −2i-2i−2i, −3-3−3, and 4i4i4i; their sum is −2+2i-2+2i−2+2i.

  25. 25

    How many sample–twiddle multiplications does a direct DFT of length NNN require to calculate all outputs?

    Model answer

    It requires N2N^2N2 multiplications because there are NNN outputs and each uses all NNN samples.

    Explanation

    The direct computation fills an NNN-by-NNN grid of sample–twiddle products.

  26. 26

    What happens to the direct DFT’s multiplication count when the signal length doubles?

    Model answer

    It increases by a factor of four, because the count grows as N2N^2N2.

    Explanation

    Doubling both the number of inputs and outputs multiplies the grid area by four.

  27. 27

    Why is a direct DFT impractical for large signals or frequent real-time analysis?

    Model answer

    Its N2N^2N2 work becomes enormous for long signals, and repeated frames require doing that work many times per second.

    Explanation

    The source gives examples such as phone frames, audio recordings, and large medical images.

  28. 28

    What key observation allows the FFT to compute the same result as the DFT with less work?

    Model answer

    The frequency tests overlap, so the FFT reuses work shared among them rather than calculating each output from scratch.

    Explanation

    The FFT changes the computation strategy, not the transform’s answer.

  29. 29

    What historical roles are attributed to Gauss and to Cooley and Tukey in the development of the FFT?

    Model answer

    Gauss used an early version around 1805 for asteroid orbits but did not publish it; Cooley and Tukey rediscovered it in 1965.

    Explanation

    The later rediscovery coincided with computers’ growing need for fast transforms.

  30. 30

    How does dividing samples into even and odd positions create two smaller DFTs?

    Model answer

    Separating x2rx_{2r}x2r​ and x2r+1x_{2r+1}x2r+1​ gives two sets of N/2N/2N/2 samples, each transformed on a circle with half as many points.

    Explanation

    The relation WN2=WN/2W_N^2=W_{N/2}WN2​=WN/2​ makes the twiddles inside both sums those of a half-size DFT.

  31. 31

    Why does the odd-sample transform receive an extra factor of WNkW_N^kWNk​?

    Model answer

    Each odd sample is one sample later than the corresponding even-grid position, so the odd transform is rotated by WNkW_N^kWNk​ to account for that delay.

    Explanation

    A one-sample delay produces a frequency-dependent phase shift.

  32. 32

    Write the even–odd decomposition formula for a DFT output.

    Model answer

    X(k)=E(k)+WNkO(k)X(k)=E(k)+W_N^kO(k)X(k)=E(k)+WNk​O(k), where EEE and OOO are the DFTs of the even and odd samples.

    Explanation

    The full transform combines the even transform with a twiddled odd transform.

  33. 33

    Why can the even and odd subproblems use a circle with half as many points?

    Model answer

    Squaring the one-step twiddle doubles its angle, and WN2=WN/2W_N^2=W_{N/2}WN2​=WN/2​; the squared points land on the smaller circle.

    Explanation

    The points of the larger circle map onto the smaller one, with each smaller-circle point reached twice.

  34. 34

    How can the polynomial be split into even-power and odd-power parts?

    Model answer

    It can be written P(z)=Peven(z2)+zPodd(z2)P(z)=P_{\mathrm{even}}(z^2)+zP_{\mathrm{odd}}(z^2)P(z)=Peven​(z2)+zPodd​(z2).

    Explanation

    Even powers are powers of z2z^2z2; factoring one zzz from odd powers leaves another polynomial in z2z^2z2.

  35. 35

    Why do the half-size transforms’ outputs repeat after N/2N/2N/2 indices?

    Model answer

    They are transforms on an N/2N/2N/2-point circle, so E(k+N/2)=E(k)E(k+N/2)=E(k)E(k+N/2)=E(k) and O(k+N/2)=O(k)O(k+N/2)=O(k)O(k+N/2)=O(k).

    Explanation

    The twiddles on the smaller circle repeat after one full cycle.

  36. 36

    What two properties of twiddle factors help reduce computation in the FFT?

    Model answer

    Twiddles are periodic, and adding a half-turn changes their sign: WNk+N/2=−WNkW_N^{k+N/2}=-W_N^kWNk+N/2​=−WNk​.

    Explanation

    Periodicity allows reuse, while the half-turn relation pairs outputs with opposite signs.

  37. 37

    How does the half-turn property let one twiddle multiplication produce two outputs?

    Model answer

    Compute t=WNkO(k)t=W_N^kO(k)t=WNk​O(k) once, then form X(k)=E(k)+tX(k)=E(k)+tX(k)=E(k)+t and X(k+N/2)=E(k)−tX(k+N/2)=E(k)-tX(k+N/2)=E(k)−t.

    Explanation

    The second output uses the same even and odd transform values but the opposite twiddle sign.

  38. 38

    For the four samples 1,2,3,41,2,3,41,2,3,4, what are the two-point DFTs of the even and odd samples?

    Model answer

    The even samples 1,31,31,3 transform to 4,−24,-24,−2; the odd samples 2,42,42,4 transform to 6,−26,-26,−2.

    Explanation

    A two-point DFT gives the sum and difference of its two samples.

  39. 39

    Using those even and odd transforms, what are X(0)X(0)X(0) and X(1)X(1)X(1) for the samples 1,2,3,41,2,3,41,2,3,4?

    Model answer

    X(0)=10X(0)=10X(0)=10 and X(1)=−2+2iX(1)=-2+2iX(1)=−2+2i.

    Explanation

    X(0)X(0)X(0) adds the two sums; X(1)X(1)X(1) combines E(1)=−2E(1)=-2E(1)=−2 with W4O(1)=(−i)(−2)W_4O(1)=(-i)(-2)W4​O(1)=(−i)(−2).

  40. 40

    What is the base case of the recursive FFT, and why does recursion stop there?

    Model answer

    A one-sample transform returns the sample itself, because its only twiddle is W0=1W^0=1W0=1.

    Explanation

    A single sample is already its own transform, so there is no further work to divide.

  41. 41

    What are the stages in the recursion tree for an eight-point FFT?

    Model answer

    It splits from one eight-point problem into two four-point problems, then four two-point problems, then eight one-point problems.

    Explanation

    Each split halves the transform size and doubles the number of subproblems.

  42. 42

    What operations does one FFT butterfly perform?

    Model answer

    It computes WbWbWb once, then outputs a+Wba+Wba+Wb and a−Wba-Wba−Wb.

    Explanation

    A butterfly uses one twiddle multiplication and one addition and subtraction.

  43. 43

    Why is the butterfly more efficient than calculating each DFT output independently?

    Model answer

    The two outputs share the product WbWbWb, so the twiddle multiplication is performed once for an output pair.

    Explanation

    The direct DFT separately computes each output’s weighted sum.

  44. 44

    How many butterflies are needed at one level to combine a transform of size NNN?

    Model answer

    There are N/2N/2N/2 butterflies, one for each pair of outputs.

    Explanation

    Each butterfly produces two outputs, and the level produces NNN outputs total.

  45. 45

    Why does each level of an FFT perform roughly the same amount of work?

    Model answer

    Smaller subproblems require fewer butterflies each, but there are proportionally more subproblems; together they still use N/2N/2N/2 butterflies per level.

    Explanation

    For an eight-point transform, each of its three levels uses four butterflies.

  46. 46

    How many levels of halving are needed for an FFT of size NNN, when NNN is a power of two?

    Model answer

    There are log⁡2N\log_2Nlog2​N levels, because the transform size is halved until it reaches one.

    Explanation

    For example, eight samples require three levels, while 1024 require ten.

  47. 47

    Derive the FFT’s O(Nlog⁡N)O(N\log N)O(NlogN) cost from its level structure.

    Model answer

    Each of log⁡2N\log_2Nlog2​N levels uses about N/2N/2N/2 butterflies, so the total work is proportional to Nlog⁡NN\log NNlogN.

    Explanation

    The constant factor does not affect the big-O growth rate.

  48. 48

    What recurrence describes the cost of a radix-2 FFT, and what is its solution?

    Model answer

    T(N)=2T(N/2)+NT(N)=2T(N/2)+NT(N)=2T(N/2)+N, which solves to O(Nlog⁡N)O(N\log N)O(NlogN).

    Explanation

    It has two half-size recursive transforms and linear combining work, like merge sort.

  49. 49

    How does the FFT’s work compare with direct DFT work as the input grows?

    Model answer

    Direct DFT work grows as N2N^2N2, while FFT work grows as Nlog⁡NN\log NNlogN, so the gap widens as NNN increases.

    Explanation

    The FFT’s level structure grows only logarithmically in height.

  50. 50

    What approximate multiplication counts are given for a 1024-point transform using the direct method and the FFT?

    Model answer

    The direct method needs about one million multiplications, while the FFT needs about 5000, roughly 200 times fewer.

    Explanation

    The comparison illustrates the practical effect of the different growth rates.

  51. 51

    Why can the FFT’s actual multiplication cost be lower than a simple Nlog⁡NN\log NNlogN estimate suggests?

    Model answer

    Many twiddle factors are 111 or −i-i−i, which can be handled without a general complex multiplication.

    Explanation

    Multiplication by these values is only copying, changing signs, or rotating components.

  52. 52

    What order do the leaves of the eight-point even–odd recursion produce?

    Model answer

    They appear as x0,x4,x2,x6,x1,x5,x3,x7x_0,x_4,x_2,x_6,x_1,x_5,x_3,x_7x0​,x4​,x2​,x6​,x1​,x5​,x3​,x7​.

    Explanation

    This is the bit-reversed order required to place the first-stage butterfly partners next to each other.

  53. 53

    How is bit-reversed order calculated for an eight-point transform?

    Model answer

    Write each index using three binary bits, reverse those bits, and use the resulting indices as the reordered positions.

    Explanation

    For example, 001001001 reverses to 100100100, so index 1 maps to index 4.

  54. 54

    Why does reversing index bits reproduce the order of the recursive FFT leaves?

    Model answer

    The recursive splits examine the least significant bit first, then the next bit; this is equivalent to ordering indices by their bits in reverse order.

    Explanation

    Each split routes a sample according to the next bit examined.

  55. 55

    How can bit-reversal reordering be performed in place?

    Model answer

    Swap each index with its bit-reversed index when the pair is encountered, since the mapping reverses itself.

    Explanation

    If one index maps to another, the other maps back to the first.

  56. 56

    What is the input order and output order of a decimation-in-time butterfly diagram?

    Model answer

    The inputs are in bit-reversed order, and the outputs are in normal order.

    Explanation

    Reordering the leaves makes each first-stage pair adjacent before the butterflies are applied.

  57. 57

    How does the partner spacing change across the stages of an iterative radix-2 FFT?

    Model answer

    The spacing doubles at every stage: it is one row, then two, then four, and so on.

    Explanation

    Each successive stage combines groups twice as large as those in the previous stage.

  58. 58

    How can the recursive FFT be implemented with nested loops?

    Model answer

    First bit-reverse the inputs, then loop over stages, groups within each stage, and butterflies within each group.

    Explanation

    This follows the butterfly diagram from the input side to the output side without recursive function calls.

  59. 59

    What does the variable describing transform size do in an iterative FFT?

    Model answer

    It tracks the group size being built, doubling from 2 up to NNN.

    Explanation

    Each stage combines smaller transforms into transforms twice their size.

  60. 60

    What values does one iterative butterfly read and write?

    Model answer

    It reads the top value uuu and the bottom value, multiplies the latter by a twiddle to get ttt, then writes u+tu+tu+t and u−tu-tu−t into the same two slots.

    Explanation

    The update is the same butterfly operation shown in the diagram.

  61. 61

    Why can the iterative FFT operate in place using one array?

    Model answer

    Each butterfly overwrites its two input slots after reading them, and those inputs are not needed again.

    Explanation

    The algorithm therefore needs no separate copy for each stage.

  62. 62

    Why can minimizing data movement matter as much as reducing arithmetic on a real computer?

    Model answer

    Moving data can be much slower than performing arithmetic, so avoiding extra copies and arrays improves practical performance.

    Explanation

    The in-place FFT uses one array that is rewritten through the stages.

  63. 63

    How many butterflies are used in the three stages of an eight-point FFT?

    Model answer

    Each stage uses four butterflies, for a total of 12.

    Explanation

    There are N/2=4N/2=4N/2=4 butterflies at each of the log⁡28=3\log_2 8=3log2​8=3 stages.

  64. 64

    What twiddle factors appear in the second stage of an eight-point FFT, and how can multiplication by −i-i−i be performed?

    Model answer

    The twiddles are 111 and −i-i−i. Multiplication by −i-i−i swaps the real and imaginary parts and changes one sign.

    Explanation

    This is a quarter-turn rotation, not a general complex multiplication.

  65. 65

    Why does radix-2 FFT recursion require a power-of-two input length?

    Model answer

    Each recursive split must divide the transform size exactly in half until it reaches one; a power of two permits this at every step.

    Explanation

    For example, a size of six splits into three-point problems, which cannot be split evenly into even and odd groups.

  66. 66

    What happens if a length-six input is fed directly into a radix-2 FFT?

    Model answer

    The recursion reaches three-point subproblems and gets stuck because they cannot be divided into equal even and odd halves.

    Explanation

    The radix-2 method depends on repeated halving.

  67. 67

    What is zero padding, and how can it make a non-power-of-two length suitable for a radix-2 FFT?

    Model answer

    Zero padding appends zeros until the sample count reaches a power of two; for example, six samples can be padded to eight.

    Explanation

    The added samples make the transform length compatible with repeated halving.

  68. 68

    Does zero padding add new information about the original signal?

    Model answer

    No. It adds no new signal values; it samples the same spectrum on a finer frequency grid.

    Explanation

    The zeros contribute nothing to the transform sum, while the larger transform provides more closely spaced frequency samples.

  69. 69

    When a length-eight signal is padded to length sixteen, how do the resulting spectrum samples relate?

    Model answer

    Every second length-sixteen spectrum sample matches a length-eight sample; the intervening samples are additional points on the finer grid.

    Explanation

    Padding increases the density of spectrum samples without adding signal information.

  70. 70

    Why is truncating a signal to fit a power-of-two FFT not equivalent to zero padding?

    Model answer

    Truncation discards real samples, while padding retains all original samples and adds only zeros.

    Explanation

    Discarding samples changes the data being transformed.

  71. 71

    What frequency-bin spacing results from padding six samples to eight, and what error can follow from ignoring the change?

    Model answer

    The bins are spaced by the sample rate divided by eight rather than divided by six; using the old spacing can lead to identifying a peak as the wrong frequency.

    Explanation

    The transform length determines the spacing of its frequency samples.

  72. 72

    Can zero padding separate two tones that are genuinely very close in frequency?

    Model answer

    No. Separating very close tones requires a longer recording, not just zero padding.

    Explanation

    Padding refines the displayed frequency grid but supplies no new signal information.

  73. 73

    What is decimation in time, and what does it split?

    Model answer

    Decimation in time splits the input samples into even-indexed and odd-indexed groups.

    Explanation

    The method divides the time samples into two half-size transforms.

  74. 74

    What is decimation in frequency, and what does it split?

    Model answer

    Decimation in frequency splits the output frequencies into even-indexed and odd-indexed groups.

    Explanation

    Its derivation reorganizes the DFT by separating even and odd output indices.

  75. 75

    How do the twiddle placements differ between decimation-in-time and decimation-in-frequency butterflies?

    Model answer

    In decimation in time, the twiddle multiplies one input before addition and subtraction; in decimation in frequency, the inputs are first added and subtracted, and the twiddle multiplies the difference.

    Explanation

    The two decompositions place the same type of multiplication on opposite sides of the butterfly.

  76. 76

    What are the input and output orderings for decimation in frequency?

    Model answer

    Decimation in frequency takes inputs in normal order and produces outputs in bit-reversed order.

    Explanation

    This is the reverse ordering pattern of decimation in time.

  77. 77

    Why can combining a forward decimation-in-frequency FFT with an inverse decimation-in-time FFT avoid bit reversal in convolution?

    Model answer

    The forward transform’s bit-reversed output order can be used directly in the middle operation, and the inverse transform can accept that ordering, so no separate bit-reversal step is needed.

    Explanation

    In pointwise frequency-domain multiplication, both transformed signals use the same ordering.

  78. 78

    For the eight-sample example with input 1,2,1,0,0,0,0,01,2,1,0,0,0,0,01,2,1,0,0,0,0,0, what are the bit-reversed inputs?

    Model answer

    They are 1,0,1,0,2,0,0,01,0,1,0,2,0,0,01,0,1,0,2,0,0,0.

    Explanation

    The samples are placed according to the reversed three-bit representations of their indices.

  79. 79

    What does the first stage of butterflies do in the eight-sample example?

    Model answer

    It uses twiddle 111 to form sums and differences of adjacent bit-reversed pairs, producing 1,1,1,1,2,2,0,01,1,1,1,2,2,0,01,1,1,1,2,2,0,0.

    Explanation

    The first stage consists of four two-point DFTs, so it requires only additions and subtractions.

  80. 80

    What values and twiddles are used in the second stage of the eight-sample example?

    Model answer

    The butterflies combine values two rows apart using 111 and −i-i−i, producing the four-point transforms of the even and odd samples.

    Explanation

    The top group becomes (2,1−i,0,1+i)(2,1-i,0,1+i)(2,1−i,0,1+i) and the bottom group becomes (2,2,2,2)(2,2,2,2)(2,2,2,2).

  81. 81

    What does the flat four-point spectrum of the odd samples in the example illustrate?

    Model answer

    It illustrates that a single spike in time has equal values across its frequency outputs.

    Explanation

    The odd-sample sequence is 2,0,0,02,0,0,02,0,0,0, whose four-point DFT is 2,2,2,22,2,2,22,2,2,2.

  82. 82

    What is the zero-frequency output for the eight-sample example, and why?

    Model answer

    X(0)=4X(0)=4X(0)=4, because the zero-frequency output is the sum of the input samples.

    Explanation

    The samples 1,2,1,0,0,0,0,01,2,1,0,0,0,0,01,2,1,0,0,0,0,0 sum to four.

  83. 83

    What are the approximate values of X(1)X(1)X(1) and X(5)X(5)X(5) in the eight-sample example?

    Model answer

    X(1)≈2.414−2.414iX(1)\approx2.414-2.414iX(1)≈2.414−2.414i and X(5)≈−0.414+0.414iX(5)\approx-0.414+0.414iX(5)≈−0.414+0.414i.

    Explanation

    They are the sum and difference of E(1)=1−iE(1)=1-iE(1)=1−i and W81O(1)W_8^1O(1)W81​O(1), where O(1)=2O(1)=2O(1)=2.

  84. 84

    What are X(2)X(2)X(2) and X(6)X(6)X(6) in the eight-sample example?

    Model answer

    X(2)=−2iX(2)=-2iX(2)=−2i and X(6)=2iX(6)=2iX(6)=2i.

    Explanation

    The relevant even output is zero, and the twiddled odd output is −2i-2i−2i, producing opposite signs in the paired outputs.

  85. 85

    Why is X(4)X(4)X(4) zero in the eight-sample example?

    Model answer

    Its alternating sum is 1−2+1=01-2+1=01−2+1=0.

    Explanation

    At that frequency, the input samples cancel in the DFT sum.

  86. 86

    What conjugate symmetry appears in the spectrum of the real eight-sample input?

    Model answer

    X(7)X(7)X(7) is the 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).

    Explanation

    The DFT of a real-valued input has mirrored complex-conjugate frequency values.

  87. 87

    Why can libraries often return only half of the spectrum for a real-valued signal?

    Model answer

    The other half is determined by conjugate symmetry.

    Explanation

    Each frequency in one half has a corresponding complex-conjugate value in the other half.

  88. 88

    How can the FFT result for X(1)X(1)X(1) in the example be checked directly?

    Model answer

    Use the DFT definition with the nonzero samples: 1+2W8+W821+2W_8+W_8^21+2W8​+W82​, which gives approximately 2.414−2.414i2.414-2.414i2.414−2.414i.

    Explanation

    The remaining input samples are zero, so their terms vanish; the direct result matches the FFT.

  89. 89

    How does the worked eight-point FFT compare with the direct DFT in the number of multiplications?

    Model answer

    The direct DFT requires 64 multiplications, while the FFT uses 12 butterflies; only two of the twiddles require a nontrivial multiplication.

    Explanation

    Many butterfly twiddles are 111 or −i-i−i, which require no general multiplication.

  90. 90

    How is a spectrogram produced from audio?

    Model answer

    Divide audio into short, overlapping frames, take an FFT of each frame, and place the spectra side by side; brightness indicates strength.

    Explanation

    Time runs horizontally and frequency vertically in the described display.

  91. 91

    Why does using the FFT make a live spectrogram practical?

    Model answer

    It greatly reduces the per-frame computation compared with a direct DFT, allowing frames to be analyzed rapidly enough for a live display.

    Explanation

    The source estimates about 86 frames per second for the stated frame and hop sizes, with FFT work under a million multiplications per second rather than over 360 million.

  92. 92

    How do voice assistants use FFTs in the described approach?

    Model answer

    They analyze audio frame by frame using FFTs, starting from a time-frequency representation similar to a spectrogram.

    Explanation

    The frame-based frequency analysis is repeatedly applied to incoming audio.

  93. 93

    What is convolution in the context of filtering or reverb?

    Model answer

    It is the process of sliding one signal across another and multiplying and adding values at each position.

    Explanation

    The source identifies reverb, image blurring, and filtering as examples of convolution.

  94. 94

    How does the convolution theorem enable faster convolution?

    Model answer

    Convolution in time corresponds to multiplication in frequency, so one can FFT both signals, multiply corresponding frequency values, and apply an inverse FFT.

    Explanation

    This replaces a costly direct convolution with FFT computations and pointwise multiplication.

  95. 95

    How many transforms are used in the described FFT-based convolution method?

    Model answer

    It uses two forward FFTs, one pointwise multiplication pass, and one inverse FFT.

    Explanation

    The source describes this as three FFTs plus a pass of multiplications.

  96. 96

    How is polynomial multiplication connected to convolution and the FFT?

    Model answer

    Multiplying polynomials convolves their coefficient sequences; the FFT can evaluate both polynomials at roots of unity, multiply the values, and interpolate the product.

    Explanation

    The same frequency-domain multiplication shortcut therefore supports fast polynomial multiplication.

  97. 97

    How is the FFT connected to multiplying very large integers?

    Model answer

    The FFT can accelerate polynomial multiplication, and that method can be used to multiply huge integers.

    Explanation

    The source notes that large-number multiplication is used in record-setting computations of pi.

  98. 98

    How does JPEG use a transform to reduce image data?

    Model answer

    It transforms small image blocks with the discrete cosine transform, keeps strong coefficients, and rounds away weak ones.

    Explanation

    Neighboring pixels are usually similar, so much of a block’s energy is in a few low-frequency patterns.

  99. 99

    Why can JPEG discard some transform coefficients without a large visible change?

    Model answer

    Weak coefficients contribute little to the block’s visual patterns, so removing or rounding them can reduce data while remaining difficult for the eye to notice.

    Explanation

    The described compression retains strong coefficients and removes weak ones.

  100. 100

    How are MP3 and AAC related to the transform methods used in image compression?

    Model answer

    They use similar transform-based ideas for sound, with cosine transforms computed using divide-and-conquer techniques.

    Explanation

    The source groups these audio formats with JPEG’s use of fast transform methods.

  101. 101

    How does OFDM use FFTs in Wi-Fi?

    Model answer

    The transmitter uses an inverse FFT to build a symbol from narrow sub-carriers, and the receiver uses an FFT to separate them.

    Explanation

    The FFT moves between the combined signal and its sub-carrier components.

  102. 102

    What does an MRI scanner measure, and how is the displayed image obtained?

    Model answer

    It measures frequency content from the body, and the image is produced using a two-dimensional inverse FFT.

    Explanation

    The scanner does not directly measure pixels, according to the source.

  103. 103

    How are FFTs used in radar, radio astronomy, and seismology?

    Model answer

    Radar uses them to infer distances and speeds from echoes; radio telescopes use them to extract faint signals from noise; seismologists use them to analyze earthquakes.

    Explanation

    Each application uses frequency analysis to interpret measured signals.

  104. 104

    What general lesson about algorithm design does the FFT illustrate?

    Model answer

    When a problem seems expensive, look for symmetry that allows repeated work to be shared or reused.

    Explanation

    The FFT’s speed follows from the symmetry of the circle and the structure of its twiddle factors.

1 of 104
Question 1 of 104

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent