This lecture is mostly about similar matrices, but first a little more on positive definite matrices: where they come from (transcript, p. 1). The previous lecture gave their tests and meaning.
More on positive definite matrices#
The inverse (pp. 1–2). If is symmetric positive definite, is ? The pivots of are no help, but its eigenvalues are , positive when the 's are. So yes (p. 2).
A sum (pp. 2–3). If and are positive definite, the eigenvalues and pivots of are unknown, but the quadratic form settles it (p. 2):
In words
x^ capital T the quantity capital A plus B, x equals x^ capital T capital A x plus x^ capital T B x greater than 0 for x is not equal to 0
(pp. 3–5). Now let be rectangular, (Strang apologises for reusing the letter). No such matrix is positive definite, but , from least squares, is square and symmetric, and like the square of a number it should be positive (p. 3). Put the parentheses in a good way (p. 4):
In words
x^ capital T capital A ^ capital T capital A x equals ( capital A x)^ capital T ( capital A x) equals the norm of capital A x squared is greater than or equal to 0
It is zero only if (p. 5). That cannot happen for when the nullspace of is only the zero vector, that is when the columns are independent: rank . For an matrix, rank 5 (p. 5). Then is positive definite, invertible, and the least-squares equations work fine. Numerically such matrices are the best: elimination never needs row exchanges and never meets unsuitably small pivots (p. 5).
Strang notes that positive definiteness brings the course close to the end of "the heart of linear algebra", and that the singular value decomposition, next lecture, has become central enough to be in the course (p. 6).
Similar matrices#
Two matrices, not necessarily symmetric, are similar if (p. 6)
In words
B equals capital M to the power minus 1 capital A capital M for some invertible capital M
We have done this already: with a full set of eigenvectors in , , so is similar to (p. 7). Any other invertible gives another similar matrix, not diagonal. Similarity sorts matrices into families, and is the outstanding member of 's family, the simplest and neatest (p. 7).
Strang's example (pp. 7–9). has eigenvalues 3 and 1, so it is similar to (pp. 7–8). With a triangular made up on the spot (p. 8; the transcript's "one four one zero" is , as the inverse he writes and the result show):
In words
capital M to the power minus 1 capital A capital M equals 1 minus 4; 0 1 2 1; 1 2 1 4; 0 1 equals minus 2 minus 15; 1 6 equals B
does not look special, but its trace is and its determinant : the same as 's, so its eigenvalues are also 3 and 1 (p. 9). The main fact (p. 9):
In words
similar matrices have the same eigenvalues
The family of is all matrices with eigenvalues 3 and 1, for example a triangular one with 3 and 1 on the diagonal (p. 10). Why (pp. 10–11): start from , insert , and multiply on the left by :
In words
capital A capital M capital M to the power minus 1 x equals lambda x which gives capital M to the power minus 1 capital A capital M ( capital M to the power minus 1 x) equals lambda ( capital M to the power minus 1 x) which gives B( capital M to the power minus 1 x) equals lambda ( capital M to the power minus 1 x)
So is an eigenvalue of , with eigenvector : the eigenvalues stay and the eigenvectors are "moved around" (pp. 11–12). Diagonalisation is the most important case: it moves the eigenvectors to and (p. 12).
Repeated eigenvalues: two families#
With the matrix might not be diagonalisable (p. 13). Take eigenvalues and . The matrices with these eigenvalues form two families (p. 13). One is a loner: , because for any (p. 14)
In words
capital M to the power minus 1 (4 capital I ) capital M equals 4 capital M to the power minus 1 capital M equals 4 capital I
All the others form the second family, whose best member is (pp. 14–15)
In words
J equals 4 1; 0 4
It is not diagonalisable (otherwise it would be similar to ) and has only one eigenvector (p. 14). Replacing the 1 by 10 or a million stays in the family (p. 15). Other members are found from trace 8 and determinant 16, such as (p. 16)
In words
5 1; minus 1 3, 4 0; 17 4
In general and on the diagonal, with the off-diagonal entries chosen to make the determinant 16, except itself (pp. 16–17). Similar matrices also have the same number of independent eigenvectors, here one each (p. 17).
Counting eigenvectors is not enough (pp. 17–20). Strang's "nightmare" matrices have eigenvalue 0 four times. The transcript does not give the positions of the ones; the block structures he describes fix them. With ones at positions (1, 2) and (2, 3) above the diagonal, the rank is 2, so the nullspace, which holds the eigenvectors, has dimension : two eigenvectors, two missing (pp. 17–18). (Strang then changes a zero to 7 and notes that the eigenvalues are all still zero and the rank still 2; the transcript does not say which zero. A 7 above the diagonal at position (1, 3), say, does exactly that and gives a similar matrix, but Jordan's choice is the one with ones: a one above the diagonal for every missing eigenvector; p. 18.) Now move a one: ones at (1, 2) and (3, 4) (p. 19). Again eigenvalue 0 four times, rank 2 and two eigenvectors, yet the two matrices are not similar. The first is made of a block and a block, the second of two blocks (pp. 19–20):
In words
0 1 0 0; 0 0 1 0; 0 0 0 0; 0 0 0 0 versus 0 1 0 0; 0 0 0 0; 0 0 0 1; 0 0 0 0
Jordan's theorem#
A Jordan block has one repeated eigenvalue on the diagonal, ones just above it and zeros elsewhere; it has exactly one eigenvector (p. 19):
In words
J sub i equals lambda i 1; lambda i and so on down the diagonal; and so on down the diagonal 1; lambda i
Jordan's theorem (p. 20): every square matrix is similar to a Jordan matrix, with Jordan blocks down the diagonal:
In words
capital A equals capital M J capital M to the power minus 1, J equals J one; and so on down the diagonal; J sub d, d equals number of independent eigenvectors
In the good case, distinct eigenvalues, every block is , and (p. 20). Jordan completed diagonalisation by coming as near to diagonal as possible, so every matrix is covered (p. 15). When Strang took 18.06 this was the climax of the course; it is no longer, because the Jordan form depends on eigenvalues being exactly equal and on exact ranks, and the slightest change in the numbers changes it, so it is numerically not a good thing, though right for algebra (pp. 15, 20–21). How to compute is not covered (p. 20).
Families of your own
(a) Let and . Find , check that the eigenvalues agree, and move an eigenvector of to one of . (b) Is similar to ? (c) Is positive definite for the matrix with columns and ?
(a) The similar matrix
, , so . Both have trace 9 and determinant 18 ( for and for ), so eigenvalues 6 and 3. gives ; then , and indeed .
(b) A repeated eigenvalue
has trace 10 and determinant , so eigenvalues 5 and 5. It is not , so it is in the big family with the Jordan block: yes, similar. ( has rank 1: one eigenvector, .)
(c) AᵀA
The columns are independent, so yes. Directly: , with and determinant .
Summary#
- Positive definite is kept by and by ; is positive definite when has independent columns.
- is similar to : same eigenvalues, eigenvectors , same number of eigenvectors.
- With distinct eigenvalues each family contains the diagonal . With repeats, is alone and the rest gather round a Jordan block.
- Jordan's theorem: every is similar to , one block per eigenvector; in the good case. Exact, but numerically fragile.