Can eight turning arrows be perpendicular to eight others? Watch their products chain tip to tail and close up.
Perpendicular waves
Two columns of the 8 × 8 Fourier matrix, and the chain of their products.
Columns 1 and 3 of the 8 × 8 Fourier matrix: two rings of eight unit arrows.
Describe this picture
Two rings of eight unit arrows, the columns 1 and 3 of the Fourier matrix: in column , arrow points at the angle of , for to 7. Beside them, a plane of complex numbers. After a short rest, over about 5 s the eight products of matching arrows, the first conjugated, are laid tip to tail, the pair in use lit in both rings. Each product turns a quarter turn further clockwise than the last, so the chain runs round a square twice and closes at its start: the sum is 0. Then column 1 is compared with itself. All eight products are 1, and the chain is a straight line of length 8. Readouts give the sum and the turn per product. One control: a slider for the second column’s index, from 0 to 7, which shows that column’s whole chain. The chain closes for every index except 1, where it is straight.
Length needs a conjugate
A complex vector has complex numbers as its entries, such as . Try its length the old way, as :
A vector that is not would have length 0. Something is wrong. The fix is the size of a complex number, from Complex numbers for signals: , where is the conjugate, the same number with the sign of its imaginary part flipped. So the squared length of a complex vector is
For that is . For it is .
The conjugate transpose
Flip a matrix across its diagonal and conjugate every entry: that is the conjugate transpose, written . For a column vector, is the row of conjugated entries, so
and the dot product of two complex vectors and is .
Two complex vectors are perpendicular when . Like the transpose of Transposes and permutations, it reverses a product: . For real vectors and matrices nothing is conjugated, and everything here reduces to what you already know.
Hermitian and unitary matrices
Two kinds of real matrix have complex versions.
A Hermitian matrix equals its conjugate transpose, : the complex version of symmetric. The argument of Symmetric matrices, with in place of the transpose, shows that its eigenvalues are real and its eigenvectors perpendicular. Take
Its trace is 5 and its determinant , so its eigenvalues are 1 and 4: real, although the matrix is complex. The eigenvectors are and , and they are perpendicular in the complex sense:
Without the conjugate the test fails: .
A unitary matrix has : the complex version of a matrix with orthonormal columns. It keeps every length, , so its eigenvalues all have size 1.
The Fourier matrix
The Fourier matrix of size has the entry in row and column . On this page its rows and columns count from 0, as in signal processing, while other matrices count from 1. For :
Its columns are perpendicular. Take column and column . Conjugate the first and multiply entry by entry: entry gives . These are unit arrows that turn by of a turn from one to the next. Laid tip to tail, they go round a whole number of times and close, so the sum is 0, unless , when every arrow is 1 and the sum is . That is the picture at the top of the page. In one line:
So is unitary, and . For , columns 1 and 2: .
Multiplying by is the DFT. For , . Lengths change only by the fixed factor : , which is , and .
Circulant matrices
A circulant matrix is built from one column : each column is the one before it, rotated down by one place, with the last entry coming round to the top. Multiplying by is circular convolution with . A circular smoother with gives
which averages each sample with half weight and its two neighbours with a quarter each, wrapping round at the ends.
Here is the key fact. Every column of , a pure wave , is an eigenvector of every circulant matrix. Rotating a pure wave only multiplies it by a number, so a circulant, which is a sum of rotations, does too. The eigenvalues are the entries of , and
Read it right to left: take the DFT, multiply each frequency by its eigenvalue, and transform back. For the smoother, : it keeps the constant, halves the next frequencies, and erases the fastest one, the wave .
Circular smoothing
The same smoothing two ways: a circulant matrix, or through the Fourier matrix.
The samples x = (1, 2, 3, 4).
Describe this picture
Rows of cells, each shaded by the size of its number. At the top, the samples ; the circulant smoother acts directly, and the row fills in at the top right. Below, the other way: the Fourier matrix takes to ; the eigenvalues appear beside it, and their product, entry by entry, ; last, the inverse transform fills a row that reads again. On a phone the six rows are stacked. A readout gives the smoothed samples. There is no control.
Watch the two routes meet. The long way round, through the frequencies, gives exactly what the matrix does in one step.
In signal processing · circulants and the DFT
The DFT as a matrix, in the signal processing course, builds the same matrix from the signal side and shows that circulants share its waves as eigenvectors. Fast convolution uses to filter long signals with the FFT. Signal processing writes for the entry .
Worked example
1. Lengths. . For , but . And .
2. A Hermitian matrix. : trace 5, determinant 4, eigenvalues 1 and 4, eigenvectors and , perpendicular with the conjugate.
3. The Fourier matrix. For , , and with .
4. A circulant. The smoother has eigenvalues for to 3, which are , and sends to . Its eigenvalue 0 belongs to , which it erases.
Try these before you read the answers.
- What is ? 5.
- Is Hermitian? Yes: transposing gives , and conjugating gives the matrix back. Its eigenvalues are .
- What is for ? .
- What does a circulant matrix do to a column of ? It multiplies it by a number, its eigenvalue.
Where you’ll meet this
OFDM. Wi-Fi and 4G and 5G mobile radio send data on many frequencies at once. Each block starts with a copy of its own end, the cyclic prefix, so the radio channel acts on the block as a circulant matrix. One FFT then turns the channel into one number per frequency, which the receiver divides out. Digital modulation and OFDM builds this.
Fast filtering. Filtering a signal directly costs one product per sample for every filter tap. Through the FFT, a circulant becomes a diagonal matrix, and for long filters the cost per sample grows only slowly with the filter’s length.
Images and scans. Image filters and the reconstruction of MRI scans use the two-dimensional Fourier matrix the same way.
Reference card
| Quantity | Formula | Notes |
|---|---|---|
| Length | never | |
| Conjugate transpose | transpose, then conjugate each entry | |
| Dot product | 0 means perpendicular | |
| Hermitian | real eigenvalues, perpendicular eigenvectors | |
| Unitary | keeps lengths; eigenvalues of size 1 | |
| Fourier matrix | , | , |
| Circulant | eigenvalues are the DFT of its first column |