Matrix Algebra & Elementary Matrices

Similar documents
ICS 6N Computational Linear Algebra Matrix Algebra

Matrix operations Linear Algebra with Computer Science Application

Matrix Arithmetic. j=1

Elementary maths for GMT

Kevin James. MTHSC 3110 Section 2.1 Matrix Operations

Matrices: 2.1 Operations with Matrices

Elementary Row Operations on Matrices

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

Matrix Multiplication

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

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

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

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. Linear Equations and Matrices. Copyright 2005, W.R. Winfrey

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

Kevin James. MTHSC 3110 Section 2.2 Inverses of Matrices

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

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

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

MATRICES AND MATRIX OPERATIONS

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.

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

Matrix Algebra 2.1 MATRIX OPERATIONS Pearson Education, Inc.

Matrices and RRE Form

Linear Equations in Linear Algebra

Linear Equations and Matrix

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

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

Matrix representation of a linear map

Lecture Notes in Linear Algebra

Mathematics 13: Lecture 10

Chapter 3. Determinants and Eigenvalues

Linear Algebra and Matrix Inversion

Math 3191 Applied Linear 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

I = i 0,

1 Determinants. 1.1 Determinant

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

Matrix representation of a linear map

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

Section 1.1: Systems of Linear Equations

Chapter 1 Matrices and Systems of Equations

Prepared by: M. S. KumarSwamy, TGT(Maths) Page

Math 4377/6308 Advanced Linear Algebra

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

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

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 )

Chapter 2 Notes, Linear Algebra 5e Lay

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

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

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

Section 2.2: The Inverse of a Matrix

Matrix Algebra: Introduction

Matrices and systems of linear equations

Section 9.2: Matrices.. a m1 a m2 a mn

Phys 201. Matrices and Determinants

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

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

Math 3C Lecture 20. John Douglas Moore

4 Elementary matrices, continued

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

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

MTH 464: Computational Linear Algebra

Linear Systems and Matrices

Matrix & Linear Algebra

Math 60. Rumbos Spring Solutions to Assignment #17

ENGR-1100 Introduction to Engineering Analysis. Lecture 21

MAC Module 1 Systems of Linear Equations and Matrices I

Chapter 1: Systems of Linear Equations

A matrix over a field F is a rectangular array of elements from F. The symbol

Components and change of basis

4 Elementary matrices, continued

Review of Linear Algebra

CS 246 Review of Linear Algebra 01/17/19

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

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

February 20 Math 3260 sec. 56 Spring 2018

7.6 The Inverse of a Square Matrix

Math 313 Chapter 1 Review

Lecture 12: Solving Systems of Linear Equations by Gaussian Elimination

Introduction to Determinants

Linear Algebra March 16, 2019

II. Determinant Functions

Lecture 3 Linear Algebra Background

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

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

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

Lectures on Linear Algebra for IT

MTH5112 Linear Algebra I MTH5212 Applied Linear Algebra (2017/2018)

Determinants Chapter 3 of Lay

Matrices. Chapter Definitions and Notations

. a m1 a mn. a 1 a 2 a = a n

Math 240 Calculus III

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

Review : Powers of a matrix

Topic 15 Notes Jeremy Orloff

a 11 x 1 + a 12 x a 1n x n = b 1 a 21 x 1 + a 22 x a 2n x n = b 2.

Dot Products, Transposes, and Orthogonal Projections

MATH 2030: MATRICES ,, a m1 a m2 a mn If the columns of A are the vectors a 1, a 2,...,a n ; A is represented as A 1. .

10: Representation of point group part-1 matrix algebra CHEMISTRY. PAPER No.13 Applications of group Theory

Transcription:

Matrix lgebra & Elementary Matrices To add two matrices, they must have identical dimensions. To multiply them the number of columns of the first must equal the number of rows of the second. The laws below assume that. + B B + + r( s) ( rs ) ( r + s) r + s r( + B) r + rb ( + B) + C + ( B + C) ( BC) ( B ) C I m I n ( B + C) B + C ( B + C) B + C r( B) ( r ) B ( rb) Page of 9

Example : Find "C" where C + B. a a a a a a B b b b b b b To find a particular entry for "C", just add the corresponding entries of "" and "B". That is, the ij th of "C" is c ij a ij + b ij. + B a a a a a a b + b b b b b C ( a + b ) a + b ( a + b ) a + b ( a + b ) a + b Example : Find "C" where C r. a a a a a a Here "r" is a scalar. The product of a scalar and a matrix is a matrix all of whose entries are the products of that scalar and the corresponding entry of the given matrix. That is, the ij th of "C" is c ij ra ij. Page of 9

C r a a a a a a ra ra ra ra ra ra Example : Find "C" where C Columns Method. Busing Rows times a a a a a a B b b b b b b The entry, c ij, for "C" is the dot product of the i th row of "" with j th column of "B". Suppose "" is mxn and "B" is nxm. c ij a i b j + a i b j +... + a in b nj n c ij k a ik b kj In this example, m and n. C b a a a b a a a b b b b Page of 9

C Row Col ( B) Row Col ( B) Row Col ( B) Row Col ( B) Example : Find "C" where C Column Method. a a a a a a B Busing Matrix times b b b b b b C Col ( B) Col ( B) Columns of "C" are Linear Combinations of the columns of "" Example 5: Find "C" where C Matrix Method. a a a a a a B Busing Row times b b b b b b Page of 9

C Row B Row B Rows of "C" are Linear Combinations of the rows of "B". Example 6: Find "C" where C Row Method. Busing Column times a a a a a a B b b b b b b C Col k Row k ( B) k "C" is the sum of columns of "" times corresponding row of "B". Definition: If " " is "n x m", then its transpose is "m x n" denoted by, T, and is created by interchanging the rows and columns of " " so that: a T. ij a ji a a a a a a T a a a a a a Page 5 of 9

Example 8: Prove that: ( B ) T B T T "m x n" & "B" is "n x p". where "" is C Bis "m x p" and C T ( B ) T is "p x m". n c ij k a ik b kj ( c T ) ij c ji n a jk b ki k ( a T ) kj a jk ( b T ) ik b ki B T T k n ( b T ) ik ( a T ) kj Page 6 of 9

Definition: If " " is a square "n x n", then "" is said to be invertible or to have an inverse if there exists a matrix "C" such that C and C. The matrix "C" is I n denoted as. ccordingly, and I n I n I n. There is an algorithm that you are already well equipped to use in finding the inverse of a matrix. Here is the basis for that algorithm. Recall the matix times the column method shown in example above. Let B, then B I n. ( b...b n ) e... e n This invites us to consider "n" matrix equations, each of the form: b k e k, where k,..., n. We could solve these equations and find all of the columns, b k, of the matrix "B" and use them to assemble "B", which is what we are seeking, namely:. But since we need to perform the same row operations to solve each of those "n" equations separately, why not solve them all at the same time by augmenting "" with "I n ". Page 7 of 9

Example 9: Find if it exists. Form the augmented matrix, ( I ). ( I ) Step # :Replace row with the sum of row and times row. (Fixes the "" position.) Step # :Replace row with the sum of row and times row. (Fixes the "" position.) 8 Page 8 of 9

Step # :Replace row with the sum of row and times row. (Fixes the "" position.) 7 Step # :Replace row with the sum of row and times row. (Fixes the "" position.) 8 7 Step # 5:Replace row with the sum of row and times row. (Fixes the "" position.) 8 7 Page 9 of 9

Step # 6:Relace row with times row. (Fixes the "" position.) 8 7 b 8 7 b b B b b b 8 7 Definition: n Elementary Matrix, "E", is a matrix that is obtained by performing a single row operation on the Identity Matrix. Page of 9

Example : Determine the Elementary matrices corresponding to each of the six individual steps in Example 9 above. Step # :Replace row with the sum of row and times row. I E Step # :Replace row with the sum of row and times row. I E Step # :Replace row with the sum of row and times row. I E Page of 9

Step # :Replace row with the sum of row and times row. I E Step # 5:Replace row with the sum of row and times row. I E Step # 6:Relace row with times row. I E Page of 9

Theorem: If an elementary row operation is performed on an mxn matrix "", the resulting matrix can be written as E ij, where E ij is created by performing the same row operations on I m. Example : Show that this works for each of the six individual steps in Examples 9 & above. Step # :Replace row with the sum of row and times row. E Step # :Replace row with the sum of row and times row. E ( E ) 8 Step # :Replace row with the sum of row and times row. E E E 8 Page of 9

Step # :Replace row with the sum of row and times row. E E E E Step # 5:Replace row with the sum of row and times row. E E E E E E E E E E Step # 6:Relace row with times row. E E E E E E Page of 9

E E E E E E Thus, the ordered product of all of these individual elementary matrices with the original matrix "" produces the Identity Matrix demonstrating that that product is equivalent to performing the corresponding set of elementary row operations. lso, since ( E E E E E E ) I, ( E E E E E E ) and thus E E E E E E Theorem: Each elementary matrix " E ij " is invertible. The inverse matrix " E ij " is the elementary matrix of the same type that transforms "E ij " back into the Identity Matrix. Example : Find the inverse of E of example. E Page 5 of 9

The matrix "E " replaces row by the sum of row and times row. The inverse is constructed by undoing that operation. The matrix " E " replaces row by the sum of row and times row. E E E I E E I Theorem: If "" and "B" are nxn invertible matrices, then so is their product. B B Page 6 of 9

( B ) ( B ) B B B I B ( B ) B B I ( ) B Similarly, ( B ) B ( B ) I. Therefore, Matrix products can be calculated by regarding one of the two factors as a Compound Elementary Matrix. Example : Find the product C matrices and B Bof the assuming that "" is the Compound Elementary Matrix., C B Row ( C) ( ) + ( ) + ( ) Row ( C) ( ) Page 7 of 9

Row ( C) ( ) + ( ) ( ) + ( ) Row ( C) ( 5 ) Row ( C) ( ) + ( ) + ( ) Row ( C) ( 6) C B 5 6 Example : Find the product C matrices and B Bof the assuming that "B" is the Compound Elementary Matrix., C B Page 8 of 9

Col C + 5 Col C + + Col C + 6 C B 5 6 Page 9 of 9