Discrete Fourier transform and FFT
[26/85%]Suppose is a positive integer. For this exercise, we adopt the notation that a typical element of is denoted by . Define linear functionals on by
The discrete Fourier transform is the operator defined by
Show that is a unitary operator on .
Show that if and is defined to equal , then
Show that .
The discrete Fourier transform has many important applications in data analysis. The usual Fourier transform involves expressions of the form for complex-valued integrable functions defined on .
Compute for . .
Evaluate the following convolutions (using the convolution of two vectors, as defined in this section: for , , the vector of size whose th entry is , padding for ).
.
.
.
Evaluate the discrete Fourier transform of .
Evaluate the inverse transform of .
Example 5.8.1 gives and (using , i.e. has the same entries as , which for this real-symmetric-conjugate case coincides with up to conjugation of each entry).
Verify directly that , where are as defined in the Fourier-matrix decomposition (5.8.15): for , , where ( the primitive th root of unity used throughout this section) and is the even-odd permutation matrix.
Use the following vectors to perform the indicated computations: , , , .
Compute , , and (where is the entrywise product).
By using as given in Example 5.8.1, compute . Compare this with the results guaranteed by the convolution theorem.
For and , compute the product by using the convolution theorem.
The convolution theorem: for with padded forms , and , , so . By Example 5.8.4, if and (coefficients padded into ), then the coefficient vector of is exactly .
Use convolutions to form the following products.
.
.
.
Interpreting each number's base- digit string as the coefficient vector of a polynomial evaluated at reduces multiplication to convolution (Example 5.8.4), followed by carrying (substituting wherever a digit meets or exceeds the base ).
Let and be vectors, where is a power of 2.
Show that the number of multiplications required to form by using the definition of convolution is .
Show that the number of multiplications required to form by using the FFT in conjunction with the convolution theorem is .
For part (a): . For part (b): compare a plotted graph of (dropping the less significant term) against to see the size of the FFT's advantage for large .
A waveform given by a finite sum , in which the 's are integers and , is sampled at eight equally spaced points between and . Let , and suppose that
What is the equation of the waveform?
Equations (5.8.7)-(5.8.8) show that , so each pair of pulses at index and in reveals (from the sum of the two entries) and (from their difference, divided by ).
Prove that for all — i.e., convolution is a commutative operation.
For and the th roots of unity , let and . Explain why and .
For two polynomials and , let and , where are now the th roots of unity. Explain why the coefficients in the product must be given by
A circulant matrix is defined to be a square matrix that has the form — i.e., the entries in each column are the same as the previous column, but shifted one position downward and wrapped around at the top; the -entry is .
If is the circulant matrix defined by , and if , verify that .
Explain why the Fourier matrix of order diagonalizes in the sense that , where the 's are the th roots of unity.
Prove that the Fourier matrix of order diagonalizes every circulant in the sense that , where .
If and are any pair of circulants, explain why — i.e., all circulants commute with each other.
For a nonsingular circulant , explain how to use the FFT algorithm to efficiently perform the following operations.
Solve a system .
Compute .
Multiply two circulants .
For the vectors , , , and , let be the circulant matrix (Exercise 5.8.12) whose first column is .
Show that the convolution operation can be described as a matrix-vector product by demonstrating that .
Use this relationship to give an alternate proof of the convolution theorem.
The Kronecker product of two matrices and is the matrix , satisfying and (when and exist).
If , and if is the even-odd permutation matrix from the Fourier-matrix decomposition (5.8.15), explain why is the permutation matrix associated with the bit-reversing (perfect shuffle) permutation.
Suppose , and set . According to (5.8.15), the Fourier matrix can be written as . Prove that can be factored as , where , and is the bit-reversing permutation of part (a).
This says : the discrete Fourier transform of is obtained by first performing the bit-reversing permutation, then applying successive terms of — this is the FFT algorithm in factored form.
For , prove that
where are the th roots of unity.
Consider a waveform given by a finite sum , in which the 's are distinct integers, and let be the vector containing the values of at equally spaced points between and (Example 5.8.3). Use the discrete Fourier transform to prove that
Equation (5.8.7): .
Let be an arbitrary scalar, and let and . Prove that .
Example 5.8.4: if , then .
Apply the FFT algorithm to the vector , and then verify that your answer agrees with the result obtained by computing directly.
Let be an orthonormal basis in . We define
Show that is unitary. In other words show that , using the completeness relation
The numbers form a group under multiplication. Do the vectors
form an orthonormal basis in ?
Let be a prime number and . Show that the matrices
are unitary.
In the Hilbert space consider the Bell states
Let . Apply the Fourier transformation
to the Bell states and study the entanglement of these states.
Apply the Haar wavelet transform
to the Bell states and study the entanglement of these states.
Apply the Walsh-Hadamard transform
to the Bell states and study the entanglement of these states.
Extend to the Hilbert space with the first Bell state given by
Let be an orthonormal basis in the Hilbert space . The discrete Fourier transform
where is the primitive -th root of unity.
Apply the discrete Fourier transform to the standard basis in
Apply the discrete Fourier transform to the Bell basis in