How close can similarity transformations take a matrix towards diagonal form? The answer is given by the Jordan canonical form, which achieves the largest possible number of off-diagonal zero entries (Brualdi, Pei, and Zhan, 2008).
Theorem (Jordan canonical form). Any matrix A∈Cn×n can be expressed as
where Z is nonsingular and m1+m2+⋯+mp=n. The matrix J is unique up to the ordering of the blocks Jk.
The matrix J is (up to reordering of the diagonal blocks) the Jordan canonical form of A (or the Jordan form, for short).
The bidiagonal matrices Jk are called Jordan blocks. Clearly, the eigenvalues of Jk are λk repeated mk times and Jk has a single eigenvector, e1∈Rmk. Two different Jordan blocks can have the same eigenvalues.
In total, J has p linearly independent eigenvectors, and the same is true of A.
The Jordan canonical form is an invaluable tool in matrix analysis, as it provides a concrete way to prove and understand many results. However, the Jordan form can not be reliably computed in finite precision arithmetic, so it is of little use computationally, except in special cases such as when A is Hermitian or normal.
The superdiagonal of ones moves up to the right with each increase in the index of the power, until it disappears off the top corner of the matrix.
It is easy to see that (A−λIn)j=Z(J−λIn)jZ−1=Zdiag((Jk(λk)−λImk)j)Z−1, and so
rank((A−λIn)j)=k=1∑prank((Jk(λk)−λImk)j).
For λ=λk, these quantities provide information about the size of the Jordan blocks associated with λk. To be specific, let
dj=rank((A−λkIn)j),j≥1,d0=n
and
ωj=dj−1−dj,j≥1.
By considering the equations (∗) above, it can be shown that ωj is the number of Jordan blocks of size at least j in which λk appears. Moreover, the number of Jordan blocks of size j is ωj−ωj+1=dj−1−2dj+dj+1. Therefore if we know the eigenvalues and the ranks of (A−λkIn)j for each eigenvalue λk and appropriate j then we can determine the Jordan structure. As an important special case, if rank(A−λkIn)=n−1 then we know that λk appears in a single Jordan block. The sequence of ωj is known as the Weyr characteristic, and it satisfies ω1≥ω2≥⋯.
As an example of a matrix for which we can easily deduce the Jordan form consider the nilpotent matrix B=[0r0rIr0r], for which B2=0 and all the eigenvalues are zero. Since rank(B)=r, we have d0=2r, d1=r, and d2=0. Hence ω1=0 and ω2=r, so there are r2×2 Jordan blocks. (In fact, A can be permuted into Jordan form by a similarity transformation.)
Here is an example with A the 11×11 matrix anymatrix('core/collatz',11).
We have rank(A)=10 and rank(A−2I)=10, so 0 and 2 are simple eigenvalues. All the other eigenvalues are 1 and they have the following dj and ωj values:
j0123456dj11754322ωj421110ωj−ωj+1210010
We conclude that the eigenvalue 1 occurs in one block of order 5, one block of order 2, and two blocks of order 1.
A matrix and its transpose have the same Jordan form. One way to see this is to note that A=ZJZ−1 implies
AT=Z−TJTZT=Z−TP⋅PJTP⋅PZT=(ZP)−TJ(ZP)T,
where P is the identity matrix with the its columns reversed. A consequence is that A and AT are similar.
Real Jordan Form
A version of the Jordan form with Z and J real exists for A∈Rn×n. The main change is how complex eigenvalues are represented. Since the eigenvalues now occur in complex conjugate pairs λ and λ, and each of the pair has the same Jordan structure (which follows from the fact that a matrix and its complex conjugate have the same rank), pairs of Jordan blocks corresponding to λ and λ are combined into a real block of twice the size. For example, Jordan blocks
[λ01λ],[λ01λ]∈C2×2
become
\notag \left[\begin{array}{@{\mkern3mu}rr|rr@{\mkern7mu}} a & b & 1 & 0 \\ -b & a & 0 & 1 \\\hline 0 & 0 & a & b \\ 0 & 0 &-b & a \end{array}\right] \in\mathbb{R}^{4 \times 4}
in the real Jordan form, where λ=a+ib. Note that the eigenvalues of [a−bba] are a±ib.
Notes
Proofs of the Jordan canonical form and its real variant can be found in many textbooks. See also Brualdi (1987) and Fletcher and Sorensen (1983), who give proofs that go via the Schur decomposition.