CharacteristicPolynomial[m, x]
gives the characteristic polynomial for the matrix m.

CharacteristicPolynomial[{m, a}, x]
gives the generalized characteristic polynomial with respect to a.


  • m must be a square matrix.
  • It can contain numeric or symbolic entries.
  • is essentially equivalent to Det[m-id x] where id is the identity matrix of appropriate size. »
  • CharacteristicPolynomial[{m, a}, x] is essentially Det[m-a x]. »
New in 5 | Last modified in 6
New to Mathematica? Find your learning path »
Have a question? Ask support »