In mathematics, the Samuelson–Berkowitz algorithm efficiently computes the
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
matrix whose entries may be elements of any unital
commutative ring
In mathematics, a commutative ring is a Ring (mathematics), ring in which the multiplication operation is commutative. The study of commutative rings is called commutative algebra. Complementarily, noncommutative algebra is the study of ring prope ...
. Unlike the
Faddeev–LeVerrier algorithm
In mathematics (linear algebra), the Faddeev–LeVerrier algorithm is a recursive method to calculate the coefficients of the characteristic polynomial p_A(\lambda)=\det (\lambda I_n - A) of a square matrix, , named after Dmitry Konstantinovich ...
, it performs no divisions, so may be applied to a wider range of algebraic structures.
Description of the algorithm
The Samuelson–Berkowitz algorithm applied to a matrix
produces a vector whose entries are the coefficient of the characteristic polynomial of
. It computes this coefficients vector recursively as the product of a
Toeplitz matrix
In 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 Toeplitz matrix:
:\qquad\begin
a & ...
and the coefficients vector an
principal submatrix.
Let
be an
matrix partitioned so that
:
The ''first principal submatrix'' of
is the
matrix
. Associate with
the
Toeplitz matrix
In 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 Toeplitz matrix:
:\qquad\begin
a & ...
defined by
:
if
is
,
:
if
is
,
and in general
:
That is, all super diagonals of
consist of zeros, the main diagonal consists of ones, the first subdiagonal consists of
and the
th subdiagonal
consists of
.
The algorithm is then applied recursively to
, producing the Toeplitz matrix
times the characteristic polynomial of
, etc. Finally, the characteristic polynomial of the
matrix
is simply
. The Samuelson–Berkowitz algorithm then states that the vector
defined by
:
contains the coefficients of the characteristic polynomial of
.
Because each of the
may be computed independently, the algorithm is highly
parallelizable
In mathematics, a differentiable manifold M of dimension ''n'' is called parallelizable if there exist Smooth function, smooth vector fields
\
on the manifold, such that at every point p of M the tangent vectors
\
provide a Basis of a vector space, ...
.
References
*
*
*
{{DEFAULTSORT:Samuelson-Berkowitz algorithm
Linear algebra
Polynomials
Numerical linear algebra