construct the minimal polynomial of a Matrix
name; used as a variable
The MinimalPolynomial(A, lambda) function returns a polynomial in lambda that is the minimal polynomial of Matrix A.
The minimal polynomial of A is the polynomial of lowest degree that divides every polynomial which has A as a zero.
The minimal polynomial of A always divides the characteristic polynomial of A.
This function is part of the LinearAlgebra package, and so it can be used in the form MinimalPolynomial(..) only after executing the command with(LinearAlgebra). However, it can always be accessed through the long form of the command by using LinearAlgebra[MinimalPolynomial](..).
A ≔ 3,0,1|−1,2,−1|0,0,2
mp ≔ MinimalPolynomial⁡A,x
P ≔ unapply⁡mp,x
Download Help Document
What kind of issue would you like to report? (Optional)