MatrixMinimalPolynomial¶
The monic polynomial of least degree in the given variable that annihilates a square matrix.
A scalar multiple of the identity has a degree-1 minimal polynomial even though its characteristic polynomial is degree 2.
Matrices with symbolic entries return the expanded polynomial.