linalg(deprecated)
minpoly
compute the minimum polynomial of a matrix
Calling Sequence
Parameters
Description
Examples
minpoly(A, x)
A
-
square matrix
x
name
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.
with⁡linalg:
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
divide⁡p,m
true
See Also
linalg(deprecated)[charpoly]
LinearAlgebra
Download Help Document