Lecture 28 · Similarity matrix and Jordan standard form
Understand similarity matrices and Jordan standard forms, and deal with non-diagonalizable situations.
On this page
Similar matrices and Jordan form | Gilbert Strang | MIT 18.06 Linear Algebra
Lecture 28 / Total 35 Lectures |Part 3 · Eigenvalues, positive definiteness and linear transformation
Video of this lecture: Bilibili p29 · Similarity matrix and Jordan standard form ↗(45:57)| MIT OCW official page ↗
Illustration: MIT OCW 18.06SC official lecture summary (CC BY-NC-SA 4.0) and Bilibili classroom video frames (time stamped), about 10 frames per lecture.
Introduction to this lecture
The previous lecture boiled down the determination of a positive definite matrix to several mutually equivalent criteria: all eigenvalues are positive, all principal components are positive, and all sequential principal formulas are positive. The determination problem is solved, but the source question is left unanswered: What kind of matrices will naturally become positive definite in applications? This lecture will first use a short section to make up for this. The answer lies in the recurring combination in least squares. Medium - only rectangular matrix The columns of are linearly independent, It is right concentration.
Then move to the main topic: similarity matrix (similar matrices). weigh two matrix with Similarity means that there is an invertible matrix such that . This definition seems to be just There is a matrix on the left and right, but it is actually classifying all square matrices - similar matrices form a family, and the same family shares all eigenvalues.
A similar point of view changes the eigenvalue theory in the previous chapter: diagonalization Now read as ” with diagonal matrix similar”, while Exactly The simplest member of the family. The trouble lies in repeated eigenvalues and insufficient eigenvectors: there was no diagonal matrix in the family at that time, and the simplest member could only bring a few above the diagonal. , this is Jordan standard type (Jordan form). It uses the size of the block to clearly record “several missing eigenvectors”, so all square matrices - including non-diagonalizable ones - have standard representations.

MIT OCW Official Lecture Notes Summary Page 1/4 (18.06SC Lecture 28 Summary, CC BY-NC-SA 4.0).
1. Three supplements to positive certainty
There are several properties of a positive definite matrix that can be seen directly from the definition without having to calculate eigenvalues or pivot components. inverse matrix is the first one: if Symmetrically positive definite, then is also symmetrical, and The characteristic value of is The reciprocal of the eigenvalues ; guarantee , so Also samadhi. This argument only uses eigenvalues, which is much faster than recalculating the pivots.
sum of matrices It’s the second one. Set , Du Zhengding, ask Whether it is right concentration. I don’t know at this time ’s eigenvalues, and we don’t know its pivot, the only thing we can start with is the definition itself—quadratic type:
The two terms on the right-hand side are valid for any non-zero are both positive, so their sum is always positive, Right concentration. Positive definiteness is like the property that real numbers are “positive”, which is at least closed to addition; what is more worth understanding is the method: when the eigenvalues and pivot components cannot be calculated, it is always feasible to go back to the definition and look at the quadratic form.
The third property comes from application. Appears in all formulas of least squares and projection , here is rectangular matrix. It cannot be said to be positive concentration per se - it is asymmetrical and generally not square - but is symmetric matrix, the problem then becomes: Right?
Still looking at the quadratic form, the key lies in the position of the brackets:
because , the entire expression is a column vector The inner product with itself, the square of the length, can never be negative. So at least positive semidefinite (positive semi-definite). To upgrade to positive definite, we must exclude the length of situation: there is only one possibility for the length square to be zero, . The question then becomes: When does the nullspace of contain only zero vectors? The answer is that rank is equal to , that is, each column is linearly independent.
to Take the matrix as an example: the five column vectors are linearly independent, and the rank is , there are only zero vectors in the null space. At this time It is positive definite, therefore reversible, and the least squares equation has a unique solution. Conversely, if the column vectors are correlated, there will be a non-zero such that , the quadratic form is obtained , It’s just semi-definite.
By the way, a numerical observation: there is no need to exchange rows when eliminating elements of a positive definite matrix, and zero or extremely small numbers that should not appear will never appear in the pivot position. This type of matrix is both the best theoretically structured and the most computationally reliable.

Video 00:04:36 | Approximately corresponding to Section 1 “1. Three Supplements to Positive Determination”.
2. Similarity matrix: same family
Set with All matrix. If there is an invertible matrix such that
is called with similar (similar). in the definition Clamp from both sides , multiply the inverse matrix on the left and multiply itself on the right. This specific combination is not arbitrarily specified. It has already appeared before.
Editor’s note: From the perspective of linear transformation, It is the matrix of the same linear transformation under two different bases, The relationship between these two groups of bases is recorded. This is the basis for understanding similarity as “different descriptions of the same object.”
The most important calculation in the chapter on eigenvalues is: if Yes linearly independent eigenvectors, arrange them in columns into a matrix , then
Among them It is a diagonal matrix with each eigenvalue placed sequentially on the diagonal. To rephrase in similar language, this is ” with “similar”, and in this similar relationship It happens to be the eigenvector matrix . Change to an arbitrary invertible matrix do it , the result is generally no longer diagonal, but it is still related to Similar. The similarity relation brings all such matrices into the same family, and the diagonal matrix is just the neatest member of the family. This is also the benefit of diagonalization: it does not change any eigenvalues, it just changes the eigenvectors into the cleanest shape - the eigenvectors of the diagonal matrix are the standard basis vectors with .
Let’s look at an example. take
The trace is , the determinant is , so the eigenvalue is and . The eigenvector is not difficult to find: The null space of Zhang Cheng, The null space of Zhang Cheng, so
Change it now . Get the upper triangular matrix
All diagonal elements are To inverse the upper triangular matrix, just change the sign of the number in the upper right corner. Calculate first :
Take another left :
with It seems irrelevant. Check its eigenvalues: the trace is , the determinant is , so the characteristic polynomial The roots are still and ., , The three are similar and belong to the same family.
There are far more than three members of this family. with Similar matrices are And the characteristic value is matrix; in turn, each eigenvalue is of The matrix is also in this family. For example, the upper triangular matrix
The eigenvalues of are written on the diagonal. It is also in the family, but not like So clean.

Video 00:11:05 | Approximately corresponding to Section 2 “2. Similarity Matrix: Same Family”.

MIT OCW Official Lecture Notes Summary Page 2/4 (18.06SC Lecture 28 Summary, CC BY-NC-SA 4.0).
3. Similar matrices have the same eigenvalues
The most important thing that similar matrices have in common is that the eigenvalues are the same. The proof is that there are only three rows, but every step must be seen clearly.
Set , , and . in After inserting a pair of mutually inverse matrices, the equation remains unchanged:
Take both sides to the left at the same time , reuse It’s just a number that can be mentioned at the top:
That is
This shows Also The eigenvalues of , the corresponding eigenvectors are . The proof ends here.
There are two conclusions. First, the eigenvalues of similar matrices are exactly the same. Second, the eigenvectors do not remain unchanged; Moved to another location. The eigenvectors must change: if the eigenvalues are the same and the eigenvectors are all the same, then the two matrices are the same and there will be no other members of the family.
Other conserved quantities can also be derived from the same eigenvalues. The trace is the sum of eigenvalues, and the determinant is the product of eigenvalues, so the trace and determinant of similar matrices are the same - in the previous example with All traces of , the determinants are all , it is for this reason; these two numbers are also the fastest way to check whether the calculation is wrong. In addition, put The feature vectors of eigenvectors, so the number of linearly independent eigenvectors of both is the same. Yes For matrices, the two pieces of information, eigenvalues and the number of eigenvectors, are enough to determine the family; but for larger matrices, counting alone is not enough.

Video 00:17:28 | Approximately corresponding to Section 3 “3. Similar matrices have the same eigenvalues”.
4. Repeated eigenvalues: matrices that are only similar to themselves
Things immediately get worse when eigenvalues are repeated. Assume that the two eigenvalues are equal, , that is is a double eigenvalue. Under the framework of diagonalization, the bad news is that there may not be two linearly independent eigenvectors, and the matrix cannot be diagonalized; in similar language, the eigenvalue is There is more than one family of matrices.
Let’s look at the simplest members first : is the identity matrix, It’s all on the diagonal matrix. for any invertible matrix ,
Got asked out. So with A similar matrix is only itself: it is a family with only one member, it stays alone.
Look again
Its trace is , the determinant is , the eigenvalues are indeed two . But
Equation Only the second component is required to be zero, and the null space is one-dimensional, given by Zhang Cheng. There is only one eigenvector, so Not diagonalizable. if Can be diagonalized, its diagonal form can only be two on the diagonal , that is ; but with Not similar. Contradiction explanation: There is no diagonal matrix in the family.
So the “best representative” of this family can no longer be , we can only take a step back :Place two on the diagonal , place one just above the diagonal . that It is the trace left by the “missing eigenvector” - it reminds us that there should be an independent direction here, but the matrix does not provide it.
There are many other members of this family. Yes Matrix, the eigenvalues are completely determined by the trace and determinant, so the trace is , the determinant is and not equal to matrix, the eigenvalues are . For example
The trace is , the determinant is ; subtract it Got
Rank is , the null space is still one-dimensional, so Not diagonalizable. Look again
Its traces are also , the determinant is also , and The rank is also , so they are also in this family.
These matrices are similar to each other and can be explicitly expressed using See it. take , calculated directly
You can take any non-zero value, so put the Replace with , exchange it for 10 million, and you will still get members of the same family, but not as good as Clean. Writing the shapes apart, the average member of this family is
As long as , its trace is , the determinant is , the characteristic value is . remove themselves, these matrices belong to family. So the eigenvalue is of The matrix is divided into two families: one family has only A member of another tribe There are infinitely many representatives and members.

Video 00:29:52 | Approximately corresponding to Section 4 “4. Repeating eigenvalues: matrices that are only similar to themselves”.
5. Just counting eigenvectors is not enough
From the previous section: similar matrices have the same eigenvalues and the same number of linearly independent eigenvectors. A natural conjecture is that these two together are sufficient to determine similarity. This conjecture is wrong, and the counterexample will be Just showed up.
Take a four eigenvalues all as matrix, the structure is “a block plus one block”:
What is its rank? Only the second and third columns are non-zero, and they are linearly independent, so the rank is ;The null space dimension is . The eigenvalues are , the eigenvector is a non-zero vector in the null space, so it has exactly two linearly independent eigenvectors.
Now put that Change the position and change it to “two block”:
Its rank is also , only the second and fourth columns are non-zero. The null space dimension is still , there are still two feature vectors. The eigenvalues are the same, the ranks are the same, the null space dimensions are the same, and the number of eigenvectors is the same, but with Not similar.
The difference lies in “how the missing feature vectors are distributed”. There is one block, it occupies the position of three eigenvalues but only contributes one eigenvector, missing two; next to If you contribute one block, there will be no shortage. It’s two Each block occupies two positions, contributes one, and lacks one. The total number of gaps on both sides is two, but one is "" and the other one is ””, this difference cannot be seen by counting numbers.
These matrices with the same structure are also connected to each other. put No. line of work Column zeros are changed to , the eigenvalue is still four zeros, and the rank is still , the resulting matrix is still the same as similar (it puts The Jordan block structure remains), it just doesn’t have the neat block structure anymore - it’s still part of the same family, it just doesn’t look good.

MIT OCW Official Lecture Notes Summary Page 3/4 (18.06SC Lecture 28 Summary, CC BY-NC-SA 4.0).

Video 00:35:58 | Approximately corresponding to Section 5 “5. Just counting eigenvectors is not enough”.
6. Jordan block and Jordan standard type
The differences above all come down to “blocks”, and these blocks have special names. one Jordan block (Jordan block) is in the form
of Matrix: all diagonals have the same eigenvalues , the diagonal line just above the diagonal line is full of , the rest of the position - especially below the diagonal line - are all .
A Jordan block has exactly one eigenvector. solution , which is equivalent to the line-by-line requirement , , until , only the first direction is free to take values, so the null space is one-dimensional. The size of the block is , but only one eigenvector is given, which is missing This is recorded in the size of this piece.
Jordan’s theorem:Each square matrix are all related to a certain Jordan matrix Similar. The so-called Jordan matrix is a block diagonal matrix in which a number of Jordan blocks are placed along the diagonal and the remaining positions are all zeros.
Different blocks can have different feature values, and the same feature value can also appear in several blocks.
There are three ways to read the Jordan matrix: all the eigenvalues can be read by multiplicity on the diagonal, and the sum of the sizes of each block is exactly ;The number of blocks is equal to the number of linearly independent feature vectors, since each block contributes exactly one; the size of each block indicates how the missing feature vectors are distributed, a Stage block occupied eigenvalue positions, but only one eigenvector is provided, missing . In the two examples of is type, is Type and number of blocks are both , the total number of gaps is , but the distribution is different, so they are different families.
Diagonalization is a special case of Jordan’s theorem. If of eigenvalues are different from each other, then The feature vectors must be complete, , each block is , the Jordan matrix is a diagonal matrix . This is the “good case” where similar problems degenerate into diagonalization problems, and is where 18.06 is practiced over and over again. Jordan’s contribution was to bring bad situations into the same language: Still there, just a few more above the diagonal .
Today, the Jordan type is no longer regarded as the climax of the course. The reason is very practical: to find it, you need to know whether the eigenvalues Just right are equal, you also need to know the matrix precise Rank; these two things are extremely sensitive to numbers. A small perturbation will separate two equal eigenvalues and change the rank, so the entire block structure changes accordingly. Therefore, the Jordan type is an algebraically correct classification tool, but it is not a target that can be relied upon in numerical calculations. The protagonist of the next lecture is singular value decomposition, which operates on any matrix - including rectangular matrices - and has become a central content of linear algebra.

Video 00:41:21 | Approximately corresponding to Section 6 “6. Jordan Block and Jordan Standard”.

MIT OCW Official Lecture Notes Summary Page 4/4 (18.06SC Lecture 28 Summary, CC BY-NC-SA 4.0).
Summary of this lecture
- The inverse of a positive definite matrix is still positive definite: the eigenvalues of the inverse are the reciprocals of the original eigenvalues , all are positive.
- The sum of two positive definite matrices is still positive definite because the quadratic form can be broken into two terms: .
- If is rectangular matrix, then Symmetric and positive semi-definite, the basis is ;when The rank is (column is linearly independent), it is positive definite, reversible, and the least squares equation has a unique solution. There is no need to exchange rows when eliminating elements of a positive definite matrix, which is the most reliable numerically.
- Similar definition: there is an invertible matrix such that . All square matrices are divided into families according to similar relationships; diagonalization Just ” with similar”, He is the simplest member of the family.
- Similar matrix eigenvalues are the same: given by launch , the feature vector is move. The trace is also the same as the determinant (the product of the sum of eigenvalues).
- Example: all diagonal elements are , all off-diagonal elements are of The matrix eigenvalues are , which is related to Similar; use upper triangular matrix do Get another matrix of the same family, it looks completely different, the trace is still , the determinant is still .
- Family splits when eigenvalues are repeated: and Similar only ;The remaining eigenvalues are of matrix (trace , determinant ) belong to the same family, the optimal representatives are the two on the diagonal , one immediately above the diagonal The matrix of Can be replaced by any non-zero number.
- Jordan block: On the diagonal are the repeated eigenvalues, and on the diagonal immediately above , the rest are zero; each block contributes exactly one feature vector, missing .
- Jordan’s theorem: Any square matrix is similar to a Jordan matrix composed of Jordan blocks; the number of blocks is equal to the number of eigenvectors, and the block size records the distribution of missing eigenvectors; when the eigenvalues are different from each other, it is a diagonal matrix.
- The Jordan type is extremely sensitive to perturbations and is an algebraic classification tool rather than a numerical calculation target; of Type and A type is an example in which the number of eigenvalues, ranks, and eigenvectors are identical but not similar.
keywords
| English | Chinese | One sentence explanation |
|---|---|---|
| positive definite | positive definite | Symmetric matrix and quadratic form for everything non-zero is positive |
| positive semi-definite | positive semidefinite | The quadratic form is always non-negative, but may be zero, such as if the rank is not satisfied |
| similar matrices | similarity matrix | There is reversibility such that , homogeneous matrices share eigenvalues |
| diagonalization | diagonalization | Use eigenvector matrix put form |
| Jordan form | Jordan standard type | Each square matrix is similar to a block diagonal matrix, and the blocks are Jordan blocks |
| Jordan block | Jordan block | The same eigenvalue is repeated on the diagonal, and all on the upper diagonal are block, only contributes one feature vector |
| block diagonal matrix | block diagonal matrix | A matrix with several sub-blocks placed along the diagonal and zeros in the remaining positions |
| eigenvalue | eigenvalue | satisfy number , unchanged under similar transformation |
| eigenvector | eigenvector | satisfy is a non-zero vector, which is transformed under similar transformation move |
| trace | trace | The sum of diagonal elements is equal to the sum of eigenvalues, unchanged under similar transformation |
| determinant | determinant | The product of eigenvalues is invariant under similar transformations and is also one of the tools for judging reversibility and positive certainty. |
| nullspace | null space | satisfy The total vector of , the dimension is |
| rank | rank | The number of linearly independent columns (or rows) determines the null space dimension |
| identity matrix | identity matrix | All on the diagonal are matrix; scalar matrix The only similar family is itself |
Machine-assisted translation · Read Chinese original
