Definition
The Discrete Fourier Transform (DFT) refers to the Fourier transform applied to discrete values (discrete time to discrete frequency). When computed using the Fast Fourier Transform (FFT), the DFT can be calculated quickly in O(nlogn) time for n values. Therefore, it can be used to efficiently compute polynomial multiplication or vector convolution, which would otherwise require time (where n is the degree of the polynomial).
n-th root of unity
The n-th root of unity is a concept that plays a crucial role in the computation of the DFT. Mathematically, an n-th root of unity is a complex number that satisfies . Therefore, there can be n such , each of which can be expressed as , where k is an integer ranging from 0 to n−1, and i is the imaginary unit. These roots are uniformly distributed on the unit circle. Image source
Discrete Fourier Transfrom
Let x = be an n-dimensional vector, the discrete fourier transform of x is y = where
The inverse transform can be defined as