Cofactors and Laplace s expansion theorem

Similar documents
Number of solutions of a system

Determinants of 2 2 Matrices

7.5 Operations with Matrices. Copyright Cengage Learning. All rights reserved.

Roberto s Notes on Linear Algebra Chapter 4: Matrix Algebra Section 7. Inverse matrices

sum of squared error.

Lecture 8: Determinants I

Announcements Wednesday, October 25

MATRIX DETERMINANTS. 1 Reminder Definition and components of a matrix

Roberto s Notes on Linear Algebra Chapter 4: Matrix Algebra Section 4. Matrix products

Roberto s Notes on Linear Algebra Chapter 10: Eigenvalues and diagonalization Section 3. Diagonal matrices

Inverses and Determinants

Using matrices to represent linear systems

Methods for Solving Linear Systems Part 2

1300 Linear Algebra and Vector Geometry

Eigenvalues and eigenvectors

CHAPTER 8: MATRICES and DETERMINANTS

7.6 The Inverse of a Square Matrix

Matrices and Determinants

MAC Module 1 Systems of Linear Equations and Matrices I

7.3. Determinants. Introduction. Prerequisites. Learning Outcomes

Linear Algebra and Vector Analysis MATH 1120

4 Elementary matrices, continued

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 1 x 2. x n 8 (4) 3 4 2

Topic 15 Notes Jeremy Orloff

LECTURES 4/5: SYSTEMS OF LINEAR EQUATIONS

22m:033 Notes: 3.1 Introduction to Determinants

Elementary maths for GMT

A summary of factoring methods

3 Fields, Elementary Matrices and Calculating Inverses

Roberto s Notes on Linear Algebra Chapter 11: Vector spaces Section 1. Vector space axioms

SAMPLE OF THE STUDY MATERIAL PART OF CHAPTER 1 Introduction to Linear Algebra

MAC Module 3 Determinants. Learning Objectives. Upon completing this module, you should be able to:

Linear Algebra, Summer 2011, pt. 2

is a 3 4 matrix. It has 3 rows and 4 columns. The first row is the horizontal row [ ]

4 Elementary matrices, continued

Math 250B Midterm I Information Fall 2018

L3-1: Determinants: The Good, the Bad and the Ugly 12 Nov 2012

Determinant of a Matrix

Linear Algebra I Lecture 8

Linear Algebra for Beginners Open Doors to Great Careers. Richard Han

ENGINEERING MATH 1 Fall 2009 VECTOR SPACES

Basic matrix operations

SAMPLE OF THE STUDY MATERIAL PART OF CHAPTER 1 Introduction to Linear Algebra

CHAPTER 8: Matrices and Determinants

Recall, we solved the system below in a previous section. Here, we learn another method. x + 4y = 14 5x + 3y = 2

CHAPTER 8: MATRICES and DETERMINANTS

Lemma 8: Suppose the N by N matrix A has the following block upper triangular form:

Physics 116A Solutions to Homework Set #5 Winter Boas, problem Use an augmented matrix to solve the following equation

Matrices, Row Reduction of Matrices

Elimination Method Streamlined

Differential Equations

MAC Module 2 Systems of Linear Equations and Matrices II. Learning Objectives. Upon completing this module, you should be able to :

MIDTERM 1 - SOLUTIONS

MTH 306 Spring Term 2007

Section 29: What s an Inverse?

A Primer on Solving Systems of Linear Equations

[Disclaimer: This is not a complete list of everything you need to know, just some of the topics that gave people difficulty.]

Example: 2x y + 3z = 1 5y 6z = 0 x + 4z = 7. Definition: Elementary Row Operations. Example: Type I swap rows 1 and 3

If A is a 4 6 matrix and B is a 6 3 matrix then the dimension of AB is A. 4 6 B. 6 6 C. 4 3 D. 3 4 E. Undefined

Linear Algebra Section 2.6 : LU Decomposition Section 2.7 : Permutations and transposes Wednesday, February 13th Math 301 Week #4

Special types of matrices

3. Replace any row by the sum of that row and a constant multiple of any other row.

Dependence and independence

Math 4A Notes. Written by Victoria Kala Last updated June 11, 2017

MAC1105-College Algebra. Chapter 5-Systems of Equations & Matrices

Introduction to Matrices and Linear Systems Ch. 3

Lesson 3. Inverse of Matrices by Determinants and Gauss-Jordan Method

irst we need to know that there are many ways to indicate multiplication; for example the product of 5 and 7 can be written in a variety of ways:

Graduate Mathematical Economics Lecture 1

Basic methods to solve equations

MTH5112 Linear Algebra I MTH5212 Applied Linear Algebra (2017/2018)

8-15. Stop by or call (630)

Algebra & Trig. I. For example, the system. x y 2 z. may be represented by the augmented matrix

MATH 2050 Assignment 8 Fall [10] 1. Find the determinant by reducing to triangular form for the following matrices.

Linear Algebra: Lecture Notes. Dr Rachel Quinlan School of Mathematics, Statistics and Applied Mathematics NUI Galway

1 - Systems of Linear Equations

M. Matrices and Linear Algebra

. =. a i1 x 1 + a i2 x 2 + a in x n = b i. a 11 a 12 a 1n a 21 a 22 a 1n. i1 a i2 a in

6.4 Determinants and Cramer s Rule

Introduction to Determinants

5.7 Cramer's Rule 1. Using Determinants to Solve Systems Assumes the system of two equations in two unknowns

Lecture 2 Systems of Linear Equations and Matrices, Continued

Lecture 2e Row Echelon Form (pages 73-74)

The matrix will only be consistent if the last entry of row three is 0, meaning 2b 3 + b 2 b 1 = 0.

Row Reduction

Review for Exam Find all a for which the following linear system has no solutions, one solution, and infinitely many solutions.

Row and column spaces

Linear Algebra Tutorial for Math3315/CSE3365 Daniel R. Reynolds

March 19 - Solving Linear Systems

LINEAR ALGEBRA KNOWLEDGE SURVEY

SCHOOL OF BUSINESS, ECONOMICS AND MANAGEMENT BUSINESS MATHEMATICS / MATHEMATICAL ANALYSIS

Homework Set #8 Solutions

Math 240 Calculus III

9 Appendix. Determinants and Cramer s formula

22A-2 SUMMER 2014 LECTURE 5

Trigonometric integrals by basic methods

Undergraduate Mathematical Economics Lecture 1

Chapter 1 Linear Equations. 1.1 Systems of Linear Equations

Section 5.3 Systems of Linear Equations: Determinants

MAC Learning Objectives. Learning Objectives (Cont.) Module 10 System of Equations and Inequalities II

Transcription:

Roberto s Notes on Linear Algebra Chapter 5: Determinants Section 3 Cofactors and Laplace s expansion theorem What you need to know already: What a determinant is. How to use Gauss-Jordan elimination to compute a determinant. Basic properties of determinants. What you can learn here: An alternative method to compute a determinant that has historical relevance and can assist in some situations. An alternative strategy to compute a 3 3 determinant. In section 5-1 I stated that the more commonly used definition of determinant is not the one I gave you, but a different one that is more obscure at this stage. It is now time to have a look at that traditional definition, since it is important for you to know that it exists, but also because in some situations it gives us a very efficient shortcut in the computation of the determinant. To help you make sense of this definition, I will begin by reminding you of two items we saw earlier. Knot on your finger Knot on your finger a b The determinant of a 22 matrix c d a b ad bc c d is given by: A matrix obtained from a matrix A by deleting its i-th row and j-th column is called the (i, j) minor of A and denoted by A ( i, j). We now need a new definition related to the concept of a minor. Linear Algebra Chapter 5: Determinants Section 3: Cofactors and Laplace s expansion theorem Page 1

Definition The (i, j) cofactor of a square matrix A is the number given by the expression: Example: 1 3 2 2 1 4 1 0 3 If we consider the matrix, then: 1 i j A ( i, j) Its (1, 1) cofactor is related to the entry in that position ( a 11 1 ) and is given by 11 1 4 1 3. 0 3 Its (2, 3) cofactor is related to the entry in that position ( a23 3 ) and is given by 2 3 1 3 1 3 3. 1 0 Can you figure out what the (3,2) cofactor is? Of course you can! Technical fact The Laplace expansion theorem The determinant of any n n matrix can be computed in one of the following two ways: By picking any row r i and computing: n j1 ij i j 1 i, j A a A By picking any column n i1 ij c j and computing: i j 1 i, j A a A Cool, maybe, but I have no idea of what that means! And that is why I have not used this as a definition! Let s see if a portrait and some examples will help. We are now ready for the big fact of this section. I will not offer a proof of it for the usual reasons: long, tedious and not very educational in the big picture. Linear Algebra Chapter 5: Determinants Section 3: Cofactors and Laplace s expansion theorem Page 2

Quick portrait of the Laplace expansion theorem According to this theorem, the determinant of a matrix can be computed by: Example: selecting any row or any column multiplying each entry of the selected row or column by the corresponding cofactor adding up all the products so obtained. 1 3 2 2 1 4 1 0 3 We can first compute the determinant of this matrix according to our old definition: 1 3 2 1 3 2 1 3 2 1 3 2 2 1 4 0 7 8 0 1 2 0 1 2 11 1 0 3 0 3 5 0 3 5 0 0 11 To confirm this by using the Laplace expansion theorem, we pick a row or a column, let s say the first row, and expand along that row, meaning that we multiply each entry of that row by the corresponding cofactor and then add up all the numbers so obtained: 1 3 2 1 1 0 2 4 3 1 4 2 4 1 2 31 21 1 1 11 13 0 3 1 3 2 1 1 0 We can now compute the remaining 22 determinants by using the short formula: 13 0 36 4 21 11 Same answer as before, as the theorem predicts. Hmmm. I can t decide if it is longer or shorter. It has advantages and disadvantages in terms of computations, but do you see the main problem when applying this method to larger matrices? It only makes the determinant one size smaller, so we need to keep applying it to larger and larger sets of determinants! That is correct. If we use it as a definition, it forces us to compute a large determinant by changing it to longer and longer sums of smaller and smaller determinants, until we get to 22 matrices. That can produce some horrifyingly long expressions! But there is a big advantage coming from this method. Remember that this method reduces the size of the determinants involved, but uses more of them. Well, it can work great if many of the entries of the selected row or column are 0, since in that case most of those smaller determinants are multiplied by 0 anyway! Example: 3 0 1 2 0 2 7 5 7 2 1 0 0 2 5 3 0 0 4 1 5 0 1 0 3 If we need to compute the determinant of this matrix, instead of jumping into row reduction, we can notice that the second column has only one non-zero entry, so we can apply Laplace s expansion to it: Linear Algebra Chapter 5: Determinants Section 3: Cofactors and Laplace s expansion theorem Page 3

3 0 1 2 0 2 7 5 7 2 1 0 0 2 5 3 0 0 4 1 5 0 1 0 3 2 2 7 1 3 1 2 0 1 0 2 5 3 0 4 1 5 1 0 3 At this point we can subtract the first row from the fourth to create another column with a single non-zero entry and use Laplace again: 3 1 2 0 1 2 5 1 2 5 1 0 2 5 7 7 1 1 1 2 3 4 1 7 3 4 1 3 0 4 1 2 2 3 2 2 3 2 0 2 3 We are now back to a single 33 determinant and we can use either method. It may be more convenient to do some row reduction now, but since this section is on Laplace s method, let us use that one again, by using the last row to expand. 1 2 5 7 3 4 1 2 2 3 31 2 5 32 1 5 33 1 2 721 21 31 4 1 3 1 3 4 7 2 22 2 14 3 10 746 322 I am still not convinced by the efficiency of this method. I don t blame you, but it should not be discounted. You can try using a mixed strategy as follows: Strategy for computing a determinant efficiently To compute a determinant by hand in an efficient manner: Use row operations to generate small numbers and many 0 s Use Laplace s expansion theorem to reduce the size of the determinant when a row or a column consists mostly of 0 s Use the short formula when dealing with a 22 determinant. If possible, use a calculator to obtain or check your answer. Your own practice and experimentation will help you develop a truly efficient strategy. I will go for the calculator s option. I am not against that, but remember that in some or all tests you may not be allowed to use a calculator and that you still need to be clear on what methods are being used to perform the calculations. But since you are interested in efficient computational methods, here is a good one for 33 matrices. Linear Algebra Chapter 5: Determinants Section 3: Cofactors and Laplace s expansion theorem Page 4

Strategy for computing a 33 determinant To quickly compute the determinant of a 33 matrix: Augment the matrix with its first two columns Compute the products of the three downward diagonals and the three upwards diagonals Add up the downwards products and subtract the upwards. The resulting value is the determinant. Now we compute the products of the entries on the six diagonals: Finally, we add the downwards and subtract the upwards: We get the right answer: hurray! 1 3 2 1 3 2 1 4 2 1 1 0 3 1 0 3 12 0 2 0 312 0 2 0 18 11 18 Let s try it on an old friend. Example: 1 3 2 2 1 4 1 0 3 To use this strategy on the determinant of the matrix, we first augment it with the first two columns: 1 3 2 1 3 2 1 4 2 1 1 0 3 1 0 Wait a minute: how do I know that this is NOT a coincidence and will in fact work every time? Great question: I see that you are developing a good appreciation for proofs. And to reward it for such interest, I ask you to build the proof yourself in the Learning questions. You can get it by using either the method based on row reduction, or the one based on Laplace s expansion theorem. In fact, why not try both? Linear Algebra Chapter 5: Determinants Section 3: Cofactors and Laplace s expansion theorem Page 5

Summary The original definition of determinant involves reducing the size of the determinant, but increasing the number of determinants involved. This method can be used to increase efficiency when there is a row or column that consists mostly of 0 s. However, it is rather convoluted and should be used with caution. Common errors to avoid Don t try to extend the special method for 3 3 determinants to bigger sizes: in order for it to work you need to adjust it properly and in a way that is not necessarily efficient or simple. Choose which method to use (Gauss-Jordan, Laplace or other) wisely, or you may end up creating a nightmare of computations! Learning questions for Section LA 5-3 Review questions: 1. Describe how the Laplace expansion theorem is used to compute a determinant. 3. Describe the short method to compute a 3 3 determinant. 2. Identify the advantages and disadvantages of using the method based on Laplace expansion theorem to compute a determinant. Memory questions: 1. What is the cofactor of a matrix A for position i, j? 2. When is the Laplace expansion method useful in computing determinants? Linear Algebra Chapter 5: Determinants Section 3: Cofactors and Laplace s expansion theorem Page 6

Computation questions: Use Laplace s expansion theorem to compute the following determinants. 2 1 0 2 0 3 1 1. 0 0 3 1 3 1 2. 0 2 2 2 1 0 1 4 2 0 1 3 Theory questions: 1. If you had to compute 2 12 1 0 3 1 1 6 0 by Laplace s expansion, which row or column would you pick and why? Proof questions: 1. Prove that the quick strategy to compute the determinant of a 33 matrix is correct. Templated questions: 1. Use the Laplace expansion theorem to compute the determinant of any square matrix you wish. What questions do you have for your instructor? Linear Algebra Chapter 5: Determinants Section 3: Cofactors and Laplace s expansion theorem Page 7

Linear Algebra Chapter 5: Determinants Section 3: Cofactors and Laplace s expansion theorem Page 8