Different ways of modifying determinants

 
 
 
 
 

Let’s talk about different operations we can do with the determinant

Now that we understand what the determinant is and how to calculate it, we want to look at other properties of determinants so that we can do more with them.

Hi! I'm krista.

I create online courses to help you rock your math class. Read more.

 

Multiplying a row or a column by a scalar

Given a square matrix AA, if you multiply one row (or one column) of AA by a scalar kk, then the determinant just gets multiplied by kk. In other words, for a 2×22\times2 matrix

 
2 x 2 matrix
 

the determinant is A=adbc|A|=ad-bc. But if you multiply any row of AA by a scalar kk, for instance

 
multiplying a row by a scalar
 

then the determinant is Det(B)=B=kA\text{Det}(B)=|B|=k|A|, or k(adbc)k(ad-bc). It doesn’t matter which row you multiply by kk, the determinant will still be k(adbc)k(ad-bc). This also works for any n×nn\times n matrix.

If you multiply nn rows by the constant kk, then the determinant of the new matrix will be knAk^n|A|. So if we’d multiplied both rows of AA by kk,

 
determinant multiplied by a scalar
 

then the determinant would have been Det(B)=B=k2A\text{Det}(B)=|B|=k^2|A|, or k2(adbc)k^2(ad-bc).

Sum of two rows

When you have three identical matrices (and this works for any set of n×nn\times n matrices, by the way), except that one row in each matrix is different, and that different row in the third matrix is the sum of the different rows from the first and second matrices, then we know the sum of the determinants of the first and second matrices is equal to the determinant of the third matrix.

For instance, these matrices AA, BB, and CC all have an identical first row, but they have different second rows.

 
three matrices with identical first rows
 

Furthermore, the second row in CC is the sum of the second rows in AA and BB.

 
C is the sum of A and B
 

When we have this specific case, A+B=C|A|+|B|=|C|.

A+B=C|A|+|B|=|C|

 
Adding the determinants gives a new determinant
 

1amp;03amp;2+1amp;02amp;1=1amp;01amp;3\begin{vmatrix}1 & 0\\ 3 & 2\end{vmatrix}+\begin{vmatrix}1 & 0\\ -2 & 1\end{vmatrix}=\begin{vmatrix}1 & 0\\ 1 & 3\end{vmatrix}

[(1)(2)(0)(3)]+[(1)(1)(0)(2)]=[(1)(3)(0)(1)][(1)(2)-(0)(3)]+[(1)(1)-(0)(-2)]=[(1)(3)-(0)(1)]

(20)+(10)=(30)(2-0)+(1-0)=(3-0)

2+1=32+1=3

3=33=3

And like we said, this works the same way for any “different” row in the matrices, and for any set of these kinds of 3×33\times3 or n×nn\times n matrices.

Swapped and duplicate rows

If you switch any row in a matrix AA with any other row in the matrix AA, the determinant of the new “swapped-row matrix” BB is equal to the negative determinant of AA. In other words,

B=A|B|=-|A|

Let’s look at a simple example. If we start with the matrix AA,

 
matrix A
 

then BB is the matrix we get when we switch the rows.

 
matrix B after we switch the rows
 

Then based on this “swapped-row” rule, we should find B=A|B|=-|A|. Let’s see if we do.

B=A|B|=-|A|

3amp;21amp;0=1amp;03amp;2\begin{vmatrix}3 & 2\\ 1 & 0\end{vmatrix}=-\begin{vmatrix}1 & 0\\ 3 & 2\end{vmatrix}

 
|B|=-|A|
 

(3)(0)(2)(1)=[(1)(2)(0)(3)](3)(0)-(2)(1)=-[(1)(2)-(0)(3)]

02=(20)0-2=-(2-0)

2=(2)-2=-(2)

2=2-2=-2

This “swapped-row” rule obviously worked for our 2×22\times2 matrix, but it also works for any other 3×33\times3 or n×nn\times n matrix.

But this rule creates one problem for us. Let’s say our matrix has two identical rows, and those are the two that we choose to swap. After we swap them, we end up with the same matrix we started with (A=BA=B), since switching two identical rows isn’t going to do anything to change the matrix.

Which means that A=B|A|=|B|. But we’ve said that if we switch two rows, then B=A|B|=-|A|. From these two determinant equations, we’re saying that it must also be true that A=A|A|=-|A|. How is that possible? Well, the only way A=A|A|=-|A| can be true is if the determinant is 00, because 00 is the only value that can satisfy an equation x=xx=-x.

So what does that tell us? It means that, if any n×nn\times n matrix AA has any two rows that are identical, then we know immediately, without doing any calculations, that its determinant is A=0|A|=0, or A=0|A|=0. The same is true if any n×nn\times n matrix AA has any two columns that are identical. 

And as we know from before, if a matrix determinant is 00, then the matrix isn’t invertible, so we can say that any n×nn\times n matrix with any two identical rows is not invertible, so its inverse isn’t defined.

Row operations don’t change the determinant

When we learned Gaussian elimination for solving systems, we learned how to use row operations to rewrite the matrix. It’s important to know that those row operations don’t change the value of the determinant, unless, of course, we’re multiplying by a scalar, which we talked about at the beginning of this lesson.

 
 

Modifying determinants by multiplying by a scalar, summing rows, and swapping rows


 
 

Take the course

Want to learn more about Linear Algebra? I have a step-by-step course for that. :)

 
 

 
 

Determining the effect of the row operation

Example

Verify that the row operation R23R1R2R_2-3R_1\to R_2 doesn’t change the value of A|A|.

matrix A

If we were trying to put this in reduced row-echelon form, we’d start with R23R1R2R_2-3R_1\to R_2. The matrix AA after the row operations would be

matrix A after row operations

When you have three identical matrices, except that one row in each matrix is different, and that different row in the third matrix is the sum of the different rows from the first two matrices, then we know the sum of the determinants of the first two matrices is equal to the determinant of the third.

Row operations like these don’t change the value of A|A|. The determinant of AA before the row operation is

determinant of A before the row operations

And the determinant of AA after the row operation is

determinant of A after row operations

We get the same value for the determinant in both cases.

 
 

Get access to the complete Linear Algebra course