Announcements Wednesday, October 25

Similar documents
Announcements Wednesday, October 04

Announcements Wednesday, September 27

Announcements Monday, October 02

Announcements Wednesday, November 7

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

Linear Algebra and Vector Analysis MATH 1120

Announcements Monday, September 18

Announcements Wednesday, November 7

Announcements Wednesday, October 10

Graduate Mathematical Economics Lecture 1

Math 240 Calculus III

Undergraduate Mathematical Economics Lecture 1

Announcements Wednesday, August 30

Announcements Wednesday, November 01

Announcements Monday, September 25

Announcements Wednesday, August 30

Announcements Wednesday, November 01

Topic 15 Notes Jeremy Orloff

Announcements Wednesday, September 20

Math 320, spring 2011 before the first midterm

Math 416, Spring 2010 The algebra of determinants March 16, 2010 THE ALGEBRA OF DETERMINANTS. 1. Determinants

Determinants of 2 2 Matrices

1300 Linear Algebra and Vector Geometry

Determinants Chapter 3 of Lay

22A-2 SUMMER 2014 LECTURE 5

Inverses and Determinants

Chapter 4. Determinants

Announcements Monday, September 17

MATRICES AND MATRIX OPERATIONS

Lecture 10: Determinants and Cramer s Rule

1 Last time: determinants

Announcements Monday, October 29

Announcements Wednesday, September 05

Properties of the Determinant Function

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

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

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

Lecture 8: Determinants I

Math 250B Midterm I Information Fall 2018

Homework Set #8 Solutions

Announcements Monday, November 13

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

Math 103, Summer 2006 Determinants July 25, 2006 DETERMINANTS. 1. Some Motivation

Math Lecture 26 : The Properties of Determinants

Chapter 2. Square matrices

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

Announcements Monday, November 13

Math 520 Exam 2 Topic Outline Sections 1 3 (Xiao/Dumas/Liaw) Spring 2008

Determinants by Cofactor Expansion (III)

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

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

ENGR-1100 Introduction to Engineering Analysis. Lecture 21

Cofactors and Laplace s expansion theorem

Introduction to Determinants

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

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

if we factor non-zero factors out of rows, we factor the same factors out of the determinants.

Determinants and Scalar Multiplication

4. Determinants.

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

Gaussian Elimination and Back Substitution

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

Announcements Monday, November 26

MATH 2030: EIGENVALUES AND EIGENVECTORS

Determinant of a Matrix

Determinants: summary of main results

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

Introduction to Matrices and Linear Systems Ch. 3

II. Determinant Functions

Evaluating Determinants by Row Reduction

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

Math 215 HW #9 Solutions

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

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

ECON 186 Class Notes: Linear Algebra

Math 110 Linear Algebra Midterm 2 Review October 28, 2017

k=1 ( 1)k+j M kj detm kj. detm = ad bc. = 1 ( ) 2 ( )+3 ( ) = = 0

Determinants in detail

TOPIC III LINEAR ALGEBRA

Notes on Determinants and Matrix Inverse

1 Matrices and Systems of Linear Equations. a 1n a 2n

1111: Linear Algebra I

Digital Workbook for GRA 6035 Mathematics

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

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

7.3. Determinants. Introduction. Prerequisites. Learning Outcomes

M. Matrices and Linear Algebra


Diagonalization. MATH 1502 Calculus II Notes. November 4, 2008

MATRIX DETERMINANTS. 1 Reminder Definition and components of a matrix

IMPORTANT DEFINITIONS AND THEOREMS REFERENCE SHEET

Announcements Wednesday, November 15

Things we can already do with matrices. Unit II - Matrix arithmetic. Defining the matrix product. Things that fail in matrix arithmetic

Announcements Monday, November 26

Matrices. In this chapter: matrices, determinants. inverse matrix

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

MTH 464: Computational Linear Algebra

Introduction to Matrices

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

This MUST hold matrix multiplication satisfies the distributive property.

Transcription:

Announcements Wednesday, October 25 The midterm will be returned in recitation on Friday. The grade breakdown is posted on Piazza. You can pick it up from me in office hours before then. Keep tabs on your grades on Canvas. No WeBWorK this week! No quiz on Friday! Withdraw deadline is this Saturday, 10/28. My office is Skiles 244. Rabinoffice hours are Monday, 1 3pm and Tuesday, 9 11am.

Orientation Last time: we learned...... the definition of the determinant.... to compute the determinant using row reduction.... all sorts of magical properties of the determinant, like det(ab) = det(a) det(b) the determinant computes volumes nonzero determinants characterize invertability etc. Today: we will learn... Special formulas for 2 2 and 3 3 matrices. How to compute determinants using cofactor expansions. How to compute inverses using determinants.

Determinants of 2 2 Matrices Reminder We already have a formula in the 2 2 case: a b det = ad bc. c d

Determinants of 3 3 Matrices Here s the formula: a 11 a 12 a 13 a11a22a33 + a12a23a31 + a13a21a32 det a 21 a 22 a 23 = a 31 a 32 a a 33 13a 22a 31 a 11a 23a 32 a 12a 21a 33 How on earth do you remember this? Draw a bigger matrix, repeating the first two columns to the right: a 11 a 12 a 13 a 11 a 12 + a 21 a 22 a 23 a 21 a 22 a 31 a 32 a 33 a 31 a 32 a 11 a 12 a 13 a 11 a 12 a 21 a 22 a 23 a 21 a 22 a 31 a 32 a 33 a 31 a 32 Then add the products of the downward diagonals, and subtract the product of the upward diagonals. For example, 5 1 0 5 1 0 5 1 det 1 3 2 = 1 3 2 1 3 = 15 + 8 + 0 0 0 1 = 8 4 0 1 4 0 1 4 0

Cofactor Expansions When n 4, the determinant isn t just a sum of products of diagonals. The formula is recursive: you compute a larger determinant in terms of smaller ones. First some notation. Let A be an n n matrix. A ij = ijth minor of A = (n 1) (n 1) matrix you get by deleting the ith row and jth column C ij = ( 1) i+j det A ij = ijth cofactor of A The signs of the cofactors follow a checkerboard pattern: + + + + + + ± in the ij entry is the sign of C ij + + Theorem The determinant of an n n matrix A is n det(a) = a 1j C 1j = a 11C 11 + a 12C 12 + + a 1nC 1n. j=1 This formula is called cofactor expansion along the first row.

Cofactor Expansions 1 1 Matrices This is the beginning of the recursion. det( a 11 ) = a 11.

Cofactor Expansions 2 2 Matrices a11 a 12 A = a 21 a 22 The minors are: a11 a 12 A 11 = = ( a a 21 a 22 ) A 12 = 22 a11 a 12 A 21 = = ( a a 21 a 12 ) A 22 = 22 a11 a 12 = ( a a 21 a 21 ) 22 a11 a 12 = ( a a 21 a 11 ) 22 The cofactors are C 11 = + det A 11 = a 22 C 12 = det A 12 = a 21 C 21 = det A 21 = a 12 C 22 = + det A 22 = a 11 The determinant is det A = a 11C 11 + a 12C 12 = a 11a 22 a 12a 21.

Cofactor Expansions 3 3 Matrices a 11 a 12 a 13 A = a 21 a 22 a 23 a 31 a 32 a 33 The top row minors and cofactors are: a 11 a 12 a 13 A 11 = a 21 a 22 a 23 a22 a 23 = a a 31 a 32 a 32 a 33 33 a 11 a 12 a 13 A 12 = a 21 a 22 a 23 a21 a 23 = a a 31 a 32 a 31 a 33 33 a 11 a 12 a 13 A 13 = a 21 a 22 a 23 a21 a 22 = a a 31 a 32 a 31 a 32 33 The determinant is magically the same formula as before: det A = a 11C 11 + a 12C 12 + a 13C 13 ( a22 a 23 a21 a 23 = a 11 det a a 32 a 12 det 33 a 31 a 33 a22 a 23 C 11 = + det a 32 a 33 a21 a 23 C 12 = det a 31 a 33 a21 a 22 C 13 = + det a 31 a 32 ) + a 13 det a21 a 22 a 31 a 32

Cofactor Expansions Example 5 1 0 5 1 0 det 1 3 2 = 5 det 1 3 2 1 det 4 0 1 4 0 1 5 1 0 + 0 det 1 3 2 4 0 1 ( 3 2 1 2 = 5 det 1 det 0 1 4 1 = 5 ( 3 0) 1 (1 8) = 15 + 7 = 8 5 1 0 1 3 2 4 0 1 ) + 0 det 1 3 4 0

2n 1 More Formulas for the Determinant Recall: the formula det(a) = n a 1j C 1j = a 11C 11 + a 12C 12 + + a 1nC 1n. j=1 is called cofactor expansion along the first row. Actually, you can expand cofactors along any row or column you like! Magical Theorem The determinant of an n n matrix A is n det A = a ij C ij for any fixed i det A = j=1 n a ij C ij i=1 for any fixed j These formulas are called cofactor expansion along the ith row, respectively, jth column. In particular, you get the same answer whichever row or column you choose. Try this with a row or a column with a lot of zeros.

Cofactor Expansion Example 2 1 0 A = 1 1 0 5 9 1 It looks easiest to expand along the third column: 2 1 0 don t don t det A = 0 det 0 det + 1 det 1 1 0 care care 5 9 1 2 1 = det = 2 1 = 1 1 1

Cofactor Expansion Advice In general, computing a determinant by cofactor expansion is slower than by row reduction. It makes sense to expand by cofactors if you have a row or column with a lot of zeros. Also if your matrix has unknowns in it, since those are hard to row reduce (you don t know where the pivots are). You can also use more than one method; for example: Use cofactors on a 4 4 matrix but compute the minors using the 3 3 formula. Do row operations to produce a row/column with lots of zeros, then expand cofactors (but keep track of how you changed the determinant!). Example: 5 1 0 5 1 0 det 1 3 2 R 2=R 2 +2R ======== 3 det 7 3 0 4 0 1 4 0 1 3rd column 5 1 ======= ( 1) det = 8 7 3

Poll Poll 0 7 0 0 0 1 0 0 0 0 det 0 0 0 0 3 0 0 2 0 0 =? 0 0 0 2 0 A. 84 B. 28 C. 7 D. 0 E. 7 F. 28 G. 84 Repeatedly expanding along the first row, you get: 0 7 0 0 0 7 0 0 0 1 0 0 0 0 det 0 0 0 0 3 0 0 2 0 0 = 1 det 0 0 0 3 0 2 0 0 0 0 2 0 0 0 0 2 0 = ( 1) 7 det 0 0 3 2 0 0 2 0 = ( 1) 7 3 det 0 2 0 2 0 = ( 1) 7 3 2 2 = 84.

A Formula for the Inverse For fun from 3.3 For 2 2 matrices we had a nice formula for the inverse: a b A = = A 1 1 d b = = 1 ( C11 C 21 c d ad bc c a det A C 12 C 22 ). Theorem This last formula works for any n n invertible matrix A: (3, 1) entry C 11 C 21 C 31 C n1 A 1 = 1 C 12 C 22 C 32 C n2 C 13 C 23 C 33 C n3 = 1 T Cij det A......... det A C 1n C 2n C 3n C nn Note that the cofactors are transposed : the (i, j) entry of the matrix is C ji. The proof uses Cramer s rule.

A Formula for the Inverse Example 1 0 1 Compute A 1, where A = 0 1 1. 1 1 0 The minors are: 1 1 0 1 A 11 = A 1 0 12 = 1 0 0 1 1 1 A 21 = A 1 0 22 = 1 0 0 1 1 1 A 31 = A 1 1 32 = 0 1 0 1 A 13 = 1 1 1 0 A 23 = 1 1 1 0 A 33 = 0 1 The cofactors are (don t forget to multiply by ( 1) i+j ): C 11 = 1 C 12 = 1 C 13 = 1 C 21 = 1 C 22 = 1 C 23 = 1 C 31 = 1 C 32 = 1 C 33 = 1 The determinant is (expanding along the first row): det A = 1 C 11 + 0 C 12 + 1 C 13 = 2

A Formula for the Inverse Example, continued 1 0 1 Compute A 1, where A = 0 1 1. 1 1 0 The inverse is A 1 = 1 C 11 C 21 C 31 C 12 C 22 C 32 = 1 1 1 1 1 1 1. det A 2 C 13 C 23 C 33 1 1 1 Check: 1 0 1 0 1 1 1 1 1 1 1 0 0 1 1 1 = 0 1 0. 2 " 1 1 0 1 1 1 0 0 1

A Formula for the Inverse Why? A 1 = 1 det A C 11 C 21 C 31 C n1 C 12 C 22 C 32 C n2 C 13 C 23 C 33 C n3......... C 1n C 2n C 3n C nn That was a lot of work! It s way easier to compute inverses by row reduction. The formula is good for error estimates: the only division is by the determinant, so if your determinant is tiny, your error bars are large. It s also useful if your matrix has unknowns in it. It s part of a larger picture in the theory.

Summary We have several ways to compute the determinant of a matrix. Special formulas for 2 2 and 3 3 matrices. These work great for small matrices. Cofactor expansion. This is perfect when there is a row or column with a lot of zeros, or if your matrix has unknowns in it. Row reduction. This is the way to go when you have a big matrix which doesn t have a row or column with a lot of zeros. Any combination of the above. Cofactor expansion is recursive, but you don t have to use cofactor expansion to compute the determinants of the minors! Or you can do row operations and then a cofactor expansion.