Radix-Two FFT and Linear Convolution
Derive the even–odd decomposition of the discrete Fourier transform and choose padding to recover an ordinary convolution.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 2
- Reading time
- 1 min
In this article2 chapters
Split the input by index parity
For even length \(n\), let \(E_k,O_k\) be the length-\(n/2\) transforms of even and odd input positions. With \(\omega=e^{-2\pi i/n}\), the first half of output has \(X_k=E_k+\omega^kO_k\), and its partner is \(X_{k+n/2}=E_k-\omega^kO_k\). The sign change follows from \(\omega^{n/2}=-1\). Recursing to length one for powers of two gives \(O(n\log n)\) operations. For input \((1,0,1,0)\), the odd transform vanishes and the result is \((2,0,2,0)\).
Product in frequency represents circular convolution
At length \(n\), the inverse transform of the pointwise product identifies indices modulo \(n\). To multiply polynomials with \(a,b\) coefficients, pad to at least \(a+b-1\) first. This prevents circular wraparound from adding high coefficients to low ones. Polynomial interpolation gives another view of evaluation and recovery. Cache-oblivious transposition addresses layout choices relevant to blocked transform implementations.[1][2]