Circulant Matrices
Circulant Matrices, Convolution, and Fourier Eigenvectors
Circulant matrices and cyclic shifts
A circulant matrix is a square matrix in which each row is obtained by cyclically shifting the row above it. For example,
Although an N×N matrix generally has N2 entries, a circulant matrix is determined by only N numbers: its first row (or, equivalently, its first column). Every other entry is fixed by the cyclic-shift pattern.
A convenient way to construct a circulant matrix is from a cyclic-shift permutation matrix. With zero-based indexing, define P so that
Thus, P shifts the entries of a vector cyclically. Any circulant matrix with first row (c0,c1,…,cN−1) can be written as
This representation makes an important property clear: circulant matrices are polynomials in the same shift matrix. In particular, products of circulant matrices are also circulant, and circulant matrices of the same size commute:
Convolution matrices and image processing
Toeplitz matrices and noncyclic convolution
A Toeplitz matrix has constant diagonals. Unlike a circulant matrix, it does not wrap its entries around at the boundaries. Multiplying a Toeplitz matrix by a vector performs a noncyclic convolution, with boundary behavior depending on how the finite signal is handled.
These matrices also describe linear shift-invariant systems: the same operation is applied at each position, rather than assigning a completely unrelated weight to every position. In engineering, such operations are often described as filtering or convolution.
For example, applying the same set of weights to neighboring pixels throughout an image can detect or emphasize features without storing a distinct weight for every pixel pair. This parameter sharing is useful because it greatly reduces the number of weights compared with using an arbitrary dense matrix.
Why shared weights matter
An image with 1,000×1,000 pixels has one million pixel values. A color image with three channels has about three million values. If an arbitrary dense matrix were applied to a vector of that size, it would require roughly (3,000,000)2 weights. Such a matrix would be impractically large to store and optimize.
A convolutional operation instead reuses a small collection of weights at many locations. This reflects the assumption that a useful pattern—such as an edge or texture—can matter wherever it appears in an image. A circulant matrix illustrates this idea particularly clearly because its cyclic structure is completely specified by a single row. In practical image processing, convolution matrices are often Toeplitz-like rather than circulant because images generally do not wrap around at their edges.
Filtering and pooling
A low-pass filter reduces rapid changes in a signal or image, which correspond to high spatial frequencies. For instance, averaging neighboring pixel values smooths an image: slowly varying regions change little, while fine speckling and abrupt pixel-to-pixel changes are reduced. Averaging two neighboring values with weights such as 21 and 21 is a simple example.
Pooling is a separate operation that reduces the size of an image representation. In a 3×3 region, for example, max pooling replaces the nine values with their maximum. This reduces the number of values passed to later computations. Max pooling is generally nonlinear, so it is distinct from multiplying by a convolution matrix.
Eigenvalues of the cyclic-shift matrix
The cyclic-shift matrix P is a permutation matrix, so it is orthogonal:
Consequently, it preserves vector lengths. Its singular values are all 1, because the singular values are the square roots of the eigenvalues of PTP=I.
The eigenvalues of P are found especially easily from the fact that shifting a vector N times returns it to its original position:
If Px=λx for an eigenvector x, then applying PN gives
so every eigenvalue satisfies
The eigenvalues are therefore the Nth roots of unity:
They lie evenly spaced on the unit circle in the complex plane. For N=4, the roots are 1, i, −1, and −i. For N=8, they are the eight equally spaced eighth roots of unity.
Complex eigenvalues are natural here: a real cyclic shift can have complex eigenvectors and eigenvalues even though the matrix itself has only real entries.
Orthogonal eigenvectors and normal matrices
Different important matrix families have eigenvectors that can be chosen orthogonal or orthonormal.
Real symmetric matrices satisfy AT=A. Their eigenvalues are real, and their eigenvectors can be chosen orthonormally.
Diagonal matrices have the coordinate directions as eigenvectors.
Orthogonal matrices satisfy QTQ=I. They preserve lengths, so each eigenvalue λ has magnitude 1.
Real skew-symmetric matrices satisfy AT=−A. Their eigenvalues are purely imaginary or zero when considered over the complex numbers.
For example, the matrix
represents a rotation through a right angle. Its eigenvalues are i and −i. A nonzero real vector cannot be an eigenvector for this rotation because the rotation changes its direction; the complex eigenvectors provide the corresponding eigen-directions.
These families fit within the broader class of normal matrices. A complex matrix M is normal when it commutes with its conjugate transpose:
where M∗ is the conjugate transpose. For a real matrix, this condition uses the ordinary transpose. The spectral theorem states that a complex matrix is normal precisely when it can be diagonalized by a unitary matrix: its eigenvectors can be chosen as an orthonormal basis.
Circulant matrices are normal. Their products remain circulant, and the conjugate transpose of a circulant matrix is also circulant. Since circulant matrices commute, a circulant matrix commutes with its conjugate transpose. This guarantees an orthonormal eigenvector basis.
Fourier eigenvectors
The eigenvectors of the cyclic shift are built from the same roots of unity as its eigenvalues. For each k=0,…,N−1, define
Under the shift convention (Px)r=x(r+1)modN,
Thus, qk is an eigenvector with eigenvalue wk. Reversing the direction of the shift changes the eigenvalue to w−k; this is a convention difference, not a change in the underlying Fourier structure.
The Fourier matrix collects all these eigenvectors as columns:
The entries are powers of a single root of unity. Since every circulant matrix is a polynomial in P, all circulant matrices of size N share these Fourier eigenvectors. Their eigenvalues differ, but their eigenvector matrix is the same.
For a circulant matrix C=∑ℓ=0N−1cℓPℓ, the eigenvalue associated with qk is
This shows why Fourier analysis is so closely connected to cyclic convolution: the Fourier eigenvalues encode how the convolution acts on each frequency component.
Orthogonality of the Fourier eigenvectors
The Fourier eigenvectors are orthogonal because sums of distinct powers of a root of unity cancel. For two column indices k and m, their inner product is
If k=m, every term is 1, so the inner product is N. If k=m, the terms form a complete geometric sum around the unit circle and add to 0. Therefore,
Each column of F has length N, so the normalized Fourier matrix
is unitary: its columns are orthonormal.
The cancellation can also be seen geometrically. For N=3, the three roots 1, e2πi/3, and e4πi/3 form the vertices of an equilateral triangle centered at the origin, so their sum is zero. More generally, the N roots of unity are evenly distributed around the circle, and their sum is zero for N>1.
Discrete Fourier transform and computational significance
The discrete Fourier transform (DFT) expresses a finite vector in terms of its frequency components. The Fourier matrix is its matrix representation, up to normalization and the chosen sign convention. Because circulant matrices are diagonalized by the Fourier matrix, a cyclic convolution can be transformed into componentwise multiplication in the frequency domain.
This connection is fundamental in engineering, mathematics, signal processing, and image processing. The fast Fourier transform (FFT) is an efficient algorithm for computing the DFT, making Fourier-based methods practical for large data sets. The roots of unity, the Fourier eigenvectors, and the shared diagonalization of circulant matrices are all manifestations of the same underlying periodic structure.

Ask anything
We've read this whole study set, so questions about it get the best answers.