compute the minimum polynomial of a matrix
Important: The linalg package has been deprecated. Use the superseding command, LinearAlgebra[MinimalPolynomial], instead.
- For information on migrating linalg code to the new packages, see examples/LinearAlgebraMigration.
The procedure minpoly(A, x) computes the minimum polynomial of the matrix A in x. The minimum polynomial is the polynomial of lowest degree which annihilates A.
The minimum polynomial will always divide the characteristic polynomial.
The command with(linalg,minpoly) allows the use of the abbreviated form of this command.
A ≔ array⁡2,1,0,0,0,2,0,0,0,0,1,1,0,0,−2,4:
m ≔ minpoly⁡A,x
m ≔ x3−7⁢x2+16⁢x−12
p ≔ expand⁡charpoly⁡A,x
p ≔ x4−9⁢x3+30⁢x2−44⁢x+24
Download Help Document
What kind of issue would you like to report? (Optional)
Thank you for submitting feedback on this help document. Your feedback will be used
to improve Maple's help in the future.