Properties of Determinants PDF

Summary

This document describes the properties of determinants, including cofactor expansion, for square matrices. It also presents theorems regarding triangular matrices and the effect of row/column operations on determinants.

Full Transcript

# 3.1-3.2 Properties of determinants Previously we used expansion of a determinant with respect to the first row. Turns out, one can use any row (or even a column) and get exactly the same result. But the formula needs a small modification. The following theorem is hard to prove, so we will just st...

# 3.1-3.2 Properties of determinants Previously we used expansion of a determinant with respect to the first row. Turns out, one can use any row (or even a column) and get exactly the same result. But the formula needs a small modification. The following theorem is hard to prove, so we will just state it and use it whenever we need to. Suppose *A* is an (*n* x *n*) matrix, and submatrix *A<sub>i,j</sub>* is obtained from *A* by removing row *i* and column *j*. The number *C<sub>i,j</sub>* = (-1)<sup>i+j</sup> *det(A<sub>i,j</sub>)* is called the (*i,j*) **cofactor** of *A*. ## Theorem The determinant of *A* can be computed by a cofactor expansion with respect to any row or column. ### Expansion w.r. to row *i*: *det(A) = a<sub>i,1</sub>C<sub>i,1</sub> + a<sub>i,2</sub>C<sub>i,2</sub> + ... + a<sub>i,n</sub>C<sub>i,n</sub>* ### Expansion w.r. to column *j*: *det(A) = a<sub>1,j</sub>C<sub>1,j</sub> + a<sub>2,j</sub>C<sub>2,j</sub> + ... + a<sub>n,j</sub>C<sub>n,j</sub>* Amazingly, the result is always the same! ## Properties of determinants ### Theorem If matrix *A* has a zero row, or a zero column, *det(A) = 0*. **Proof:** Suppose row *i* has all zeros, i.e. a<sub>i,1</sub>=a<sub>i,2</sub>=... a<sub>i,n</sub>=0. Use this formula: *Det(A) = 0.C<sub>1,1</sub> + 0.C<sub>1,2</sub> + ... + 0.C<sub>1,n</sub>= 0.* Same story with a zero column. ## Theorem 2 If *A* is an upper- or lower-triangular matrix, *det(A)* is equal to the product of diagonal entries: *det(A) = a<sub>1,1</sub>a<sub>2,2</sub>...a<sub>n,n</sub>*. **Proof:** Let's prove for a lower triangular (4x4) matrix: *A = * a<sub>1,1</sub> 0 0 0 * a<sub>2,1</sub> a<sub>2,2</sub> 0 0 * a<sub>3,1</sub> a<sub>3,2</sub> a<sub>3,3</sub> 0 * a<sub>4,1</sub> a<sub>4,2</sub> a<sub>4,3</sub> a<sub>4,4</sub> det (A) = a<sub>1,1</sub>C<sub>1,1</sub> + 0.C<sub>1,2</sub> + 0 C<sub>1,3</sub>+ 0.C<sub>1,4</sub> = a<sub>1,1</sub> det * a<sub>2,2</sub> 0 0 * a<sub>3,2</sub> a<sub>3,3</sub> 0 * a<sub>4,2</sub> a<sub>4,3</sub> a<sub>4,4</sub> = a<sub>1,1</sub> a<sub>2,2</sub> det * a<sub>3,3</sub> 0 * a<sub>4,3</sub> a<sub>4,4</sub> = a<sub>1,1</sub> a<sub>2,2</sub> a<sub>3,3</sub> a<sub>4,4</sub> A similar proof holds in the general case. ## Theorem 3 I would like to study this theorem in more detail, than is given in the book. **(a)** Suppose matrix *A* is made of *B* by interchanging two adjacent rous. Same holds for a column interchange. Then, det(B)= -det(A) (determinant changes sign). Let's check for (2x2) matrices. Suppose *A = (a<sub>b</sub><sup>c</sup><sub>d</sub>), det(A) = ad - bc*. Interchange rows: *B=(<sub>a</sub><sup>c</sup><sub>d</sub>), det(B)=cb-ad = - (ad-bc) = -det(A)*. What about a larger matrix? Suppose we interchange row #2 and row #3 in a (3x3) matrix *A*. *det(A) = a<sub>1,1</sub> det(A<sub>1,1</sub>) - a<sub>1,2</sub> det(A<sub>1,2</sub>) + a<sub>1,3</sub> det(A<sub>1,3</sub>)* Suppose *B* is *A* with interchanged 2-nd and 3-rd rows. Then *det(B)= a<sub>1,1</sub> det(B<sub>1,1</sub>) - a<sub>1,2</sub> det(B<sub>1,2</sub>) + a<sub>1,3</sub> det(B<sub>1,3</sub>)* but *det(B<sub>i,j</sub>)=-det(A<sub>i,j</sub>)* because these submatrices have their rows interchanged. Therefore, *det(B) = - det(A)* Larger sizes are similar. **Same result holds if two non-adjacent rows (or columns are interchanged: the determinant changes sign.** **(b)** If two rows in a matrix are the same, the determinant equals to 0. (Same goes for colums) **Proof:** Suppose two rows in matrix *A* are the same, and matrix *B* is *A* with the two rows interchanged. On one hand, *B = A*, so det(B)=det(A). On the other hand, det(B) = -det(A). Combining these two equations we get det(A) = - det(A). Solve for det(A)! Obtain det(A) = 0. **(c)** Linearity with respect to a sum of rows Suppose the first row of a matrix is a sum of two row vectors: *(a<sub>1,1</sub> a<sub>1,2</sub> ... a<sub>1,n</sub>) = (b<sub>1</sub> b<sub>2</sub> ... b<sub>n</sub>) + (d<sub>1</sub> d<sub>2</sub> ... d<sub>n</sub>)* Then *det(A) = a<sub>1,1</sub>C<sub>1,1</sub> + a<sub>1,2</sub>C<sub>1,2</sub> + ... a<sub>1,n</sub>C<sub>1,n</sub> = (b<sub>1</sub> + d<sub>1</sub>)C<sub>1,1</sub> + (b<sub>2</sub> + d<sub>2</sub>)C<sub>1,2</sub> + ... + (b<sub>n</sub> + d<sub>n</sub>)C<sub>1,n</sub> = (b<sub>1</sub>C<sub>1,1</sub> + b<sub>2</sub>C<sub>1,2</sub> + ... b<sub>n</sub>C<sub>1,n</sub>) + (d<sub>1</sub>C<sub>1,1</sub> + d<sub>2</sub>C<sub>1,2</sub> + ... d<sub>n</sub>C<sub>1,n</sub>) = det * b<sub>1</sub> b<sub>2</sub> ... b<sub>n</sub> + det * d<sub>1</sub> d<sub>2</sub> ... d<sub>n</sub> *where yellow shading indicates the same entries as in matrix A. Same is true for any row, not just the first one.* **(d)** Adding a row from a matrix to another row does not change the determinant. **Sketch of a proof:** Suppose *A = (a<sub>1,1</sub> ... a<sub>1,n</sub>) a<sub>2,1</sub> ... a<sub>2,n</sub> ... a<sub>n,1</sub> ... a<sub>n,n</sub> and B = (a<sub>1,1</sub> ... a<sub>1,n</sub> a<sub>2,1</sub> ... a<sub>2,n</sub> ... a<sub>n,1</sub> ... a<sub>n,n</sub>) Same as in A* Then, *det(B) = det * a<sub>1,1</sub> ... a<sub>1,n</sub> * a<sub>2,1</sub> ... a<sub>2,n</sub> * ... * a<sub>n,1</sub> ... a<sub>n,n</sub> + det * a<sub>2,1</sub> ... a<sub>2,n</sub> * a<sub>2,1</sub> ... a<sub>2,n</sub> * ... * a<sub>n,1</sub> ... a<sub>n,n</sub> = det(a<sub>1,1</sub> ... a<sub>1,n</sub>) + 0 = det(A)* These two rows are the same=>det(...)=0 So *det(B) = det(A)*, the determinant did not change. This holds for any rows or columns, not just the first two **(e)** If a column (or a row) is multiplied by a scalar λ, the determinant is multiplied by λ **Proof:** Let’s say *A = (a<sub>1,1</sub> ... a<sub>1,n</sub>) B = (λa<sub>1,1</sub> λa<sub>1,2</sub> ... λa<sub>1,n</sub>) same as A* Then, *det(B) = (λa<sub>1,1</sub>)C<sub>1,1</sub> + (λa<sub>1,2</sub>)C<sub>1,2</sub> + ... + (λa<sub>1,n</sub>)C<sub>1,n</sub> = λ(a<sub>1,1</sub>C<sub>1,1</sub> + a<sub>1,2</sub>C<sub>1,2</sub> + ... + a<sub>1,n</sub>C<sub>1,n</sub>) = λ det(A), as we wanted Same holds for any row or column to show* **Corollary:** det(λA) = λ<sup>n</sup>det(A). Prove it yourself. ## Why any of these is important? Recall that we can modify a matrix to an echelon form, by row interchanges, and by adding multiples of rows to other rows. The former changes the sign and the latter does not change the determinant. Therefore, if * A ~ U*, and *U* is an echelon form obtained without scaling the individual rows, then *det(A) = ± det(U)*. If *U* has all pivots (≠0), then *det(U) = the product of the pivots ≠ 0*. Therefore, *det(A) ≠ 0* and both *U* and *A* are **invertible**. If *U* does not have all pivots, *U* and *A* are **singular**. But *det(U) = 0* (since 0's on the diagonal), and then *det(A) = ±det(U) = ± 0 = 0*. We have proved that, if *det(A)=0*, *A* is **singular** (not invertible). And that, if *det(A) ≠0*, *A* is **invertible** (not singular). So, we have proved the following theorem: ## Theorem 4 A Square matrix *A* is **invertible** if and only if *det(A) ≠ 0* ## In addition Reduction to echelon form can be used to compute a determinant of a matrix (instead of the cofactor expansion). For large matrices this is much faster. This method is incorporated into Matlab, Python, and other commonly used computer systems.

Use Quizgecko on...
Browser
Browser