Announcements Wednesday, October 04

Similar documents
Section 4.5. Matrix Inverses

Announcements Monday, October 02

Announcements Wednesday, November 01

Announcements Wednesday, September 27

Announcements Monday, October 29

Announcements Wednesday, October 25

Announcements Wednesday, November 01

Announcements Monday, September 18

Announcements Monday, November 26

February 20 Math 3260 sec. 56 Spring 2018

Announcements Monday, September 25

Announcements Wednesday, September 20

Announcements Wednesday, October 10

Section 2.2: The Inverse of a Matrix

Announcements Monday, November 26

Math 1B03/1ZC3 - Tutorial 2. Jan. 21st/24th, 2014

Math 314H EXAM I. 1. (28 points) The row reduced echelon form of the augmented matrix for the system. is the matrix

Announcements Monday, September 17

Announcements Wednesday, August 30

Chapter 2 Notes, Linear Algebra 5e Lay

Review Let A, B, and C be matrices of the same size, and let r and s be scalars. Then

Announcements Wednesday, August 30

Chapter 3: Theory Review: Solutions Math 308 F Spring 2015

Announcements Monday, November 20

Announcements September 19

Math 416, Spring 2010 Matrix multiplication; subspaces February 2, 2010 MATRIX MULTIPLICATION; SUBSPACES. 1. Announcements

22A-2 SUMMER 2014 LECTURE 5

Announcements Wednesday, November 7

Announcements Wednesday, November 7

MATH 152 Exam 1-Solutions 135 pts. Write your answers on separate paper. You do not need to copy the questions. Show your work!!!

We could express the left side as a sum of vectors and obtain the Vector Form of a Linear System: a 12 a x n. a m2

MATH 2331 Linear Algebra. Section 2.1 Matrix Operations. Definition: A : m n, B : n p. Example: Compute AB, if possible.

Announcements Wednesday, September 05

Math 220 F11 Lecture Notes

Math 2940: Prelim 1 Practice Solutions

Math 54 HW 4 solutions

(c)

MATH 1553, FALL 2018 SAMPLE MIDTERM 2: 3.5 THROUGH 4.4

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

Math 3191 Applied Linear Algebra

Section 1.5. Solution Sets of Linear Systems

Math 3191 Applied Linear Algebra

Announcements Monday, November 19

Announcements Monday, November 19

Math 3C Lecture 20. John Douglas Moore

Homework Set #8 Solutions

Linear Algebra Math 221

1. What is the determinant of the following matrix? a 1 a 2 4a 3 2a 2 b 1 b 2 4b 3 2b c 1. = 4, then det

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

MATH 221: SOLUTIONS TO SELECTED HOMEWORK PROBLEMS

Review : Powers of a matrix

MATH 1553, SPRING 2018 SAMPLE MIDTERM 2 (VERSION B), 1.7 THROUGH 2.9

MA 138 Calculus 2 with Life Science Applications Matrices (Section 9.2)

Linear Algebra Exam 1 Spring 2007

Math 54 Homework 3 Solutions 9/

Solutions to Exam I MATH 304, section 6

Linear Algebra Quiz 4. Problem 1 (Linear Transformations): 4 POINTS Show all Work! Consider the tranformation T : R 3 R 3 given by:

Mid-term Exam #1 MATH 205, Fall 2014

Math 369 Exam #2 Practice Problem Solutions

Properties of Linear Transformations from R n to R m

Math 217 Midterm 1. Winter Solutions. Question Points Score Total: 100

Solution Set 7, Fall '12

MATH 2210Q MIDTERM EXAM I PRACTICE PROBLEMS

Math 240 Calculus III

Mon Feb Matrix algebra and matrix inverses. Announcements: Warm-up Exercise:

Announcements Wednesday, November 15

18.06 Problem Set 3 Due Wednesday, 27 February 2008 at 4 pm in

Math 2174: Practice Midterm 1

Linear Algebra and Matrix Inversion

Final Examination 201-NYC-05 December and b =

Answers in blue. If you have questions or spot an error, let me know. 1. Find all matrices that commute with A =. 4 3

Kevin James. MTHSC 3110 Section 2.2 Inverses of Matrices

Mon Feb Matrix inverses, the elementary matrix approach overview of skipped section 2.5. Announcements: Warm-up Exercise:

MATH 2360 REVIEW PROBLEMS

MATH10212 Linear Algebra B Homework Week 5

All of my class notes can be found at

Problem # Max points possible Actual score Total 120

Applied Matrix Algebra Lecture Notes Section 2.2. Gerald Höhn Department of Mathematics, Kansas State University

2018 Fall 2210Q Section 013 Midterm Exam II Solution

Math Matrix Theory - Spring 2012

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

Vectors and matrices: matrices (Version 2) This is a very brief summary of my lecture notes.

Math 60. Rumbos Spring Solutions to Assignment #17

Section 1.8/1.9. Linear Transformations

Undergraduate Mathematical Economics Lecture 1

Family Feud Review. Linear Algebra. October 22, 2013

3.4 Elementary Matrices and Matrix Inverse

Math 215 HW #9 Solutions

Math 2331 Linear Algebra

MTH 464: Computational Linear Algebra

Math 4377/6308 Advanced Linear Algebra

Math 1553 Introduction to Linear Algebra. School of Mathematics Georgia Institute of Technology

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.

Math Final December 2006 C. Robinson

Math Linear Algebra Final Exam Review Sheet

Chapters 5 & 6: Theory Review: Solutions Math 308 F Spring 2015

1.4 Linear Transformation I

IMPORTANT DEFINITIONS AND THEOREMS REFERENCE SHEET

1 Last time: inverses

Matrix operations Linear Algebra with Computer Science Application

Transcription:

Announcements Wednesday, October 04 Please fill out the mid-semester survey under Quizzes on Canvas. WeBWorK 1.8, 1.9 are due today at 11:59pm. The quiz on Friday covers 1.7, 1.8, and 1.9. My office is Skiles 244. Rabinoffice hours are Monday, 1 3pm and Tuesday, 9 11am.

Section 2.2 The Inverse of a Matrix

The Definition of Inverse Recall: The multiplicative inverse (or reciprocal) of a nonzero number a is the number b such that ab = 1. We define the inverse of a matrix in almost the same way. Definition Let A be an n n square matrix. We say A is invertible (or nonsingular) if there is a matrix B of the same size, such that identity matrix AB = I n and BA = I 1 0 0 n. 0 1 0...... In this case, B is the inverse of A, and is written A 1... Example A = ( ) 2 1 1 1 B = ( ) 1 1. 1 2 0 0 1 I claim B = A 1. Check: ( ) ( ) ( ) 2 1 1 1 1 0 AB = = 1 1 1 2 0 1 ( ) ( ) ( ) 1 1 2 1 1 0 " BA = =. 1 2 1 1 0 1

Poll Poll Do there exist two matrices A and B such that AB is the identity, but BA is not? If so, find an example. (Both products have to make sense.) Yes, for instance: A = ( 1 0 ) 0 0 1 0 1 0 B = 0 1. 0 0 However If A and B are square matrices, then AB = I n if and only if BA = I n. So in this case you only have to check one.

Solving Linear Systems via Inverses Solving Ax = b by dividing by A Theorem If A is invertible, then Ax = b has exactly one solution for every b, namely: x = A 1 b. Why? Divide by A! Ax = b A 1 (Ax) = A 1 b (A 1 A)x = A 1 b I nx = A 1 b x = A 1 b. I nx = x for every x Important If A is invertible and you know its inverse, then the easiest way to solve Ax = b is by dividing by A : x = A 1 b.

Solving Linear Systems via Inverses Example Example Solve the system 2x 1 + 3x 2 + 2x 3 = 1 x 1 + 3x 3 = 1 2x 1 + 2x 2 + 3x 3 = 1 Answer: using x 1 2 3 2 x 2 = 1 0 3 x 3 2 2 3 1 2 3 2 1 0 3 2 2 3 1 6 5 9 = 3 2 4. 2 2 3 1 6 5 9 1 2 1 = 3 2 4 1 = 1. 1 2 2 3 1 1 The advantage of using inverses is it doesn t matter what s on the right-hand side of the = : 1 2x 1 + 3x 2 + 2x 3 = b 1 x 1 2 3 2 b 1 x 1 + 3x 3 = b 2 = x 2 = 1 0 3 b 2. 2x 1 + 2x 2 + 3x 3 = b 3 x 3 2 2 3 b 3

Some Facts Say A and B are invertible n n matrices. 1. A 1 is invertible and its inverse is (A 1 ) 1 = A. 2. AB is invertible and its inverse is (AB) 1 = A 1 B 1 B 1 A 1. Why? (B 1 A 1 )AB = B 1 (A 1 A)B = B 1 I nb = B 1 B = I n. 3. A T is invertible and (A T ) 1 = (A 1 ) T. Why? A T (A 1 ) T = (A 1 A) T = In T = I n. Question: If A, B, C are invertible n n matrices, what is the inverse of ABC? i. A 1 B 1 C 1 ii. B 1 A 1 C 1 iii. C 1 B 1 A 1 iv. C 1 A 1 B 1 Check: (ABC)(C 1 B 1 A 1 ) = AB(CC 1 )B 1 A 1 = A(BB 1 )A 1 = AA 1 = I n. In general, a product of invertible matrices is invertible, and the inverse is the product of the inverses, in the reverse order.

Computing A 1 The 2 2 case ( ) a b Let A =. The determinant of A is the number c d ( ) a b det(a) = det = ad bc. c d Facts: 1. If det(a) 0, then A is invertible and A 1 = 1 det(a) 2. If det(a) = 0, then A is not invertible. Why 1? ( ) ( ) a b d b = c d c a ( ) ad bc 0 = 0 ad bc So we get the identity by dividing by ad bc. ( d b c a ). ( ) ( ) d b a b c a c d Example ( ) 1 2 det = 1 4 2 3 = 2 3 4 ( ) 1 1 2 = 1 3 4 2 ( ) 4 2. 3 1

Computing A 1 In general Let A be an n n matrix. Here s how to compute A 1. 1. Row reduce the augmented matrix ( A I n ). 2. If the result has the form ( I n B ), then A is invertible and B = A 1. 3. Otherwise, A is not invertible. Example 1 0 4 A = 0 1 2 0 3 4 [interactive]

Computing A 1 Example 1 0 4 1 0 0 0 1 2 0 1 0 R 3 = R 3 + 3R 2 1 0 4 1 0 0 0 1 2 0 1 0 0 3 4 0 0 1 0 0 2 0 3 1 R 1 = R 1 2R 3 R 2 = R 2 R 3 1 0 0 1 6 2 0 1 0 0 2 1 0 0 2 0 3 1 R 3 = R 3 2 1 0 0 1 6 2 0 1 0 0 2 1 0 0 1 0 3/2 1/2 1 0 1 4 1 6 2 So 0 1 2 = 0 2 1. 0 3 4 0 3/2 1/2 Check: 1 0 4 1 6 2 1 0 0 0 1 2 0 2 1 = 0 1 0 " 0 3 4 0 3/2 1/2 0 0 1

Why Does This Work? We can think of the algorithm as simultaneously solving the equations 1 0 4 1 0 0 Ax 1 = e 1 : 0 1 2 0 1 0 0 3 4 0 0 1 1 0 4 1 0 0 Ax 2 = e 2 : 0 1 2 0 1 0 0 3 4 0 0 1 1 0 4 1 0 0 Ax 3 = e 3 : 0 1 2 0 1 0 0 3 4 0 0 1 Now note A 1 e i = A 1 (Ax i ) = x i, and x i is the ith column in the augmented part. Also A 1 e i is the ith column of A 1.

Section 2.3 Characterization of Invertible Matrices

Invertible Transformations Definition A transformation T : R n R n is invertible if there exists another transformation U : R n R n such that T U(x) = x and U T (x) = x for all x in R n. In this case we say U is the inverse of T, and we write U = T 1. In other words, T (U(x)) = x, so T undoes U, and likewise U undoes T. Fact A transformation T is invertible if and only if it is both one-to-one and onto. If T is one-to-one and onto, this means for every y in R n, there is a unique x in R n such that T (x) = y. Then T 1 (y) = x.

Invertible Transformations Examples Let T = counterclockwise rotation in the plane by 45. What is T 1? T T 1 T 1 is clockwise rotation by 45. [interactive: T 1 T ] [interactive: T T 1 ] Let T = shrinking by a factor of 2/3 in the plane. What is T 1? T T 1 T 1 is stretching by 3/2. [interactive: T 1 T ] [interactive: T T 1 ] Let T = projection onto the x-axis. What is T 1? It is not invertible: you can t undo it.

Invertible Linear Transformations If T : R n R n is an invertible linear transformation with matrix A, then what is the matrix for T 1? Let B be the matrix for T 1. We know T T 1 has matrix AB, so for all x, Hence AB = I n, so B = A 1. ABx = T T 1 (x) = x. Fact If T is an invertible linear transformation with matrix A, then T 1 is an invertible linear transformation with matrix A 1.

Invertible Linear Transformations Examples Let T = counterclockwise rotation in the plane by 45. Its matrix is ( ) cos(45 ) sin(45 ) A = sin(45 ) cos(45 = 1 ( ) 1 1. ) 2 1 1 Then T 1 = counterclockwise rotation by 45. Its matrix is ( ) cos( 45 ) sin( 45 ) B = sin( 45 ) cos( 45 = 1 ( ) 1 1. ) 2 1 1 Check: AB = 1 ( ) ( ) ( ) 1 1 1 1 1 0 = 2 1 1 1 1 0 1 Let T = shrinking by a factor of 2/3 in the plane. Its matrix is ( ) 2/3 0 A = 0 2/3 Then T 1 = stretching by 3/2. Its matrix is ( ) 3/2 0 B = 0 3/2 ( ) ( ) 2/3 0 3/2 0 Check: AB = = 0 2/3 0 3/2 ( ) 1 0 0 1 " "

The Invertible Matrix Theorem A.K.A. The Really Big Theorem of Math 1553 The Invertible Matrix Theorem Let A be an n n matrix, and let T : R n R n be the linear transformation T (x) = Ax. The following statements are equivalent. 1. A is invertible. 2. T is invertible. 3. A is row equivalent to I n. 4. A has n pivots. 5. Ax = 0 has only the trivial solution. 6. The columns of A are linearly independent. 7. T is one-to-one. 8. Ax = b is consistent for all b in R n. 9. The columns of A span R n. 10. T is onto. 11. A has a left inverse (there exists B such that BA = I n). 12. A has a right inverse (there exists B such that AB = I n). 13. A T is invertible. you really have to know these

The Invertible Matrix Theorem Summary There are two kinds of square matrices: 1. invertible (non-singular), and 2. non-invertible (singular). For invertible matrices, all statements of the Invertible Matrix Theorem are true. For non-invertible matrices, all statements of the Invertible Matrix Theorem are false. Strong recommendation: If you want to understand invertible matrices, go through all of the conditions of the IMT and try to figure out on your own (or at least with help from the book) why they re all equivalent. You know enough at this point to be able to reduce all of the statements to assertions about the pivots of a square matrix.

Summary The inverse of a square matrix A is a matrix A 1 such that AA 1 = I n (equivalently, A 1 A = I n). If A is invertible, then you can solve Ax = b by dividing by A : b = A 1 x. There is a unique solution x = A 1 b for every x. You compute A 1 (and whether A is invertible) by row reducing ( A ) I n. There s a trick for computing the inverse of a 2 2 matrix in terms of determinants. A linear transformation T is invertible if and only if its matrix A is invertible, in which case A 1 is the matrix for T 1. The Invertible Matrix theorem is a list of a zillion equivalent conditions for invertibility that you have to learn (and should understand, since it s well within what we ve covered in class so far).