In linear algebra, a circulant matrix is a square matrix in which each row is a cyclic shift, by one position, of the row above it. Equivalently, its entries depend only on the difference of the row and column indices modulo the matrix size: if rows and columns are indexed from 0 to n−1, the (r,s) entry equals c(r−s)modn, where (c0,c1,…,cn−1) is a single generating vector. Circulant matrices are a special class of Toeplitz matrices. Every complex circulant matrix is diagonalized by the discrete Fourier transform (DFT). As a consequence, circulant matrices form a commutative algebra of normal matrices; the eigenvalues of a circulant matrix are the DFT of its generating vector; and matrix–vector products and nonsingular linear systems involving a circulant matrix can be computed with a fast Fourier transform (FFT) in O(nlogn) arithmetic operations. Algebraically, multiplication by a circulant matrix is circular convolution on the cyclic group ℤ/nℤ. Circulant matrices arise wherever a linear operation is invariant under cyclic shifts. They can be interpreted analytically as the integral kernel of a convolution operator on the cyclic group Cn, and hence appear in signal and image processing with periodic boundary conditions, in discretizations of translation-invariant problems on periodic domains, and in the study of stationary stochastic processes. In orthogonal frequency-division multiplexing, the cyclic prefix prepended to each transmitted block makes the effective channel matrix circulant, so that channel equalization can be carried out separately on each component in the frequency domain. In cryptography, a circulant matrix is used in the MixColumns step of the Advanced Encryption Standard.
Definition An n×n circulant matrix C takes the form C=[c0cn−1⋯c2c1c1c0cn−1c2⋮c1c0⋱⋮cn−2⋱⋱cn−1cn−1cn−2⋯c1c0] or the transpose of this form (by choice of notation). If each ci is a p×p square matrix, then the np×np matrix C is called a block-circulant matrix. A circulant matrix is fully specified by one vector, c, which appears as the first column (or row) of C. The remaining columns (and rows, resp.) of C are each cyclic permutations of the vector c with offset equal to the column (or row, resp.) index, if lines are indexed from 0 to n−1. (Cyclic permutation of rows has the same effect as cyclic permutation of columns.) The last row of C is the vector c shifted by one in reverse. Different sources define the circulant matrix in different ways, for example as above, or with the vector c corresponding to the first row rather than the first column of the matrix; and possibly with a different direction of shift (which is sometimes called an anti-circulant matrix). The polynomial f(x)=c0+c1x+⋯+cn−1xn−1 is called the associated polynomial of the matrix C.
Properties
Eigenvectors and eigenvalues The normalized eigenvectors of a circulant matrix are the Fourier modes, namely, vj=1n(1,ωj,ω2j,…,ω(n−1)j)T,j=0,1,…,n−1, where ω=exp(2πin) is a primitive n-th root of unity and i is the imaginary unit. (This can be understood by realizing that multiplication with a circulant matrix implements a convolution. In Fourier space, convolutions become multiplication. Hence the product of a circulant matrix with a Fourier mode yields a multiple of that Fourier mode, i.e. it is an eigenvector.) The corresponding eigenvalues are given by λj=c0+c1ω−j+c2ω−2j+⋯+cn−1ω−(n−1)j,j=0,1,…,n−1.
Determinant As a consequence of the explicit formula for the eigenvalues above, the determinant of a circulant matrix can be computed as: detC=∏j=0n−1(c0+cn−1ωj+cn−2ω2j+⋯+c1ω(n−1)j). Since taking the transpose does not change the eigenvalues of a matrix, an equivalent formulation is detC=∏j=0n−1(c0+c1ωj+c2ω2j+⋯+cn−1ω(n−1)j)=∏j=0n−1f(ωj).
Rank The rank of a circulant matrix C is equal to n−d where d is the degree of the polynomial gcd(f(x),xn−1).
Other properties Any circulant is a matrix polynomial (namely, the associated polynomial) in the cyclic permutation matrix P: C=c0I+c1P+c2P2+⋯+cn−1Pn−1=f(P), where P is given by the companion matrix P=[00⋯0110⋯000⋱⋱⋮⋮⋮⋱⋱000⋯010]. The set of n×n circulant matrices forms an n-dimensional vector space with respect to addition and scalar multiplication. This space can be interpreted as the space of functions on the cyclic group of order n, Cn, or equivalently as the group ring of Cn. Circulant matrices form a commutative algebra, since for any two given circulant matrices A and B, the sum A+B is circulant, the product AB is circulant, and AB=BA. For a nonsingular circulant matrix A, its inverse A−1 is also circulant. For a singular circulant matrix, its Moore–Penrose pseudoinverse A+ is circulant. The discrete Fourier transform matrix of order n is defined as by Fn=(fjk) with fjk=e−2πi/n⋅jk,for 0≤j,k≤n−1. There are important connections between circulant matrices and the DFT matrices. In fact, it can be shown that C=Fn−1diag(Fnc)Fn, where c is the first column of C. The eigenvalues of C are given by the product Fnc. This product can be readily calculated by a fast Fourier transform.
Let p(x) be the (monic) characteristic polynomial of an n×n circulant matrix C. Then the scaled derivative 1np′(x) is the characteristic polynomial of the following (n−1)×(n−1) submatrix of C: Cn−1=[c0cn−1⋯c3c2c1c0cn−1c3⋮c1c0⋱⋮cn−3⋱⋱cn−1cn−2cn−3⋯c1c0] (see for the proof).
Analytic interpretation Circulant matrices can be interpreted geometrically, which explains the connection with the discrete Fourier transform. Consider vectors in ℝn as functions on the integers with period n, (i.e., as periodic bi-infinite sequences: …,a0,a1,…,an−1,a0,a1,…) or equivalently, as functions on the cyclic group of order n (denoted Cn or ℤ/nℤ) geometrically, on (the vertices of) the regular n-gon: this is a discrete analog to periodic functions on the real line or circle. Then, from the perspective of operator theory, a circulant matrix is the kernel of a discrete integral transform, namely the convolution operator for the function (c0,c1,…,cn−1); this is a discrete circular convolution. The formula for the convolution of the functions (bi):=(ci)∗(ai) is
bk=∑i=0n−1aick−i (recall that the sequences are periodic) which is the product of the vector (ai) by the circulant matrix for (ci). The discrete Fourier transform then converts convolution into multiplication, which in the matrix setting corresponds to diagonalization. The C∗-algebra of all circulant matrices with complex entries is isomorphic to the group C∗-algebra of ℤ/nℤ.
… excerpt ends here. Continue reading the full article.