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

Similar documents
MAC Module 1 Systems of Linear Equations and Matrices I

MAC Module 3 Determinants. Learning Objectives. Upon completing this module, you should be able to:

7.6 The Inverse of a Square Matrix

Math 313 Chapter 1 Review

MAC Module 12 Eigenvalues and Eigenvectors. Learning Objectives. Upon completing this module, you should be able to:

MAC Module 12 Eigenvalues and Eigenvectors

Introduction to Determinants

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

Multiplying matrices by diagonal matrices is faster than usual matrix multiplication.

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

MAC Learning Objectives. Learning Objectives (Cont.) Module 10 System of Equations and Inequalities II

Elementary Linear Algebra. Howard Anton & Chris Rorres

Chapter 2 Notes, Linear Algebra 5e Lay

Matrix operations Linear Algebra with Computer Science Application

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

Methods for Solving Linear Systems Part 2

Math 4377/6308 Advanced Linear Algebra

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

Elementary Linear Algebra

MAC Module 5 Vectors in 2-Space and 3-Space II

Determinant: 3.3 Properties of Determinants

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

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

1 - Systems of Linear Equations

Lesson U2.1 Study Guide

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

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.

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

MATRICES AND MATRIX OPERATIONS

Matrix Arithmetic. j=1

Extra Problems: Chapter 1

Chapter Contents. A 1.6 Further Results on Systems of Equations and Invertibility 1.7 Diagonal, Triangular, and Symmetric Matrices

Elementary maths for GMT

Linear Algebra and Matrix Inversion

Elementary Row Operations on Matrices

Systems of Linear Equations and Matrices

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

Math 240 Calculus III

4 Elementary matrices, continued

Chapter 2:Determinants. Section 2.1: Determinants by cofactor expansion

Matrix & Linear Algebra

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

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

The word Matrices is the plural of the word Matrix. A matrix is a rectangular arrangement (or array) of numbers called elements.

Systems of Linear Equations and Matrices

Lecture 10: Determinants and Cramer s Rule

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

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.

MTH 464: Computational Linear Algebra

Lecture 8: Determinants I

MATH2210 Notebook 2 Spring 2018

Math 2331 Linear Algebra

Chapter 1 Matrices and Systems of Equations

. =. a i1 x 1 + a i2 x 2 + a in x n = b i. a 11 a 12 a 1n a 21 a 22 a 1n. i1 a i2 a in

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

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

Matrices and systems of linear equations

9.1 - Systems of Linear Equations: Two Variables

GAUSSIAN ELIMINATION AND LU DECOMPOSITION (SUPPLEMENT FOR MA511)

Linear Systems and Matrices

CHAPTER 8: Matrices and Determinants

22A-2 SUMMER 2014 LECTURE 5

MAC1105-College Algebra. Chapter 5-Systems of Equations & Matrices

Matrix Algebra: Introduction

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

1 Multiply Eq. E i by λ 0: (λe i ) (E i ) 2 Multiply Eq. E j by λ and add to Eq. E i : (E i + λe j ) (E i )

4 Elementary matrices, continued

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

Lecture 12: Solving Systems of Linear Equations by Gaussian Elimination

Math 4377/6308 Advanced Linear Algebra

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 Equations and Matrix

Math 3191 Applied Linear Algebra

Linear Algebra I Lecture 8

Chapter 4. Solving Systems of Equations. Chapter 4

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

MATRICES. a m,1 a m,n A =

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

Linear Algebra. Solving Linear Systems. Copyright 2005, W.R. Winfrey

Matrices and Matrix Algebra.

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

Chapter 2. Systems of Equations and Augmented Matrices. Creighton University

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

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

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

Math 2331 Linear Algebra

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

Kevin James. MTHSC 3110 Section 2.2 Inverses of Matrices

Section 5.6. LU and LDU Factorizations

1300 Linear Algebra and Vector Geometry

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

II. Determinant Functions

Linear Algebra March 16, 2019

Chapter 4. Determinants

Eigenvalues and Eigenvectors

LINEAR SYSTEMS, MATRICES, AND VECTORS

Phys 201. Matrices and Determinants

Linear Algebra The Inverse of a Matrix

Lemma 8: Suppose the N by N matrix A has the following block upper triangular form:

Matrix Algebra & Elementary Matrices

Transcription:

MAC 0 Module Systems of Linear Equations and Matrices II Learning Objectives Upon completing this module, you should be able to :. Find the inverse of a square matrix.. Determine whether a matrix is invertible.. Construct and identify elementary matrices; represent A and A - as a product of elementary matrices. 4. Solve systems of linear equations by using the inverse matrix. 5. Identify diagonal, triangular and symmetric matrices.

Systems of Linear Equations and Matrices II There are four major topics in this module: Inverses Elementary Matrices Systems of Equations and Invertibility Diagonal, Triangular, and Symmetric Matrices Rev.09 Inverse of a Square Matrix Let A represent a square matrix as follows: a b A = c d The inverse of matrix A can be obtained as follows: A d b = ad bc c a What happens if ad - bc = 0? The matrix is not invertible; it has no inverse. If matrix A has no inverse, then A is said to be singular. One important condition: ad bc 0 This will let us know whether the matrix is invertible or not. 4

Example: Finding an Inverse Let A be a square matrix as follows: A = 6 The inverse of matrix A is: A = ()(6) ()() = 6 = = 6 6 = 6 A = ad bc Note: d b c a The matrix is invertible because ad - bc produces a nonzero value. How do we know the resulting matrix is the inverse of A? 5 Example: Finding an Inverse (Cont.) How do we know the resulting matrix is the inverse of A? A = Multiply the two matrices: A = 6 The product of a matrix and its inverse matrix is the identity matrix I. Notice that the inverse matrix of an inverse matrix is the original matrix. AA = = 0 0 6 = I = (A ) A A A = = 0 0 6 6 = I = A (A )

Can We Use the Gauss-Jordan Elimination Method to Find the Inverse? The answer is YES. This is actually a better method. However, the previous method is practical for a x matrix. Let s use the Gauss-Jordan elimination method to find the inverse of matrix A; and identify how many elementary row operations that we need to produce the inverse matrix by converting A to I. How?. Reduce A to the identity matrix I by elementary row operations.. Apply the same elementary row operations to the identity matrix I to produce the inverse. 7 Can We Use the Gauss-Jordan Elimination Method to Find the Inverse? (Cont.) Step I: Adjoin the I to the right side of A. 6 0 0 = [A I] Step II: Apply elementary row operations until the left side is reduced to the identity matrix I and the right side will be the inverse. Label r (row ) and r (row ). r r 6 0 0 Step I: Adjoin the I to the right side of A as follows: [ A I ] Step II: Apply elementary row operations until the left side is reduced to I and the right side will be the inverse. [ I A ¹ ] 8 4

Can We Use the Gauss-Jordan Elimination Method to Find the Inverse? (Cont.) We want a zero below the leading at r: r r+ r r 0 0 ( ( We want a leading at r: We want a zero above the leading at r: r r r 0 r + r r r We have just used the Gauss-Jordan elimination method to obtain the inverse; it takes three elementary row operations to convert A to I. 0 ( ( 0 0 = [ I A - ], A = 9 Elementary Row Operations and Elementary Matrices By definition, an n x n matrix is called an elementary matrix if it can be obtained from the n x n identity matrix I n by performing a single elementary row operation. A x matrix is called an elementary matrix if it can be obtained from the x identity matrix I by performing a single elementary row operation. A x matrix is called an elementary matrix if it can be obtained from the x identity matrix I by performing a single elementary row operation. 0 0 I = 0 0 0 0 Note: where n is the size in a n x n matrix. If A is an m x n matrix, then we will have the following: AI n = A I m A = A AI n = A 0 5

Elementary Row Operations and Elementary Matrices (Cont.) If you remember from our previous problem, in the first elementary row operation, we add times the first row to the second row. r ( r + r r 0 The corresponding first elementary matrix is obtained by adding times the first row of I to the second row. This is a row replacement for the second row. r r r r+ r r 0 0 0 = I = E Elementary Row Operations and Elementary Matrices (Cont.) In the second elementary row operation, we multiply the second row by /. r r r ( 0 The corresponding second elementary matrix is obtained by multiplying the second row of I by /. This is a scaling of the second row. r r 0 0 r 0 r r 0 = I = E Theorem.5. If the elementary matrix E results from performing a certain row operation on I m and if A is an m x n matrix, then EA is the matrix that results when this same row operation is performed on A. 6

Elementary Row Operations and Elementary Matrices (Cont.) In the third elementary row operation, we add times the second row to the first row. r + r r r The corresponding third elementary matrix is obtained by adding times the second row of I to the first row. This is a row replacement. r r r + r r r 0 0 0 0 0 = I = E So far, we have constructed three elementary matrices E,E and E, which perform elementary row operations by multiplication on the left. By multiplication of these elementary matrices, we obtain [E E E A E E E I] =[ I A - ] from [A I]. Elementary Row Operations and Elementary Matrices (Cont.) Based on the three elementary row operations performed in our previous problem, we can represent our Gauss-Jordan elimination as multiplications on the left by elementary matrices: r r + r r 0 0 ( ( = [E A E I] r r r 0 r + r r r 0 0 0 ( ( = [E E A E E I] = [E E E A E E E I] = [I A ( ] 4 7

How to Represent A - and A as a Product of Elementary Matrices? Now, we can represent our inverse matrix as follows: A - = E E E I = E E E Let s check it: E E E = ( ) = 0 0 0 0 0 * +, = 0 = A - 5 How to Represent A - and A as a Product of Elementary Matrices? (Cont.) Since E E E A = I and A - = E E E I = E E E we can obtain A = (A - ) - = (E E E ) - = AA - = E E E E E E E E E = E E (I)E E = E E E E = E (I)E = E E = I Thus, A can be represented as a product of elementary matrices since the inverse of a elementary matrix is an elementary matrix of the same type. There are three types, namely, scaling, rows interchange, and row replacement. Theorem.5. If A is an n x n matrix, then the following statements are equivalent: (a) A is invertible (b) A x = 0 has only the trivial solution (c) The reduced rowechelon form of A is I n. (d) A is expressible as a product of elementary matrices. 6 8

How to Represent A - and A as a Product of Elementary Matrices? (Cont.) We know from our example that E E E 0 * 0 = A - = ( ) 0 0 +, Theorem.5. Every elementary matrix is invertible, and the inverse is also an elementary matrix. Now, we see that E E E = ( * ) = 0 0 0 0 0 + -, = 0 6 = A where E, E and are all elementary matrices. It is an easy check to see that E j E j = I for j =,, and. E 7 How to Solve a System of Linear Equations Using the Inverse Matrix? Let s look at a system. x x = x + 6x = A = 6 How to solve using the inverse matrix? Step : Use the Gauss-Jordan elimination to solve for the inverse. A = x = x x b = Theorem.6. If A is an invertible n x n matrix, then for each n x matrix b, the system of equations A x = b has exactly one solution, namely, x = A b. Remember: This was solved at the beginning. 8 9

How to Solve a System of Linear Equations Using the Inverse Matrix? (Cont.) Step : Solve for xby using A - as in Theorem.6. as follows: x = A b = = = ()() + ( )() ()() + ( )() 0 Thus, x = - and x = 0 9 How to Identify a Diagonal Matrix? Diagonal Matrix: A square matrix in which all the entries off the main diagonal are zero. Examples: 0 0 0 8 0 0 0 7 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Note: A diagonal matrix is invertible if and only if all of its diagonal entries are nonzero. Can you identify which one of the examples is noninvertible? 0 0

How to Identify a Triangular Matrix? Upper Triangular Matrix: A square matrix in which all the entries below the main diagonal are zero. Lower Triangular Matrix: A square matrix in which all the entries above the main diagonal are zero. Triangular Matrix: A square matrix that is either an upper triangular matrix or a lower triangular matrix. Examples: * * * 0 * * 0 0 * Upper Triangular Matrix * 0 0 * * 0 * * * Lower Triangular Matrix Note: A triangular matrix is invertible if and only if all of its diagonal entries are nonzero - just like the diagonal matrix. Recall: Transpose of a Matrix Transpose of a matrix: If A is any m x n matrix, then the transpose, denoted by A T, is defined to be the n x m matrix that results from interchanging the rows and columns of A. Example: A = a ij = 4 6 8 4 x 5 9 A T = a ji = 4 6 8 5 9 x 4

How to Identify a Symmetric Matrix? Symmetric Matrix: A square matrix A is called symmetric if A = A T. Examples: 5 0 5 0 6 0 0 0 0 0 0 0 0 5 0 0 0 0 Theorem.7. If A and B are symmetric matrices with the same size, and if s is a scalar, then:. A T is symmetric.. A + B and A - B are symmetric.. sa is symmetric. Theorem.7. If A is an invertible symmetric matrix, than A - is symmetric. We have learned to: What Have We Learned?. Find the inverse of a square matrix.. Determine whether a matrix is invertible.. Construct and identify elementary matrices; represent A and A - as a product of elementary matrices. 4. Solve systems of linear equations by using the inverse matrix. 5. Identify diagonal, triangular and symmetric matrices. 4

Credit Some definitions and theorems have been adapted/modified in part/whole from the following textbook: Anton, Howard: Elementary Linear Algebra with Applications, 9th Edition 5