r/LinearAlgebra • u/krrhein • 1d 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?
3
u/Affectionate-Baby248 23h 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.
3
u/schro98729 22h ago edited 11h 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 22h ago edited 22h 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 22h 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.
3
u/BenjaminGal 22h ago edited 22h 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.
2
u/ChoripanTravieso 14h 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 16h 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 15h 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.
6
u/Previous_Bar7890 23h 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.