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

Similar documents
Section 2.2: The Inverse of a Matrix

MATH 2360 REVIEW PROBLEMS

Solutions to Exam I MATH 304, section 6

Matrix Arithmetic. j=1

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

3.4 Elementary Matrices and Matrix Inverse

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

Matrix operations Linear Algebra with Computer Science Application

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

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

Chapter 2 Notes, Linear Algebra 5e Lay

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

Glossary of Linear Algebra Terms. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

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

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

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

Solving Linear Systems Using Gaussian Elimination

Linear Algebra 1 Exam 1 Solutions 6/12/3

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

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

Review : Powers of a matrix

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

Lecture 12: Solving Systems of Linear Equations by Gaussian Elimination

Linear Systems and Matrices

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

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

ECON 186 Class Notes: Linear Algebra

Math 2174: Practice Midterm 1

Extra Problems: Chapter 1

Kevin James. MTHSC 3110 Section 2.2 Inverses of Matrices

Section 3.3. Matrix Rank and the Inverse of a Full Rank Matrix

Elementary Row Operations on Matrices

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

Math 2331 Linear Algebra

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

6-2 Matrix Multiplication, Inverses and Determinants

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

Math 3191 Applied Linear Algebra

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

Math 240 Calculus III

Undergraduate Mathematical Economics Lecture 1

Lectures on Linear Algebra for IT

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

Graduate Mathematical Economics Lecture 1

Linear Algebra and Matrix Inversion

Review Notes for Linear Algebra True or False Last Updated: February 22, 2010

Lecture 2 Systems of Linear Equations and Matrices, Continued

Notes on Row Reduction

Matrices and systems of linear equations

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

Math 54 HW 4 solutions

Lesson 3. Inverse of Matrices by Determinants and Gauss-Jordan Method

MATRICES AND MATRIX OPERATIONS

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

New concepts: rank-nullity theorem Inverse matrix Gauss-Jordan algorithm to nd inverse

Lecture Notes in Linear Algebra

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

7.6 The Inverse of a Square Matrix

Section 4.5. Matrix Inverses

Elementary maths for GMT

Methods for Solving Linear Systems Part 2

February 20 Math 3260 sec. 56 Spring 2018

Rank and Nullity. MATH 322, Linear Algebra I. J. Robert Buchanan. Spring Department of Mathematics

Math 370 Spring 2016 Sample Midterm with Solutions

4. Matrix inverses. left and right inverse. linear independence. nonsingular matrices. matrices with linearly independent columns

MATH 323 Linear Algebra Lecture 12: Basis of a vector space (continued). Rank and nullity of a matrix.

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

Solutions of Linear system, vector and matrix equation

Systems of Linear Equations and Matrices

Math 3C Lecture 20. John Douglas Moore

Chapter 1. Vectors, Matrices, and Linear Spaces

Linear Algebra I Lecture 8

Chapter 2: Matrix Algebra

Matrix & Linear Algebra

MATH2210 Notebook 2 Spring 2018

Math 313 Chapter 1 Review

Math Final December 2006 C. Robinson

System of Linear Equations

Math 1553 Introduction to Linear Algebra

Lecture 22: Section 4.7

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

Chapter 1 Matrices and Systems of Equations

Introduction to Matrices

Numerical Linear Algebra Homework Assignment - Week 2

Linear System Equations

Systems of Linear Equations and Matrices

Spring 2014 Math 272 Final Exam Review Sheet

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.

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

1 Last time: determinants

Chapter 1. Matrix Algebra

Math 4377/6308 Advanced Linear Algebra

MTH 102A - Linear Algebra II Semester

1. Let m 1 and n 1 be two natural numbers such that m > n. Which of the following is/are true?

Linear Algebra Math 221

Math Linear Algebra Final Exam Review Sheet

MATH 221: SOLUTIONS TO SELECTED HOMEWORK PROBLEMS

SECTION 3.3. PROBLEM 22. The null space of a matrix A is: N(A) = {X : AX = 0}. Here are the calculations of AX for X = a,b,c,d, and e. =

Properties of the Determinant Function

and let s calculate the image of some vectors under the transformation T.

Transcription:

Applied Matrix Algebra Lecture Notes Section 22 Gerald Höhn Department of Mathematics, Kansas State University September, 216

Chapter 2 Matrices 22 Inverses Let (S) a 11 x 1 + a 12 x 2 + +a 1n x n = b 1 a m1 x 1 + a m2 x 2 + +a mn x n = b m be a linear system Then (S) is equivalent to the matrix equation Ax = b where a 11 a 1n x 1 b 1 A =, x =, b = a m1 a mn x n b m How to solve it with matrix algebra? We like x = A 1 b Does this makes sense? For real numbers a there exists a unique x such that ax = xa = 1 Namely, x = 1 a = a 1, the multiplicative inverse of a Definition 221 (Inverse) A square matrix A of size n is called invertible (or nonsingular) if there exists a square matrix X of size n such that AX = I n and XA = I n The matrix X is called an inverse for A If no such matrix exists, A is called singular (or noninvertible) Examples: O 1 1 = [] or more generally O = O n n is singular since OX = O I n for any X 1

1 1 1 1 has the inverse 1 1 1 A = is singular since AX = I 2 would imply AAX = AI 2 and so OX = A or O = A which is false Theorem 222 If the inverse X of a square matrix A exists it is uniquely determined Proof: Suppose X and Y are both inverses for A Then AX = I n and YA = I n We get Y = YI n = Y(AX) = (YA)X = I n X = X Notation: The unique inverse of an invertible matrix A is denoted by A 1 If A is singular we say A 1 does not exist Theorem 223 If for the square matrix A there is a unique matrix X with AX = I n (a right inverse) then XA = I n and A is invertible with inverse A 1 = X Proof: Let Y = XA+X I n Then AY = AXA+AX AI n = I n A+I n A = I n Since X is by assumption the unique matrix with that property we have X = Y = XA+X I n and so XA = I n Remark 224 We will see later that the same result holds without the assumption that X is unique How to compute A 1 if it exists? Let e i = 1 n 1 for i = 1,, n, where the only entry 1 is in row i Then I n = [e 1 e 2 e n ], where [e 1 e 2 e n ] denotes the juxtaposition of the column vectors e i Let x i be the solution of the equation Ax i = e i for i = 1,, n Then A[x 1 x 2 x n ] = [e 1 e 2 e n ] = I n, ie X = [x 1 x 2 x n ] is a right inverse of A Assume now ranka = n To solve the equation Ax i = e i for all i, we consider the augmented matrix M = [A I n ] and bring it into the reduced row echelon form M Since 2

ranka = n one has M = 1 1 x 1 x 2 x n = [I n X] We also see that x i is the unique solution of the equation Ax i = e i Thus X is the unique solution of AX = I n and hence X = A 1 This shows: Theorem 225 If A is an n n matrix with ranka = n then A is invertible and the reduced row echelon form of [A I n ] is [I n A 1 ] This gives a practical way to compute the inverse 2 1 2 1 1 1 1/2 1/2 Example: Let A = Then [A I 2 ] = 5 3 5 3 1 1/2 5/2 1 1 1/2 1/2 1 3 2 1 5 2 1 5 1 Thus A 1 3 1 = 5 2 The used elementary row operation were: 1 2 r 1 r 1, 5r 1 + r 2 r 2, 2r 2 r 2 and 1 2 r 2 +r 1 r 1 What if ranka < n? Theorem 226 An n n matrix A is invertible if and only if ranka = n Proof : If ranka < n, the last row of the row echelon form of A of A is identical zero (< n pivot elements) The row operation reducing A to A reduces [A I n ] to [A B] with a matrix B Since ranki n = n, also rankb = n Hence [A B] = p with a nonzero entry p in a certain column j of the last row of B It follows that the linear system Ax j = e j is inconsistent because ranka < rank[a e j ] Thus AX = I n has no solution and therefore A is not invertible Together with the previous theorem we are done Theorem 227 Let A and B square matrices of the same size and s be a nonzero scalar Then: (P)1 If A is invertible, then A 1 is invertible and (A 1 ) 1 = A (P2) If A and B are invertible, then AB is invertible and (AB) 1 = B 1 A 1 3

(P3) If A is invertible, then sa is invertible and (sa) 1 = s 1 A 1 (P4) A is invertible if and only if A t is invertible and (A t ) 1 = (A 1 ) t Proof: (P1) If A is invertible, then AA 1 = I n and A 1 A = I n, ie A is an inverse for A 1 (P2) (AB)(B 1 A 1 ) = A(BB 1 )A 1 = AI n A 1 = AA 1 = I n and similarly (B 1 A 1 )(AB) = I n, ie B 1 A 1 is the inverse for AB (P3) (sa)(s 1 A 1 ) = (s s 1 )(AA 1 ) = I n = (s 1 A 1 )(sa), ie s 1 A 1 is the inverse of sa (P4) If A is invertible then AA 1 = A 1 A = I n Transposing gives (A 1 ) t A t = A t (A 1 ) t = I t n = I n, ie (A 1 ) t is the inverse of A t Similarly, using (A t ) t = A it follows that with A t also A is invertible The following theorem can be checked easily by a direct calculation a b Theorem 228 Let A = be a 2 2 matrix Then A is invertible if and only c d if the determinant det(a) := ad bc is non-zero In this case A 1 1 d b = det(a) c a Example: A = [ 2 1 5 3 Elementary Row Operations ], det(a) = 2 3 1 5 = 1, and hence A 1 = [ 3 1 5 2 Definition 229 An elementary matrix E is the result of a single elementary row operation applied to I n Examples: There are three types of elementary row operations We list examples for each type for n = 3 r 2 r 3 E 1 = 1 One easily checks: 5r 2 r 2 E 2 = 1 5 1 r 3 +2r 2 r 3 E 3 = 1 2 1 ] 4

Theorem 221 Performing a single row operation on an m n matrix A is the same as multiplying A from the left with the corresponding elementary matrix E: A EA Example: We apply the elementary row operation r 3 +2r 2 r 3 to the matrix 1 2 1 2 A = 3 4 B = 3 4 On the other hand 5 6 E 3 A = 1 2 3 4 11 14 = B 11 14 Corollary 2211 The reduced row echelon form A of a matrix A is obtained by multiplying A from the left with a product F = E k E 2 E 1 of elementary matrices E 1, E 2,, E k Theorem 2212 Every elementary matrix E is invertible and the inverse E 1 is again an elementary matrix Proof: Let F be the elementary matrix corresponding to the inverse elementary row operation corresponding to E Then FE = I n and also EF = I n Example: The elementary row operation r 3 + 2r 2 r 3 has the inverse elementary operation r 3 2r 2 r 3 corresponding two the two matrices E 3 = 1 and F = 1 2 1 2 1 Theorem 2213 Every invertible matrix A is the product of elementary matrices Proof: Since A is invertible A has rank n and therefore A = I n By the Corollary, there exist elementary matrices E 1, E 2,, E k such that I n = E k E 2 E 1 A Hence A = E 1 1 E 1 2 E 1 k and the result follows from the previous theorem 2 1 Example: A = From the first example of this section, we find 5 3 1 1/2 1 1 1/2 I 2 = A 1 2 5 1 1 and so A = [ 2 1 ][ 1 5 1 ][ 1 1/2 ][ 1 1/2 1 ] 5