In
linear algebra
Linear algebra is the branch of mathematics concerning linear equations such as
:a_1x_1+\cdots +a_nx_n=b,
linear maps such as
:(x_1, \ldots, x_n) \mapsto a_1x_1+\cdots +a_nx_n,
and their representations in vector spaces and through matrix (mathemat ...
, a circulant matrix is a
square matrix in which all rows are composed of the same elements and each row is rotated one element to the right relative to the preceding row. It is a particular kind of
Toeplitz matrix.
In
numerical analysis
Numerical analysis is the study of algorithms that use numerical approximation (as opposed to symbolic computation, symbolic manipulations) for the problems of mathematical analysis (as distinguished from discrete mathematics). It is the study of ...
, circulant matrices are important because they are
diagonalized by a
discrete Fourier transform
In mathematics, the discrete Fourier transform (DFT) converts a finite sequence of equally-spaced Sampling (signal processing), samples of a function (mathematics), function into a same-length sequence of equally-spaced samples of the discre ...
, and hence
linear equation
In mathematics, a linear equation is an equation that may be put in the form
a_1x_1+\ldots+a_nx_n+b=0, where x_1,\ldots,x_n are the variables (or unknowns), and b,a_1,\ldots,a_n are the coefficients, which are often real numbers. The coeffici ...
s that contain them may be quickly solved using a
fast Fourier transform
A fast Fourier transform (FFT) is an algorithm that computes the discrete Fourier transform (DFT) of a sequence, or its inverse (IDFT). A Fourier transform converts a signal from its original domain (often time or space) to a representation in ...
. They can be
interpreted analytically as the
integral kernel
In mathematics, an integral transform is a type of transform (mathematics), transform that maps a function (mathematics), function from its original function space into another function space via integral, integration, where some of the propert ...
of a
convolution operator on the
cyclic group and hence frequently appear in formal descriptions of spatially invariant linear operations. This property is also critical in modern software defined radios, which utilize
Orthogonal Frequency Division Multiplexing to spread the
symbols
A symbol is a mark, sign, or word that indicates, signifies, or is understood as representing an idea, object, or relationship. Symbols allow people to go beyond what is known or seen by creating linkages between otherwise different concep ...
(bits) using a
cyclic prefix. This enables the channel to be represented by a circulant matrix, simplifying channel equalization in the
frequency domain
In mathematics, physics, electronics, control systems engineering, and statistics, the frequency domain refers to the analysis of mathematical functions or signals with respect to frequency (and possibly phase), rather than time, as in time ser ...
.
In
cryptography
Cryptography, or cryptology (from "hidden, secret"; and ''graphein'', "to write", or ''-logy, -logia'', "study", respectively), is the practice and study of techniques for secure communication in the presence of Adversary (cryptography), ...
, a circulant matrix is used in the
MixColumns step of the
Advanced Encryption Standard
The Advanced Encryption Standard (AES), also known by its original name Rijndael (), is a specification for the encryption of electronic data established by the U.S. National Institute of Standards and Technology (NIST) in 2001.
AES is a variant ...
.
Definition
An
circulant matrix
takes the form
or the
transpose
In linear algebra, the transpose of a Matrix (mathematics), matrix is an operator which flips a matrix over its diagonal;
that is, it switches the row and column indices of the matrix by producing another matrix, often denoted by (among other ...
of this form (by choice of notation). If each
is a
square
matrix, then the
matrix
is called a block-circulant matrix.
A circulant matrix is fully specified by one vector,
, which appears as the first column (or row) of
. The remaining columns (and rows, resp.) of
are each
cyclic permutations of the vector
with offset equal to the column (or row, resp.) index, if lines are indexed from
to
. (Cyclic permutation of rows has the same effect as cyclic permutation of columns.) The last row of
is the vector
shifted by one in reverse.
Different sources define the circulant matrix in different ways, for example as above, or with the vector
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
In mathematics, a polynomial is a Expression (mathematics), mathematical expression consisting of indeterminate (variable), indeterminates (also called variable (mathematics), variables) and coefficients, that involves only the operations of addit ...
is called the ''associated polynomial'' of the matrix
.
Properties
Eigenvectors and eigenvalues
The normalized
eigenvector
In linear algebra, an eigenvector ( ) or characteristic vector is a vector that has its direction unchanged (or reversed) by a given linear transformation. More precisely, an eigenvector \mathbf v of a linear transformation T is scaled by ...
s of a circulant matrix are the Fourier modes, namely,
where
is a primitive
-th
root of unity
In mathematics, a root of unity is any complex number that yields 1 when exponentiation, raised to some positive integer power . Roots of unity are used in many branches of mathematics, and are especially important in number theory, the theory ...
and
is the
imaginary unit
The imaginary unit or unit imaginary number () is a mathematical constant that is a solution to the quadratic equation Although there is no real number with this property, can be used to extend the real numbers to what are called complex num ...
.
(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
eigenvalue
In linear algebra, an eigenvector ( ) or characteristic vector is a vector that has its direction unchanged (or reversed) by a given linear transformation. More precisely, an eigenvector \mathbf v of a linear transformation T is scaled by a ...
s are given by
Determinant
As a consequence of the explicit formula for the eigenvalues above,
the
determinant
In mathematics, the determinant is a Scalar (mathematics), scalar-valued function (mathematics), function of the entries of a square matrix. The determinant of a matrix is commonly denoted , , or . Its value characterizes some properties of the ...
of a circulant matrix can be computed as:
Since taking the transpose does not change the eigenvalues of a matrix, an equivalent formulation is
Rank
The
rank of a circulant matrix
is equal to
where
is the
degree of the polynomial
.
Other properties
* Any circulant is a matrix polynomial (namely, the associated polynomial) in the cyclic
permutation matrix :
where
is given by the
companion matrix
* The
set
Set, The Set, SET or SETS may refer to:
Science, technology, and mathematics Mathematics
*Set (mathematics), a collection of elements
*Category of sets, the category whose objects and morphisms are sets and total functions, respectively
Electro ...
of
circulant matrices forms an
-
dimension
In physics and mathematics, the dimension of a mathematical space (or object) is informally defined as the minimum number of coordinates needed to specify any point within it. Thus, a line has a dimension of one (1D) because only one coo ...
al
vector space
In mathematics and physics, a vector space (also called a linear space) is a set (mathematics), set whose elements, often called vector (mathematics and physics), ''vectors'', can be added together and multiplied ("scaled") by numbers called sc ...
with respect to addition and scalar multiplication. This space can be interpreted as the space of
functions on the
cyclic group of
order ,
, or equivalently as the
group ring
In algebra, a group ring is a free module and at the same time a ring, constructed in a natural way from any given ring and any given group. As a free module, its ring of scalars is the given ring, and its basis is the set of elements of the gi ...
of
.
* Circulant matrices form a
commutative algebra
Commutative algebra, first known as ideal theory, is the branch of algebra that studies commutative rings, their ideal (ring theory), ideals, and module (mathematics), modules over such rings. Both algebraic geometry and algebraic number theo ...
, since for any two given circulant matrices
and
, the sum
is circulant, the product
is circulant, and
.
* For a
nonsingular circulant matrix
, its
inverse is also circulant. For a singular circulant matrix, its
Moore–Penrose pseudoinverse is circulant.
* The
discrete Fourier transform
In mathematics, the discrete Fourier transform (DFT) converts a finite sequence of equally-spaced Sampling (signal processing), samples of a function (mathematics), function into a same-length sequence of equally-spaced samples of the discre ...
matrix of order
is defined as by
There are important connections between circulant matrices and the DFT matrices. In fact, it can be shown that
where
is the first column of
. The eigenvalues of
are given by the product
. This product can be readily calculated by a
fast Fourier transform
A fast Fourier transform (FFT) is an algorithm that computes the discrete Fourier transform (DFT) of a sequence, or its inverse (IDFT). A Fourier transform converts a signal from its original domain (often time or space) to a representation in ...
.
*Let
be the (
monic)
characteristic polynomial
In linear algebra, the characteristic polynomial of a square matrix is a polynomial which is invariant under matrix similarity and has the eigenvalues as roots. It has the determinant and the trace of the matrix among its coefficients. The ...
of an
circulant matrix
. Then the scaled
derivative
In mathematics, the derivative is a fundamental tool that quantifies the sensitivity to change of a function's output with respect to its input. The derivative of a function of a single variable at a chosen input value, when it exists, is t ...
is the characteristic polynomial of the following
submatrix of
:
(see for the
proof).
Analytic interpretation
Circulant matrices can be interpreted
geometrically, which explains the connection with the discrete Fourier transform.
Consider vectors in
as functions on the
integer
An integer is the number zero (0), a positive natural number (1, 2, 3, ...), or the negation of a positive natural number (−1, −2, −3, ...). The negations or additive inverses of the positive natural numbers are referred to as negative in ...
s with period
, (i.e., as periodic bi-infinite sequences:
) or equivalently, as functions on the
cyclic group of order
(denoted
or
) geometrically, on (the vertices of) the
regular : this is a discrete analog to periodic functions on the
real line
A number line is a graphical representation of a straight line that serves as spatial representation of numbers, usually graduated like a ruler with a particular origin (geometry), origin point representing the number zero and evenly spaced mark ...
or
circle
A circle is a shape consisting of all point (geometry), points in a plane (mathematics), plane that are at a given distance from a given point, the Centre (geometry), centre. The distance between any point of the circle and the centre is cal ...
.
Then, from the perspective of
operator theory
In mathematics, operator theory is the study of linear operators on function spaces, beginning with differential operators and integral operators. The operators may be presented abstractly by their characteristics, such as bounded linear operato ...
, a circulant matrix is the kernel of a discrete
integral transform
In mathematics, an integral transform is a type of transform that maps a function from its original function space into another function space via integration, where some of the properties of the original function might be more easily charac ...
, namely the
convolution operator for the function
; this is a discrete
circular convolution. The formula for the convolution of the functions
is
:
(recall that the sequences are periodic)
which is the product of the vector
by the circulant matrix for
.
The discrete Fourier transform then converts convolution into multiplication, which in the matrix setting corresponds to diagonalization.
The
-algebra of all circulant matrices with
complex
Complex commonly refers to:
* Complexity, the behaviour of a system whose components interact in multiple ways so possible interactions are difficult to describe
** Complex system, a system composed of many components which may interact with each ...
entries is
isomorphic
In mathematics, an isomorphism is a structure-preserving mapping or morphism between two structures of the same type that can be reversed by an inverse mapping. Two mathematical structures are isomorphic if an isomorphism exists between the ...
to the group
-algebra of
Symmetric circulant matrices
For a
symmetric circulant matrix
one has the extra condition that
.
Thus it is determined by
elements.
The eigenvalues of any
real symmetric matrix are real.
The corresponding eigenvalues
become:
for
even, and
for
odd, where
denotes the
real part
In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the form ...
of
.
This can be further simplified by using the fact that
and
depending on
even or odd.
Symmetric circulant matrices belong to the class of
bisymmetric matrices.
Hermitian circulant matrices
The complex version of the circulant matrix, ubiquitous in communications theory, is usually
Hermitian. In this case
and its determinant and all eigenvalues are real.
If ''n'' is even the first two rows necessarily takes the form
in which the first element
in the top second half-row is real.
If ''n'' is odd we get
Tee
has discussed constraints on the eigenvalues for the Hermitian condition.
Applications
In linear equations
Given a matrix equation
:
where
is a circulant matrix of size
, we can write the equation as the
circular convolution
where
is the first column of
, and the vectors
,
and
are cyclically extended in each direction. Using the
circular convolution theorem, we can use the
discrete Fourier transform
In mathematics, the discrete Fourier transform (DFT) converts a finite sequence of equally-spaced Sampling (signal processing), samples of a function (mathematics), function into a same-length sequence of equally-spaced samples of the discre ...
to transform the cyclic convolution into component-wise multiplication
so that
This algorithm is much faster than the standard
Gaussian elimination
In mathematics, Gaussian elimination, also known as row reduction, is an algorithm for solving systems of linear equations. It consists of a sequence of row-wise operations performed on the corresponding matrix of coefficients. This method can a ...
, especially if a
fast Fourier transform
A fast Fourier transform (FFT) is an algorithm that computes the discrete Fourier transform (DFT) of a sequence, or its inverse (IDFT). A Fourier transform converts a signal from its original domain (often time or space) to a representation in ...
is used.
In graph theory
In
graph theory
In mathematics and computer science, graph theory is the study of ''graph (discrete mathematics), graphs'', which are mathematical structures used to model pairwise relations between objects. A graph in this context is made up of ''Vertex (graph ...
, a
graph or
digraph whose
adjacency matrix is circulant is called a
circulant graph/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
External links
*
IPython Notebook demonstrating properties of circulant matrices
{{Authority control
Numerical linear algebra
Matrices (mathematics)
Latin squares
Determinants