Circulant matrix

Circulant matrix

In linear algebra, a circulant matrix is a special kind of Toeplitz matrix where each row vector is rotated one element to the right relative to the preceding row vector. In numerical analysis, circulant matrices are important because they are diagonalized by a discrete Fourier transform, and hence linear equations that contain them may be quickly solved using a fast Fourier transform. They can be interpreted analytically as the integral kernel of a convolution operator on the cyclic group \mathbf{Z}/n\mathbf{Z}. In cryptography, a circulant matrix is used in the MixColumns step of the Advanced Encryption Standard.

Contents

Definition

An n\times n circulant matrix \ C takes the form


C=
\begin{bmatrix}
c_0     & c_{n-1} & \dots  & c_{2} & c_{1}  \\
c_{1} & c_0    & c_{n-1} &         & c_{2}  \\
\vdots  & c_{1}& c_0    & \ddots  & \vdots   \\
c_{n-2}  &        & \ddots & \ddots  & c_{n-1}   \\
c_{n-1}  & c_{n-2} & \dots  & c_{1} & c_0 \\
\end{bmatrix}.

A circulant matrix is fully specified by one vector, \ c, which appears as the first column of \ C. The remaining columns of \ C are each cyclic permutations of the vector \ c with offset equal to the column index. The last row of \ C is the vector \ c in reverse order, and the remaining rows are each cyclic permutations of the last row. Note that different sources define the circulant matrix in different ways, for example with the coefficients corresponding to the first row rather than the first column of the matrix, or with a different direction of shift.

Eigenvectors and eigenvalues

The eigenvectors of a circulant matrix are given by

v_j=(1,~ \omega_j,~ \omega_j^2,~ \ldots,~ \omega_j^{n-1})^T,\quad j=0, 1,\ldots, n-1,

where \omega_j=\exp \left(\frac{2\pi i j}{n}\right) are the n-th roots of unity and i=\sqrt{-1} is the imaginary unit.

The corresponding eigenvalues are then given by

\lambda_j=c_0+c_{n-1} \omega_j + c_{n-2} \omega_j^2 + \ldots + c_{1} \omega_j^{n-1}, ~~ j=0\ldots n-1.

Circulant determinant

As a consequence of the explicit formula for the eigenvalues above, the determinant of circulant matrix can be computed as:


\mathrm{det}(C) 
= \prod_{j=0}^{n-1} (c_0 + c_{n-1} \omega_j + c_{n-2} \omega_j^2 + \dots + c_1\omega_j^{n-1}).

Since taking transpose does not change the eigenvalues of a matrix, an equivalent formulation is


\mathrm{det}(C)=\prod_{j=0}^{n-1} (c_0 + c_1 \omega_j + c_2 \omega_j^2 + \dots + c_{n-1}\omega_j^{n-1}).

Properties

  • We have
 C=c_0I+c_{1}P+c_{2}P^2+\ldots+c_{n-1}P^{n-1}=p(P).

where P is the 'cyclic permutation' matrix given by

P:=
\begin{bmatrix}
 0&0&\ldots&0&1\\
 1&0&\ldots&0&0\\
 0&\ddots&\ddots&\vdots&\vdots\\
 \vdots&\ddots&\ddots&0&0\\
 0&\ldots&0&1&0
\end{bmatrix}.
  • 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.
  • The eigenvectors of a circulant matrix of a given size are the columns of the unitary discrete Fourier transform matrix of the same size. The latter matrix is defined by
 U_n = \frac{1}{\sqrt{n}} F_n, \quad\text{where}\quad F_n = (f_{jk}) \quad\text{with}\quad f_{jk} = \mathrm{e}^{-2jk\pi\mathrm{i}/n},  \quad\text{for}\quad  0\leq j,k<n.
Thus, the matrix Un diagonalizes C. In fact, we have
 C = U_n^{*} \operatorname{diag}(F_n c) U_n = \frac{1}{n} F_n^{*} \operatorname{diag}(F_n c) F_n,
where c\!\, is the first column of C\,\!. Thus, the eigenvalues of C are given by the product \ F_n c. This product can be readily calculated by a Fast Fourier transform.[1]

In linear equations

Given a matrix equation

\ \mathbf{C} \mathbf{x} = \mathbf{b},

where \ C is a circulant square matrix of size \ n we can write the equation as the circular convolution

\ \mathbf{c} * \mathbf{x} = \mathbf{b},

where \ c is the first column of \ C, and the vectors \ c, \ x and \ b are cyclically extended in each direction. Using the results of the circular convolution theorem, we can use the discrete Fourier transform to transform the cyclic convolution into component-wise multiplication

\ \mathcal{F}_{n}(\mathbf{c} * \mathbf{x}) = \mathcal{F}_{n}(\mathbf{c}) \mathcal{F}_{n}(\mathbf{x}) = \mathcal{F}_{n}(\mathbf{b})

so that

\ \mathbf{x} = \mathcal{F}_{n}^{-1} 
\left [ 
\left (
\frac{(\mathcal{F}_n(\mathbf{b}))_{\nu}}
{(\mathcal{F}_n(\mathbf{c}))_{\nu}} 
\right )_{\nu \in \mathbf{Z}}
\right ]^T.

This algorithm is much faster than the standard Gaussian elimination, especially if a fast Fourier transform is used.

Analytic interpretation

Circulant matrices can be interpreted geometrically, which explains the connection with the discrete Fourier transform.

Consider vectors in \mathbf{R}^n as functions on the integers with period n, (i.e., as periodic bi-infinite sequences: \dots,a_0,a_1,\dots,a_{n-1},a_0,a_1,\dots) or equivalently, as functions on the cyclic group of order n, (Cn or \mathbf{Z}/n\mathbf{Z}) 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 (c_0,c_1,\dots,c_{n-1}); this is a discrete circular convolution. The formula for the convolution of the functions (bi): = (ci) * (ai) is

b_k = \sum_{i=0}^{n-1} a_i c_{k-i} (recall that the sequences are periodic)

which is the product of the vector of ai by the circulant matrix.

The discrete Fourier transform then converts convolution into multiplication, which in the matrix setting corresponds to diagonalization.

Application in graph theory

In graph theory, a graph or digraph whose adjacency matrix is circulant is called a circulant graph (or digraph). Equivalently, a graph is circulant if its automorphism group contains a full-length cycle. The Möbius ladders are examples of circulant graphs, as are the Paley graphs for fields of prime order.

References

  1. ^ Golub, Gene H.; Van Loan, Charles F. (1996), "§4.7.7 Circulant Systems", Matrix Computations (3rd ed.), Johns Hopkins, ISBN 978-0-8018-5414-9 

External links


Wikimedia Foundation. 2010.

Игры ⚽ Поможем сделать НИР

Look at other dictionaries:

  • Circulant graph — The Paley graph of order 13, an example of a circulant graph. Crown graphs …   Wikipedia

  • circulant — noun A circulant matrix …   Wiktionary

  • Toeplitz matrix — In the mathematical discipline of linear algebra, a Toeplitz matrix or diagonal constant matrix, named after Otto Toeplitz, is a matrix in which each descending diagonal from left to right is constant. For instance, the following matrix is a… …   Wikipedia

  • Symmetric matrix — In linear algebra, a symmetric matrix is a square matrix, A , that is equal to its transpose:A = A^{T}. ,!The entries of a symmetric matrix are symmetric with respect to the main diagonal (top left to bottom right). So if the entries are written… …   Wikipedia

  • Diagonal matrix — In linear algebra, a diagonal matrix is a matrix (usually a square matrix) in which the entries outside the main diagonal (↘) are all zero. The diagonal entries themselves may or may not be zero. Thus, the matrix D = (di,j) with n columns and n… …   Wikipedia

  • Hadamard matrix — In mathematics, a Hadamard matrix is a square matrix whose entries are either +1 or −1 and whose rows are mutually orthogonal. This means that every two different rows in a Hadamard matrix represent two perpendicular vectors. Such matrices can… …   Wikipedia

  • Carleman matrix — In mathematics, a Carleman matrix is a matrix that is used to convert function composition into matrix multiplication. They are used in iteration theory to find the continuous iteration of functions that cannot be iterated by pattern recognition… …   Wikipedia

  • Complex Hadamard matrix — A complex Hadamard matrix is any complex matrix H satisfying two conditions: unimodularity (the modulus of each entry is unity): orthogonality: , where denotes the Hermitian transpose of H and …   Wikipedia

  • Carrier interferometry — (CI) is a type of spread spectrum multiple access typically employed with Orthogonal frequency division multiplexing (OFDM). CI spreading codes are commonly used to spread data symbols across multiple OFDM subcarriers for diversity benefits and… …   Wikipedia

  • Moore–Penrose pseudoinverse — In mathematics, and in particular linear algebra, a pseudoinverse A+ of a matrix A is a generalization of the inverse matrix.[1] The most widely known type of matrix pseudoinverse is the Moore–Penrose pseudoinverse, which was independently… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”