LinearAlgebra
CharacteristicPolynomial
construct the characteristic polynomial of a Matrix
Calling Sequence
Parameters
Description
Examples
References
CharacteristicPolynomial(A, lambda)
A
-
Matrix
lambda
name; used as a variable
The CharacteristicPolynomial(A, lambda) function returns the characteristic polynomial in lambda that has the eigenvalues of Matrix A as its roots (all multiplicities respected).
This polynomial is the determinant of I⁢λ−A, where I is the identity Matrix with dimension(A).
When the input is an integer Matrix, the LinearAlgebra:-Modular:-IntegerCharacteristicPolynomial routine is used. Note: The IntegerCharacteristicPolynomial routine uses a probabilistic approach that achieves great gains for structured systems. Information on controlling the probabilistic behavior can be found in _EnvProbabilistic.
This function is part of the LinearAlgebra package, and so it can be used in the form CharacteristicPolynomial(..) only after executing the command with(LinearAlgebra). However, it can always be accessed through the long form of the command by using LinearAlgebra[CharacteristicPolynomial](..).
with⁡LinearAlgebra:
M≔1,0,0|1,1,0|0,3,2
M≔110013002
CharacteristicPolynomial⁡M,x
x3−4⁢x2+5⁢x−2
solve⁡,x
2,1,1
Eigenvalues⁡M,output=list
Abdeljaoued, J. "The Berkowitz Algorithm, Maple and Computing the Characteristic Polynomial in an Arbitrary Commutative Ring." MapleTech Vol. 4 No. 3. Birkhauser, (1997): 21-32.
De Boor, C. "An Empty Exercise." ACM SIGNUM Newsletter, Vol. 25 No. 2. (1990): 2-6.
See Also
LinearAlgebra[CharacteristicMatrix]
LinearAlgebra[Eigenvalues]
LinearAlgebra[IdentityMatrix]
LinearAlgebra[MinimalPolynomial]
Download Help Document