1. Determinants: a Row Operation By-Product the Determinant Is Best Understood in Terms of Row Operations, in My Opinion

1. Determinants: a Row Operation By-Product the Determinant Is Best Understood in Terms of Row Operations, in My Opinion

DETERMINANTS TERRY A. LORING 1. Determinants: a Row Operation By-Product The determinant is best understood in terms of row operations, in my opinion. Most books start by defining the determinant via formulas that are nearly impossible to use except on very small matrices. Since what is taught first is often the best learned, this is dangerous. We will start with the idea that a determinant of a square matrix is a single number that can be calculated as a side product of Gaussian elimination performed on a square matrix A: You already know 95% of what it takes to calculate a determinant. The extra 5% is keeping track of some \magic numbers" that you multiply at together to create another \magic number" called the determinant of A. (How mathematicians came to discover these magic numbers is another topic.) Definition 1.1. We define the factor of every row operation as follows: Type assmuption Row Operation Factor I j =6 k Rj $ Rk -1 1 II α =6 0 αRj ! Rj α III j =6 k Rj + βRk ! Rj 1 Definition 1.2. We define the determinant det(A) of a square matrix as follows: (a) The determinant of an n by n singular matrix is 0: (b) The determinant of the identity matrix is 1: (c) If A is non-singular, then the determinant of A is the product of the factors of the row operations in a sequence of row operations that reduces A to the identity. The notation we use is det(A) or jAj: Generally, one drops the braces on a matrix if using the jAj notation, so 1 2 3 1 2 3 4 5 6 = det 02 4 5 6 31 : 7 8 9 7 8 9 @4 5A The outer parantheses are often dropp ed, so 1 2 3 1 2 3 4 5 6 = det 2 4 5 6 3 7 8 9 7 8 9 4 5 are the notations most used. 1 DETERMINANTS 2 Notice this means you can calculate the determinant using any series of row operations you like that ends in I: What we are skipping (since this is not a theoretical class) is the reasoning that shows that the product of determinant factors comes out the same no matter what series of row operations you use. Example 1.3. Find 2 0 2 0 1 0 : −1 0 1 Since 2 0 2 2 0 1 0 3 −1 0 1 4 1 5 2 R1 ! R1 factor: 2 ? ? y1 0 1 2 0 1 0 3 −1 0 1 4 5 R3 + R1 ! R3 factor: 1 ? ? y1 0 1 2 0 1 0 3 0 0 2 4 1 5 2 R2 ! R2 factor: 2 ? ? y1 0 1 2 0 1 0 3 0 0 1 4 5 R1 − R3 ! R1 factor: 1 ? ? y1 0 0 2 0 1 0 3 = I 0 0 1 4 5 we have 2 0 2 0 1 0 = 2 · 1 · 2 · 1 = 4: −1 0 1 Example 1.4. Find 2 0 2 0 1 0 : −1 0 −1 DETERMINANTS 3 Since 2 0 2 2 0 1 0 3 −1 0 −1 4 1 5 2 R1 ! R1 factor: 2 ? ? y1 0 1 2 0 1 0 3 −1 0 −1 4 5 R3 + R1 ! R3 factor: 1 ? ? y1 0 1 2 0 1 0 3 0 0 0 4 5 we can conclude that the original matrix is not invertible, so 2 0 2 0 1 0 = 0: −1 0 −1 Notice that we do not need to know in advance if A is invertible. To find det(A) you can always use Gaussian elimination. If row operations lead to less than n pivots, the determinant is 0. and If row operations lead to I; the determinant is the product of the row op factors. Example 1.5. Find 2 4 det : 1 6 DETERMINANTS 4 Since 2 4 1 6 1 2 R1 ! R1 factor: 2 ? ? 1y 2 1 6 R2 − R1 ! R2 factor: 1 ? ? 1y 2 0 4 1 4 R1 ! R1 factor: 4 ? ? 1y 2 0 1 R1 − 2R2 ! R1 factor: 1 ? 1? 0 y = I 0 1 we have 2 4 det = 2 · 1 · 4 · 1: 1 6 2. Two-by-Two: an Easy Case Two-by-two is the only size of matrix where there is a formula for the determinant that is faster to use than row operation method. If you have not seen this formula, here is how we can discover it. Suppose we want a b det c d DETERMINANTS 5 and we are lucky to have a =6 0: Then a b c d 1 a R1 ! R1 factor: a ? ? b 1y a c d R2 − cR1 ! R2 factor: 1 ? ? b 1y a b 0 d − c a k b 1 a ad−bc 0 a a ad−bc ad−bc R1 ! R1 factor: a ? ? b 1y a 0 1 a R1 − b R2 ! R2 factor: 1 1 0 = I 0 1 where we cheated a little. We need ad − bc =6 0: If this is so, and still with a =6 0; we have computed a b det = ad − bc: c d This formula always holds, but let's skip the other cases (they are easier) and just state this result. Lemma 2.1. For any real numbers a; b; c; d; a b det = ad − bc: c d There is a formula that is a bit trickier than this that works for three-by-three. Starting with four-by-four there is no shortcut. You must either use row operations or the longer \row expansion" methods we'll get to shortly. 3. Elementary Matrices are Easy Since elementary matrices are barely different from I; they are easy to deal with. As with their inverses, I recommend that you memorize their determinants. Lemma 3.1. (a) An elementary matrix of type I has determinant −1: DETERMINANTS 6 (b) An elementary matrix of type II that has non-unit diagonal element α has determinant α: (c) An elementary matrix of type III determinant 1: Rather than prove this, I offer some examples. Example 3.2. Find 1 0 2 0 1 0 : 0 0 1 Since 1 0 2 2 0 1 0 3 0 0 1 4 5 R1 − 2R3 ! R1 factor: 1 ? ? 1y 0 0 2 0 1 0 3 = I 0 0 1 4 5 we have 1 0 2 0 1 0 = 1: 0 0 1 Example 3.3. Find 0 0 1 0 1 0 : 1 0 0 Since 0 0 1 2 0 1 0 3 1 0 0 4 5 R1 $ R2 factor: − 1 ? ? 1y 0 0 2 0 1 0 3 = I 0 0 1 4 5 we have 0 0 1 0 1 0 = 1: 1 0 0 DETERMINANTS 7 Example 3.4. Find 1 0 0 0 α 0 0 0 1 where α =6 0: Since 1 0 0 2 0 α 0 3 0 0 1 4 1 5 α R2 ! R2 factor: α ? ? 1y 0 0 2 0 1 0 3 = I 0 0 1 4 5 we have 1 0 0 0 α 0 = α: 0 0 1 4. Upper Triangular is Easy: a Faster Algorithm Let's consider a more substantial example than we've done so far. Example 4.1. What is the determinant of 0 −2 −4 A = 2 1 4 8 3? 1 6 15 4 5 DETERMINANTS 8 A solution is as follows: 0 −2 −4 2 1 4 8 3 1 6 15 4 5 R2 $ R1 factor: − 1 ? ? y1 4 8 2 0 −2 −4 3 1 6 15 4 5 R3 − R1 ! R3 factor: 1 ? ? y1 4 8 2 0 −2 −4 3 0 2 7 4 1 5 − 2 R2 ! R2 factor: − 2 ? ? y1 4 8 2 0 1 2 3 0 2 7 4 5 R3 − 2R2 ! R3 factor: 1 ? ? y1 4 8 2 0 1 2 3 0 0 3 4 1 5 3 R3 ! R3 factor: 3 ? ? y1 4 8 2 0 1 2 3 0 0 1 4 5 R1 + 4R2 ! R1 factor: 1 ? ? y1 0 0 2 0 1 2 3 0 0 1 4 5 R2 − 2R3 ! R2 factor: 1 ? ? y1 0 0 2 0 1 0 3 0 0 1 4 5 so det(A) = (−1) · 1 · (−2) · 1 · 3 · 1 · 1 = 6: DETERMINANTS 9 Notice that after the matrix was in row echelon form, the remaining steps were type III operations that have factor 1: Thus we could have skipped these steps. In fact, it is very easy to calculate the determinant of upper triangular matrix. Lemma 4.2. The determinant of an upper triangular matrix is the product of its diagonal elements. Proof. If d1 ∗ · · · ∗ ∗ 2 0 d2 · · · ∗ ∗ 3 . A = . .. 6 . 7 6 d −1 7 6 0 0 · · · n ∗ 7 6 0 0 · · · 0 d 7 4 n 5 then it might be the some of the dj are zero. If this is true, then A is singular, has determinant zero, and the product of the diagonal elements is zero as well. Otherwise, we can reduce A to a diagoanal matrix using first a series of type III operations, which have factor 1: The diagonal matrix will be d1 0 · · · 0 0 2 0 d2 · · · 0 0 3 . .. 6 . 7 6 d −1 7 6 0 0 · · · n 0 7 6 0 0 · · · 0 d 7 4 n 5 and from here we can reduce to the identity matrix using the operations 1 R1 ! R1 d1 1 R2 ! R2 d2 .

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    21 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us