r/LinearAlgebra • • 4d ago

Minimal Polynomial: Why?

Hi!! I’m currently in my second college linear algebra course. I started the semester out rough and honestly it’s still not going great. I’ve been able to fill in most of the gaps of my knowledge but I do not get the minimal polynomials. How do you find it? If we’re trying to analyze eigenvalues and eigenvectors, why not use the characteristic polynomial? The textbook we are using is Linear Algebra Done Right by Sheldon Axler; it does not feel like I’m doing it right.
Does anyone have any insight about the purpose of the minimal polynomial and where it differs from the characteristic polynomial?

10 Upvotes

16 comments sorted by

6

u/Previous_Bar7890 4d ago

The collection of polynomials that annihilates a given matrix form a structured set called “ideal”. Now the polynomial ring over any field is a principle ideal domain. Minimal polynomial is the generator for that ideal. This is why, it is preferred over a characteristic polynomial. Also it gives you diagonalizibility for free. A matrix is diagonalisable iff it’s minimal polynomial is a product of distinct factors.

5

u/Agile-Monitor1006 4d ago

i dont think explaining this with ring theory would help someone going through a second lin alg class

5

u/MeasureDoEventThing 4d ago

The first three sentences are just a complicated way of saying that the minimal polynomial is the GCD of polynomials the matrix is a root of (generator of a principal ideal is just GCD of elements).

Also, "its", not "it's", and "principal ideal", not "principle ideal".

1

u/mH48124 4d ago

回りくどいと思うか、進んだ知識の手掛かりと思うかは読む人次第。

5

u/Affectionate-Baby248 4d ago

The minimal polynomial of a matrix A is the least degree polynomial P (complex coefficients) such that P(A)=0. The Cayley-Hamilton theorem tells you that the minimal polynomial divides the characteristic polynomial, and it turns out that for a diagonalizable matrix A, the minimal polynomial is precisely the product of the distinct linear factors of the characteristic polynomial. The way to understand this is by first understanding why a diagonal matrix has this as its minimal polynomial, and then it directly follows.

4

u/BenjaminGal 4d ago edited 4d ago

Adding on the great answers others have given, I suggest that OP, if you have the time, can further take a look at Jordan Normal Form. They are the generalization of diagonalization and closely related to the minimal polynomial.

3

u/schro98729 4d ago edited 4d ago

It's interesting that for ANY square matrix whether it's diagonalizable or not, you can take powers of that matrix, combine them with the right scalars , and make them sum to zero.

Naively, because an nxn matrix lives in an n2 space, you might think you need powers all the way up to An^2 to force a linear dependence. The Cayley Hamilton theorem says you never need a power higher than n.

Once factorized you can contruct smaller polynomials from the factored form of your characteristic polynomial.

I think the scalar characteristic polynomial is important to know but its even more powerful to think about it in terms of matrices.

2

u/schro98729 4d ago edited 4d ago

I think the hard part is realizing that you can find it the same way you've been taught to diagonalize a matrix with

Det(A-Lambda 1)=0

the issue is that you shouldn't glue yourself to thinking about eigenvectors because these matrices aren't always diagonalizable.

If a square matrix has n distinct evals then the minimal polynomial is the characteristic.

3

u/DailyDrillsApp 4d ago

A small example made it click for me. Take A = [[2,0],[0,2]] and B = [[2,1],[0,2]]. Both have characteristic polynomial (x-2)2, so it can't tell them apart. But A - 2I is already the zero matrix, so A's minimal polynomial is just x - 2. For B, B - 2I = [[0,1],[0,0]] isn't zero, while (B - 2I)2 is, so B's minimal polynomial is (x-2)2. That repeated factor is exactly why B isn't diagonalizable and A is.

Finding it: the minimal polynomial divides the characteristic polynomial and has the same roots (every eigenvalue shows up at least once), so there are only a few candidates. Try them from lowest degree up and take the first one that gives the zero matrix. E.g. C = [[3,1,0],[0,3,0],[0,0,5]] has characteristic polynomial (x-3)2 (x-5). (C - 3I)(C - 5I) isn't zero, but (C - 3I)2 (C - 5I) is, so that's the minimal polynomial.

As for why Axler bothers: it's defined just by p(T) = 0, no determinants needed, and its roots are exactly the eigenvalues. His whole approach is to do eigenvalues without determinants (he wrote a paper literally called "Down with Determinants!"), and the minimal polynomial fits that.

2

u/ChoripanTravieso 4d ago

You have already received some very good answers. If you ask me, the most interesting thing about the minimal polynomial is that, if it splits, its roots coincide with the eigenvalues; furthermore, the algebraic multiplicity of an eigenvalue in the minimal polynomial corresponds to the size of the largest Jordan block associated with that eigenvalue. In particular, if the multiplicity of every root is 1, then the largest associated Jordan block is of size 1—which implies that all such blocks are of size 1—and, consequently, the operator is diagonalizable.

1

u/Deep-Comedian2037 4d ago

If you have a real number satisfying x^10=0, then in fact x=0. For matrices this isn’t true. Now every matrix satisfies some characteristic polynomial, so it’s a very natural question to ask if there’s a smaller one, I.e. can we remove some factors.

It’s also directly linked to the structure of the matrix. For a diagonal matrix it basically does look like a real number, so the minimum polynomial has no repeated roots. More generally you can think of a repeated root as looking like a block diagonal matrix. If the root has multiplicity k, then you’ll need a block of size k to encode that.

In particular a matrix is diagonal (over C) if and only if it has a minimum polynomial with no repeated factors.

1

u/Ericskey 4d ago

Start with that the minimal polynomial divides the characteristic polynomial that its roots are the eigenvalues. If all you want is the eigenvalues then you don’t need the minimal polynomial. Look up the Cayley-Hamilton Theorem.

1

u/RezeAspera 3d ago

I want to mention something first , take X an eigenvector associated to an eigenvalue a , take P a polynomial that annihilate the matrix A , then P(A)X=0.X=0 , by replacing P(A) with it's expression you will manage to find that P(a)X=0 which means P(a)=0 (because X isn't zero) .
what we can take from this is that the eigenvalues of a matrix are roots for any polynomial that annihilate the matrix A .
the minimal polynomial is the monic polynomial that annihilate A , and it's degree is the smallest , we can verify that it divides any polynomial that annihilates A .
So the Key thing is it's degree is the smallest out of all non zero polynomials that annihilates A .
but we care about it for many reasons, to check if A is diagonalisable ( primary decomposition theorem says that if gcd(P,Q)=1 then Null ( (PQ)(A) = Null(P(A))(+) Null(Q(A)) , so if the minimal polynomial doesn't have any repeated roots ( per example m=(X-1)(X-2)(X-3) , then V=Ker(0)=Ker(m(A)) =Ker(A-1I)(+)Ker(A-2I)(+)Ker(A-3I) which implies that A is diagonalisable )
to calculate the powers of A , with euclidian division of X^n by m , X^n=Qm +R , with degR <degm , we know by evaluating the expression with A , the term Qm(A) vanishes , to calculate R we'll start by overestimating the degree of R to deg(m)-1 ,the determine the coefficients of R , and deg(m) is the smallest degree to overestimate with
speaking of powers ,
there's a stronger version of trigonalisation called jordanisation , and the minimal polynomial sometimes helps with reducing the time needed to calculate that (sometimes with the characteristic polynomial , your space decomposition will have a term Ker( (A-aI)^q)) , but with minimal polynomial you would find Ker( (A-aI)^p)) instead where p is considerably smaller than q , and that's relevant as you'll search less through the subspaces for vectors to complete your basis with ) .

1

u/jeffsuzuki 2d ago

A few reasons:

First, the characteristic polynomial of a n by n matrix is always an nth degree polynomial. But any matrix you run into in the real is going to be at least 5000 by 5000, so you're committing to working with a high degree polynomial. The minimal polynomial could have a lower degree (and if there are repeated eigenvalues, it will certainly have a lower degree).

Second, you can find the minimal polynomial using ordinary matrix multiplication, while the characteristic polynomial requires finding the determinant (which Axler is categorically opposed to, at least in an intro course). I'm with Axler here: if you find the determinant using the algorithm everyone teaches (the cofactor method), you're using an algorithm with factorial complexity. (The right way is to do an LU-decomposition)

While it won't always find the minimal polynomial, it's possible to break the eigenvalue problem down into finding a sequence of quasiminimal polynomials:

https://www.youtube.com/watch?v=tos55TwU9Ko&list=PLKXdxQAT3tCtmnqaejCMsI-NnB7lGEj5u&index=57

1

u/IssaSneakySnek 1d ago

algebraic multiplicity for an eigenvalue λ of A is the degree k of the power of (s-λ)^k in the characteristic polynomial p_A(s)

the geometric multiplicity of λ is the dimension of the eigenspace ker(A-λI).

these are not always equal.

define the Weyr characteristic w_p = rank(A-λI)^(p-1) - rank(A-λI)^p for p = 1,2,3,…,n+1. For some k, w_k>0 and w_k+1 = 0. We call this k the index of λ.

The minimal polynomial divides the characteristic polynomial so each factor is a divisor of the algebraic multiplicity. The power of each factor (s-λ) in the minimal polynomial is the index of λ.

That is m_A(s) = product (s-λ)^k

where the product runs over each eigenvalue of A and k is the index of that eigenvalue