LINEAR-ALGEBRA
| Formula | Name | Description |
|---|---|---|
| Primitive -th root of unity | Entries of are powers of | |
| Squaring identity | Links to | |
| FFT factorization | Three-factor split | |
| FFT cost | vs. naive |
Squaring each -th root doubles its angle, collapsing the points onto the -th roots.
๐ก So hides inside โ the same roots reappear, which is exactly the smaller transform.
How does compare with as the transform size grows?
๐ก The gap widens without bound, so a million-point transform that is hopeless naively runs in real time via the FFT.
Each split doubles the blocks and halves their size, so every level costs the same .
Question 1
Let be the primitive 64th root of unity. What does equal?
โ Correct! Squaring doubles the angle, which halves the order.
โ Not quite. Recall: squaring gives . Doubling the angle in form gives .
Solution:
Squaring an exponential doubles the angle:
This is the linchpin identity of the FFT: . It guarantees that is hiding inside .
Question 2
For , how many complex multiplications does one application of the FFT factorization (one level of splitting) save compared to the naive method?
Hint: one level costs multiplications.
โ Correct! One split gives about a 2ร speedup; the dramatic gains come from applying it recursively.
โ Not quite. Compute vs โ the ratio is approximately .
Solution:
Naive cost: .
One-step FFT cost: .
That's roughly half the original work โ about a 2ร speedup from a single application of the factorization. The big speedups come from applying the factorization recursively, all the way down.
Question 3
Using the full recursive FFT, how many complex multiplications are needed for ?
โ Correct! .
โ Not quite. Use the formula with .
Solution:
The FFT cost is .
For :
Compared to the naive , this is about a 205ร speedup.
Question 4
True or False: The FFT computes a different (approximate) transform than the naive matrix-vector product, trading accuracy for speed.
โ Correct! The factorization is an exact algebraic identity โ same DFT, faster computation.
โ Not quite. The FFT is an exact algorithm, not an approximation. It computes the very same DFT.
Solution:
The FFT computes exactly the same discrete Fourier transform as the naive method โ the same matrix , the same output, the same numbers down to floating-point round-off. Only the route changes.
The factorization is an exact algebraic identity, not an approximation. The permutation costs zero multiplications (it's pointer arithmetic), so the only floating-point work is in the twiddle multiplies and the recursive sub-FFTs.
Solved: 0 / 4