Section 33.5 Examples
In this section.
Subsection 33.5.1 Determining the form indirectly
Here we will carry out the indirect analysis method described in Subsection 33.4.2 for a matrix A that is similar to a triangular-block nilpotent form matrix N as in Discovery 33.1.Example 33.5.1.
Suppose A is an 19×19 matrix that is similar to the triangular-block nilpotent matrix
where the elementary nilpotent blocks N1 and N2 are each 5×5, blocks N3 and N4 are each 3×3, block N5 is 2×2, and block N6 is 1×1.
We will carry out our analysis as if we don't actually know the form matrix N, but at the same time we will use our “secret” knowledge of N to “know” the required properties of A.
We should first compute the powers of A to determine the degree of nilpotency. We should find A5=0 while A4≠0. If we didn't already know the form N, this computation would tell us that the largest block in N is size 5×5, because any larger block would not yet be zero at the 5th power, and smaller blocks become zero before the 5th power. After this we should compute rankA4, which in this case we would find to be 2. When we back off the exponent by one like this, blocks that are smaller than 4×4 will still all be taken to zero blocks, but a single 1 in the bottom left corner of each of the 5×5 blocks will have reappeared. So rankA4=2 tells us that we have two such “corner ones” in N4, one in each of two blocks of size 5×5.
We continue with rank computations of lower powers. Backing off the exponent by one again, in this case we should find rankA3=4. Our expectation is that in N3, each of the two (now known) 5×5 blocks would have grown in rank from 1 to 2 as they each “re-grow” a subdiagonal of two 1s in the lower left, for a total rank contribution of 4 from these two blocks. Since that is our total rank for A3, this tells us that there are no blocks of size 4×4, since if there were they would have “reappeared” at the 3rd power with a “corner one” in the lower left of each, causing a larger jump in rank than expected.
However, calculating rankA2 should yield 8 in this case, a larger rank than expected. The two 5×5 blocks in N each gain one in rank, as their subdiagonals of 1s march higher up from the lower left toward the main diagonal. So their total contribution to the rank increases from 4 to 6 as we move from A3 to A2. Since the calculated rank is 2 larger than the expected rank of 6 from our two known 5×5 blocks, we conclude that two new blocks have reappeared with a solitary 1 in their respective lower-left corners. Since these blocks reappeared at the second power, they must have size 3×3. So now we know about two 5×5 blocks and two 3×3 blocks.
Finally, with four known blocks, we would expect the rank to increase from 8 to 12 as we move from A2 to A1, an increase by 1 for each known block. But a calculation should reveal rankA=13, which means that one new block has reappeared. And since it appeared at exponent one, it must have size 2×2.
From above, we have rankA=13, so
This means that N should have six blocks (which we secretly know it does). And since we already have five blocks (two 5×5 blocks, two 3×3 blocks, and one 2×2 block), this means that there must be one remaining unknown block. It can't be size 2×2, as the rankA1 calculation should have revealed all of the blocks of that size. So there must be one remaining 1×1 block, and we now have enough information to know the form matrix N precisely.
Remark 33.5.2.
At rankA, there is no further backwards one can go. A 1×1 elementary nilpotent block is just a 1×1 zero matrix, and makes no contribution to the rank at any exponent. So if our number of blocks hasn't reached nullityA and we haven't yet filled out the full size of the matrix at the end of the analysis (as in the previous example), we would conclude that the rest of the form matrix is filled out by 1×1 zero blocks.
Subsection 33.5.2 Determining a transition matrix
Here are two examples of determining a transition matrix P that will put a nilpotent matrix A into triangular-block nilpotent form. In the first we will carrying out Procedure 33.4.2. We use the matrix that you explored in both Discovery 33.2 and Discovery 33.5.Example 33.5.3. A 9×9 “bottom-up” example.
Consider the matrix
To carry out Procedure 33.4.2, we first need to determine the degree of nilpotency of A. In Discovery 33.2, we found this degree to be k=4. So the largest block(s) in the triangular-block nilpotent form for A will have size 4, and we need to look for the corresponding 4-dimensional A-cyclic subspaces of R9.
Cyclic spaces of dimension k=4.
Compute a basis for the null space of A4−1=A3. With the aid of a computer algebra system (CAS), we obtain the basis vectorsCyclic spaces of dimension k−1=3.
Now compute a basis for the null space of A3−1=A2. With the aid of our CAS, we obtain the basis vectorsCyclic spaces of dimension k−2=2.
Now compute a basis for the null space of A2−1=A. With the aid of our CAS, we obtain the basis vectorsCyclic spaces of dimension k−3=1.
A one-dimensional A-cyclic space of the kind we seek will need to be generated by a vector in the null space of A. As we have already filled eight of the nine columns of our transition matrix P, we only need on vector from the null space of A that is independent from the eight vectors we already have. With the aid of our CAS, we find the null space of A to be spanned by the vectorsThe transition and form matrices.
Our transition matrix P is made up of the cyclic bases for our four cyclic spaces, taken all together:Example 33.5.4. A 5×5 “top-down” example.
Consider the 5×5 matrix
Compute the powers of A:
So A is nilpotent of degree 3.
The standard basis for R5 has five vectors in it, so we begin with five A-cyclic spaces:
But recall that for any matrix B, the product Bej is precisely the jth column of B. So, by examining when the columns of powers of A first become zero, we can use Theorem 32.6.3 to obtain a cyclic basis for each of these spaces:
We don't have any dimension 1 cyclic spaces, so let's move on to considering the collection of final vectors from each basis:
Examining the columns of A2, notice that the first three vectors are all equal to each other, and the fifth vector is the negative of the those first three. Let's begin with the dependence relation
Factoring out the A2, this turns into
We form the new cyclic space generated by f1=e1−e2, and call it U1. The above relation says that A2f1=0, so we have
Our dependence relation involved the final vectors from W1 and W2. These two spaces have equal dimension, so we can use the new space U1 to replace either of W1 or W2. If we decide to replace W1, our new collection of cyclic subspaces is
We will work more quickly through this process now.
- From the dependence relationA2e2−A2e3=0obtain new cyclic vector f2=e2−e3, and use it to replace W2:U1=Span{f1,Af1},U2=Span{f2,Af2},W3=Span{e3,Ae3,A2e3},W4=Span{e4,Ae4},W5=Span{e5,Ae5,A2e5}.
- From the dependence relationA2e3+A2e5=0obtain new cyclic vector f3=e3+e5, and use it to replace W3:U1=Span{f1,Af1},U2=Span{f2,Af2},U3=Span{f3,Af3},W4=Span{e4,Ae4},W5=Span{e5,Ae5,A2e5}.
- From the dependence relationAf2−Ae4=0obtain new cyclic vector f4=f2−e4, and use it to replace U2. However, f4 only generates a cyclic space of dimension 1, and is the negative of A2e5. So discard f4, bringing us down to four cyclic spaces:U1=Span{f1,Af1},U3=Span{f3,Af3},W4=Span{e4,Ae4},W5=Span{e5,Ae5,A2e5}.
- From the dependence relationAf1+Af3+2Ae4=0obtain new cyclic vector f5=f1+f3+2e4, and use it to replace U1. However, f5 only generates a cyclic space of dimension 1, and is equal to A2e5−Ae4. So discard f5, bringing us down to three cyclic spaces:U3=Span{f3,Af3},W4=Span{e4,Ae4},W5=Span{e5,Ae5,A2e5}.
- From the dependence relationAf3−Ae4−A2e5=0obtain new cyclic vector f6=f3−e4−Ae5, and use it to replace U3. However, f6 only generates a cyclic space of dimension 1, and is equal to A2e5. So discard f5, bringing us down to two cyclic spaces:W4=Span{e4,Ae4},W5=Span{e5,Ae5,A2e5}.
Since A does not have maximum degree of nilpotency, we know it is not similar to an elementary nilpotent form matrix. In other words, it is not possible for us to reduce down to a single A-invariant space, and the fact that Ae4 and A2e5 are independent confirm that we are finished at this point. All that is left is to form the transition matrix
where we have ordered the bases for our A-cyclic spaces in the columns of P according to their dimensions to ensure that the elementary nilpotent blocks appear in order of decreasing size in the form matrix P−1AP:
Remark 33.5.5.
Once again, in either example of this subsection, it is not necessary to compute P−1 to know the form of P−1AP. We know that each block is elementary nilpotent, and the number and sizes of the blocks is determined by the number and dimensions of the obtained A-cyclic spaces.