LinearAlgebra
MinimalPolynomial
construct the minimal polynomial of a Matrix
Calling Sequence
Parameters
Description
Examples
MinimalPolynomial(A, lambda)
A
-
Matrix
lambda
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](..).
with⁡LinearAlgebra:
A≔3,0,1|−1,2,−1|0,0,2
A≔3−100201−12
mp≔MinimalPolynomial⁡A,x
mp≔x2−5⁢x+6
divide⁡CharacteristicPolynomial⁡A,x,mp
true
P≔unapply⁡mp,x
P≔x↦x2−5⋅x+6
P⁡A
000000000
See Also
LinearAlgebra[CharacteristicPolynomial]
Download Help Document