Lecture 18 · Properties of Determinants
Starting from the three defining properties, all the properties of the determinant are deduced.
On this page
Properties of determinants | Gilbert Strang | MIT 18.06 Linear Algebra
Lecture 18 / Total 35 Lectures |Part 2 · Orthogonality and Determinant
Video of this lecture: Bilibili p18 · Properties of determinants ↗(49:12)| 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 protagonist of the first seventeen lectures is the rectangular matrix: of put The vector in is sent to , four basic subspaces surround Whether there is a solution and how many solutions there are. From this lecture on, attention turns to square array (square matrix), and introduces two main lines that run through the second half of the course: determinants and eigenvalues. The first big reason to talk about determinants is to be able to define and calculate eigenvalues later.
determinant (determinant) is a number attached to each square matrix, written as , also often written in the form of vertical lines . Of course, one number cannot restore the entire matrix, but it is the result of compressing the matrix information into one number as much as possible. The first sentence to grab is: time reversible, time Strange (singular, that is, irreversible). So the determinant is first of all a criterion for reversibility; but it can do much more than just judge reversibility.
The order of teaching needs to be considered. It is not advisable to show out the big formula of the determinant all at once. There are too many things stuffed into the formula, and the structure cannot be seen. A clearer route is: first establish three properties and treat them as definitions; then use these three properties to deduce the remaining seven properties one by one; finally look back at the formula. Three plus seven are exactly ten. The first three are definitions, and the last seven are theorems. The whole theory grows from here. In this way, situational It is no longer a starting point, but a ruler that can be checked at any time; The explicit formula for the order is left to the next lecture. Pay special attention to the positive and negative signs throughout the lecture, as they are everywhere in the formulas and properties of determinants.

MIT OCW Official Lecture Notes Summary Page 1/3 (18.06SC Lecture 18 Summary, CC BY-NC-SA 4.0).
1. Three defining properties
The determinant is not defined by a formula, but by three properties. These three properties only talk about row operations, but they are enough to determine the number corresponding to a square matrix of any order.
Property 1 is the most straightforward: identity matrix The determinant of (identity matrix) is equal to .
Property 2 is about row exchange: exchange any two rows of the matrix and change the sign of the determinant. If Yes of the line and order The matrix obtained by swapping rows, then
The combination of properties 1 and 2 is enough to know the determinant of an entire class of matrices. permutation matrix(permutation matrix) It is obtained by several row exchanges of the identity matrix, so can only be or , depending on whether the number of exchanges is an even or odd number. Two minimal examples of are
The third property is the most critical, it is divided into two halves. 3A: Multiply a row by , the remaining rows remain unchanged, and the determinant is multiplied by :
3B: If the elements of a certain row are the sum of two numbers, the determinant can be split into the sum of the two determinants according to this row:
Summarize it in one sentence: The determinant is linear for each row separately. It must also be made clear here what it does not advocate. it does not advocate . If that “overall linearity” holds true, it is equivalent to allowing with Each row of is different. The separated determinant does not share any row with the original matrix, and the third property loses its control. Both 3A and 3B are only allowed to move one row, and the rest are The rows must remain unchanged in both determinants - it is this restriction that makes it useful.
Only the first line is written above, but every line holds true. If the combination falls on the OK, use property two to change it to the first line, apply the above conclusion, and then use property two to change it back; the two exchanges each produce a negative sign, which cancels each other out, and the conclusion remains unchanged. So the sentence “linear for each row” is correct All are valid.
In terms of coverage, properties 1 and 2 only cover a very special class of matrices such as permutation matrices, which are derived from unit matrices. It is the third property that really allows determinants to handle general matrices. Where do the symbols for the first two tubes come from, and how do you calculate the value of the third tube?
At this time, you can first write next to answer
It does not participate in proof, but is only used to check whether each property is consistent with the known situation. What really matters is that the three properties give a number for a square matrix of any order, not just for Valid.

Video 00:04:55 | Approximately corresponding to Section 1 “1. Three Definitions of Properties”.

Video 00:05:54|Approximately corresponding to Section 1 “1. Three Defining Properties”.
2. Two rows are equal, row transformation and zero row
Starting from the three properties, the first inference is: a matrix with two equal rows has a determinant of zero. this is Property four.
The three conclusions to be derived in this section - two rows are equal, rows are unchanged when changing, and zero rows appear - are not allowed to introduce any new assumptions, and each one must go back to properties one, two, and three. This is also the methodology of the entire lecture: all properties of determinants must be deducible from the first three items.
First look at the two lines that are equal. The proof uses only properties 1, 2, and 3. Assume a The first row of the matrix is the same as the third row. By exchanging these two rows, the matrix obtained is exactly the same as the original, so the determinant remains unchanged; but the second property also states that the sign must be changed when exchanging two rows. So
the only possibility is . This reasoning only relies on the action of “exchange” to force out a numerical conclusion. By the way, it also confirms the previous knowledge: two lines are equal means rank (rank) less than , the matrix is irreversible and the determinant should be zero.
The second corollary is Property five: Reduce multiples of one line to another line, leaving the determinant unchanged. This is exactly elimination (Elimination) What you are doing repeatedly is also the basis for “elimination does not change the determinant”. Still with For example, subtract the first row from the second row times and use 3B for the second row:
The first step is to keep the first row unchanged and split the second row into with Two groups; second step with 3A raised from second row ; In the third step, use the previous inference, and the remaining two rows of determinants are the same, equal to zero.
The same applies to general situations. No. row minus th OK times, from 3B we get the “original determinant” plus the “th Replace the line with times Determinant of “row”; use 3A for this additional term , the remaining matrix line and order If the rows are equal, the conclusion that the two rows are equal is zero. So the entire additional term is zero and the determinant remains unchanged. Three tools perform their own duties here: 3B is responsible for isolating changes, 3A is responsible for moving multiples out of the determinant, and property 4 is responsible for zeroing out the moved things.
The reason why this property is necessary is that every step of elimination is exactly this kind of row transformation: using the pivot row to eliminate the following elements, what is done is “from the first row minus th several times the number of rows”. Therefore, the determinant of the entire elimination chain does not change, and the symbols are only flipped when a new line occurs.
So you can write
Among them It is obtained by elimination upper triangular matrix (upper triangular matrix), on the diagonal is pivot (pivot). The determinant problem of general matrices has since been transformed into the determinant problem of triangular matrices.
The third inference is Property six: As long as there is an entire row of zeros, the determinant is zero. It is obtained by 3A - think of the all-zero row as Multiply a row vector and get Just multiply the entire determinant to zero. A zero row means that this row does not provide any new information, and the matrix is singular; however, before property 8, it cannot be argued with “singularity implies that the determinant is zero”, and can only rely on 3A.
The two rows are equal, the row transformation does not change, and the zero row returns to zero. After these three things are put together, the calculation of the determinant can fall on the triangular matrix. This is the task of the next section.

Video 00:18:42 | Approximately corresponding to Section 2 “2. Two rows are equal, row transformation and zero row”.
3. Product of triangular matrix and pivot element
Now ask: What is the determinant of a triangular matrix? this is Property seven. Set is an upper triangular matrix, and the diagonal element is written as , elements above the diagonal are insignificant:
The same goes for the lower triangular matrix, just replace “upper” with “lower”.
The proof is divided into two situations. If all , use property five to clear the elements above the diagonal: starting from the second row, use the The row multiplied by an appropriate multiple is reduced to the rows above it, and the Elements above the column diagonal are cleared to zero; because It is an upper triangular shape. go ahead Columns are filled with zeros, and these operations will not destroy already cleared columns. Make it all the way OK, you get a diagonal matrix. Here, the diagonal element is required to be non-zero, because the so-called “appropriate multiple” is actually divided by the eliminated element , once , these multipliers simply cannot be calculated.
Why is a diagonal matrix equal to the product of its diagonal elements? This time use 3A to extract the factors row by row: from the first row , the first line becomes ;Extracted from the second line , the second line becomes ; If this continues, all It is mentioned that outside the determinant, the identity matrix remains inside, and the first property says that the determinant of the identity matrix is . So the original determinant is equal to .
If a certain , using elimination will create a whole row of zeros, and the determinant is zero; while the product Also zero. Putting the two situations together, the formula holds for all triangular matrices.
The diagonal element of is the pivot element obtained by elimination, so this formula is equivalent to saying: the determinant of a triangular matrix is the product of the pivot elements. It uses the same language as Chapter 2 “The number of pivots determines reversibility”, but here it goes one step further - multiplying the pivots together results in a number.
The price of exchange. The above derivation does not require line breaks for elimination by default. If it is necessary to wrap the line, turn it over every time the symbol is changed, so
Among them is the number of row exchanges during elimination. This is the source of the sign between the “product of pivots” and the “determinant”.
This property also has a practical significance: it is the standard way for computers to find determinants. A matrix of order 100 will not expand any big formula, but will eliminate it into a triangle, and then multiply the pivot elements; The explicit formula of the order will not be deduced until the next lecture.
return to Check it out. The two pivots obtained by elimination are with (The multiplier is ), so
This derivation has a premise: . If , the pivot cannot be taken out in the first step, and the two rows must be exchanged first. This requires ; If even exchange cannot save it, it means that the first column is all zero, the matrix is singular, and the determinant is zero. So far, It is a result deduced from the three properties, rather than a formula that needs to be memorized.

MIT OCW Official Lecture Notes Summary Page 2/3 (18.06SC Lecture 18 Summary, CC BY-NC-SA 4.0).
4. The determinant is zero if and only if the matrix is singular
With property seven, we can make it clear that “the determinant is reversible”.
Property eight: if and only if strange; strange; Reversible .
Prove that the dollar still disappears . If Weird, the elements cannot be eliminated There must be zero rows for each pivot element. According to the sixth property , and property five says that row transformation does not change the determinant, so . If Reversible, elimination gives the complete non-zero pivot, by property seven .
The two situations use the same set of eliminations, but the endings are different: when it is reversible, the eliminations go all the way to the end, and everything is completed. non-zero pivot elements; when singular, the elimination element must be stuck in a certain column, and the remaining rows can only be reduced to zero. The determinant records exactly this bifurcation - a non-zero product on one side and zero on the other.
So the determinant becomes a fair criterion: it is zero only when it is singular, and never zero as long as it is not singular. This is two ways of saying the same thing as “Reversibility is equivalent to complete pivot” in Chapter 2. From now on, there is an additional way to judge reversibility: you don’t have to actually find the inverse matrix, you only need a number. Determinants deserve their own chapter, and here’s why.

Video 00:31:59|Approximately corresponding to Section 4 “4. The determinant is zero if and only if the matrix is singular”.
5. Determinant of product
The next question is: Is there any connection between determinants and matrix multiplication?
Property nine: The determinant of the product of two square matrices is equal to the product of their respective determinants,
This property comes a bit suddenly: matrix multiplication was not mentioned for a long time, but determinants happen to have multiplicative properties. What is more worthy of comparison is addition - the determinant does not have such properties for addition, Generally not equal to ; But for multiplication, it is multiplicative.
The proof starts with a situation that can be read directly. If are all diagonal matrices, and the determinants on both sides are equal to the product of their respective diagonal elements, and It is still a diagonal matrix and diagonal elements are multiplied one by one, so Set up immediately. Generally speaking, matrices require patient completion of arguments through elimination, which will not be expanded upon here. This lecture will only use it as a tool for further derivation.
This immediately yields the determinant of the inverse matrix. in Take the determinant on both sides, split the left side according to property nine, and the right side is equal to property one :
Diagonal matrices can be checked: The determinant of is , The determinant of is , which happens to be the countdown.
There are two incidental corollaries. One, : The matrix is squared, and the determinant is also squared. Second, multiply the entire matrix by - Each element is doubled - the determinant is multiplied instead of . Reason 3A: Each row contains factors , one can come up with one from the first line , propose another one from the second line , until the OK, put forward a total of . It’s the same thing as volume: double the size of each side of the box, Dimensional volume is multiplied by , in three dimensions it is times.
Property nine also confirms the strange situation: if , does not exist, but It is meaningless in the first place. The two facts are self-consistent with each other.

Video 00:35:25 | Approximately corresponding to Section 5 “5. Determinants of products”.

Video 00:38:22|Approximately corresponding to Section 5 “5. Determinant of product”.
6. Transposition does not change the determinant
The last property brings in an operation that seems to have nothing to do with determinants.
Nature ten:
The situation can be seen at a glance: with its transpose(transpose) The determinants of are all , transposing doesn’t change anything.
This property translates all previous conclusions about rows into conclusions about columns. If there is a whole column of zeros, the determinant is zero (transpose into rows, use property 6); swap two columns, and the determinant changes sign (transpose into rows, swap, and then transpose back, but the transposition itself does not change the determinant). Therefore, the status of rows and columns in the determinant is completely equal, and none of the previous properties is unique to rows. This point is worth remembering alone: the entire set of properties is initially stated in rows, but the conclusion automatically holds true, relying on property ten.
Prove to go To decompose, first cover the situation where row swapping is not required. time , by property nine
is a unit lower triangular matrix (lower triangular, and all diagonal elements are ), by property seven ; It is also a triangular matrix, and all diagonal elements are , so . with They are also triangular matrices with the same diagonals, and are equal to . Substitute
Situations and strange situations that require line exchange can be supplemented according to the same idea. Here we only follow this main line. The entire proof uses only properties that have been proven: read out property seven and , property nine separates the determinant of the product and finally synthesizes it .
7. Why are symbols certain?
At the end of the whole lecture, we have to deal with a hidden danger that has been buried since the first point.
Property 2 stipulates that the symbol will be turned over, but does not stipulate how many times or which path to turn over. Consider a permutation matrix Either from For departure Obtained from exchange, can also be obtained from For departure exchanged. According to property two, the former gives , the latter gives . If the two answers fight, the determinant will lose its meaning, and the entire lecture will be impossible to discuss.
What comes to the rescue is a purely combinatorial fact: every permutation is either even permutation (even permutation, even number of exchanges can be done), or odd permutation (odd permutation, an odd number of exchanges can do it), it must be one of the two, it cannot be both. Therefore, the positive and negative signs caused by the exchange are only determined by the replacement itself and have nothing to do with the specific line wrapping steps. This fact requires a bit of algebraic skill to prove, but once it is admitted, three properties uniquely determine a number: three is the definition, four to ten are the inferences, and there is no inherent conflict between the ten properties.
In other words, the three properties are not random conventions, they define a function that actually exists. Only after this step has settled, can the previous derivation truly hold up: Property 5 ensures that elimination does not change the determinant, and the path elimination can take is not unique. If the same matrix uses two paths to calculate two different numbers, This equation is impossible to discuss.

Video 00:44:17 | Approximately corresponding to Section 7 “7. Why symbols are certain”.

MIT OCW Official Lecture Notes Summary Page 3/3 (18.06SC Lecture 18 Summary, CC BY-NC-SA 4.0).
Summary of this lecture
- determinant (determinant) is a number attached to each square matrix, written as or ; time reversible, time Bizarre. The main motivation for talking about it is the following eigenvalues.
- Three defining properties: ;Swap two rows and change signs; the determinant is linear for each row separately (3A Multiply a row factor , 3B When a row is split into two terms, it is split into the sum of two determinants). Note .
- It is deduced from three properties: if two rows are equal, the determinant is zero (exchanging the two rows of matrices does not change, but the sign is reversed); reducing the multiple of one row to another row does not change the determinant (3B is disassembled, 3A proposes , two rows are equal and return to zero); if there is a row with all zeros, the determinant is zero (3A takes ).
- The determinant of a triangular matrix is equal to the product of diagonal elements: use row transformation to clear out the elements above the diagonal to obtain a diagonal matrix, and then use 3A to propose it row by row , finally using property 1 to get ; if a certain , the elimination produces zero rows, and the determinant is zero.
- Elimination does not change the determinant, so , is the number of row exchanges; the product of pivots is the computer’s method of finding the determinant. The two pivots of are with , the product is (Premise , otherwise wrap first).
- Property eight: if and only if strange; not strange The product of non-zero pivot elements is not zero. The determinant is therefore a fair criterion of reversibility.
- Property nine: . Corollary: (diagonal matrix with given separately with ), , (Volume analogy: double the side length, Dimensional volume multiplication ).
- Nature ten: . All the properties of rows are also true of columns: zeroing columns and swapping two columns are the same. For proof , among which , .
- The sign of the determinant is determined because each permutation is either odd or even, and the sign determined by the number of permutations only depends on the permutation itself; the three properties therefore uniquely determine the determinant, and the remaining seven properties are all inferences.
keywords
| English | Chinese | One sentence explanation |
|---|---|---|
| determinant | determinant | A number attached to each square matrix, recorded as or |
| square matrix | square array | A matrix with the same number of rows and columns; the determinant is only defined for square matrices |
| singular | Strange | Irreversible, equivalent to |
| identity matrix | identity matrix | All diagonal elements are The matrix of |
| permutation matrix | permutation matrix | It is obtained by exchanging several rows of the identity matrix, and the determinant is or |
| row exchange | row swap | The operation of exchanging two rows to change the sign of the determinant |
| linearity in each row | Linear for each row | The corresponding behavior of the determinant when scaling or splitting a row individually, i.e. properties 3A and 3B |
| elimination | elimination | put into an upper triangle row transformation without changing the determinant |
| triangular matrix | triangular matrix | A square matrix with all zeros on one side of the diagonal. The determinant is equal to the product of the diagonal elements. |
| pivot | pivot | After elimination The diagonal element of , whose product gives size, symbols are extra |
| invertible | invertible | , elimination elements can be gathered together non-zero pivot |
| transpose | transpose | , with have the same determinant |
| even permutation | even permutation | A permutation that can be implemented by an even number of row exchanges, the determinant of which is |
| odd permutation | odd permutation | A permutation that can be implemented by an odd number of row exchanges, the determinant of which is |
| volume | Volume | Geometric analogy of determinant: each side of the box is enlarged twice, Dimensional volume multiplication |
Machine-assisted translation · Read Chinese original
