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

Similar documents
3.4 Elementary Matrices and Matrix Inverse

Chapter 2 Notes, Linear Algebra 5e Lay

If A is a 4 6 matrix and B is a 6 3 matrix then the dimension of AB is A. 4 6 B. 6 6 C. 4 3 D. 3 4 E. Undefined

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

Kevin James. MTHSC 3110 Section 2.2 Inverses of Matrices

Math 313 Chapter 1 Review

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

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

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

INSTITIÚID TEICNEOLAÍOCHTA CHEATHARLACH INSTITUTE OF TECHNOLOGY CARLOW MATRICES

February 20 Math 3260 sec. 56 Spring 2018

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

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

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

Methods for Solving Linear Systems Part 2

INVERSE OF A MATRIX [2.2]

MAC Module 2 Systems of Linear Equations and Matrices II. Learning Objectives. Upon completing this module, you should be able to :

Matrix & Linear Algebra

Matrix operations Linear Algebra with Computer Science Application

Chapter 1. Vectors, Matrices, and Linear Spaces

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

7.6 The Inverse of a Square Matrix

7.5 Operations with Matrices. Copyright Cengage Learning. All rights reserved.

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

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

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

Finite Mathematics Chapter 2. where a, b, c, d, h, and k are real numbers and neither a and b nor c and d are both zero.

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.

Section 12.4 Algebra of Matrices

The matrix will only be consistent if the last entry of row three is 0, meaning 2b 3 + b 2 b 1 = 0.

Section Gaussian Elimination

Introduction to Matrices

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

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 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

Chapter 7. Linear Algebra: Matrices, Vectors,

Section 2.2: The Inverse of a Matrix

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

Elementary maths for GMT

MATRICES AND MATRIX OPERATIONS

Math 2331 Linear Algebra

Math 60. Rumbos Spring Solutions to Assignment #17

6-2 Matrix Multiplication, Inverses and Determinants

Linear System Equations

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

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

Linear Systems and Matrices

Linear Equations and Matrix

is a 3 4 matrix. It has 3 rows and 4 columns. The first row is the horizontal row [ ]

GAUSSIAN ELIMINATION AND LU DECOMPOSITION (SUPPLEMENT FOR MA511)

Linear Algebra I Lecture 10

1. Solve each linear system using Gaussian elimination or Gauss-Jordan reduction. The augmented matrix of this linear system is

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

Linear Algebra 1 Exam 1 Solutions 6/12/3

SOLVING Ax = b: GAUSS-JORDAN ELIMINATION [LARSON 1.2]

POLI270 - Linear Algebra

Linear Algebra Homework and Study Guide

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

Elementary Row Operations on Matrices

Fundamentals of Engineering Analysis (650163)

Chapter 2: Matrices and Linear Systems

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

Math 3191 Applied Linear Algebra

Math 3191 Applied Linear Algebra

Extra Problems: Chapter 1

Matrices and systems of linear equations

Systems of Linear Equations and Matrices

Math Camp II. Basic Linear Algebra. Yiqing Xu. Aug 26, 2014 MIT

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

Math Linear Algebra Final Exam Review Sheet

INVERSE OF A MATRIX [2.2] 8-1

LECTURES 14/15: LINEAR INDEPENDENCE AND BASES

4 Elementary matrices, continued

Solving Systems of Linear Equations

MTH501- Linear Algebra MCQS MIDTERM EXAMINATION ~ LIBRIANSMINE ~

Chapter 5. Linear Algebra. A linear (algebraic) equation in. unknowns, x 1, x 2,..., x n, is. an equation of the form

MATH2210 Notebook 2 Spring 2018

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

Systems of Linear Equations and Matrices

Solutions to Exam I MATH 304, section 6

4 Elementary matrices, continued

Lecture Notes in Linear Algebra

Matrix Arithmetic. j=1

Elementary Linear Algebra. Howard Anton & Chris Rorres

A matrix is a rectangular array of. objects arranged in rows and columns. The objects are called the entries. is called the size of the matrix, and

Math 343 Midterm I Fall 2006 sections 002 and 003 Instructor: Scott Glasgow

det(ka) = k n det A.

A matrix is a rectangular array of. objects arranged in rows and columns. The objects are called the entries. is called the size of the matrix, and

MATH 2360 REVIEW PROBLEMS

ECON 186 Class Notes: Linear Algebra

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

Elementary matrices, continued. To summarize, we have identified 3 types of row operations and their corresponding

CHAPTER 8: Matrices and Determinants

Digital Workbook for GRA 6035 Mathematics

Chapter 1 Matrices and Systems of Equations

(c)

MATH 1210 Assignment 4 Solutions 16R-T1

Linear Algebra. The analysis of many models in the social sciences reduces to the study of systems of equations.

MATRICES. knowledge on matrices Knowledge on matrix operations. Matrix as a tool of solving linear equations with two or three unknowns.

Section 1.1 System of Linear Equations. Dr. Abdulla Eid. College of Science. MATHS 211: Linear Algebra

Transcription:

3., 3.3 Inverting Matrices P. Danziger 1 Properties of Transpose Transpose has higher precedence than multiplication and addition, so AB T A ( B T and A + B T A + ( B T As opposed to the bracketed expressions Example 1 ( 1 1 Let A and B 5 Find AB T, and (AB T. AB T Whereas (AB T is undefined. ( 1 1 5 ( 1 0 1 1 1 0 (AB T and (A + B T. ( 1 0 1 1 1 0 ( 3 4 7 T ( 1 1 5 1 1 0 1 1 0 Theorem (Properties of Transpose Given matrices A and B so that the operations can be preformed 1. (A T T A. (A + B T A T + B T and (A B T A T B T 3. (ka T ka T 4. (AB T B T A T Matrix Algebra Theorem 3 (Algebraic Properties of Matrix Multiplication 1. (k + la ka + la (Distributivity of scalar multiplication I. k(a + B ka + kb (Distributivity of scalar multiplication II 1

3., 3.3 Inverting Matrices P. Danziger 3. A(B + C AB + AC (Distributivity of matrix multiplication 4. A(BC (ABC (Associativity of matrix multiplication 5. A + B B + A (Commutativity of matrix addition 6. (A + B + C A + (B + C (Associativity of matrix addition 7. k(ab A(kB (Commutativity of Scalar Multiplication The matrix 0 is the identity of matrix addition. That is, given a matrix A, A + 0 0 + A A. Further 0A A0 0, where 0 is the appropriately sized 0 matrix. Note that it is possible to have two non-zero matrices which multiply to 0. Example 4 ( 1 1 1 1 ( 1 1 1 1 ( 1 1 1 1 1 + 1 1 + 1 ( 0 0 0 0 The matrix I is the identity of matrix multiplication. That is, given an m n matrix A, AI n I m A A Theorem 5 If R is in reduced row echelon form then either R I, or R has a row of zeros. Theorem 6 (Power Laws For any square matrix A, A r A s A r+s and (A r s A rs Example 7 1. 1 0 1 0 4 1 0 1 0. Find A 6, where A 6 A A 4 A (A. Now A A ( A ( 1 0 1 ( 1 0 A 1 1 ( 1 0, so 1 ( 1 0 1 ( 1 0 5 1 ( 1 0 1 ( 1 0 3 1

3., 3.3 Inverting Matrices P. Danziger 3 Inverse of a matrix Given a square matrix A, the inverse of A, denoted A 1, is defined to be the matrix such that AA 1 A 1 A I Note that inverses are only defined for square matrices Note Not all matrices have inverses. If A has an inverse, it is called invertible. If A is not invertible it is called singular. Example 8 1. A. A 3. A Check: ( 1 5 Check: ( 1 4 1 1 1 1 4. A ( 1 5 1 1 1 1 1 1 1 3 3 3 4 3.1 Inverses of Matrices Given a matrix ( 5 A 1 1 ( ( 5 1 0 1 0 1 Has no inverse A 1 3 1 1 1 1 0 1 0 1 3 1 1 1 1 0 1 0 1 Has no inverse ( a b A c d A is invertible if and only if ad bc 0 and ( A 1 1 d b ad bc c a The quantity ad bc is called the determinant of the matrix and is written det(a, or A. Example 9 ( 1 A 3 3 Check: 1 3 ( 3 3 1 ( 3 A 1 1 3 3 1 ( 1 3 3 1 3 ( 3 0 0 3 ( 1 3 1 1 3 I 3

3., 3.3 Inverting Matrices P. Danziger 4 Algebra of Invertibility Theorem 10 Given an invertible matrix A: 1. (A 1 1 A,. (A n 1 (A 1 n ( A n, 3. (ka 1 1 k A 1, 4. (A T 1 (A 1 T, Theorem 11 Given two invertible matrices A and B (AB 1 B 1 A 1. Proof: Let A and B be invertible matricies and let C AB, so C 1 (AB 1. Consider C AB. Multiply both sides on the left by A 1 : Multiply both sides on the left by B 1. A 1 C A 1 AB B. B 1 A 1 C B 1 B I. So, B 1 A 1 is the matrix you need to multiply C by to get the identity. Thus, by the definition of inverse B 1 A 1 C 1 (AB 1. 5 A Method for Inverses Given a square matrix A and a vector b R n, consider the equation Ax b This represents a system of equations with coefficient matrix A. Multiply both sides by A 1 on the left, to get But A 1 A I n and Ix x, so we have A 1 Ax A 1 b. x A 1 b. Note that we have a unique solution. The assumption that A is invertible is equaivalent to the assumption that Ax b has unique solution. During the course of Gauss-Jordan elimination on the augmented matrix (A b we reduce A I and b A 1 b, so (A b (I A 1 b. If we instead augment A with I, row reducing will produce (hopefully I on the left and A 1 on the right, so (A I (I A 1. The Method: 4

3., 3.3 Inverting Matrices P. Danziger 1. Augment A with I. Use Gauss-Jordan to obtain (I A 1. 3. If I does not appear on the left, A is not invertable. Otherwise, A 1 is given on the right. Example 1 1. Find A 1, where Augment with I and row reduce: So A 1 3 5 5 3 5 8 1 3 5 5 3 5 8 1 3 0 1 1 1 0 0 1 1 3 0 1 1 3 0 1 1 1 0 0 0 5 1 1 1 3 0 1 1 1 0 5/ 1/ 1/ 1 0 13/ 3/ 3/ 1/ 1/ 1/ 5/ 1/ 1/ 15/ 1/ 5/ 1/ 1/ 1/ 5/ 1/ 1/ To check inverse multiply together: AA 1 A 1 1 1 1 3 5 5 3 5 8 R R R 1 R 3 R 3 3R 1 R 3 R 3 + R R 3 1 R 3 R 1 R 1 3R 3 R R + R 3 R 1 R 1 R 15 1 5 1 1 1 5 1 1 0 0 0 0 0 0 1 I 15 1 5 1 1 1 5 1 1 5

3., 3.3 Inverting Matrices P. Danziger. Solve Ax b in the case where b (,, 4 T. 15 1 5 x A 1 b 1 1 1 1 5 1 1 18 9 1 0 0 4 3. Solve Ax b in the case where b (, 0, T. 15 1 5 x A 1 b 1 1 1 1 5 1 1 0 9 1 0 0 8 4 4. Give a solution to Ax b in the general case where b (b 1, b, b 3 15 1 5 b 1 x 1 1 1 1 b 5 1 1 b 3 15b 1 + b + 5b 3 1 b 1 + b b 3 5b 1 b b 3 6 Elementary Matrices Definition 13 An Elementary matrix is a matrix obtained by preforming a single row operation on the identity matrix. 4 0 Example 14 1.. 3. 0 0 3 1 0 (R 1 R 1 (R R + 3R 1 (R 1 R 6

3., 3.3 Inverting Matrices P. Danziger Theorem 15 If E is an elementary matrix obtained from I m by preforming the row operation R and A is any m n matrix, then EA is the matrix obtained by preforming the same row operation R on A. Example 16 1. 0 0 A 1 0 3 1 1 0 3 1 1 0 3 1 R on A. 3. 3 1 0 1 0 3 1 1 0 3 1 6.1 Inverses of Elementary Matrices 5 4 3 3 1 3 1 1 0 R R + 3R 1 on A R R 3 on A If E is an elementary matrix then E is invertible and E 1 is an elementary matrix corresponding to the row operation that undoes the one that generated E. Specifically: If E was generated by an operation of the form R i cr i then E 1 is generated by R i 1 c R i. If E was generated by an operation of the form R i R i + cr j then E 1 is generated by R i R i cr j. If E was generated by an operation of the form R i R j then E 1 is generated by R i R j. Example 17 1. E. E 3. E 0 0 3 1 0 E 1 E 1 E 1 E 1 0 0 3 1 0 7

3., 3.3 Inverting Matrices P. Danziger 6. Elementary Matricies and Solving Equations Consider the steps of Gauss Jordan elimination to find the solution to a system of equations Ax b. This consists of a series of row operations, each of which is equivalent to multiplying on the left by an elementary matrix E i. Ele. row ops. A B, Where B is the RREF of A. So E k E k 1... E E 1 A B for some appopriately defined elementary matrices E 1... E k. Thus A E1 1 E 1... E 1 k 1 E 1 k B Now if B I (so the RREF of A is I, then and A 1 E k E k 1... E E 1 A E1 1 E 1... E 1 k 1 E 1 k Theorem 18 A is invertable if and only if it is the product of elementary matrices. 7 Summing Up Theorem Theorem 19 (Summing up Theorem Version 1 For any square n n matrix A, the following are equivalent statements: 1. A is invertible.. The RREF of A is the identity, I n. 3. The equation Ax b has unique solution (namely x A 1 b. 4. The homogeneous system Ax 0 has only the trivial solution (x 0 5. The REF of A has exactly n pivots. 6. A is the product of elementary matrices. 8