Warm-Up 1.Is matrix multiplication commutative? P 539 # 1,3,5, 11 a b c and d, 19, 20, 32.

22
Warm-Up 1.Is matrix multiplication commutative? P 539 # 1,3,5, 11 a b c and d, 19, 20, 32

Transcript of Warm-Up 1.Is matrix multiplication commutative? P 539 # 1,3,5, 11 a b c and d, 19, 20, 32.

Page 1: Warm-Up 1.Is matrix multiplication commutative? P 539 # 1,3,5, 11 a b c and d, 19, 20, 32.

Warm-Up1. Is matrix multiplication commutative?

P 539 # 1,3,5, 11 a b c and d, 19, 20, 32

Page 2: Warm-Up 1.Is matrix multiplication commutative? P 539 # 1,3,5, 11 a b c and d, 19, 20, 32.
Page 3: Warm-Up 1.Is matrix multiplication commutative? P 539 # 1,3,5, 11 a b c and d, 19, 20, 32.
Page 4: Warm-Up 1.Is matrix multiplication commutative? P 539 # 1,3,5, 11 a b c and d, 19, 20, 32.
Page 5: Warm-Up 1.Is matrix multiplication commutative? P 539 # 1,3,5, 11 a b c and d, 19, 20, 32.
Page 6: Warm-Up 1.Is matrix multiplication commutative? P 539 # 1,3,5, 11 a b c and d, 19, 20, 32.

Accelerated Pre-Calculus Lesson 2Essential Question: What is an inverse, how can I find the inverse of a matrix, and verify it is the inverse? How can I find the determinant of a square matrix? Section Objectives: Students will be able to find an inverse, and take a determinant. • Standards: MCC9 12.N.VM.10 (+) Understand that the ‐

zero and identity matrices play a role in matrix addition and multiplication similar to the role of 0 and 1 in the real numbers. The determinant of a square matrix is nonzero if and only if the matrix has a multiplicative inverse.

• MCC9 12.A.REI.9 (+) Find the inverse of a matrix if it exists ‐and use it to solve systems of linear equations (using technology for matrices of dimension 3 × 3 or greater).

Page 7: Warm-Up 1.Is matrix multiplication commutative? P 539 # 1,3,5, 11 a b c and d, 19, 20, 32.

New Vocabulary

• Given a n x n matrix A, if there exists an inverse (A-1 ) of matrix A then A A-1 = A-1 A = In

• If a square matrix A has NO inverse then it is called a singular matrix.

• If a square matrix has an inverse it is called a nonsingular matrix

• Cofactor expansion- Let A = [Aij] be a matrix of order n x n where n > 2. The determinant of A denoted det(A) is the sum of the entries in any row or column multiplied by their respective cofactors.

Page 8: Warm-Up 1.Is matrix multiplication commutative? P 539 # 1,3,5, 11 a b c and d, 19, 20, 32.

Definition of an Inverse • Given a n x n matrix A, if there exists an inverse

(A-1 ) of matrix A then A A-1 = A-1 A = In

Example:

A A -1 = A A-1 = 1 2

7 9

-1.5 .5

1.25 -.25

1 0

0 1

Page 9: Warm-Up 1.Is matrix multiplication commutative? P 539 # 1,3,5, 11 a b c and d, 19, 20, 32.

• If a square matrix A has NO inverse then it is called a singular matrix. • If a square matrix has an

inverse it is called a nonsingular matrix.

Page 10: Warm-Up 1.Is matrix multiplication commutative? P 539 # 1,3,5, 11 a b c and d, 19, 20, 32.

Example Verifying an inverse matrix

• Prove that A = and B =

Are inverse matrices:

3 -2

-1 1

1 2

1 3

Page 11: Warm-Up 1.Is matrix multiplication commutative? P 539 # 1,3,5, 11 a b c and d, 19, 20, 32.

• Verify A = has no inverse6 3

2 1

Page 12: Warm-Up 1.Is matrix multiplication commutative? P 539 # 1,3,5, 11 a b c and d, 19, 20, 32.

How to find the inverse of a matrix by handLet’s say we want to take the inverse of the following matrix We have to use the Gauss Jordan method. to do this rewrite the matrix with an identity matrix next to it.

Our goal is to make the left side of the matrix look like the right side.

Page 13: Warm-Up 1.Is matrix multiplication commutative? P 539 # 1,3,5, 11 a b c and d, 19, 20, 32.

The only things you can do to a matrix to change its form is:

1. Interchange two rows.

2. Multiply a row by a nonzero constant.

3. Add a multiple of one row to another row.

Page 14: Warm-Up 1.Is matrix multiplication commutative? P 539 # 1,3,5, 11 a b c and d, 19, 20, 32.

We want the number in the first row and first column to be a 1.

A 1 is already there, next we want all of the numbers below that 1 to be a zero.

Page 15: Warm-Up 1.Is matrix multiplication commutative? P 539 # 1,3,5, 11 a b c and d, 19, 20, 32.
Page 16: Warm-Up 1.Is matrix multiplication commutative? P 539 # 1,3,5, 11 a b c and d, 19, 20, 32.

What ever you are left with on the right is the inverse of the original

matrix.

Page 17: Warm-Up 1.Is matrix multiplication commutative? P 539 # 1,3,5, 11 a b c and d, 19, 20, 32.

Finding a determinant of square matrices

Determinant of a 2 x 2If a 2 x 2 matrix A has an inverse then the determinant of A is as follows.

A = , det A = ad - bc a b

c d

Page 18: Warm-Up 1.Is matrix multiplication commutative? P 539 # 1,3,5, 11 a b c and d, 19, 20, 32.

Theorem An n x n matrix A has an inverse if and only if det A ≠ 0.

Page 19: Warm-Up 1.Is matrix multiplication commutative? P 539 # 1,3,5, 11 a b c and d, 19, 20, 32.

Finding a determinant of square matrices

To take the determinant of a non 2 x 2 square matrix you have to do Cofactor expansion.

Let A = [Aij] be a matrix of order n x n where n > 2. The determinant of A denoted det(A) is the sum of the entries in any row or column multiplied by their respective cofactors.

Page 20: Warm-Up 1.Is matrix multiplication commutative? P 539 # 1,3,5, 11 a b c and d, 19, 20, 32.

Lets take the determinant of the following matrix

0 2 1

3 -12

4 0 1

I have circled our cofactors

Page 21: Warm-Up 1.Is matrix multiplication commutative? P 539 # 1,3,5, 11 a b c and d, 19, 20, 32.

Using determinants to find the area of a triangle

A triangle with vertices at (x1, y1), (x2,y2), and (x3,y3)

Use: Area of the triangle = ½ base x height =

½ ( det ) X1 y1 1

X2 y2 1

X3 y3 1

Page 22: Warm-Up 1.Is matrix multiplication commutative? P 539 # 1,3,5, 11 a b c and d, 19, 20, 32.

Find the area of the following triangle

The triangle with the following vertices: (4,0), (7,2), and (2,3)