10.6  The Rational Canonical Form

Everything so far has needed the characteristic polynomial to split. Section 5 removed that need from the building block: a companion matrix C(p) exists for every monic p, and it is the matrix of an operator on a cyclic subspace. What is left is to cut an arbitrary space into cyclic pieces. This section does that, over an arbitrary field, and the result is a genuine canonical form: a list of polynomials attached to T, from which the matrix is written down mechanically, and which two operators share exactly when they are similar. Along the way we learn that similarity does not change if the field is enlarged.

10.6.1. The plan

The goal, stated before its parts are named:

Every operator on a non-zero finite-dimensional space decomposes the space into cyclic subspaces Z(v1;T),…,Z(vr;T) whose annihilators form a divisibility chain d1∣d2∣⋯∣dr=mT, and that chain is determined by T.

In the adapted basis the matrix is then C(d1)⊕⋯⊕C(dr), by Theorem 10.5.2 (b) and Theorem 9.1.5. So the whole content is the decomposition, and it is the hardest theorem of the chapter. The route has three steps, and each one is a tool we already have.

  • Step 1 (one prime at a time). Chapter 9’s primary decomposition splits V=V1⊕⋯⊕Vk, where mT|Vi=piei is a power of a single monic irreducible (Theorem 9.8.1). Nothing more is needed from the general theory.
  • Step 2 (inside one prime power). On a piece with mT=pe, the operator P=p(T) is nilpotent, and the structure theorem for nilpotent operators was proved by induction, with imN as the smaller space to which the hypothesis applies (Theorem 10.2.3). We run the same induction with P in place of N and cyclic subspaces Z(u;T) in place of the spans of chains. The outcome is a decomposition into cyclic pieces whose annihilators are powers pe1≥pe2≥… of the one prime.
  • Step 3 (regroup across primes). A cyclic piece for p1 and a cyclic piece for p2 can be merged: the sum of their generators has annihilator the product, by Lemma 10.5.4. Merging the largest piece of every prime gives dr=mT, the next largest give dr−1, and so on; the divisibility chain is automatic because within one prime the exponents decrease.

Uniqueness is a count, exactly as for the nilpotent case: the dimensions dim⁡kerp(T)k are visible in the decomposition and see nothing but the exponents.

10.6.2. One prime at a time

Here is Step 2. Compare it with Theorem 10.2.3, which is the special case p=x: there the pieces are spanned by Jordan chains u,Nu,…, and here by u,Tu,T2u,….

Theorem 10.6.1 (Cyclic Decomposition for a Single Prime Power)

Let V≠{0} be a finite-dimensional vector space over F, let T∈L(V), and suppose mT=pe,p∈F[x] monic irreducible of degree d,e≥1. Then there are an integer m≥1, vectors u1,…,um∈V and exponents e=k1≥k2≥⋯≥km≥1 such that V=Z(u1;T)⊕Z(u2;T)⊕⋯⊕Z(um;T),mT,ui=pki(1≤i≤m). In particular dim⁡V=d(k1+⋯+km).

Idea. Induction on dim⁡V, with the smaller object found inside: W=imp(T). It is T-invariant, the minimal polynomial of T|W is pe−1, and dim⁡W<dim⁡V because p(T) is not injective. So W already breaks into cyclic pieces Z(wi;T). Each is one step short of what we want: wi=p(T)ui for some ui∈V, and Z(ui;T) is a longer piece, with annihilator p times that of wi. What is still missing is counted by U=kerp(T), on which T has irreducible minimal polynomial p, so that U is a direct sum of cyclic pieces of dimension d each and no proper cyclic piece inside one of them exists — that is the case e=1, settled first. The ends pki−1(T)ui of the lengthened pieces sit inside U; complete them to a decomposition of U, and the extra generators supply the pieces with annihilator p. Then Rank–Nullity makes the dimensions add up exactly, and directness is proved by applying p(T) once, as in the nilpotent case.

Proof. We argue by induction on n=dim⁡V≥1, the statement being: for every field F, every monic irreducible p∈F[x], every e≥1 and every T on a space of dimension n with mT=pe, a decomposition as described exists.

Write P=p(T) and U=kerP, and recall that Z(v;T|V′)=Z(v;T) whenever V′ is a T-invariant subspace containing v, since the two operators agree on v and on everything T produces from it.

The case e=1. Then mT=p is irreducible. For u≠0 we have mT,u∣mT=p (Theorem 10.5.2 (d)) and mT,u≠1, so mT,u=p and dim⁡Z(u;T)=d by Theorem 10.5.2 (a). Two consequences.

Every cyclic piece is minimal. If W⊆Z(u;T) is T-invariant and W≠{0}, pick w∈W with w≠0. Then Z(w;T)⊆W (Proposition 10.5.1 (c)) and dim⁡Z(w;T)=d=dim⁡Z(u;T), so Z(w;T)=Z(u;T) by Theorem 1.6.8, and W=Z(u;T). So the only T-invariant subspaces of Z(u;T) are {0} and Z(u;T).

The pieces fill V. Among all lists u1,…,um of non-zero vectors for which Z(u1;T)+⋯+Z(um;T) is direct, choose one with m as large as possible; this is possible because such a sum has dimension md≤dim⁡V (Theorem 1.7.5). Write S for that sum. If S≠V, pick v∈V∖S. The subspace Z(v;T)∩S is T-invariant (Proposition 9.1.4), lies inside Z(v;T) and does not contain v, so it is {0} by the previous paragraph. Then S+Z(v;T) is direct — a relation c1+⋯+cm+c=0 with cj∈Z(uj;T) and c∈Z(v;T) puts c∈Z(v;T)∩S={0}, and directness of S kills the rest (Theorem 1.7.5) — contradicting the maximality of m. Hence V=Z(u1;T)⊕⋯⊕Z(um;T) with every mT,ui=p, and every ki=1=e.

This settles e=1, and in particular the base case n=1, where mT is linear.

The case e≥2. Let n≥2 and assume the statement for all dimensions less than n.

Step 1. Cyclic pieces inside imP. Put W=imP. Since e≥2, the polynomial p does not annihilate T (else mT=pe would divide p, Theorem 9.5.1), so P≠0 and W≠{0}. Also P is not injective: otherwise Pe=mT(T)=0 would be injective on V≠{0} (Theorem 0.4.3), which is false. So 1≤dim⁡W<n by Theorem 2.3.1. The subspace W is T-invariant (Theorem 6.7.4 (b)), and mT|W=pe−1. Indeed pe−1(T) kills W, because pe−1(T)Pv=mT(T)v=0 for every v; and pe−2(T) does not, because pe−2(T)P≠0 — that operator is pe−1(T), which is non-zero since mT=pe∤pe−1 — so some Pv∈W survives it. Hence mT|W is a monic divisor of pe−1 but not of pe−2, and Lemma 9.5.2 leaves only pe−1. By the induction hypothesis applied to T|W, W=Z(w1;T)⊕⋯⊕Z(wq;T),mT,wi=pli,e−1=l1≥⋯≥lq≥1.

Step 2. Lengthen each piece by one step. Each wi lies in W=imP, so we may choose ui∈V with Pui=wi, for i=1,…,q. Put ki=li+1. Then pki(T)ui=pli(T)wi=0, so mT,ui∣pki; and pli(T)ui≠0, since otherwise pli−1(T)wi=pli(T)ui=0, contradicting mT,wi=pli. By Lemma 9.5.2, mT,ui=pki=pli+1(1≤i≤q).

Step 3. Fill up kerP. Put zi=pli(T)ui for i≤q. Each is non-zero by Step 2, lies in U=kerP because Pzi=pki(T)ui=0, and lies in Z(wi;T), since li≥1 gives zi=pli−1(T)p(T)ui=pli−1(T)wi. Consequently Z(zi;T)⊆Z(wi;T) (Proposition 10.5.1 (b), (c)), so the sum Z(z1;T)+⋯+Z(zq;T) is direct: a vanishing sum of vectors ci∈Z(zi;T)⊆Z(wi;T) forces every ci=0 by the directness of Step 1 (Theorem 1.7.5).

Now U≠{0}, U is T-invariant (Theorem 6.7.4 (b)), and p(T|U)=0 with p irreducible, so mT|U=p as in the case e=1. Among all lists (z1,…,zq,zq+1,…,zs) of non-zero vectors of U extending z1,…,zq and with Z(z1;T)+⋯+Z(zs;T) direct, choose one with s as large as possible; this is possible because each summand has dimension d, by the case e=1 applied to T|U, so sd≤dim⁡U. Let S be that direct sum. If S≠U, pick y∈U∖S. The subspace Z(y;T)∩S is T-invariant (Proposition 9.1.4), lies inside Z(y;T), and does not contain y; by the case e=1, applied to T|U, it is therefore {0}. Then S+Z(y;T) is direct — a relation c1+⋯+cs+c=0 with cj∈Z(zj;T) and c∈Z(y;T) puts c∈Z(y;T)∩S={0}, and directness of S kills the rest (Theorem 1.7.5) — contradicting the maximality of s. Hence U=Z(z1;T)⊕⋯⊕Z(zs;T),mT,zj=p  for every j. Put m=s, and for q<i≤m put ui=zi and ki=1, so that mT,ui=pki for those i as well.

Step 4. The pieces fill V. First count. By Theorem 10.5.2 (a), dim⁡Z(ui;T)=deg⁡pki=dki. Hence ∑i=1mdim⁡Z(ui;T)=∑i=1qd(li+1)+(m−q)d=(∑i=1qdli)+md=dim⁡W+dim⁡U=n, where ∑idli=∑idim⁡Z(wi;T)=dim⁡W by Step 1, md=∑jdim⁡Z(zj;T)=dim⁡U by Step 3, and the last equality is Theorem 2.3.1.

Next, directness. Let y1+⋯+ym=0 with yi∈Z(ui;T), say yi=fi(T)ui (Proposition 10.5.1 (a)). Apply P. For i>q we get Pyi=fi(T)Pui=0, since ui∈U. For i≤q we get Pyi=fi(T)wi∈Z(wi;T). So ∑i=1qfi(T)wi=0, and the directness of Step 1 forces fi(T)wi=0 for every i≤q, that is, pli∣fi (Definition 10.5.2). Write fi=pligi for i≤q; then yi=gi(T)pli(T)ui=gi(T)zi∈Z(zi;T)(i≤q). For i>q, yi∈Z(ui;T)=Z(zi;T) by definition. So the relation y1+⋯+ym=0 is a relation between vectors of the independent subspaces Z(z1;T),…,Z(zm;T) of Step 3, and every yi=0. By Theorem 1.7.5 ((b) ⇒ (a)) the sum ∑iZ(ui;T) is direct, and by the count its dimension is n, so it is all of V (Theorem 1.6.8).

Finally the exponents. We have k1=l1+1=e, the ki with i≤q decrease because the li do, and the remaining ones equal 1≤kq; so after listing the pieces in this order, e=k1≥⋯≥km≥1. The dimension formula dim⁡V=d∑iki is the count above. This completes the induction.

Two sanity checks. For p=x, so that T is nilpotent with mT=xe, the theorem returns Theorem 10.2.3: Z(u;T)=span(u,Tu,…,Tk−1u) is the span of a Jordan chain written backwards, and d=1, so dim⁡V=∑iki. And for e=1 it returns Exercise (C2: Irreducible minimal polynomials): all pieces have dimension d, so d∣dim⁡V.

10.6.3. Invariant factors

Now Steps 1 and 3 of the plan. Merging pieces across different primes is where Lemma 10.5.4 earns its keep.

Theorem 10.6.2 (Cyclic Decomposition Theorem)

Let V≠{0} be a finite-dimensional vector space over F and let T∈L(V). Then there are an integer r≥1, vectors v1,…,vr∈V and monic non-constant polynomials d1,…,dr∈F[x] such that V=Z(v1;T)⊕⋯⊕Z(vr;T),mT,vj=dj, and

  • (a) d1∣d2∣⋯∣dr;
  • (b) dr=mT;
  • (c) d1d2⋯dr=pT; in particular ∑jdeg⁡dj=dim⁡V;
  • (d) there is a finer decomposition V=⨁i,jZ(vij;T) into cyclic subspaces whose annihilators mT,vij are powers of monic irreducibles, and the list of these prime powers, with repetitions, consists exactly of the prime powers occurring in the factorizations of d1,…,dr.

Idea. Run the plan. Primary decomposition gives one piece per prime; Theorem 10.6.1 breaks each piece into cyclic subspaces with annihilators piei1,piei2,…, the exponents decreasing. Arrange these in an array, one row per prime, with the largest exponent of each prime in the first column. Multiplying down a column gives one member of the chain, and the columns are numbered backwards: the first column, which carries the largest exponent of every prime, gives dr=mT; the second gives dr−1; the last gives d1. The chain d1∣⋯∣dr comes out for free, because the exponents in a row decrease from left to right. The generator for a column is the sum of the generators in it, whose annihilator is the product by Lemma 10.5.4.

Proof. Step 1. By Theorem 6.3.5, mT=p1e1⋯pkek with p1,…,pk distinct monic irreducibles and ei≥1; here deg⁡mT≥1 since V≠{0} (Theorem 9.5.1). By Theorem 9.8.1, V=V1⊕⋯⊕Vk with Vi non-zero and T-invariant and mT|Vi=piei.

Step 2. Fix i and apply Theorem 10.6.1 to T|Vi. Since Z(v;T|Vi)=Z(v;T) for v∈Vi, it gives vectors vi1,…,vimi∈Vi and exponents ei=ei1≥⋯≥eimi≥1 with Vi=Z(vi1;T)⊕⋯⊕Z(vimi;T),mT,vij=pieij. Combining with Step 1, V is the direct sum of all the subspaces Z(vij;T): a basis of V is obtained by concatenating bases of the Vi, each of which is a concatenation of bases of its own pieces, so Theorem 1.7.5 ((d) ⇒ (a)) applies.

Step 3. Let r=maximi and, for 1≤j≤r, put j′=r+1−j and dj=∏i:mi≥j′pieij′,vj=∑i:mi≥j′vij′. So dr collects the largest exponent of every prime and d1 the smallest ones still present.

The divisibility chain. The exponent of pi in dj is eij′ if mi≥j′ and 0 otherwise. As j increases, j′ decreases, so this exponent is non-decreasing in j (the exponents ei1≥ei2≥… decrease in the second index, and a 0 is followed only by values ≥0). Hence dj∣dj+1 for every j (Lemma 9.5.2), which is (a). Taking j=r, so j′=1, gives dr=∏ipiei1=∏ipiei=mT, which is (b). Each dj is non-constant: choosing i0 with mi0=r, we have mi0≥j′ for every j, so the factor pi0ei0j′ occurs in dj, with exponent at least 1.

The annihilators and the pieces. For fixed j, the polynomials pieij′ appearing in dj are pairwise coprime, being powers of distinct monic irreducibles: a monic common divisor of pia and pi′b with i≠i′ is a power of each, hence 1 by the uniqueness of factorization (Lemma 9.5.2, Theorem 6.3.5 (b)). So Lemma 10.5.4 gives mT,vj=dj. Moreover Z(vj;T)=⨁i:mi≥j′Z(vij′;T): the left side is contained in the right, because the right side is a T-invariant subspace containing vj (Proposition 9.1.4, Proposition 10.5.1 (c)), and the two have the same dimension, dim⁡Z(vj;T)=deg⁡dj=∑ideg⁡pieij′=∑idim⁡Z(vij′;T), by Theorem 10.5.2 (a) and Theorem 1.7.5 ((a) ⇒ (e)); so they are equal (Theorem 1.6.8).

The decomposition. Each subspace Z(vij0;T), with 1≤j0≤mi, occurs in exactly one of the sums just displayed, namely the one with j=r+1−j0; so every pair (i,j0) is used exactly once and ∑j=1rZ(vj;T)=∑i,jZ(vij;T)=V, and ∑jdim⁡Z(vj;T)=∑i,jdim⁡Z(vij;T)=dim⁡V. By Theorem 1.7.5 ((e) ⇒ (a)) the sum over j is direct, and it equals V.

  • (c) Each Z(vj;T) is T-invariant and non-zero, so choose a basis Bj of Z(vj;T) for each j and let B be B1,…,Br written one after another. By Theorem 9.1.5, B is a basis of V and [T]BB=[T|Z(v1;T)]B1B1⊕⋯⊕[T|Z(vr;T)]BrBr. Then xI−[T]BB is block diagonal with the blocks xI−[T|Z(vj;T)]BjBj, so Theorem 7.8.4, applied r−1 times, gives pT=det(xI−[T]BB)=∏j=1rpT|Z(vj;T) (Definition 7.10.2). By Theorem 10.5.2 (c), pT|Z(vj;T)=mT,vj=dj. Hence pT=d1⋯dr, and comparing degrees gives ∑jdeg⁡dj=deg⁡pT=dim⁡V (Theorem 7.10.2).

  • (d) Step 2 already produced the finer decomposition V=⨁i,jZ(vij;T), with mT,vij=pieij a prime power. By the definition of dj in Step 3, the exponent of pi in dj is ei,r+1−j when mi≥r+1−j and 0 otherwise, and each pair (i,j) with 1≤j≤mi is used exactly once. So the prime powers occurring in d1,…,dr are exactly the polynomials pieij, with the same repetitions.

The polynomials in the chain, and the prime powers they are built from, are the data we are after — but first we must know that they do not depend on the decomposition we happened to construct. The count that settles this is the count of Section 2 in disguise: there the chain lengths were read off from the ranks of the powers of N, and here the exponents are read off from the dimensions of the kernels of the powers of p(T). Write vp(f) for the exponent of a monic irreducible p in the factorization of a non-zero f∈F[x], so that vp(f)≥1 exactly when p∣f.

Proposition 10.6.3 (Counting the Exponents)

Let V≠{0} be finite-dimensional over F, let T∈L(V), and suppose V=Z(u1;T)⊕⋯⊕Z(uN;T),mT,ui=gi, with every gi monic and non-constant. Then for every monic irreducible p∈F[x]:

  • (a) dim⁡kerp(T)k=deg⁡p⋅∑i=1Nmin(k,vp(gi)) for every integer k≥0;
  • (b) for every k≥1, #{i:vp(gi)≥k}=dim⁡kerp(T)k−dim⁡kerp(T)k−1deg⁡p, a number depending only on T, p and k.

Idea. Kernels respect the decomposition, so we may work inside one piece. There a vector is h(T)u, and it is killed by p(T)k exactly when g∣pkh, which after canceling the common factor gcd(g,pk) says that h is a multiple of g/gcd(g,pk). The surviving vectors are therefore a cyclic subspace again, generated by that multiple of u, and its annihilator is gcd(g,pk)=pmin(k,vp(g)). Summing over the pieces and taking differences in k then counts exponents.

Proof.

  • (a) Write Zi=Z(ui;T) and S=p(T)k. Each Zi is T-invariant, hence S-invariant (Theorem 6.7.4 (b)). If v=v1+⋯+vN with vi∈Zi, then Sv=Sv1+⋯+SvN with Svi∈Zi, so Sv=0 if and only if every Svi=0, by the uniqueness of the splitting (Theorem 1.7.5). Therefore kerS=(kerS∩Z1)⊕⋯⊕(kerS∩ZN), and it suffices to compute each dim⁡(kerS∩Zi). Fix i and write u=ui, g=gi, Z=Zi. Put c=gcd(g,pk)=pmin(k,vp(g))andt=g/c, the formula for c holding because a monic common divisor of g and pk is a power of p (Lemma 9.5.2) dividing both, and ps∣g exactly when s≤vp(g) (Theorem 6.3.5).

    Every element of Z is h(T)u for some h∈F[x] (Proposition 10.5.1 (a)), and p(T)kh(T)u=0⟺g∣pkh⟺t∣h, where the second equivalence holds because g=ct and pk=c(pk/c) with gcd(t,pk/c)=1: from ct∣c(pk/c)h we get t∣(pk/c)h, hence t∣h (Theorem 6.2.8), and conversely t∣h gives g=ct∣ch∣pkh since c∣pk. So kerS∩Z={h(T)u:t∣h}={s(T)(t(T)u):s∈F[x]}=Z(t(T)u;T). Its generator has annihilator c: for s∈F[x], s(T)t(T)u=0 if and only if g∣st, that is, c∣s, because g=ct. Taking s=1 shows that t(T)u≠0 unless c=1, so Theorem 10.5.2 (a) applies whenever c≠1 and gives dim⁡(kerS∩Zi)=deg⁡c=min(k,vp(gi))deg⁡p, where for c=1 the cyclic subspace is {0} of dimension 0, in agreement. Adding over i gives (a).

  • (b) Subtract the values of (a) at k and k−1. Each term min(k,vp(gi))−min(k−1,vp(gi)) equals 1 if vp(gi)≥k and 0 otherwise, so the difference is deg⁡p times the number of indices i with vp(gi)≥k. The left-hand side is defined from T, p and k alone.
Corollary 10.6.4 (Uniqueness of the Chain and of the Prime Powers)

Let V≠{0} be finite-dimensional over F and T∈L(V).

  • (a) Any two decompositions as in Theorem 10.6.2 give the same ordered list d1∣⋯∣dr.
  • (b) Any decomposition V=Z(u1;T)⊕⋯⊕Z(uN;T) whose annihilators mT,ui are powers of monic irreducibles gives the same list of annihilators, up to order, namely the prime powers occurring in d1,…,dr.
  • (c) Explicitly, writing cp(k)=dim⁡kerp(T)k−dim⁡kerp(T)k−1deg⁡p(p monic irreducible, k≥1), the list is recovered by r=maxpcp(1) and vp(dj)=#{k≥1:cp(k)≥r+1−j}(1≤j≤r). In particular the invariant factors of T are determined by the numbers dim⁡kerp(T)k alone.

Idea. Divisibility puts the zeros first: in the list vp(d1)≤⋯≤vp(dr), the indices where p actually occurs are a block at the right end. So a count of how many dj are divisible by pk pins down which ones they are, and therefore each individual exponent. The counts are supplied by Proposition 10.6.3, which sees only T.

Proof.

  • (a) and (c). Let V=⨁j=1rZ(vj;T) be such a decomposition, with annihilators d1∣⋯∣dr, all monic and non-constant. Fix a monic irreducible p. By Proposition 10.6.3 (b), applied to this decomposition, cp(k)=#{j:vp(dj)≥k}(k≥1), so the left-hand side, which is defined from T, p and k alone, computes the right-hand side. Divisibility makes the exponents non-decreasing, vp(d1)≤⋯≤vp(dr), so for each k the set {j:vp(dj)≥k} is the set of the last cp(k) indices: (∗)vp(dj)≥k⟺j≥r+1−cp(k)⟺cp(k)≥r+1−j. First, r is determined. Each dj is non-constant, so vp(d1)≥1 for some monic irreducible p; for that p, (∗) with k=1 and j=1 gives cp(1)≥r, while cp(1)≤r always. Hence r=maxpcp(1). Next, for each p and each j, counting the k≥1 for which (∗) holds gives vp(dj)=#{k≥1:cp(k)≥r+1−j}, a finite number, since cp(k)=0 for k>deg⁡mT. This proves (c). Finally each dj is monic with determined exponents vp(dj) for every p, so dj is determined (Theorem 6.3.5), which proves (a).

  • (b) Let V=⨁iZ(ui;T) with mT,ui=qifi, qi monic irreducible and fi≥1. For a monic irreducible p we have vp(qifi)=fi if qi=p and 0 otherwise. Applying Proposition 10.6.3 (b) to this decomposition and to the one in (a) gives, for every p and every k≥1, #{i:qi=p, fi≥k}=cp(k)=#{j:vp(dj)≥k}. Hence, for each p, the exponents fi with qi=p and the positive exponents vp(dj) form the same multiset. So the list (qifi)i is exactly the list of prime powers occurring in d1,…,dr, with the same repetitions. By Theorem 10.6.2 (d) such a decomposition exists, so both lists are non-empty and agree.

Definition 10.6.1 (Invariant Factors, Elementary Divisors)

Let V≠{0} be finite-dimensional over F and T∈L(V). The invariant factors of T are the monic non-constant polynomials d1∣d2∣⋯∣dr of Theorem 10.6.2, which by Corollary 10.6.4 (a) do not depend on the decomposition. The elementary divisors of T are the prime powers occurring in the factorizations of d1,…,dr, listed with repetition; by Corollary 10.6.4 (b) they are the annihilators of the pieces in any decomposition of V into cyclic subspaces with prime-power annihilators. For A∈Mn(F) the invariant factors and elementary divisors are those of TA.

In words: the invariant factors are the annihilators of the cyclic pieces, ordered so that each divides the next; the largest is mT, and their product is pT. The elementary divisors are the same information cut along the primes. Each list determines the other: one by factoring, the other by the regrouping recipe of Step 3 in the proof of Theorem 10.6.2, which Corollary 10.6.4 (c) shows to be forced.

Non-example by minimal change. Drop the divisibility clause and keep only the product. For an operator on a Q-space of dimension 3 with pT=(x−1)(x−2)2, the pair d1=x−1,d2=(x−2)2 multiplies to pT and consists of monic non-constant polynomials of the right total degree. It is still not a list of invariant factors of anything, because d1∤d2. The clause that fails is (a) of Theorem 10.6.2, and with it (b): the largest member of the list has to be mT, and mT(T) kills every vector of V, so mT is a multiple of the annihilator of every piece (Theorem 10.5.2 (d)). The genuine lists here are ((x−1)(x−2)2) and (x−2, (x−1)(x−2)).

Quick check. Let T be an operator on a Q-vector space with pT=(x2+1)2. How many possibilities are there for the list of elementary divisors, and what are the corresponding invariant factors?

Solution. The product of the elementary divisors is pT (by Theorem 10.6.2 (c) and Definition 10.6.1), and x2+1 is irreducible over Q (no rational root, Theorem 6.3.1 (b)). So the elementary divisors are powers of x2+1 with exponents forming a partition of 2: either (x2+1)2 alone, or x2+1 twice. The invariant factors are d1=(x2+1)2 in the first case (one piece, r=1) and d1=d2=x2+1 in the second. The two are told apart by mT, which is dr: (x2+1)2 against x2+1.

10.6.4. The rational canonical form

Everything is now assembled. Writing the matrix down is Theorem 10.5.2 (b), one piece at a time.

Every operator over every field has a block diagonal matrix whose blocks are companion matrices of a divisibility chain, and the chain is unique.

Theorem 10.6.5 (Rational Canonical Form)

Let V≠{0} be a finite-dimensional vector space over any field F, and let T∈L(V) have invariant factors d1∣d2∣⋯∣dr. Then there is a basis B of V with [T]BB=C(d1)⊕C(d2)⊕⋯⊕C(dr), and this matrix is determined by T. It is called the rational canonical form of T. Equivalently, every A∈Mn(F) with n≥1 is similar to exactly one matrix of the form C(d1)⊕⋯⊕C(dr) with d1∣⋯∣dr monic and non-constant.

Proof. By Theorem 10.6.2, V=Z(v1;T)⊕⋯⊕Z(vr;T) with mT,vj=dj. Each piece is T-invariant and non-zero, and by Theorem 10.5.2 (a), (b) the list Bj=(vj,Tvj,…,Tdeg⁡dj−1vj) is a basis of Z(vj;T) in which the matrix of the restriction is C(dj). Let B be B1,…,Br written one after another; by Theorem 9.1.5, B is a basis of V and [T]BB=C(d1)⊕⋯⊕C(dr). The blocks are determined by T, since the dj are (Corollary 10.6.4 (a)).

For a matrix A∈Mn(F), apply this to TA and use Theorem 4.2.4. For the uniqueness in the matrix form, suppose A∼C(f1)⊕⋯⊕C(fs) with f1∣⋯∣fs monic and non-constant. By Theorem 4.2.4 there is a basis C of Fn with [TA]CC=C(f1)⊕⋯⊕C(fs). Let Cj be the segment of C belonging to the j-th block and let Uj be its span; then Fn=U1⊕⋯⊕Us with each Uj invariant and [TA|Uj]CjCj=C(fj) (Theorem 9.1.5). By Theorem 10.5.3, Theorem 9.5.5 and Definition 7.10.2, mTA|Uj=pTA|Uj=fj, so TA|Uj is cyclic (Theorem 10.5.6) and Uj=Z(uj;TA) for some uj with mTA,uj=fj (Theorem 10.5.2 (c)). This is a decomposition as in Theorem 10.6.2, so (f1,…,fs)=(d1,…,dr) by Corollary 10.6.4 (a). Hence the matrix is the rational canonical form of A.

This pays off the promise made in Section 3: there is a canonical form over every field. No hypothesis on F was used, and none is needed. The form is canonical in the strong sense: the blocks come in a prescribed order, dictated by divisibility, so two operators have the same form, not merely similar forms.

Corollary 10.6.6 (Similarity via the Invariant Factors)

Let A,B∈Mn(F) with n≥1. The following are equivalent:

  • (a) A∼B;
  • (b) A and B have the same invariant factors;
  • (c) A and B have the same elementary divisors, up to order;
  • (d) dim⁡kerp(A)k=dim⁡kerp(B)k for every monic irreducible p∈F[x] and every k≥1.

Proof.

  • (a) ⇒ (d). If B=P−1AP, then p(B)k=P−1p(A)kP (Proposition 4.2.6 (c)), so the two have the same rank (Proposition 4.2.6 (a)) and hence the same nullity (Theorem 3.5.7).

  • (b) ⇒ (b). By Corollary 10.6.4 (c), the invariant factors of a matrix are computed from the numbers dim⁡kerp(⋅)k alone: those numbers give the counts cp(k), which give the length r and the exponents vp(dj). Equal numbers therefore give equal invariant factors.

  • (c) ⇔ (c). The elementary divisors are the prime powers in the factorizations of the invariant factors (Definition 10.6.1), so (b) ⇒ (c). Conversely, cp(k) is the number of elementary divisors of the form pf with f≥k (Corollary 10.6.4 (b) and (c)), so the list of elementary divisors determines every cp(k), hence the invariant factors by Corollary 10.6.4 (c); so (c) ⇒ (b).

  • (d) ⇒ (a). Both matrices are similar to C(d1)⊕⋯⊕C(dr) (Theorem 10.6.5), and similarity is an equivalence relation (Example (Similarity)).

So the invariant factors are a complete set of similarity invariants over every field, which is the promise of Chapter 7 kept in full; Corollary 10.3.3 was the special case in which pA splits. Counting similarity classes becomes counting divisibility chains: over any field, the classes of n×n matrices with a given characteristic polynomial p correspond to the ways of writing p=d1⋯dr with d1∣⋯∣dr monic and non-constant.

Warning. The invariant factors are not the factors of pA in any naive sense, and mA alone is only the last of them. For A=diag(1,1,2) over Q the invariant factors are d1=x−1 and d2=(x−1)(x−2)=mA, and d1d2=(x−1)2(x−2)=pA; the factorization of pA into linear factors plays no role in the chain. Nor does the chain have length deg⁡pA: here r=2 for a 3×3 matrix, and r=1 exactly when A is cyclic (Theorem 10.5.6).

10.6.5. Elementary divisors, and the way back to Jordan

Cutting the pieces as finely as possible gives a second form, usually with more and smaller blocks.

Theorem 10.6.7 (Elementary Divisor Form)

Let V≠{0} be finite-dimensional over F, let T∈L(V), and let q1,…,qN be the elementary divisors of T. Then there is a basis B of V with [T]BB=C(q1)⊕C(q2)⊕⋯⊕C(qN), and the blocks are determined by T up to their order.

Proof. By Theorem 10.6.2 (d) there is a decomposition V=⨁i,jZ(vij;T) into cyclic subspaces whose annihilators are prime powers, and by Corollary 10.6.4 (b) those annihilators are exactly the elementary divisors q1,…,qN of T, up to order. Take the basis of Theorem 10.5.2 (a) in each piece and concatenate; Theorem 10.5.2 (b) and Theorem 9.1.5 give the displayed matrix. The list of blocks depends on T alone, again by Corollary 10.6.4 (b).

When the characteristic polynomial splits, this is the Jordan form in disguise, because a companion block for a power of a linear polynomial is a Jordan block.

Corollary 10.6.8 (Companion Blocks of Linear Powers Are Jordan Blocks)

Let λ∈F and k≥1. Then C((x−λ)k)∼Jk(λ). Consequently, if pT splits over F, then the elementary divisors of T are the polynomials (x−λ)k for the Jordan blocks Jk(λ) of T, and the elementary divisor form of Theorem 10.6.7 and the Jordan form of T are obtained from one another by replacing each block C((x−λ)k) by Jk(λ) and conversely.

Proof. Put J=Jk(λ). Then J−λI=Jk(0) satisfies Jk(0)k=0≠Jk(0)k−1, so (x−λ)k annihilates J and no smaller power does; by Lemma 9.5.2 and Theorem 9.5.1, mJ=(x−λ)k. Also pJ=(x−λ)k (Theorem 7.4.6), so mJ=pJ and J is cyclic (Theorem 10.5.6). By the last sentence of that theorem, J is similar to C(mJ)=C((x−λ)k).

Now suppose pT splits and let B be a Jordan basis, with [T]BB=Jk1(μ1)⊕⋯⊕Jkm(μm) (Theorem 10.3.1). Each block corresponds to a T-invariant subspace Ul, spanned by the segment Bl of B belonging to it, with V=U1⊕⋯⊕Um and [T|Ul]BlBl=Jkl(μl). By the first paragraph, mT|Ul=pT|Ul=(x−μl)kl, so T|Ul is cyclic: there is vl∈Ul with Ul=Z(vl;T) and mT,vl=(x−μl)kl (Theorem 10.5.6, Theorem 10.5.2 (c)). Since x−μl is irreducible, being of degree 1, this exhibits V as a direct sum of cyclic subspaces with prime-power annihilators, so by Corollary 10.6.4 (b) the elementary divisors of T are exactly the polynomials (x−μl)kl. Replacing each Jordan block by the similar companion block, or conversely, therefore turns one form into the other.

Remark. The two forms carry the same information in different shapes, and each is better for something. The rational canonical form of Theorem 10.6.5 has the fewest blocks and reads off mT=dr at a glance; the elementary divisor form has the most blocks and reads off the primes, and over a splitting field it is the Jordan form. The rational form is also called the Frobenius normal form. The word rational refers to the field: the form is computed by rational operations in F, with no root extraction, which is exactly why it exists over every field.

10.6.6. Similarity does not depend on the field

Here is a striking consequence, and one that would be hard to guess. Two rational matrices might conceivably be conjugate by a complex matrix and by no rational one. They cannot be.

Lemma 10.6.9 (Rank Does Not Change with the Field)

Let K be a subfield of a field L and let M∈Mm×n(K). Then the rank of M computed over K equals its rank computed over L.

Proof. If M=0, both ranks are 0. Otherwise, by Theorem 7.7.1 (a), each rank is the largest k such that some k×k minor of M is non-zero. The minors are determinants of submatrices of M, computed by the Leibniz formula from the entries of M (Definition 7.4.1), so they are the same elements of K whichever field we regard M in. And an element of K is zero in K if and only if it is zero in L. So the two largest such k agree.

Corollary 10.6.10 (Similarity Is Independent of the Field)

Let K be a subfield of L and let A,B∈Mn(K), n≥1. If A and B are similar over L, then they are similar over K: A=Q−1BQ  for some invertible Q∈Mn(L)⟹A=P−1BP  for some invertible P∈Mn(K).

Idea. Similarity over K is decided by the numbers dim⁡kerp(A)k for the monic irreducibles p of K[x] (Corollary 10.6.6). Each such number is a nullity of a matrix with entries in K, and nullities do not notice a larger field. Similarity over L makes the numbers agree when computed over L, hence over K.

Proof. Let p∈K[x] be monic irreducible and k≥1. The matrices p(A)k and p(B)k have entries in K. Since A and B are similar over L, say A=Q−1BQ, we have p(A)k=Q−1p(B)kQ (Proposition 4.2.6 (c)), so these two matrices have the same rank over L (Proposition 4.2.6 (a)). By Lemma 10.6.9 their ranks over K are the same numbers, hence dim⁡kerp(A)k=n−rankp(A)k=n−rankp(B)k=dim⁡kerp(B)k over K, by Theorem 3.5.7. As p and k were arbitrary, Corollary 10.6.6 ((d) ⇒ (a)) gives A∼B over K.

The invariant factors are computed in K[x] and never need a root; that is the whole reason. Note what the corollary does not say: the invariant factors themselves do change with the field, since the irreducible polynomials do. Over Q the matrix C((x2+1)2) has the single invariant factor (x2+1)2 and the single elementary divisor (x2+1)2; over C its invariant factor is unchanged, but its elementary divisors are (x−i)2 and (x+i)2, and its Jordan form is J2(i)⊕J2(−i). What is field-independent is the answer to the similarity question, not the bookkeeping.

10.6.7. Computing the forms

Algorithm. Invariant factors, elementary divisors and the two forms of A∈Mn(F).

  1. Compute pA and factor it into monic irreducibles over F: pA=p1a1⋯pkak.
  2. For each i and each k≥1, compute dim⁡kerpi(A)k until it stops growing, and read off the exponents of the elementary divisors for pi from Proposition 10.6.3, subtracting twice for exact counts. (Equivalently: find mA and, in small cases, use ∑i,jeijdeg⁡pi=n with maxjeij= the exponent of pi in mA.)
  3. Group the exponents of each prime into a row, in decreasing order, and multiply down the columns, numbering them backwards: the first column gives dr=mA, the second dr−1, the last d1.
  4. Write C(d1)⊕⋯⊕C(dr), or ⨁i,jC(pieij).
  5. For a basis: find a cyclic generator for each piece, as in Section 5.
Example (Invariant Factors from Polynomial Data)

Let T be an operator on a 6-dimensional Q-vector space with pT=(x−1)2(x2+1)2,mT=(x−1)(x2+1)2. Find the elementary divisors, the invariant factors, the rational canonical form (Theorem 10.6.5) and the elementary divisor form (Theorem 10.6.7).

Solution. The primes. x−1 and x2+1 are monic irreducible over Q (the second has no rational root, Theorem 6.3.1 (b)), and deg⁡pT=2+4=6 as it must be.

The exponents. The elementary divisors are powers (x−1)a and (x2+1)b. For each prime, the largest exponent occurring is its exponent in mT=dr (Theorem 10.6.2 (b), Definition 10.6.1), and the exponents weighted by the degrees sum to deg⁡pT (Theorem 10.6.2 (c)). For x−1: the largest exponent is 1 and the total contribution is 2, so there are two elementary divisors x−1. For x2+1: the largest exponent is 2 and the total contribution is 4=2⋅2, so there is exactly one elementary divisor (x2+1)2. Hence the elementary divisors are x−1,x−1,(x2+1)2.

The invariant factors. Arrange the exponents by prime in decreasing order: x−1: 1,1;x2+1: 2. So r=max(2,1)=2, and multiplying down the columns, the first giving d2 and the second d1, d2=(x−1)(x2+1)2=mT,d1=x−1. Check: d1∣d2 and d1d2=(x−1)2(x2+1)2=pT.

The forms. With d2=(x−1)(x2+1)2=(x−1)(x4+2x2+1)=x5−x4+2x3−2x2+x−1, C(d1)⊕C(d2)=(1)⊕(000011000−1010020010−200011), of total size 1+5=6. The elementary divisor form is smaller-blocked: C(x−1)⊕C(x−1)⊕C((x2+1)2)=(1)⊕(1)⊕(000−11000010−20010), of total size 1+1+4=6. Read as a complex matrix, the second form splits further: over C we have x2+1=(x−i)(x+i), so the elementary divisors become x−1,x−1,(x−i)2,(x+i)2 — the invariant factors d1,d2 are unchanged — and Corollary 10.6.8 turns the elementary divisor form into the Jordan form (1)⊕(1)⊕J2(i)⊕J2(−i). Over Q no further splitting is possible, since x2+1 is irreducible there.

Example (The Rational Canonical Form of a Matrix over the Rationals)

Let A=(0−1101001000−10010)∈M4(Q),pA=(x2+1)2. Find the invariant factors of A, its rational canonical form (Theorem 10.6.5), and an invertible P∈M4(Q) realizing it.

Solution. The characteristic polynomial. In 2×2 blocks, A=(RI20R) with R=(0−110), so xI−A is block upper triangular and pA=(det(xI2−R))2=(x2+1)2 (Theorem 7.8.4), as stated.

The minimal polynomial. By Theorem 9.5.1 and Lemma 9.5.2, mA is x2+1 or (x2+1)2. Compute A2: its columns are A applied to the columns of A. With c1,…,c4 the columns of A, Ac1=A(0,1,0,0)=(−1,0,0,0),Ac2=A(−1,0,0,0)=(0,−1,0,0), Ac3=A(1,0,0,1)=(0,1,0,0)+(0,1,−1,0)=(0,2,−1,0),Ac4=A(0,1,−1,0)=(−1,0,0,0)+(−1,0,0,−1)=(−2,0,0,−1). So A2=(−100−20−12000−10000−1),A2+I=(000−2002000000000)≠0. Hence mA=(x2+1)2=pA, and A is cyclic (Theorem 10.5.6). So r=1, the single invariant factor is d1=(x2+1)2=x4+2x2+1, and the rational canonical form is C(d1)=(000−11000010−20010). The elementary divisor form (Theorem 10.6.7) is the same matrix, since x2+1 is irreducible over Q and d1 is already a prime power.

A cyclic vector. By Theorem 10.5.6 we need v with mA,v=mA; since A2+I≠0, pick v with (A2+I)v≠0. The third column of A2+I is non-zero, so v=e3 works: then (A2+I)v≠0, so mA,v∤x2+1, and as mA,v divides (x2+1)2 it must equal (x2+1)2 (Lemma 9.5.2). Its chain is v=(0,0,1,0),Av=(1,0,0,1),A2v=(0,2,−1,0),A3v=A(0,2,−1,0)=(−2,0,0,0)+(−1,0,0,−1)=(−3,0,0,−1), reading columns of A as before. Hence P=(010−3002010−10010−1),P−1AP=C((x2+1)2). Invertibility of P. Expanding detP along the third row, whose entries are (1,0,−1,0) (Theorem 7.6.1), and then each 3×3 determinant along its own first column, detP=1⋅det(10−302010−1)+(−1)(−1)3+3det(01−300001−1)=1⋅(2(−1+3))−0=4≠0, the second determinant vanishing because it has a zero row, and the first being 2det(1−31−1)=2⋅2=4 by expansion along its second row.

The check. The identity AP=PC(d1) reads column by column as Av=Av, A(Av)=A2v, A(A2v)=A3v — true by construction — and A(A3v)=−v−2A2v, which is the annihilator relation A4+2A2+I=0 applied to v. Verifying it directly: A(−3,0,0,−1)=−3(0,1,0,0)−(0,1,−1,0)=(0,−4,1,0), while −v−2A2v=−(0,0,1,0)−2(0,2,−1,0)=(0,−4,2−1,0)=(0,−4,1,0).✓

10.6.8. Exercises

A. Check your understanding

Exercise (A1)
  • (a) State the Cyclic Decomposition Theorem, including the divisibility chain and what dr and ∏jdj are.
  • (b) Define the invariant factors and the elementary divisors of T.
  • (c) What is the rational canonical form of T, and over which fields does it exist?
  • (d) True or false: two matrices in Mn(Q) that are similar over C are similar over Q. Justify your answer.
  • (e) An operator on a 5-dimensional Q-space has pT=(x−3)5 and mT=(x−3)2. What are its elementary divisors and invariant factors?
  • (f) True or false: r=1 if and only if T is cyclic. Justify your answer.

Solution.

  • (a) For V≠{0} finite-dimensional and T∈L(V), there are v1,…,vr with V=Z(v1;T)⊕⋯⊕Z(vr;T) and mT,vj=dj, where d1∣d2∣⋯∣dr are monic and non-constant, dr=mT and d1⋯dr=pT (Theorem 10.6.2).

  • (b) The invariant factors are the polynomials d1∣⋯∣dr of that theorem; the elementary divisors are the prime powers occurring in their factorizations, listed with repetition (Definition 10.6.1). Both are determined by T (Corollary 10.6.4).

  • (c) The matrix C(d1)⊕⋯⊕C(dr), which is [T]BB for a suitable basis; it exists over every field (Theorem 10.6.5).

  • (d) True, by Corollary 10.6.10 with K=Q and L=C.

  • (e) Elementary divisors are powers of x−3 with largest exponent 2 and exponents summing to 5: so (x−3)2,(x−3)2,x−3. The exponents, in decreasing order, are 2,2,1; numbering the columns backwards gives d3=(x−3)2=mT, d2=(x−3)2 and d1=x−3.

  • (f) True. r=1 means V=Z(v1;T), that is, v1 is a cyclic vector; conversely if v is cyclic, then d1=mT,v=mT=pT is the only invariant factor, by Theorem 10.5.6 and the uniqueness in Corollary 10.6.4.

B. Practice

Exercise (B1: Invariant factors from given data)

In each case T is an operator on a Q-vector space with the stated characteristic and minimal polynomials. Find the elementary divisors, the invariant factors, and the rational canonical form (Theorem 10.6.5).

  • (a) pT=(x−2)4, mT=(x−2)2.
  • (b) pT=(x2−2)3, mT=(x2−2)2.
  • (c) pT=(x−1)2(x+1)2, mT=(x−1)(x+1).

Solution.

  • (a) Powers of x−2 with largest exponent 2 and exponents summing to 4: either 2,2 or 2,1,1. So the data do not determine the answer; both elementary divisors (x−2)2,(x−2)2and(x−2)2,x−2,x−2 are possible, with invariant factors ((x−2)2,(x−2)2) and (x−2,x−2,(x−2)2) and rational forms C((x−2)2)⊕C((x−2)2),(2)⊕(2)⊕C((x−2)2), where C((x−2)2)=C(x2−4x+4)=(0−414). (The extra datum that decides is dim⁡ker(T−2id), which is 2 in the first case and 3 in the second, by Proposition 10.6.3.)

  • (b) x2−2 is irreducible over Q, since 2∉Q (Theorem 0.2.3, Theorem 6.3.1 (b)). The exponents are powers of x2−2 with largest 2 summing to 3: only 2,1. So the elementary divisors are (x2−2)2 and x2−2, the invariant factors are d1=x2−2 and d2=(x2−2)2=x4−4x2+4, and the rational form is C(x2−2)⊕C((x2−2)2)=(0210)⊕(000−4100001040010), of size 2+4=6=deg⁡pT.

  • (c) Both primes have largest exponent 1 and total contribution 2, so the elementary divisors are x−1,x−1,x+1,x+1. Arranging by prime, x−1:1,1 and x+1:1,1, so r=2 and d2=(x−1)(x+1)=mT, d1=(x−1)(x+1). The rational form is C(x2−1)⊕C(x2−1)=(0110)⊕(0110). (This operator is diagonalizable, with diag(1,1,−1,−1) as its Jordan form; the rational form is a different matrix representing the same operator.)

Exercise (B2: Rational forms of matrices)

For each matrix, find pA, mA, the invariant factors, the rational canonical form (Theorem 10.6.5) and the elementary divisor form (Theorem 10.6.7).

  • (a) A1=(010001100)∈M3(Q).
  • (b) A2=diag(1,1,2)∈M3(Q).
  • (c) A3=(0−1001000000−10010)∈M4(Q).

Solution.

  • (a) Reading the columns, A1e1=e3, A1e3=e2 and A1e2=e1, so A13=I and the polynomial x3−1 annihilates A1. Also A12e1=A1e3=e2, so (e1,A1e1,A12e1)=(e1,e3,e2) is a basis of Q3 and e1 is a cyclic vector. Hence deg⁡mA1=3 (Theorem 10.5.6), and since mA1 is monic of degree 3 dividing x3−1, we get mA1=pA1=x3−1. The single invariant factor is d1=x3−1, and the rational canonical form is C(x3−1)=(001100010). Over Q, x3−1=(x−1)(x2+x+1) with both factors irreducible (the quadratic has no rational root). So the elementary divisors are x−1 and x2+x+1, and the elementary divisor form is (1)⊕C(x2+x+1)=(1)⊕(0−11−1).

  • (b) pA2=(x−1)2(x−2) and mA2=(x−1)(x−2) (Proposition 9.5.6). Elementary divisors: x−1,x−1,x−2. Invariant factors: d2=(x−1)(x−2)=mA2 and d1=x−1. Rational form (1)⊕C((x−1)(x−2))=(1)⊕(0−213), elementary divisor form (1)⊕(1)⊕(2)=diag(1,1,2)=A2 itself.

  • (c) A3=R⊕R with R=(0−110), and pR=x2+1, mR=x2+1, so pA3=(x2+1)2 (Theorem 7.8.4 applied to xI−A3, which is block diagonal over Q[x]) and mA3=lcm(x2+1,x2+1)=x2+1 (Proposition 9.5.6). Since x2+1 is irreducible over Q, the elementary divisors are x2+1 and x2+1; r=2 and d1=d2=x2+1. Both forms are C(x2+1)⊕C(x2+1)=(0−110)⊕(0−110)=A3. Compare Example (The Rational Canonical Form of a Matrix over the Rationals): that matrix has the same characteristic polynomial but a different minimal polynomial, so the two are not similar.

Exercise (B3: Counting similarity classes over a finite field)

Work over F=F2. For each polynomial p, find the number of similarity classes of matrices A∈M3(F2) with pA=p, and list the invariant factors of each class.

  • (a) p=(x+1)3.
  • (b) p=x(x+1)2.
  • (c) p=x3+x+1.

Hint: by Corollary 10.6.6, a class is a way of writing p=d1⋯dr with d1∣⋯∣dr.

Solution.

  • (a) The only prime involved is x+1, so the elementary divisors are powers (x+1)a with exponents forming a partition of 3. The three partitions (3), (2,1), (1,1,1) give ((x+1)3),(x+1, (x+1)2),(x+1, x+1, x+1) as lists of invariant factors. So there are 3 classes, with representatives C((x+1)3), (1)⊕C((x+1)2) and I3 (note −1=1 in F2).

  • (b) Now two primes, x with total exponent 1 and x+1 with total exponent 2. For x the only option is the single elementary divisor x; for x+1 the options are (x+1)2 or x+1,x+1. So there are 2 classes, with invariant factors (x(x+1)2)and(x+1, x(x+1)). In the first case r=1 and the matrix is cyclic; in the second r=2.

  • (c) x3+x+1 has no root in F2 (its values at 0 and 1 are 1 and 1), so it is irreducible (Theorem 6.3.1 (b)). A prime of degree 3 in a characteristic polynomial of degree 3 can occur only with exponent 1, so the only possible list of elementary divisors is (x3+x+1) itself: 1 class, represented by C(x3+x+1).

C. Going deeper

Exercise (C1: Which matrices are companion matrices)

Let A∈Mn(F) with n≥1.

  • (a) Prove that A is similar to a companion matrix if and only if mA=pA, and that the companion matrix is then C(pA).
  • (b) Deduce that A is similar to a companion matrix if and only if its rational canonical form has exactly one block.
  • (c) Give an example of a matrix in M2(F) that is not similar to any companion matrix.

Solution.

  • (a) (⇐) If mA=pA, then A is cyclic (Theorem 10.5.6) and, in the basis generated by a cyclic vector, its matrix is C(mA)=C(pA); so A∼C(pA) (Theorem 4.2.4).

    (⇒) Suppose A∼C(q) for some monic q. By Theorem 10.5.3, mC(q)=pC(q)=q. Similar matrices share both polynomials (Theorem 7.10.3, Theorem 9.5.5), so mA=pA=q, and the companion matrix is C(pA).

  • (b) By Theorem 10.6.5 the form has one block exactly when r=1, that is, when d1=mA=pA (Theorem 10.6.2 (b), (c)). Now apply (a).

  • (c) I2: here m=x−1≠(x−1)2=p. Concretely, I2 is similar only to itself, and no companion matrix of a monic quadratic is I2, since the (2,1) entry of C(q) is 1≠0.

Exercise (C2: All similarity classes of two by two matrices over the smallest field)

Work over F=F2, so that M2(F2) has 16 elements.

  • (a) List the four monic polynomials of degree 2 over F2 and factor each into irreducibles.
  • (b) For each, list the possible lists of invariant factors of a matrix A∈M2(F2) with that characteristic polynomial.
  • (c) Conclude the total number of similarity classes in M2(F2), and give a representative of each.
  • (d) Check your count against the orbit sizes: |GL2(F2)|=6, and the class of A has 6/|{P:P−1AP=A}| elements.

Solution.

  • (a) x2; x2+1=(x+1)2; x2+x=x(x+1); and x2+x+1, which has no root in F2 and is therefore irreducible (Theorem 6.3.1 (b)).

  • (b) For p=x2: elementary divisors x2 (invariant factors (x2)) or x,x (invariant factors (x,x)) — two options. For p=(x+1)2: likewise two, ((x+1)2) and (x+1,x+1). For p=x(x+1): each prime occurs once, so the elementary divisors are x,x+1 and there is a single list of invariant factors, (x(x+1)). For the irreducible p=x2+x+1: one option, (x2+x+1).

  • (c) Total 2+2+1+1=6 classes, with representatives C(x2)=(0010),0,C((x+1)2)=(0110),I2,diag(0,1),C(x2+x+1)=(0111), using −1=1 in F2. (For (x+1)2=x2+1 the coefficients are a0=1,a1=0, so C=(0110), the coordinate swap.)

  • (d) The two scalar matrices 0 and I2 commute with everything, so their classes have 6/6=1 element each. For diag(0,1), a matrix commutes with it exactly when it is diagonal (compare entries), and the invertible diagonal matrices over F2 are only I2, so the class has 6 elements. For C(x2) and C(x2+1) the commutant inside GL2 has 2 elements — by Exercise (C1: What commutes with a cyclic operator) the commutant of a cyclic matrix is {aI+bA}, which here has 4 elements, of which 2 are invertible — so each class has 3 elements. For C(x2+x+1), whose order is 3 in GL2(F2), the commutant is {aI+bA} again, with 3 invertible elements, so the class has 2 elements. Total: 1+1+6+3+3+2=16=|M2(F2)|.✓

Exercise (C3: A matrix over the rationals is similar to its transpose)
  • (a) Let A,B∈Mn(Q) have the same Jordan form over C. Prove that A and B are similar over Q.
  • (b) Deduce that A∼A⊤ over Q for every A∈Mn(Q).
  • (c) Which step of (b) would fail for a general field K in place of Q?

Hint for (b): Exercise (C1: A matrix is similar to its transpose).

Solution.

  • (a) A matrix in Mn(Q) is also a matrix in Mn(C), and pA splits over C (Corollary 6.5.5), so both have Jordan forms there. Having the same Jordan form, they are similar over C (Corollary 10.3.3). By Corollary 10.6.10 with K=Q and L=C, they are similar over Q.

  • (b) Let A∈Mn(Q). Over C, pA splits, so Exercise (C1: A matrix is similar to its transpose) (c) gives A∼A⊤ over C. Both matrices lie in Mn(Q), so Corollary 10.6.10 gives A∼A⊤ over Q.

  • (c) The step that fails is the splitting: over a general field K there is no reason for pA to split, and we have not constructed a larger field where it does. (The conclusion is nevertheless true over every field; Section 7 proves it without any splitting, using the Smith normal form of xI−A.) Note that Corollary 10.6.10 itself needs no hypothesis on K — only the existence of a suitable L does.

Found a typo or a mistake? Report it, or read this page’s source

The text of this book is licensed under CC BY-NC-SA 4.0.