MTM
poly
compute the characteristic polynomial of a matrix
Calling Sequence
Parameters
Description
Examples
poly(A)
poly(A,x)
A
-
matrix, vector, array, or scalar
x
(optional) name
The function poly(A,x) returns the characteristic polynomial in x that has the eigenvalues of the matrix A as its roots (all multiplicities respected).
This polynomial is the determinant of x*I - A, where I is the identity matrix with the dimension of A.
If the parameter x is omitted, then the name x is used.
withMTM:
A≔Matrix1,2,1,2,4,2,2,8,1
A≔121242281
polyA
x3−6x2−13x
polyA,z
z3−6z2−13z
See Also
LinearAlgebra[CharacteristicPolynomial]
MTM[eig]
MTM[jordan]
MTM[svd]
Download Help Document