up previous next
CharPoly

characteristic polynomial of a matrix

Syntax
CharPoly(M: MAT, X: RINGELEM): RINGELEM

Description
This function returns the characteristic polynomial of M , square matrix, in the indeterminate X .

See also MinPoly .

Example
/**/  Use R ::= QQ[x];
/**/  CharPoly(matrix([[1,2,3],[4,5,6],[7,8,9]]), x);
x^3 -15*x^2 -18*x

See Also