Similar Matrices and Jordan Form
First, unfinished business on positive definiteness: the inverse of a positive definite matrix, the sum of two, and the all-important product A transpose A. Then the main event: matrices A and B are similar when B equals M inverse times A times M, and the central fact is that similar matrices share the same eigenvalues. When eigenvalues repeat and eigenvectors go missing, diagonalization fails — and the Jordan form is the nearest-to-diagonal matrix each family can reach.
Finishing positive definiteness
Before similar matrices, Strang grabs the first ten minutes for a subject he “thinks is really important” — positive definite matrices. We know what positive definite means: the quadratic form is always positive (for ), with symmetric always built into the definition. We know how to test it — eigenvalues, pivots, determinants. Three quick questions push the idea further.
Is the inverse of a symmetric positive definite matrix positive definite? Don’t reach for pivots — you know nothing about the pivots of . But you know everything about its eigenvalues: they are for each eigenvalue of . If every is positive, so is every . Yes — the inverse is positive definite.
If and are both positive definite, what about ? You hope so — positive definite for a matrix is “kind of like positive for a real number.” But you don’t know the eigenvalues of , and you don’t know its pivots. So go down the list of tests and grab the one you can handle: the quadratic form. We have and for all . Add them:
If and are positive definite, so is . Be ready for all the approaches — eigenvalues and the quadratic form.
A transpose A is positive definite
Now the combination that came up in least squares. Let be rectangular, by . No way is itself positive definite — it isn’t symmetric, it isn’t even square. But the key matrix in least squares and projections was : square, symmetric. Now we can ask the deeper question — is it positive definite? In analogy with numbers, is “sort of like the square of a number,” and squares are positive.
Eigenvalues of the product? Unknown. Pivots? No thanks. The right quantity is the quadratic form — and the argument is “the one key idea in so many steps in linear algebra: put those parentheses in a good way.”
For an 11 by 5 matrix: no null space means the 5 columns are independent — rank 5, rank . Then is invertible, the least squares equations all work, and more: the matrix is positive definite. One numerical comment: with a positive definite matrix you never have to do row exchanges, never run into unsuitably small pivots or zeros. “They’re the great matrices to compute with, and they’re the great matrices to study.” Positive definiteness brought everything together — we’re coming close to the end of the heart of linear algebra.
Similar matrices: the definition
Now today’s lecture proper. Two square by matrices — no longer expecting symmetric — and a new word.
Why that combination? Part of the answer you already know. If has a full set of eigenvectors, put them in the eigenvector matrix , and the main calculation of the whole chapter was
In the new language: is similar to — there is an , and that particular is the all-important eigenvector matrix. But take any other invertible and won’t come out diagonal — it comes out some matrix similar to .
The main fact: same eigenvalues
The proof starts from the only possible place, , and gets into the picture by slipping in (the identity — the left side is unchanged):
Multiply on the left by — the same to both sides, and is just a number that factors out front:
times some vector equals times that vector — so is an eigenvalue of too. End of proof. The eigenvector didn’t stay the same, and of course it shouldn’t: if all the eigenvalues and all the eigenvectors matched, the matrices would probably be equal. Similar matrices have the same eigenvalues with eigenvectors just moved around by . Diagonalization is the special case where the move makes the eigenvectors as nice as possible — the eigenvectors of are just and .
So the family of matrices similar to above is all matrices with eigenvalues and : the triangular , the flipped , and infinitely many more — for each, some connects it to the rest.
The bad case: repeated eigenvalues
That family was nice because its two eigenvalues were different. Now the less happy possibility: . Then the matrix might not have a full set of eigenvectors — might not be diagonalizable — and the family picture gets trickier.
Say . The matrices with eigenvalues and split into two families, not one.
One family contains only — a “total loner.” Why is it off by itself? Conjugate it by any invertible :
The identity slips through, cancels , and you get back every time. The only matrix similar to is itself — a family with one member.
All the other matrices with eigenvalues form one big family, and its best-looking member is
This matrix is not diagonalizable — if it were, it would be similar to , and nothing but is. The catch: it has only one eigenvector. It can’t be made diagonal, so this near-diagonal form — diagonal except for one above the diagonal — is the nearest the family gets. That’s its Jordan form, after Jordan, who studied these families and picked out the nicest, most-diagonal member of each.
Other members of the big family? They need trace and determinant : for instance , or — in general any and on the diagonal, filled in to make the determinant . All similar, all with eigenvalues and , all with only one eigenvector. Similar matrices share the same ‘s and the same number of independent eigenvectors — because an eigenvector for gives the eigenvector for .
Jordan blocks and Jordan’s theorem
But counting eigenvectors is not enough, and a 4 by 4 example shows why. “If you want nightmares, think about matrices like these”:
Its eigenvalues are four zeros. Its eigenvectors live in the null space (since ), and the rank is obviously — two independent rows — so the null space has dimension : two eigenvectors, two missing. Change one of the remaining zeros to a and the rank is still — that matrix is similar to this one, just not as beautiful. Jordan picked the clean version: a above the diagonal for every missing eigenvector.
Now move the second :
Eigenvalues: four zeros again. Rank: again. Two eigenvectors, two missing — the counts all match. “But the darn thing is not similar to that one.” The first matrix is a 3 by 3 block with a 1 by 1 block; the second is a 2 by 2 block with a 2 by 2 block. Those blocks are Jordan blocks, and matrices with different block sizes are not similar — Jordan worked that out.
Jordan completed diagonalization by coming as near to it as every matrix allows — including the non-diagonalizable ones. When Strang took 18.06, the Jordan form was the climax of the course. He thinks it isn’t the climax of linear algebra anymore: computing it for a general matrix is not easy, because it depends on eigenvalues being exactly equal and on exact ranks — the slightest change in the numbers changes both, so numerically it’s not a good thing. For algebra, though, it’s the right way to understand these families. “I’m not that crazy about the Jordan form. But I’m very positive about positive definite matrices” — and about what’s coming Monday: the singular value decomposition.
Problems
Work these before revealing the solutions — trace and determinant will do most of the eigenvalue checking for you.
Let
Compute , then confirm by trace and determinant that and have the same eigenvalues. What are those eigenvalues?
Show solution
Since is triangular with ones on the diagonal, .
First .
Then
Check: and . Eigenvalues solve , so and — the same for both matrices.
Let
(a) Compute . (b) Without computing eigenvalues, explain why must be positive definite. (c) Confirm with the determinant test.
Show solution
(a)
(b) For any , , with equality only when . The columns of , and , are independent (neither is a multiple of the other), so has rank and no null space: forces . Hence for — positive definite.
(c) Leading determinants: and . Positive definite, confirmed.
The eigenvalues of each matrix below are and . Which of them are similar to , and which are not?
Show solution
The matrices with eigenvalues split into two families: the loner , and everything else, whose Jordan form is .
is not similar to : for any invertible , — the only matrix similar to is itself. (Equivalently, has two independent eigenvectors and has one.)
is similar to : trace , determinant , eigenvalues , and has rank , so the null space is one-dimensional: only one eigenvector. is not diagonalizable, so it lives in the big family with Jordan form .
is similar to : trace , determinant , so eigenvalues . And has rank — again a single eigenvector, so is in the same family as and .
Consider the 4 by 4 matrices
For each: find the eigenvalues, the rank, and the number of independent eigenvectors. Describe each matrix’s Jordan block structure. Are and similar?
Show solution
Both matrices are triangular with zeros on the diagonal, so both have eigenvalues . Eigenvectors for fill the null space.
: three independent rows, so rank ; the null space has dimension — one eigenvector. One eigenvector means one Jordan block: is a single 4 by 4 Jordan block.
: two independent rows, so rank ; the null space has dimension — two eigenvectors, hence two Jordan blocks: a 3 by 3 block and a 1 by 1 block.
Not similar. They already differ in eigenvector count ( versus ), so no can connect them — similar matrices must have the same number of independent eigenvectors. (And even matching counts wouldn’t be enough: a 3+1 block structure is not similar to a 2+2 structure, though both have two eigenvectors.)