Elementary Matrices. which is obtained by multiplying the first row of I 3 by -1, and

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

MATH 1210 Assignment 4 Solutions 16R-T1

Properties of the Determinant Function

Evaluating Determinants by Row Reduction

det(ka) = k n det A.

Formula for the inverse matrix. Cramer s rule. Review: 3 3 determinants can be computed expanding by any row or column

Determinants Chapter 3 of Lay

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

Determinants by Cofactor Expansion (III)

Linear Systems and Matrices

Matrices and Linear Algebra

MATH2210 Notebook 2 Spring 2018

Math 240 Calculus III

Materials engineering Collage \\ Ceramic & construction materials department Numerical Analysis \\Third stage by \\ Dalya Hekmat

The determinant. Motivation: area of parallelograms, volume of parallepipeds. Two vectors in R 2 : oriented area of a parallelogram

Components and change of basis

1 0 1, then use that decomposition to solve the least squares problem. 1 Ax = 2. q 1 = a 1 a 1 = 1. to find the intermediate result:

MATH 2030: EIGENVALUES AND EIGENVECTORS

Math Lecture 26 : The Properties of Determinants

A = , A 32 = n ( 1) i +j a i j det(a i j). (1) j=1

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.

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


4. Determinants.

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

Inverses and Determinants

SPRING OF 2008 D. DETERMINANTS

MATH 2050 Assignment 8 Fall [10] 1. Find the determinant by reducing to triangular form for the following matrices.

Matrix Algebra Determinant, Inverse matrix. Matrices. A. Fabretti. Mathematics 2 A.Y. 2015/2016. A. Fabretti Matrices

Math 320, spring 2011 before the first midterm

This MUST hold matrix multiplication satisfies the distributive property.

TOPIC III LINEAR ALGEBRA

Chapter 4. Determinants

ENGR-1100 Introduction to Engineering Analysis. Lecture 21

5.3 Determinants and Cramer s Rule

II. Determinant Functions

Graduate Mathematical Economics Lecture 1

8 Square matrices continued: Determinants

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.

Determinants An Introduction

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

Linear Algebra The Inverse of a Matrix

MATRICES AND MATRIX OPERATIONS

c c c c c c c c c c a 3x3 matrix C= has a determinant determined by

LS.1 Review of Linear Algebra

k=1 ( 1)k+j M kj detm kj. detm = ad bc. = 1 ( ) 2 ( )+3 ( ) = = 0

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

The Determinant: a Means to Calculate Volume

Chapter 2: Matrices and Linear Systems

Lecture Notes in Linear Algebra

ENGR-1100 Introduction to Engineering Analysis. Lecture 21. Lecture outline

1 Matrices and Systems of Linear Equations. a 1n a 2n

MATH Topics in Applied Mathematics Lecture 12: Evaluation of determinants. Cross product.

Undergraduate Mathematical Economics Lecture 1

Queens College, CUNY, Department of Computer Science Numerical Methods CSCI 361 / 761 Spring 2018 Instructor: Dr. Sateesh Mane.

The Determinant. Chapter Definition of the Determinant

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

MAT 1332: CALCULUS FOR LIFE SCIENCES. Contents. 1. Review: Linear Algebra II Vectors and matrices Definition. 1.2.

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

Chapter 3. Determinants and Eigenvalues

3.4 Elementary Matrices and Matrix Inverse

Math Linear Algebra Final Exam Review Sheet

Linear Algebra Primer

GENERALIZED MATRIX MULTIPLICATION AND ITS SOME APPLICATION. 1. Introduction

Determinants. Beifang Chen

Gaussian Elimination and Back Substitution

Lecture 10: Determinants and Cramer s Rule

Solution to Homework 1

Determinants. Recall that the 2 2 matrix a b c d. is invertible if

Determinants. 2.1 Determinants by Cofactor Expansion. Recall from Theorem that the 2 2 matrix

(b) If a multiple of one row of A is added to another row to produce B then det(b) =det(a).

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

MTH 102A - Linear Algebra II Semester

Therefore, A and B have the same characteristic polynomial and hence, the same eigenvalues.

7.3. Determinants. Introduction. Prerequisites. Learning Outcomes

1 procedure for determining the inverse matrix

Matrix Factorization and Analysis

Linear Algebra Primer

Kevin James. MTHSC 3110 Section 2.2 Inverses of Matrices

MATRICES The numbers or letters in any given matrix are called its entries or elements

Elementary Linear Algebra

Determinants. Samy Tindel. Purdue University. Differential equations and linear algebra - MA 262

5.6. PSEUDOINVERSES 101. A H w.

Here are some additional properties of the determinant function.

Chapter 2. Square matrices

DETERMINANTS DEFINED BY ROW OPERATIONS

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

Topic 15 Notes Jeremy Orloff

Matrices. Ellen Kulinsky

CHAPTER 6. Direct Methods for Solving Linear Systems

Matrices. In this chapter: matrices, determinants. inverse matrix

Linear Algebra Practice Final

Apprentice Program: Linear Algebra

Calculating determinants for larger matrices

LECTURE 4: DETERMINANT (CHAPTER 2 IN THE BOOK)

February 20 Math 3260 sec. 56 Spring 2018

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

MATH 1553 PRACTICE MIDTERM 3 (VERSION B)

Matrix Algebra & Elementary Matrices

Final EXAM Preparation Sheet

Transcription:

Elementary Matrices In this special handout of material not contained in the text, we introduce the concept of elementary matrix. Elementary matrices are useful in several ways that will be shown in this handout. One important use that we will examine first is that elementary matrices can be used to carry out elementary row operations. This means that if you want to interchange two rows, or multiply a row by a constant and add it to another row, or multiply some row by a non-zero constant, it can be done using an elementary matrix. The definition given next shows that elementary matrices can be created by applying elementary row operations to the identity matrix. Definition: An nxn matrix E is an elementary matrix if it can be obtained by performing a single elementary row operation on the identity matrix I n. Some examples of elementary matrices for n = 3 and for each of the elementary row operations are E 1 = E 2 = -, which is obtained by interchanging the first row and third rows of I 3, which is obtained by multiplying the first row of I 3 by -1, and E 3 = -2 1 0 which is obtained by multiplying the first row of I 3 by -2 and adding it to the second row of I 3. The subscripts on E have no particular meaning but are just used to distinguish one elementary matrix from the next. An elementary row operation can be carried out by its corresponding elementary matrix through matrix multiplication. For example, suppose we wish to interchange the first and third rows of

the matrix A = 2-6 2-1 3 0 matrix E 1, given above, to yield. This can be done by multiplying A on the left by the elementary E 1 A = -1 3 0 2-6 2. Suppose we then wish to perform the elementary row operation of multiplying the first row by -1, we can do this by multiplying by E 2 which then gives E 2 E 1 A = 1-3 0 2-6 2 We can then perform on this result the elementary row operation of multiplying the first row by -2 and adding it to the second row using E 3 to obtain E 3 E 2 E 1 A = 1-3 0 0 0 2 If our goal is to obtain rref for A, then we would continue with the following elementary matrices to switch rows 2 and 3 we do this to I 3 to obtain E 4 = previous result we get and applying this to the E 4 E 3 E 2 E 1 A = 1-3 0 0 0 2

then to multiply row 2 by 3 and add it to row 1 we do this to I 3 to obtain E 5 = 1 3 0 and applying this to the previous result we obtain E 5 E 4 E 3 E 2 E 1 A = 1 0-3 0 0 2 then to multiply row 3 by 1/2 we use the elementary matrix E 6 = /2 to get E 6 E 5 E 4 E 3 E 2 E 1 A = 1 0-3 then to multiply row 3 by 3 and add it to row 1 we use E 7 = 1 0 3 to obtain E 7 E 6 E 5 E 4 E 3 E 2 E 1 A = and finally, to add row 3 to row 2 we use E 8 = 0 1 1 to get E 8 E 7 E 6 E 5 E 4 E 3 E 2 E 1 A =

Note that the last equation is E 8 E 7 E 6 E 5 E 4 E 3 E 2 E 1 A = I 3. Thus the product E 8 E 7 E 6 E 5 E 4 E 3 E 2 E 1 must be the inverse of A and this gives us another way of computing the inverse of A. Note that carrying out the product E 8 E 7 E 6 E 5 E 4 E 3 E 2 E 1 = 3 3/2 2 1 1/2 1 0 1/2 1 = A -1 Elementary matrices have another important property given in the next theorem. Theorem 1. Every elementary matrix has an inverse, which is also an elementary matrix. Proof: We won't give a formal proof but will suggest two reasons why it is true. First, since every elementary row operation can be reversed, one would expect that this can be represented by an elementary row operation which is an elementary matrix. Second, it is easy to construct the inverse of an elementary matrix. Here are the three cases: 1. If E interchanges two rows, then E is its own inverse. (Why?) 2. If E multiplies a row by a non-zero constant c, then its inverse is the elementary matrix that multiplies a row by 1/c. 3. If E multiplies row i by c and adds it to row j, the its inverse is the elementary matrix that multiplies row i by -c and adds it to row j. For the elementary matrices used in the example above here are their inverses which are also elementary matrices (E 1 ) -1 =, (E 2 ) -1 = -, (E 3 ) -1 = 2 1 0

(E 4 ) -1 =, (E 5 ) -1 = 1-3 0, (E 6 ) -1 = 0 0 2 (E 7 ) -1 = 1 0-3, (E 8 ) -1 =. Theorem 2. (a). Every mxn matrix A can be decomposed as a product of elementary matrices and a matrix R that is rref, that is, A = E ~ 1 E~ s-1 E~ s R (1) where E ~ i are elementary matrics and R is rref. (b). If A is nxn and has an inverse, then R is the identity matrix and A is decomposable into the product of elementary matrices, that is, A = E ~ 1 E~ s-1 E~ s (2) Proof of (a). Since every matrix A can be put into rref by row operations and since every row operation can be represented by an elementary matrix we have, where R is rref, E s E 1 A = R. (3) By Theorem 1 each E i has an inverse that is an elementary matrix. If we let E ~ i denote its inverse and multiply equation (3) on both sides by E ~ 1 E~ s-1 E~ s we obtain equation (1). Proof of (b). If A has an inverse, then R is the identity in equation (1) and so we obtain equation (2). End of proof. From the example before Theorem 2, we have that (E 1 ) -1 (E 8 ) -1 = A.

Elementary Matrices and Determinants The determinants of elementary matrices are very easy to compute and together with Theorem 2 can be used to prove some very important properties of nxn matrices and their determinants. The main theorem is Theorem 3. The determinant of an elementary matrix E is given as follows: (a). det (E) = -1, if E interchanges two rows. (b). det (E) = c, if E multiplies a row by a non-zero constant c. (c). det (E) = 1, if If E multiplies row i by c and adds it to row j. Proof of (a). This follows from Theorem 3.2 in the text. However, it is easy to prove it based on the fact that det(i n ) = a 11 a 22 a nn, where a ii = 1, so when we interchange rows i and j, the term a 11 a 22 a ji a ij a nn is the determinant of E except possibly for its sign. But we see that the columns have been permuted and thus the sign would change to -1. Proof of (b). E is just the same as I n except for a non-zero constant c in place of a ii to give det(e) = a 11 a 22 c aa nn = c since all of the other terms equal 1. Proof of (c). The elementary matrix E is that same as I n except for one element c that is not on the main diagonal. This value c is multiplied by a 0 in any term that appear in the determinant of E since the only other non-zero terms in E are the 1's on the main diagonal. End of theorem. The proof above will be clearer if you take a few minutes to compute the determinants of typical 3x3 elementary matrices. Theorem 4. If E is an elementary matrix and B is an nxn matrix, then det(e B) = det(e)det(b). Proof. Case 1. If E interchanges two rows, then by Theorem 3.2 in the text, det(e B) = - det(b).

Since det(e) = -1 by Theorem 3, then det(e B) = det(e) det(b). Case 2. If E multiplies a row by a non-zero constant, then by Theorem 3.5 in the text, det(e B) = c det(b). Again, by Theorem 3, det(e) = c, so det(eb) = det(e) det(b). Case 3. If E multiplies row i by c and adds it to row j, then by Theorem 3.6 in the text, det(e B) = det(b). Again, by Theorem 3, det(e) = 1, so det(e B) = det(e) det(b). Elementary matrices can now be used to prove that det(ab) = det(a) det(b). Theorem 5. (Theorem 3.8 in the text). If A and B are nxn matrices, then det(ab) = det(a) det(b). Proof. We will give part of the proof in a special case where A and B are non-singular and leave the remainder of the proof to the reader. Suppose A and B are non-singular. Then by Theorem 2(b) A = E ~ 1 E~ s and B = E^ 1 E^ t and so AB = E ~ 1 E~ s E^ 1 E^ t where all of the E's are elementary matrices. By Theorem 4, det(ab) = det (E ~ 1 ) det(e~ 2 E~ s E^ 1 E^ t ) We can repeat using Theorem 4 to obtain det(ab) = det (E ~ 1 ) det(e~ 2 ) det(e~ s ) det(e^ 1 ) det(e^ t ) But then it is easy to show that det(a) = det (E ~ 1 ) det(e~ 2 ) det(e~ s ) and det(b) = det(e^ 1 ) det(e^ t ) which proves the result when A and B are non-singular. Exercises

1. a. Determine the elementary matrix for each step in Example 5 in Sec. 1.6 of the text. b. Show A -1 as a product of elementary matrices and verify by multiplying out the matrices that the product is the inverse of A. c. Show A as a product of elementary matrices and verify by multiplying out the matrices that the product is A. 2. a. Determine the elementary matrix for each step in Example 6 in Sec. 1.6 of the text. b. Verify Theorem 2(a) for A. 3. Show that Theorem 3 holds for the elementary matrices E 1 E 8 in the main example in this handout. 4. Compute the determinant of A in the main example in this handout by using only elementary matrices in conjunction with the Theorems in this handout.