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 characteristic polynomial of an endomorphism of a finite-dimensional vector space is the characteristic polynomial of the matrix of that endomorphism over any basis (that is, the characteristic polynomial does not depend on the choice of a basis). The characteristic equation, also known as the determinantal equation,[1][2][3] is the equation obtained by equating the characteristic polynomial to zero.
In spectral graph theory, the characteristic polynomial of a graph is the characteristic polynomial of its adjacency matrix.[4]
Motivation
[edit]Eigenvalues and eigenvectors play a fundamental role in linear algebra, since, given a linear transformation, an eigenvector is a vector whose direction is not changed by the transformation, and the corresponding eigenvalue is the measure of the resulting change of magnitude of the vector.
More precisely, suppose the transformation is represented by a square matrix Then an eigenvector
and the corresponding eigenvalue
must satisfy the equation
or, equivalently (since
),
where
is the identity matrix, and
(although the zero vector satisfies this equation for every
it is not considered an eigenvector).
It follows that the matrix must be singular, and its determinant
must be zero.
In other words, the eigenvalues of A are the roots of
which is a monic polynomial in x of degree n if A is a n×n matrix. This polynomial is the characteristic polynomial of A.
Formal definition
[edit]Consider an matrix
The characteristic polynomial of
denoted by
is the polynomial defined by[5]
where
denotes the
identity matrix.
Some authors define the characteristic polynomial to be That polynomial differs from the one defined here by a sign
so it makes no difference for properties like having as roots the eigenvalues of
; however the definition above always gives a monic polynomial, whereas the alternative definition is monic only when
is even.
Examples
[edit]To compute the characteristic polynomial of the matrix
the determinant of the following is computed:
and found to be
the characteristic polynomial of
Another example uses hyperbolic functions of a hyperbolic angle φ.
For the matrix take
Its characteristic polynomial is
Properties
[edit]The characteristic polynomial of a
matrix
is monic (its leading coefficient is
) and its degree is
The most important fact about the characteristic polynomial was already mentioned in the motivational paragraph: the eigenvalues of
are precisely the roots of
(this also holds for the minimal polynomial of
but its degree may be less than
). All coefficients of the characteristic polynomial are polynomial expressions in the entries of the matrix. In particular its constant coefficient of
is
the coefficient of
is 1, and the coefficient of
is tr(−A) = −tr(A), where tr(A) is the trace of
(The signs given here correspond to the formal definition given in the previous section; for the alternative definition these would instead be
and (−1)n – 1 tr(A) respectively.[6])
For a matrix
the characteristic polynomial is thus given by
Using the language of exterior algebra, the characteristic polynomial of an matrix
may be expressed as
where
is the trace of the
th exterior power of
which has dimension
This trace may be computed as the sum of all principal minors of
of size
The recursive Faddeev–LeVerrier algorithm computes these coefficients more efficiently [clarification needed].
When the characteristic of the field of the coefficients is each such trace may alternatively be computed as a single determinant, that of the
matrix,
The Cayley–Hamilton theorem states that replacing by
in the characteristic polynomial (interpreting the resulting powers as matrix powers, and the constant term
as
times the identity matrix) yields the zero matrix. Informally speaking, every matrix satisfies its own characteristic equation. This statement is equivalent to saying that the minimal polynomial of
divides the characteristic polynomial of
Two similar matrices have the same characteristic polynomial. The converse however is not true in general: two matrices with the same characteristic polynomial need not be similar.
The matrix and its transpose have the same characteristic polynomial.
is similar to a triangular matrix if and only if its characteristic polynomial can be completely factored into linear factors over
(the same is true with the minimal polynomial instead of the characteristic polynomial). In this case
is similar to a matrix in Jordan normal form.
Characteristic polynomial of a product of two matrices
[edit]If and
are two square
matrices then characteristic polynomials of
and
coincide:
If is a non-zero generalized eigenvalue of
of algebraic multiplicity
, and
belongs to the kernel of
, then
belongs to the kernel of
, so the non-zero generalized eigenspaces of
and
have the same dimension. Therefore, since
and
are both
, the remaining generalized eigenspaces, with eigenvalue 0, have the same dimension. Therefore
and
have the same characteristic polynomial, because all generalized eigenvalues are the same, with the same algebraic multiplicities.
More generally, if is a matrix of order
and
is a matrix of order
then
is
and
is
matrix, and one has
To prove this, one may suppose by exchanging, if needed,
and
Then, by bordering
on the bottom by
rows of zeros, and
on the right, by,
columns of zeros, one gets two
matrices
and
such that
and
is equal to
bordered by
rows and columns of zeros. The result follows from the case of square matrices, by comparing the characteristic polynomials of
and
Characteristic polynomial of Ak
[edit]If is an eigenvalue of a square matrix
with eigenvector
then
is an eigenvalue of
because
The multiplicities can be shown to agree as well, and this generalizes to any polynomial in place of :[7]
Theorem— Let be a square
matrix and let
be a polynomial. If the characteristic polynomial of
has a factorization
then the characteristic polynomial of the matrix
is given by
That is, the algebraic multiplicity of in
equals the sum of algebraic multiplicities of
in
over
such that
In particular,
and
Here a polynomial
for example, is evaluated on a matrix
simply as
The theorem applies to matrices and polynomials over any field or commutative ring.[8]
However, the assumption that has a factorization into linear factors is not always true, unless the matrix is over an algebraically closed field such as the complex numbers.
This proof only applies to matrices and polynomials over complex numbers (or any algebraically closed field).
In that case, the characteristic polynomial of any square matrix can be always factorized as
where
are the eigenvalues of
possibly repeated.
Moreover, the Jordan decomposition theorem guarantees that any square matrix
can be decomposed as
where
is an invertible matrix and
is upper triangular
with
on the diagonal (with each eigenvalue repeated according to its algebraic multiplicity).
(The Jordan normal form has stronger properties, but these are sufficient; alternatively the Schur decomposition can be used, which is less popular but somewhat easier to prove).
Let
Then
For an upper triangular matrix
with diagonal
the matrix
is upper triangular with diagonal
in
and hence
is upper triangular with diagonal
Therefore, the eigenvalues of
are
Since
is similar to
it has the same eigenvalues, with the same algebraic multiplicities.
Secular function and secular equation
[edit]Secular function
[edit]The term secular function has been used for what is now called characteristic polynomial (in some literature the term secular function is still used). The term comes from the fact that the characteristic polynomial was used to calculate secular perturbations (on a time scale of a century, that is, slow compared to annual motion) of planetary orbits, according to Lagrange's theory of oscillations.
Secular equation
[edit]Secular equation may have several meanings.
- In linear algebra it is sometimes used in place of characteristic equation.
- In astronomy it is the algebraic or numerical expression of the magnitude of the inequalities in a planet's motion that remain after the inequalities of a short period have been allowed for.[9]
- In molecular orbital calculations relating to the energy of the electron and its wave function it is also used instead of the characteristic equation.
For general associative algebras
[edit]The above definition of the characteristic polynomial of a matrix with entries in a field
generalizes without any changes to the case when
is just a commutative ring. Garibaldi (2004) defines the characteristic polynomial for elements of an arbitrary finite-dimensional (associative, but not necessarily commutative) algebra over a field
and proves the standard properties of the characteristic polynomial in this generality.
Theoretical complexity: calculation by fast matrix multiplication
[edit]It is possible to calculate the characteristic polynomial in a fast way with the use of fast matrix multiplication algorithms in the time for
slightly above 2.37. Respective algorithms is given by[10].
See also
[edit]References
[edit]- ↑ Guillemin, Ernst (1953). Introductory Circuit Theory. Wiley. pp. 366, 541. ISBN 0471330663.
{{cite book}}: ISBN / Date incompatibility (help) - ↑ Forsythe, George E.; Motzkin, Theodore (January 1952). "An Extension of Gauss' Transformation for Improving the Condition of Systems of Linear Equations" (PDF). Mathematics of Computation. 6 (37): 18–34. doi:10.1090/S0025-5718-1952-0048162-0. Retrieved 3 October 2020.
- ↑ Frank, Evelyn (1946). "On the zeros of polynomials with complex coefficients" (PDF). Bulletin of the American Mathematical Society. 52 (2): 144–157. doi:10.1090/S0002-9904-1946-08526-2.
- ↑ "Characteristic Polynomial of a Graph – Wolfram MathWorld". Retrieved August 26, 2011.
- ↑ Steven Roman (1992). Advanced linear algebra (2 ed.). Springer. p. 137. ISBN 3540978372.
- ↑ Theorem 4 in these lecture notes
- ↑ Horn, Roger A.; Johnson, Charles R. (2013). Matrix Analysis (2nd ed.). Cambridge University Press. pp. 108–109, Section 2.4.2. ISBN 978-0-521-54823-6.
- ↑ Lang, Serge (1993). Algebra. New York: Springer. p.567, Theorem 3.10. ISBN 978-1-4613-0041-0. OCLC 852792828.
- ↑ "secular equation". Retrieved January 21, 2010.
- ↑ Neiger, Vincent; Pernet, Clément (December 2021). "Deterministic computation of the characteristic polynomial in the time of matrix multiplication". Journal of Complexity. 67. arXiv:2010.04662. doi:10.1016/j.jco.2021.101572.
- T.S. Blyth & E.F. Robertson (1998) Basic Linear Algebra, p 149, Springer ISBN 3-540-76122-5 .
- John B. Fraleigh & Raymond A. Beauregard (1990) Linear Algebra 2nd edition, p 246, Addison-Wesley ISBN 0-201-11949-8 .
- Garibaldi, Skip (2004), "The characteristic polynomial and determinant are not ad hoc constructions", American Mathematical Monthly, 111 (9): 761–778, arXiv:math/0203276, doi:10.2307/4145188, JSTOR 4145188, MR 2104048
- Werner Greub (1974) Linear Algebra 4th edition, pp 120–5, Springer, ISBN 0-387-90110-8 .
- Paul C. Shields (1980) Elementary Linear Algebra 3rd edition, p 274, Worth Publishers ISBN 0-87901-121-1 .
- Gilbert Strang (1988) Linear Algebra and Its Applications 3rd edition, p 246, Brooks/Cole ISBN 0-15-551005-3 .