Linear-Algebra-Done-Right · Unit 11 · Video 4 · Interactive Practice
The Minimal Polynomial: Existence, Uniqueness and Computation
IKey Formulas
Statement
Name
Hypotheses
a0+a1z+⋯+am−1zm−1+zm (leading coefficient 1); a nonzero p divided by its leading coefficient is monic
Monic polynomial
p∈P(F)
There is a unique monic p of smallest degree with p(T)=0, and degp≤dimV
Minimal polynomial
V finite-dimensional, T∈L(V)
Smallest m≥1 with c0I+c1T+⋯+cm−1Tm−1=−Tm solvable gives p(z)=c0+c1z+⋯+cm−1zm−1+zm
Direct method
V finite-dimensional, V={0}, T∈L(V)
If c0v+c1Tv+⋯+cn−1Tn−1v=−Tnv has a unique solution, then p(z)=c0+c1z+⋯+cn−1zn−1+zn
One-vector method
n=dimV≥1, T∈L(V), v=0
Key Insight: The word monic is what makes the minimal polynomial unique: 2p also sends T to 0 with the same degree. The easy argument from dimL(V)=(dimV)2 bounds the degree by (dimV)2; the theorem cuts this to dimV.
IIVisualization 1 — One Vector Recovers the Polynomial
For the video's operator on F5, changing v changes every vector Tkv, yet the solved coefficients never change.
IIIVisualization 2 — When One Vector Is Not Enough
The one-vector method finds p exactly when v,Tv,T2v are independent; the direct method always finds it.
💡 When degp<dimV, as for I and M, no vector can work: an independent list v,Tv,…,Tn−1v would force degp=n.
IVQuiz Questions
Problem 1 · The Cyclic Shift
Given:C∈L(F3) defined by C(x1,x2,x3)=(x3,x1,x2). Use the one-vector method with v=e1=(1,0,0) to find the minimal polynomial of C.
✅ Correct! The list e1,Ce1,C2e1=e1,e2,e3 is linearly independent, and C3e1=e1 gives c0=−1, c1=c2=0.
❌ Check the sign. The equation is c0v+c1Cv+c2C2v=−C3v=−e1, so c0=−1 and p(z)=−1+z3. Indeed C3+I=2I=0.
❌ Not quite.p(z)=z−1 would mean C−I=0, i.e. C=I, but Ce1=e2=e1. Since e1,Ce1,C2e1 are independent, the degree is exactly 3.
❌ Not quite.C2+C+I sends e1 to e3+e2+e1=0. A monic polynomial of degree less than 3 cannot kill e1, because e1,Ce1,C2e1 are independent.
The list e1,Ce1,C2e1=e1,e2,e3 is the standard basis, so it is linearly independent and the system
c0e1+c1e2+c2e3=−C3e1=−e1
has the unique solution c0=−1, c1=c2=0. Hence the minimal polynomial is p(z)=−1+z3=z3−1.
Check: applying C three times returns every coordinate to its place, so C3=I and C3−I=0.
Problem 2 · A Non-Unique Solution
Given:P∈L(F3) defined by P(x1,x2,x3)=(x1+x3,x2,0), which satisfies P2=P. A student takes v=e3 and finds Pv=P2v=P3v=e1. Find the minimal polynomial of P.
✅ Correct!P2−P=0, and no monic polynomial of degree 1 works because P is not a scalar multiple of I.
❌ Close, but not smallest.c0=0, c1=0, c2=−1 is one of infinitely many solutions of c0e3+(c1+c2)e1=−e1. The polynomial z3−z2 does send P to 0, since P3−P2=P−P=0, but a non-unique solution says nothing about the smallest degree, and P2−P=0 already has degree 2.
❌ Not quite.P−I=0 would mean P=I, but Pe3=e1=e3.
❌ Close, but not smallest.c0=0, c1=−1, c2=0 also solves the student's system, and P3−P=P−P=0 holds. Because the solution is not unique, the one-vector method does not apply; P2−P=0 has smaller degree.
Show solution
The student's system is c0e3+c1e1+c2e1=−e1, i.e. c0=0 and c1+c2=−1: infinitely many solutions, because v,Pv,P2v=e3,e1,e1 is linearly dependent. So the one-vector method does not apply to this v; use the direct method.
m=1:c0I=−P would make P a scalar multiple of I. But Pe3=e1 is not a multiple of e3. No solution.
m=2:c0I+c1P=−P2=−P is solved by c0=0, c1=−1. Since m=1 failed, this solution is the only one.
So the minimal polynomial is p(z)=0−z+z2=z2−z, of degree 2<3=dimF3. Both cubic options also send P to 0, but they are not of smallest degree.
Problem 3 · The Direct Method Stops Early
Given:A∈L(F3) with matrix M(A)=100110001 with respect to the standard basis. Find the smallest m for which c0I+⋯+cm−1Am−1=−Am is solvable, and the minimal polynomial of A.
What is the smallest m?
What is the minimal polynomial?
✅ Correct!A2−2A+I=0, and m=1 fails because A is not a scalar multiple of I.
❌ Not quite.dimV=3 is only an upper bound for the degree. Test m=2 first: it already has a solution.
❌ Not quite.m=1 needs c0I=−A, so A would be a scalar multiple of I; the entry 1 in row 1, column 2 of M(A) rules this out.
❌ Not quite.9=(dimV)2 is the easy bound from dimL(F3)=9. The theorem guarantees a solution for some m≤3, and here m=2 works.
❌ Not quite.A2−I has entry 2 in row 1, column 2, so it is not the zero operator.
❌ Close, but not smallest. This polynomial is (z−1)(z2−2z+1), so it does send A to 0, but its degree 3 is not the smallest.
❌ Check the signs. The system gives c0=1, c1=−2, so p(z)=1−2z+z2. With the signs flipped, A2+2A+I has diagonal entries 4.
Show solution
First compute M(A2)=100210001.
m=1:c0I=−A compares row 1, column 2: 0=−1. No solution.
and every other entry is 0=0. So the smallest m is 2, and the minimal polynomial is
p(z)=1−2z+z2=z2−2z+1.
Check:A2−2A+I=1−2+1002−21−2+10001−2+1=0. Because degp=2<3, the one-vector method fails for every nonzero v here.
Problem 4 · A Shifted Cyclic Operator
Given:S∈L(F3) defined by S(x1,x2,x3)=(x1+x3,x1+x2,x2+x3), that is, S=C+I for the cyclic shift C of Problem 1. Find the minimal polynomial of S.
✅ Correct! The list e1,Se1,S2e1 is linearly independent, and c0=−2, c1=3, c2=−3. As a check, (S−I)3=C3=I.
❌ Not quite. That is the minimal polynomial of C, not of S. Applied to e1: S3e1−e1=(2,3,3)−(1,0,0)=0.
❌ Close, but… This is (z−1)3, and (S−I)3=C3=I, not 0. Subtract one more I.
❌ Not quite. This is (z+1)3−1, which substitutes C=S+I instead of C=S−I. Applied to e1 it gives (2,3,3)+(3,6,3)+(3,3,0)=(8,12,6)=0.
The vectors (1,0,0), (1,1,0), (1,2,1) are linearly independent (their last nonzero coordinates sit in different positions). Solve c0e1+c1Se1+c2S2e1=−S3e1:
third coordinate: second coordinate: first coordinate: c2=−3,c1+2c2=−3⇒c1=3,c0+c1+c2=−2⇒c0=−2.
The solution is unique, so the minimal polynomial is p(z)=−2+3z−3z2+z3=z3−3z2+3z−2.