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

Similar documents
Matrix operations Linear Algebra with Computer Science Application

Matrix equation Ax = b

Matrix Arithmetic. j=1

Math 3191 Applied Linear Algebra

Chapter 2 Notes, Linear Algebra 5e Lay

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

ICS 6N Computational Linear Algebra Matrix Algebra

Math 4377/6308 Advanced Linear Algebra

Elementary Row Operations on Matrices

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

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

Section 2.2: The Inverse of a Matrix

Kevin James. MTHSC 3110 Section 2.1 Matrix Operations

Matrix Algebra. Matrix Algebra. Chapter 8 - S&B

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

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

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

Matrix Algebra 2.1 MATRIX OPERATIONS Pearson Education, Inc.

Linear Systems and Matrices

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

Review : Powers of a matrix

MATH 323 Linear Algebra Lecture 6: Matrix algebra (continued). Determinants.

3.4 Elementary Matrices and Matrix Inverse

Linear Equations in Linear Algebra

Kevin James. MTHSC 3110 Section 2.2 Inverses of Matrices

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

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

INVERSE OF A MATRIX [2.2]

Elementary maths for GMT

Solutions to Exam I MATH 304, section 6

6-2 Matrix Multiplication, Inverses and Determinants

Section 12.4 Algebra of Matrices

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

Determinant: 3.3 Properties of Determinants

MATH2210 Notebook 2 Spring 2018

Matrix & Linear Algebra

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

Eigenvalues and Eigenvectors

Chapter 2. Ma 322 Fall Ma 322. Sept 23-27

Math 3C Lecture 20. John Douglas Moore

Math 1553 Introduction to Linear Algebra

Math 2331 Linear Algebra

Phys 201. Matrices and Determinants

Lecture 3: Matrix and Matrix Operations

MATH 1210 Assignment 4 Solutions 16R-T1

Matrix Algebra & Elementary Matrices

Matrices: 2.1 Operations with Matrices

Lectures on Linear Algebra for IT

CLASS 12 ALGEBRA OF MATRICES

Exercise Set Suppose that A, B, C, D, and E are matrices with the following sizes: A B C D E

Eigenvalues and Eigenvectors

1111: Linear Algebra I

Chapter 2: Matrix Algebra

n n matrices The system of m linear equations in n variables x 1, x 2,..., x n can be written as a matrix equation by Ax = b, or in full

Math 313 Chapter 1 Review

Section Partitioned Matrices and LU Factorization

MTH 464: Computational Linear Algebra

MATRICES AND MATRIX OPERATIONS

Linear Equations and Matrix

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.

GAUSSIAN ELIMINATION AND LU DECOMPOSITION (SUPPLEMENT FOR MA511)

LINEAR ALGEBRA REVIEW

MATH 106 LINEAR ALGEBRA LECTURE NOTES

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

CS100: DISCRETE STRUCTURES. Lecture 3 Matrices Ch 3 Pages:

CSL361 Problem set 4: Basic linear algebra

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 1 x 2. x n 8 (4) 3 4 2

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

Homework Set #8 Solutions

ORIE 6300 Mathematical Programming I August 25, Recitation 1

Matrices and Linear Algebra

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

Linear algebra comments. Sophie Marques

Linear Algebra and Matrix Inversion

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

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

7.6 The Inverse of a Square Matrix

(c)

Linear Independence x

E k E k 1 E 2 E 1 A = B

Chapter 4. Matrices and Matrix Rings

Lecture Notes in Linear Algebra

Linear Algebra 1 Exam 1 Solutions 6/12/3

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

Matrices. Chapter Definitions and Notations

Chapter 1 Matrices and Systems of Equations

MODEL ANSWERS TO THE THIRD HOMEWORK

Determinants Chapter 3 of Lay

Graduate Mathematical Economics Lecture 1

Undergraduate Mathematical Economics Lecture 1

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

Solving Linear Systems Using Gaussian Elimination

3 Matrix Algebra. 3.1 Operations on matrices

Chapter 1: Systems of Linear Equations and Matrices

Chapter 2: Matrices and Linear Systems

Matrix Arithmetic. a 11 a. A + B = + a m1 a mn. + b. a 11 + b 11 a 1n + b 1n = a m1. b m1 b mn. and scalar multiplication for matrices via.

Matrices Gaussian elimination Determinants. Graphics 2009/2010, period 1. Lecture 4: matrices

Solutions to Assignment 3

ANALYTICAL MATHEMATICS FOR APPLICATIONS 2018 LECTURE NOTES 3

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

Transcription:

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

Row-Column Rule If the product AB is defined, then the entry in row i and column j of AB is the sum of the products of corresponding entries from row i of A and column j of B. Alexander Knop 2

Row-Column Rule If the product AB is defined, then the entry in row i and column j of AB is the sum of the products of corresponding entries from row i of A and column j of B. In other words if (AB) i,j denotes (i, j)-entry of AB and A is m n matrix, then a i,1 b 1,j + + a i,n b n,j. Alexander Knop 2

Matrix Multiplication EXAMPLE Let us compute AB where A = [ ] 2 3 and B = 1 5 [ ] 4 3 6. 1 2 3 Alexander Knop 3

Matrix Multiplication EXAMPLE Let us compute AB where A = Ab 1 = [ 2 3 1 5 [ ] 2 3 and B = 1 5 [ ] 4 3 6. 1 2 3 ] [ ] [ ] 4 4 2 + 1 3 =, 1 4 1 + 1 ( 5) [ ] [ ] [ ] 2 3 3 3 2 + ( 2) 3 Ab 2 = =, 1 5 2 3 1 + ( 2) ( 5) [ ] [ ] 2 3 6 Ab 3 = = 1 5 3 [ 6 2 + 3 3 6 1 + 3 ( 5) ]. Alexander Knop 3

Matrix Multiplication 1 A(BC) = (AB)C 2 A(B + C) = AB + BC 3 (B + C)A = BA + CA 4 r(ab) = (ra)b = A(rB) 5 I m A = A = AI n Alexander Knop 4

Powers of Matrix DEFINITION If A is n n matrix, then A k denotes the product of k copies of A. Alexander Knop 5

The Transpose of Matrix DEFINITION If A is m n matrix, then the transpose of A, denoted by A T is a matrix whose columns are formed from the corresponding rows of A. Alexander Knop 6

The Transpose of Matrix DEFINITION If A is m n matrix, then the transpose of A, denoted by A T is a matrix whose columns are formed from the corresponding rows of A. EXAMPLE [ ] [ ] a b a c Let A =. Then A c d T = b d Alexander Knop 6

The Transpose of Matrix DEFINITION If A is m n matrix, then the transpose of A, denoted by A T is a matrix whose columns are formed from the corresponding rows of A. Let A and B denote matrices whose size are appropriate for the following operations. 1 (A T ) T = A 2 (A + B) T = A T + B T 3 for any scalar r, (ra) T = r(a T ) Alexander Knop 4 (AB) T = B T A T 6

The Inverse of a Matrix DEFINITION An n n matrix A is said to be invertible iff there is matrix C such that CA = I n AC = I n. Alexander Knop 7

The Inverse of a Matrix DEFINITION An n n matrix A is said to be invertible iff there is matrix C such that CA = I n AC = I n. NOTE Note that there is only one such C since if there is also B C such that BA = I n, then B = BI n = BAC = I n C = C, contradiction. We call such C as A 1. Alexander Knop 7

The Inverse of a Matrix [ ] a b Let A =. If ad bc 0, then A is invertible and c d A = 1 ad bc [ d ] b cc a and if ad bc = 0, then A is not invertible. If A is invertible n n matrix, then for each b in R n, the equation Ax = b has the unique solution x = A 1 b. Alexander Knop 8

The Inverse of a Matrix If A is invertible n n matrix, then for each b R n, the equation Ax = b has the unique solution x = A 1 b. Alexander Knop 9

The Inverse of a Matrix If A is invertible n n matrix, then for each b R n, the equation Ax = b has the unique solution x = A 1 b. PROOF. Take any b R n. Solution of the equation Ax = b exists since we can substitute A 1 b instead of x. Alexander Knop 9

The Inverse of a Matrix If A is invertible n n matrix, then for each b R n, the equation Ax = b has the unique solution x = A 1 b. PROOF. Take any b R n. Solution of the equation Ax = b exists since we can substitute A 1 b instead of x. In order to prove that solution u is unique let us note that A 1 Au = A 1 b, hence u = A 1 b. Alexander Knop 9

The Inverse of a Matrix 1 If A is invertible matrix, then A 1 is invertible and (A 1 ) 1 = A. 2 If A and B are invertible n n matrices, then so is AB and (AB) 1 = B 1 A 1. 3 If A is invertible matrix, then A T is invertible and (A T ) 1 = (A 1 ) T. Alexander Knop 10

The Inverse of a Matrix 1 If A is invertible matrix, then A 1 is invertible and (A 1 ) 1 = A. 2 If A and B are invertible n n matrices, then so is AB and (AB) 1 = B 1 A 1. 3 If A is invertible matrix, then A T is invertible and (A T ) 1 = (A 1 ) T. Alexander Knop 10

The Inverse of a Matrix 1 If A is invertible matrix, then A 1 is invertible and (A 1 ) 1 = A. 2 If A and B are invertible n n matrices, then so is AB and (AB) 1 = B 1 A 1. 3 If A is invertible matrix, then A T is invertible and (A T ) 1 = (A 1 ) T. Alexander Knop 10

The Inverse of a Matrix 1 If A is invertible matrix, then A 1 is invertible and (A 1 ) 1 = A. 2 If A and B are invertible n n matrices, then so is AB and (AB) 1 = B 1 A 1. 3 If A is invertible matrix, then A T is invertible and (A T ) 1 = (A 1 ) T. PROOF. The definition of invertible matrix states that AC = CA = I n but we can consider this equality as a statement that A is inverse of C. Alexander Knop 10

The Inverse of a Matrix 2 If A and B are invertible n n matrices, then so is AB and (AB) 1 = B 1 A 1. 3 If A is invertible matrix, then A T is invertible and (A T ) 1 = (A 1 ) T. PROOF. Note that (AB)(B 1 A 1 ) = A(BB 1 )A 1 = AA 1 = I n. Alexander Knop 10

The Inverse of a Matrix 2 If A and B are invertible n n matrices, then so is AB and (AB) 1 = B 1 A 1. 3 If A is invertible matrix, then A T is invertible and (A T ) 1 = (A 1 ) T. PROOF. Note that A T (A 1 ) T = (A 1 A) T = I n. Alexander Knop 10

An Elementary Matrix DEFINITION An elementary matrix is one that is obtained by preforming single elementary row operation on an identity matrix. Alexander Knop 11

An Elementary Matrix DEFINITION An elementary matrix is one that is obtained by preforming single elementary row operation on an identity matrix. REMARK If an elementary row operation is performed on an m n matrix A, the resulting matrix can be written as EA, where the m n matrix E is created by performing the same row operation on I m. Alexander Knop 11

Elementary matrices and Invertibility Each elementary matrix is invertible. The inverse of E is the elementary matrix of the same type that transforms E back into I Alexander Knop 12

Elementary matrices and Invertibility Each elementary matrix is invertible. The inverse of E is the elementary matrix of the same type that transforms E back into I An n n matrix is invertible iff A is row equivalent to I n. Alexander Knop 12

Elementary matrices and Invertibility Each elementary matrix is invertible. The inverse of E is the elementary matrix of the same type that transforms E back into I An n n matrix is invertible iff A is row equivalent to I n. And in this case any sequence of operations that transform A to I n also transforms I n to A 1. Alexander Knop 12

Elementary matrices and Invertibility An n n matrix is invertible iff A is row equivalent to I n. Alexander Knop 13

Elementary matrices and Invertibility An n n matrix is invertible iff A is row equivalent to I n. And in this case any sequence of operations that transform A to I n also transforms I n to A 1. Alexander Knop 13

Elementary matrices and Invertibility An n n matrix is invertible iff A is row equivalent to I n. And in this case any sequence of operations that transform A to I n also transforms I n to A 1. PROOF. Let us assume that A is invertible. In this case Ax = b has solution for any b, hence A has pivot position on each row. As a result, since A is square, pivot position are on the main diagonal of A. Hence the reduced echelon form of A is I. Alexander Knop 13

Elementary matrices and Invertibility An n n matrix is invertible iff A is row equivalent to I n. And in this case any sequence of operations that transform A to I n also transforms I n to A 1. PROOF. Let us assume that A is invertible. In this case Ax = b has solution for any b, hence A has pivot position on each row. As a result, since A is square, pivot position are on the main diagonal of A. Hence the reduced echelon form of A is I. Now suppose conversely A I n. Hence there is a sequence E 1,, E p of elementary matrices such that E 1 E 2... E p A = I n. But it means, that A = (E p... E 1 ) 1. Alexander Knop 13