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

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

Elementary Matrices. MATH 322, Linear Algebra I. J. Robert Buchanan. Spring Department of Mathematics

Math 3191 Applied Linear Algebra

Chapter 2 Notes, Linear Algebra 5e Lay

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

3.4 Elementary Matrices and Matrix Inverse

MTH 464: Computational Linear Algebra

Math Week 1 notes

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

Review Solutions for Exam 1

Solutions to Exam I MATH 304, section 6

5x 2 = 10. x 1 + 7(2) = 4. x 1 3x 2 = 4. 3x 1 + 9x 2 = 8

Lecture 6 & 7. Shuanglin Shao. September 16th and 18th, 2013

Math 3C Lecture 20. John Douglas Moore

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

Math 3A Winter 2016 Midterm

Linear Algebra Practice Problems

Matrices and RRE Form

Elementary maths for GMT

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

Math 54 HW 4 solutions

Lecture 2 Systems of Linear Equations and Matrices, Continued

Topics. Vectors (column matrices): Vector addition and scalar multiplication The matrix of a linear function y Ax The elements of a matrix A : A ij

Midterm 1 Review. Written by Victoria Kala SH 6432u Office Hours: R 12:30 1:30 pm Last updated 10/10/2015

1111: Linear Algebra I

MATH10212 Linear Algebra B Homework Week 4

6-2 Matrix Multiplication, Inverses and Determinants

February 20 Math 3260 sec. 56 Spring 2018

Kevin James. MTHSC 3110 Section 2.2 Inverses of Matrices

Mon Jan Matrix and linear transformations. Announcements: Warm-up Exercise:

LECTURES 14/15: LINEAR INDEPENDENCE AND BASES

Section 4.5. Matrix Inverses

Linear Algebra Handout

Math 3191 Applied Linear Algebra

Chapter 3. Directions: For questions 1-11 mark each statement True or False. Justify each answer.

Definition 2.3. We define addition and multiplication of matrices as follows.

Math 54 Homework 3 Solutions 9/

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

Math 2940: Prelim 1 Practice Solutions

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

The scope of the midterm exam is up to and includes Section 2.1 in the textbook (homework sets 1-4). Below we highlight some of the important items.

a s 1.3 Matrix Multiplication. Know how to multiply two matrices and be able to write down the formula

Final Exam Practice Problems Answers Math 24 Winter 2012

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

Matrix equation Ax = b

INVERSE OF A MATRIX [2.2]

1111: Linear Algebra I

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

1 Linear systems, existence, uniqueness

Linear Equations in Linear Algebra

Chapter 1. Vectors, Matrices, and Linear Spaces

Check that your exam contains 20 multiple-choice questions, numbered sequentially.

MATH10212 Linear Algebra B Homework 6. Be prepared to answer the following oral questions if asked in the supervision class:

Math 2210Q (Roby) Practice Midterm #1 Solutions Fall 2017

MATH 2030: MATRICES. Example 0.2. Q:Define A 1 =, A. 3 4 A: We wish to find c 1, c 2, and c 3 such that. c 1 + c c

Linear Algebra II. 2 Matrices. Notes 2 21st October Matrix algebra

Fall Inverse of a matrix. Institute: UC San Diego. Authors: Alexander Knop

Section 2.2: The Inverse of a Matrix

Math 54 First Midterm Exam, Prof. Srivastava September 23, 2016, 4:10pm 5:00pm, 155 Dwinelle Hall.

is Use at most six elementary row operations. (Partial

Math 1553, Introduction to Linear Algebra

MATH 2360 REVIEW PROBLEMS

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

Math Final December 2006 C. Robinson

Tues Feb Vector spaces and subspaces. Announcements: Warm-up Exercise:

Solving Systems of Linear Equations Using Matrices

ANSWERS. Answer: Perform combo(3,2,-1) on I then combo(1,3,-4) on the result. The elimination matrix is

Linear Algebra Exam 1 Spring 2007

1111: Linear Algebra I

Systems of Linear Equations. By: Tri Atmojo Kusmayadi and Mardiyana Mathematics Education Sebelas Maret University

Math 51, Homework-2. Section numbers are from the course textbook.

MATH10212 Linear Algebra B Homework Week 5

Name: MATH 3195 :: Fall 2011 :: Exam 2. No document, no calculator, 1h00. Explanations and justifications are expected for full credit.

MATH 2331 Linear Algebra. Section 1.1 Systems of Linear Equations. Finding the solution to a set of two equations in two variables: Example 1: Solve:

Math 301 Test I. M. Randall Holmes. September 8, 2008

Determine whether the following system has a trivial solution or non-trivial solution:

1 Last time: linear systems and row operations

Chapter 1: Systems of linear equations and matrices. Section 1.1: Introduction to systems of linear equations

MTH 464: Computational Linear Algebra

Next topics: Solving systems of linear equations

MA 242 LINEAR ALGEBRA C1, Solutions to First Midterm Exam

A FIRST COURSE IN LINEAR ALGEBRA. An Open Text by Ken Kuttler. Matrix Arithmetic

INVERSE OF A MATRIX [2.2] 8-1

Linear Algebra Math 221

5) homogeneous and nonhomogeneous systems 5a) The homogeneous matrix equation, A x = 0 is always consistent.

Announcements Wednesday, October 04

MTH501- Linear Algebra MCQS MIDTERM EXAMINATION ~ LIBRIANSMINE ~

Math 2174: Practice Midterm 1

This is a closed book exam. No notes or calculators are permitted. We will drop your lowest scoring question for you.

Matrix Factorization Reading: Lay 2.5

Lecture 9: Elementary Matrices

Matrices, Row Reduction of Matrices

Inverting Matrices. 1 Properties of Transpose. 2 Matrix Algebra. P. Danziger 3.2, 3.3

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

Find the solution set of 2x 3y = 5. Answer: We solve for x = (5 + 3y)/2. Hence the solution space consists of all vectors of the form

( v 1 + v 2 ) + (3 v 1 ) = 4 v 1 + v 2. and ( 2 v 2 ) + ( v 1 + v 3 ) = v 1 2 v 2 + v 3, for instance.

MATH 1120 (LINEAR ALGEBRA 1), FINAL EXAM FALL 2011 SOLUTIONS TO PRACTICE VERSION

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

Math 220 Some Exam 1 Practice Problems Fall 2017

Linear Equations in Linear Algebra

Transcription:

Math 2270-004 Week 6 notes We will not necessarily finish the material from a given day's notes on that day We may also add or subtract some material as the week progresses, but these notes represent an in-depth outline of what we plan to cover These notes cover material in 23, 31-33 In our original course syllabus I had planned to cover 24-25 These sections are considered optional by the Math Department course coordinator, and in the interests of having enough time for core material that comes later, we'll skip them, at least for now Mon Fe2 23 Matrix inverses, the elementary matrix approach overview of skipped section 25 Announcements: Warm-up Exercise:

We didn't get a chance to discuss the last three statements in the invertible matrix theorem in class, so let's do that before getting to the main part of today's discussion, about the elementary matrix approach to matrix inverses: The invertible matrix theorem (page 114) Let A be a square n n matrix Then the following statements are equivalent That is, for a given A, the statements are either all true or all false a) A is an invertible matrix b) The reduced row echelon form of A is the n n identity matrix c) A has n pivot positions d) The equation A x = 0 has only the trivial solution x = 0 e) The columns of A form a linearly independent set f) The linear transformation T x A x is one-one g) The equation A x = b has at least one solution for each b n h) The columns of A span n i) The linear transformation T x A x maps n onto n j) There is an n n matrix C such that C A = I k) There is an n n matrix D such that A D = I l) A T is an invertible matrix

23: elementary matrix approach to invertible matrices Exercise 1) Show that if A, B, C are invertible matrices, then A B 1 = B 1 A 1 ABC 1 = C 1 B 1 A 1 As the examples above show, it is true that Theorem The product of n n invertible matrices is invertible, and the inverse of the product is the product of their inverses in reverse order

Our algorithm for finding the inverse of a matrix can be reformulated in terms of a product of so-called "elementary" matrices This product idea will pay off elsewhere To get started, let's notice an analog of the fact that a matrix times a vector is a linear combination of the matrix columns That was in fact how we defined matrix times vector in week 2, although we usually use the dot product way of computing the product entry by entry, instead: Definition (from 14) If A is an m n matrix, with columns a 1, a 2, a n (in m ) and if x n, then A x is defined to be the linear combination of the columns, with weights given by the corresponding entries of x In other words, A x = a 1 a 2 a n x x 1 a 1 a 2 x n a n Theorem If we multiply a row vector times an n m matrix B we get a linear combination of the rows of B instead We could check this from scratch, but it's convenient to make use of transposes, which covert column facts into row facts proof: We want to check whether x T B = x 1 x n : = x 1 b 2 x n b n b n where the rows of B are given by the row vectors, b 2, b n This proposed identity is true if and only if its transpose is a true identity But the transpose of the left side is x T B T = B T x T T = B T x = T b2 T bn T x T T T x 1 b 2 x n b n which is the transpose of the right side of the proposed identity So the identity is true QED

Exercise 2a Use the Theorem on the previous page and work row by row on so-called "elementary matrix" on the right of the product below, to show that A is the result of replacing row 3 A with row 3 A 2 row 1 A, and leaving the other rows unchanged: 1 0 0 0 1 0 2 0 1 a 11 a 12 a 13 a 21 a 22 a 23 = a 31 a 32 a 33 2b) The inverse of must undo the original elementary row operation, so must replace any row 3 A with row 3 A 2 row 1 A So it must be true that Check! 1 = 1 0 0 0 1 0 2 0 1 2c) What 3 3 matrix E 2 can we multiply times A, in order to multiply row 2 A by 5 and leave the other rows unchanged What is E 2 1? 2d) What 3 3 matrix E 3 can we multiply time A, in order to swap row 1 A with row 3 A? What is E 3 1?

Definition An elementary matrix E is one that is obtained by doing a single elementary row operation on the identity matrix Theorem Let E m m be an elementary matrix Let A m n Then the product E A is the result of doing the same elementary row operation to A that was used to construct E from the identity matrix Algorithm for finding A 1 re-interpreted: Suppose a sequence of elementary row operations reduces the n n square matrix A to the identity I n Let the corresponding elementary matrices, in order, be given by Then we have, E 2, A = I n A = I n So, A 1 = Notice that = I n so we have obtained A 1 by starting with the identity matrix, and doing the same elementary row operations to it that we did to A, in order to reduce A to the identity I find this explanation of our original algorithm to be somewhat convoluted, but as I said, the matrix product decomposition idea pays dividends elsewhere Also, notice that we have ended up "factoring" A into a product of elementary matrices: A = A 1 1 = 1 Ep = 1 1 E1 E2 1 Ep 1 1

Overview of skipped section, 25, matrix product decompositions: Even if A is not invertible, and even if it's not a square matrix, the elementary matrix process gives a way to factor A into a product of an invertible matrix times one that is easier to work with than A, such as a row echelon form or the reduced row echelon form This can be helpful if one needs an alorithm to quickly and repeatedly solve A x = b for a large number of right hand sides b, and there is no inverse matrix A 1 Here's how the method goes works Let's write G for the good matrix that is, for example, the row echelon or reduced row echelon form of the m n matrix A Reduce as we did before for invertible matrices, to get Write A = G B = for the product of elementary matrices, and note that it's the matrix one obtains by augmenting A with the m m identity matrix and doing the same elementary row operations to it as one does to A, just as in the algorithm for constructing inverses to invertible matrices Then so Then to solve A x = b repeatedly, we want BA = G A = B 1 G B 1 G x = b which is equivalent to the system G x = B b Since G is a good matrix - like reduced row echelon form, this system is much quicker to solve repeatedly These ideas are related to the concept of "preconditioning a matrix" before solving linear systems, which you can read about at Wikipedia