Formula for the inverse matrix. Cramer s rule. Review: 3 3 determinants can be computed expanding by any row or column

Similar documents
Components and change of basis

Determinants Chapter 3 of Lay

Properties of the Determinant Function

Chapter 2:Determinants. Section 2.1: Determinants by cofactor expansion

Evaluating Determinants by Row Reduction

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

Linear Systems and Matrices

Determinants by Cofactor Expansion (III)

Math 240 Calculus III

Linear Algebra. Matrices Operations. Consider, for example, a system of equations such as x + 2y z + 4w = 0, 3x 4y + 2z 6w = 0, x 3y 2z + w = 0.

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

MATH 2030: EIGENVALUES AND EIGENVECTORS

MATH 1210 Assignment 4 Solutions 16R-T1

Determinants. Samy Tindel. Purdue University. Differential equations and linear algebra - MA 262

The determinant. Motivation: area of parallelograms, volume of parallepipeds. Two vectors in R 2 : oriented area of a parallelogram

Chapter 4. Determinants

det(ka) = k n det A.

TOPIC III LINEAR ALGEBRA

Linear Algebra and Vector Analysis MATH 1120

MATH2210 Notebook 2 Spring 2018

Lecture 10: Determinants and Cramer s Rule

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

Elementary Matrices. which is obtained by multiplying the first row of I 3 by -1, and

ENGR-1100 Introduction to Engineering Analysis. Lecture 21. Lecture outline

Linear Algebra: Lecture notes from Kolman and Hill 9th edition.

ENGR-1100 Introduction to Engineering Analysis. Lecture 21

II. Determinant Functions

Math 320, spring 2011 before the first midterm

MATH 323 Linear Algebra Lecture 6: Matrix algebra (continued). Determinants.

MAT 1332: CALCULUS FOR LIFE SCIENCES. Contents. 1. Review: Linear Algebra II Vectors and matrices Definition. 1.2.

EXAM. Exam #1. Math 2360, Second Summer Session, April 24, 2001 ANSWERS

Undergraduate Mathematical Economics Lecture 1

Graduate Mathematical Economics Lecture 1

Notes on Determinants and Matrix Inverse

Lectures on Linear Algebra for IT

Methods for Solving Linear Systems Part 2

Materials engineering Collage \\ Ceramic & construction materials department Numerical Analysis \\Third stage by \\ Dalya Hekmat

LECTURE 4: DETERMINANT (CHAPTER 2 IN THE BOOK)

A = , A 32 = n ( 1) i +j a i j det(a i j). (1) j=1

Determinants. Beifang Chen

Elementary maths for GMT

Equality: Two matrices A and B are equal, i.e., A = B if A and B have the same order and the entries of A and B are the same.

NOTES FOR LINEAR ALGEBRA 133

Math 313 (Linear Algebra) Exam 2 - Practice Exam

Determinants. Recall that the 2 2 matrix a b c d. is invertible if

OR MSc Maths Revision Course

MATH 300, Second Exam REVIEW SOLUTIONS. NOTE: You may use a calculator for this exam- You only need something that will perform basic arithmetic.

5.3 Determinants and Cramer s Rule

MATH 213 Linear Algebra and ODEs Spring 2015 Study Sheet for Midterm Exam. Topics

Chapter 4 - MATRIX ALGEBRA. ... a 2j... a 2n. a i1 a i2... a ij... a in

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

7.6 The Inverse of a Square Matrix

SPRING OF 2008 D. DETERMINANTS

Matrices and Linear Algebra

MATH Topics in Applied Mathematics Lecture 12: Evaluation of determinants. Cross product.

c c c c c c c c c c a 3x3 matrix C= has a determinant determined by

Chapter 2. Square matrices

Introduction to Matrices and Linear Systems Ch. 3

[ Here 21 is the dot product of (3, 1, 2, 5) with (2, 3, 1, 2), and 31 is the dot product of

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

MATH 240 Spring, Chapter 1: Linear Equations and Matrices

Introduction. Vectors and Matrices. Vectors [1] Vectors [2]

Linear Algebraic Equations

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

MATH 106 LINEAR ALGEBRA LECTURE NOTES

LINEAR ALGEBRA WITH APPLICATIONS

Math Computation Test 1 September 26 th, 2016 Debate: Computation vs. Theory Whatever wins, it ll be Huuuge!

Chapter 3. Determinants and Eigenvalues

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

Matrix Algebra Determinant, Inverse matrix. Matrices. A. Fabretti. Mathematics 2 A.Y. 2015/2016. A. Fabretti Matrices

4. Determinants.

MTH 464: Computational Linear Algebra

Introduction to Determinants

System of Linear Equations

Math 4377/6308 Advanced Linear Algebra

7.4. The Inverse of a Matrix. Introduction. Prerequisites. Learning Outcomes

This MUST hold matrix multiplication satisfies the distributive property.

Lecture Summaries for Linear Algebra M51A

7.3. Determinants. Introduction. Prerequisites. Learning Outcomes

Math Linear Algebra Final Exam Review Sheet

Determinants. 2.1 Determinants by Cofactor Expansion. Recall from Theorem that the 2 2 matrix

Math Bootcamp An p-dimensional vector is p numbers put together. Written as. x 1 x =. x p

Math 304 Fall 2018 Exam 3 Solutions 1. (18 Points, 3 Pts each part) Let A, B, C, D be square matrices of the same size such that

Here are some additional properties of the determinant function.

ANSWERS. E k E 2 E 1 A = B

1111: Linear Algebra I

Linear Algebra (part 1) : Matrices and Systems of Linear Equations (by Evan Dummit, 2016, v. 2.02)

Determinants: Uniqueness and more

ANALYTICAL MATHEMATICS FOR APPLICATIONS 2018 LECTURE NOTES 3

The Determinant: a Means to Calculate Volume

Lecture 8: Determinants I


(b) If a multiple of one row of A is added to another row to produce B then det(b) =det(a).

1 Determinants. 1.1 Determinant

9 Appendix. Determinants and Cramer s formula

Matrix Algebra. Matrix Algebra. Chapter 8 - S&B

ELEMENTARY LINEAR ALGEBRA WITH APPLICATIONS. 1. Linear Equations and Matrices

MTH 102A - Linear Algebra II Semester

2. Every linear system with the same number of equations as unknowns has a unique solution.

Matrices Gaussian elimination Determinants. Graphics 2009/2010, period 1. Lecture 4: matrices

Transcription:

Math 20F Linear Algebra Lecture 18 1 Determinants, n n Review: The 3 3 case Slide 1 Determinants n n (Expansions by rows and columns Relation with Gauss elimination matrices: Properties) Formula for the inverse matrix Cramer s rule (To solve nonhomogeneous systems of equations) Review: 3 3 determinants can be computed expanding by any row or column Slide 2 Claim 1 The determinant of a 3 3 matrix can be computed in terms of 2 2 determinants, expanding by any column or row, using the following sign convention for the addition, 2 6 4 + + + + + 3 7 5, Sign of coefficient aij is ( 1)i+j

Math 20F Linear Algebra Lecture 18 2 Review: Main properties of 3 3 determinants Let A = [a 1, a 2, a 3 ] be a 3 3 matrix Let c be a 3-vector Slide 3 det([a 1, a 1, a 2 ]) = 0 det([a 1, a 2, a 3 ]) = det([a 2, a 1, a 3 ]) det([a 1, a 2, a 3 ]) = det([a 1, a 3, a 2 ]) det([ca 1, a 2, a 2 ]) = c det([a 1, a 2, a 3 ]) det([a 1 + c, a 2, a 3 ]) = det([a 1, a 2, a 3 ]) + det([c, a 2, a 3 ]) Review: Important results concerning 3 3 determinants Slide 4 Theorem 1 Let A, B be 3 3 matrices Then, A is invertible det(a) 0 a 1, a 2, a 3 are ld det([a 1, a 2, a 3 ]) = 0 det(a) = det(a T ) det(ab) = det(a) det(b)

Math 20F Linear Algebra Lecture 18 3 Gauss elimination can be used to compute determinants! Theorem 2 Let A be a 3 3 matrix Slide 5 Let B be the result of adding to a row in A a multiple of another row in A Then, det(b) = det(a) Let B be the result of interchanging two rows in A Then, det(b) = det(a) Let B be the result of multiply a row in A by a number k Then, det(a) = (1/k) det(b) Notation needed for the n n case Slide 6 2 3 a 11 a 1j a 1n A ij = a i1 a ij a in, 6 4 7 5 a n1 a nj a nn 2 + + + 6 + + 4 3 eliminate the column j, and the row i, Sign of coefficient a ij is ( 1) i+j 7 5

Math 20F Linear Algebra Lecture 18 4 Determinant n n: expansion by the first row Definition 1 The determinant of an n n matrix A = [a ij ] is given by Slide 7 det(a) = det(a 11)a 11 det(a 12)a 12 + + ( 1) 1+n det(a 1n)a 1n, = nx ( 1) 1+j det(a 1j) a 1j = j=1 nx a 1j C 1j, where C ij is called the cofactor of a matrix A and is the number given by C ij = ( 1) i+j det(a ij ) j=1 Determinants can be computed expanding along any row or any column Slide 8 Theorem 3 The determinant of an n n matrix A = [a ij ] can be computed by an expansion along any row or along any column That is, n det(a) = C ij a ij, for any i = 1,, n, = j=1 n C ij a ij, for any j = 1,, n i=1

Math 20F Linear Algebra Lecture 18 5 Use the row or column with the most number of zeros to compute the determinant Theorem 4 The determinant of a triangular matrix is the product of its diagonal elements Slide 9 1 2 3 0 4 5 0 0 6 = 4 5 0 6 (1) = 1 4 6 = 24 1 0 0 2 3 0 4 1 5 = 3 0 1 5 (1) = 1 3 5 = 15 Main properties of n n determinants Slide 10 Let A = [a 1,, a n ] be a n n matrix Let c be a n-vector det([a 1,, a i,, a i,, a n]) = 0 det([a 1,, a i,, a j,, a n]) = det([a 1,, a j,, a i,, a n]) det([a 1,, a j + c,, a n]) = det([a 1,, a j, a n]) + det([a 1,, c,, a n]) det([a 1,, ca j,, a n]) = c det([a 1,, a j,, a n])

Math 20F Linear Algebra Lecture 18 6 Important results concerning n n determinants Theorem 5 Let A, B be n n matrices Then, Slide 11 A is invertible det(a) 0 a 1,, a n are ld det([a 1,, a n ]) = 0 det(a) = det(a T ) det(ab) = det(a) det(b) The properties of the determinant on the column vectors of A and the property det(a) = det(a T ) imply the following results on the rows of A Theorem 6 (Determinants and elementary row operations) Let A be a n n matrix Let B be the result of adding to a row in A a multiple of another row in A Then, det(b) = det(a) Let B be the result of interchanging two rows in A Then, det(b) = det(a) Let B be the result of multiply a row in A by a number k Then, det(b) = k det(a) Determinant and Gauss elimination operations Theorem 7 If E represents an elementary row operation and A is an n n matrix, then det(ea) = det(e) det(a) The proof is to compute the determinant of every elementary row operation matrix, E, and then use the previous theorem Theorem 8 (Determinant of a product) If A, B are arbitrary n n matrices, then det(ab) = det(a) det(b) Determinant of a product of matrices Proof: If A is not invertible, then AB is not invertible, then the theorem holds, because 0 = det(ab) = det(a) det(b) = 0 Suppose that A is invertible Then there exist elementary row operations E k,, E 1 such that A = E k E 1

Math 20F Linear Algebra Lecture 18 7 Then, det(ab) = det(e k E 1 B), = det(e k ) det(e k 1 E 1 B), = det(e k ) det(e 1 ) det(b), = det(e k E 1 ) det(b), = det(a) det(b) Formula for the inverse matrix Slide 12 Theorem 9 Let A = [a ij ] be an n n matrix, C ij = ( 1) i+j det(a ij ) be the ijth cofactor, and = det(a) Then the inverse matrix A 1 is given by C 11 C 21 C n1 A 1 = 1 C 12 C 22 C n2 C 1n C 2n C nn Formula for the inverse matrix Proof: It is a straightforward computation Let us denote B the matrix with components (B) ij = C ji / Then, a 11 a 12 a 1n C 11 C 21 C n1 a 21 a 22 a 2n 1 C 12 C 22 C n2 AB = a n1 a n2 a nn C 1n C 2n C nn Compute each component of the product AB (AB) 11 = 1 (C 11a 11 + C 12 a 12 + + C 1n a 1n ) = 1, because the factor in the numerator in the right hand side is precisely det(a) = The second component is given by (AB) 12 = 1 (C 11a 21 + C 12 a 22 + + C 1n a 2n )

Math 20F Linear Algebra Lecture 18 8 The factor between brackets in the right hand side is an expansion by the first row of the determinant of a matrix whose first row is a 21, a 22, a 2n That is, (AB) 12 = 1 a 21 a 22 a 2n a 21 a 22 a 2n a 31 a 32 a 3n a n1 a n2 a nn An analogous calculation shows that (AB) ij is given by = 0 (AB) ij = 1 (C j1a i1 + C j2 a i2 + + C jn a in ), The factor between brackets in the right hand side is an expansion by the j row of the determinant of a matrix whose j row is is the i row of A, That is, a i1, a i2, a in a 11 a 12 a 1n (AB) ij = 1 a i1 a i2 a in a n1 a n2 a nn in the j-row Therefore, when i j the factor between brackets is the determinant of a matrix with two identical rows, so (AB) ij = 0 for i j If i = j, the the that factor is precisely det(a), then (AB) ii = 1 Summarizing, (AB) ij = a 11 a 12 a 1n 1 a i1 a i2 a in in the j-row a n1 a n2 a nn = I ij Repeat this calculation for BA

Math 20F Linear Algebra Lecture 18 9 Cramer s rule is a formula to solve nonhomogeneous linear equations Slide 13 Theorem 10 Let A be an invertible n n matrix, so the system of linear equations Ax = b has a unique solution for every vector b Then the components x i of the solution x are given by x i = 1 det(a i(b)) where we introduced the matrix A i(b) = [a 1,, b,, a n], with b placed in the i-column Proof: On the one hand, A invertible means that the solution can be written as x = A 1 b From the formula of the inverse matrix one obtains x i = 1 (C 1i b 1 + C 2i b 2 + + C ni b n ), Slide 14 where b i are the components of b On the other hand, if one expands the det(a i (b)) by the i row one gets det(a i (b)) = (C 1i b 1 + C 2i b 2 + + C ni b n )