Samuelson–Berkowitz algorithm explained
In mathematics, the Samuelson–Berkowitz algorithm efficiently computes the characteristic polynomial of an
matrix whose entries may be elements of any unital
commutative ring. Unlike the
Faddeev–LeVerrier algorithm, 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 and the coefficients vector an
principal submatrix.
Let
be an
matrix partitioned so that
A0=\left[\begin{array}{c|c}
a1,1&R\ \hline
C&A1
\end{array}\right]
The first principal submatrix of
is the
matrix
. Associate with
the
Toeplitz matrix
defined by
T0=\left[\begin{array}{c}
1\
-a1,1\end{array}\right]
if
is
,
T0=\left[\begin{array}{cc}
1&0\
-a1,1&1\\
-RC&-a1,1\end{array}\right]
if
is
,and in general
T0=\left[\begin{array}{ccccc}
1&0&0&0& … \
-a1,1&1&0&0& … \\
-RC&-a1,1&1&0& … \\
-RA1C&-RC&-a1,1&1& … \\
&-RA1C&-RC&-a1,1& … \\
\vdots&\vdots&\vdots&\vdots&\ddots
\end{array}\right]
That is, all super diagonals of
consist of zeros, the main diagonal consists of ones, the first subdiagonal consists of
and the
th subdiagonalconsists 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.
References
- Stuart J. . Berkowitz . On computing the determinant in small parallel time using a small number of processors . Information Processing Letters . 18 . 3 . 30 March 1984 . 147–150 . 10.1016/0020-0190(84)90018-8.
- Cook . Stephen . Soltys . Michael . The Proof Complexity of Linear Algebra . Annals of Pure and Applied Logic . 130 . 1–3 . December 2004 . 277–323 . 10.1016/j.apal.2003.10.018 . 10.1.1.308.6521 .
- Michael . Kerber . Division-Free computation of sub-resultants using Bezout matrices . Tech. Report MPI-I-2006-1-006 . Max-Planck-Institut für Informatik . Saarbrucken . May 2006 . PS.