Elementary Row Operations on Matrices

Similar documents
Matrix Arithmetic. j=1

Math 360 Linear Algebra Fall Class Notes. a a a a a a. a a a

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

CLASS 12 ALGEBRA OF MATRICES

REPLACE ONE ROW BY ADDING THE SCALAR MULTIPLE OF ANOTHER ROW

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

Chapter 1 Matrices and Systems of Equations

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

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

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

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

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

Matrices and Linear Algebra

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

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

A matrix is a rectangular array of. objects arranged in rows and columns. The objects are called the entries. is called the size of the matrix, and

A matrix is a rectangular array of. objects arranged in rows and columns. The objects are called the entries. is called the size of the matrix, and

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

Eigenvalues and Eigenvectors

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

Matrices: 2.1 Operations with Matrices

Phys 201. Matrices and Determinants

Chapter 7. Linear Algebra: Matrices, Vectors,

Chapter 2: Matrices and Linear Systems

Chapter 5. Linear Algebra. A linear (algebraic) equation in. unknowns, x 1, x 2,..., x n, is. an equation of the form

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

MATH2210 Notebook 2 Spring 2018

Elementary maths for GMT

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

Matrix operations Linear Algebra with Computer Science Application

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

Eigenvalues and Eigenvectors

Matrices and systems of linear equations

Kevin James. MTHSC 3110 Section 2.2 Inverses of Matrices

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

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

Elementary Linear Algebra

PH1105 Lecture Notes on Linear Algebra.

Graduate Mathematical Economics Lecture 1

Undergraduate Mathematical Economics Lecture 1

Linear Systems and Matrices

Matrices. Math 240 Calculus III. Wednesday, July 10, Summer 2013, Session II. Matrices. Math 240. Definitions and Notation.

Math 4377/6308 Advanced Linear Algebra

Matrix representation of a linear map

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

Matrix & Linear Algebra

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.

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

Linear Algebra and Matrix Inversion

1 Determinants. 1.1 Determinant

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

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

Matrices. Chapter Definitions and Notations

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

Review of Basic Concepts in Linear Algebra

1 - Systems of Linear Equations

7.6 The Inverse of a Square Matrix

Math "Matrix Approach to Solving Systems" Bibiana Lopez. November Crafton Hills College. (CHC) 6.3 November / 25

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 )

NOTES on LINEAR ALGEBRA 1

Linear Algebra March 16, 2019

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

Chapter 2 Notes, Linear Algebra 5e Lay

Matrix Algebra 2.1 MATRIX OPERATIONS Pearson Education, Inc.

Lecture Notes in Linear Algebra

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

Linear Algebra (Review) Volker Tresp 2018

Linear Algebra I Lecture 8

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

MATH 1210 Assignment 4 Solutions 16R-T1

Matrix Algebra & Elementary Matrices

POLI270 - Linear Algebra

Two matrices of the same size are added by adding their corresponding entries =.

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

Relationships Between Planes

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

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

MTH 464: Computational Linear Algebra

Fundamentals of Engineering Analysis (650163)

ICS 6N Computational Linear Algebra Matrix Algebra

Basic Concepts in Linear Algebra

Section 12.4 Algebra of Matrices

Linear System Equations

Systems of Linear Equations and Matrices

GAUSSIAN ELIMINATION AND LU DECOMPOSITION (SUPPLEMENT FOR MA511)

MATRICES. knowledge on matrices Knowledge on matrix operations. Matrix as a tool of solving linear equations with two or three unknowns.

Digital Workbook for GRA 6035 Mathematics

Lecture 3 Linear Algebra Background

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

Lecture 12: Solving Systems of Linear Equations by Gaussian Elimination

TOPIC III LINEAR ALGEBRA

Section 5.6. LU and LDU Factorizations

MATH 106 LINEAR ALGEBRA LECTURE NOTES

MAT 2037 LINEAR ALGEBRA I web:

Ma 227 Review for Systems of DEs

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

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

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

Introduction to Matrices

10. Linear Systems of ODEs, Matrix multiplication, superposition principle (parts of sections )

Transcription:

King Saud University September 17, 018

Table of contents 1

Definition A real matrix is a rectangular array whose entries are real numbers. These numbers are organized on rows and columns. An m n matrix will refer to one which has m rows and n columns, and the collection of all m n matrices of real numbers will be denoted by M m,n (R). We adopt the notation, in which the (j, k) th entry of the matrix A (that in row j and column k) is denoted by a j,k and the matrix A = (a j,k ). A matrix in M m,n (R) is called a matrix of dimension (or of type) (m, n).

Definition Two matrices A = (a j,k ) and B = (b j,k ) in M m,n (R) are called equal if a j,k = b j,k for all j, k A matrix in M 1,n (R) is called a row matrix. A matrix in M m,1 (R) is called a column matrix If the entries of a matrix are zero, we denote this matrix (0) or 0 A matrix in M n,n (R) is called a square matrix of type n and M n,n (R) will be denoted by M n (R) A square matrix A = (a j,k ) is called diagonal if a j,k = 0 if j k, 1 0 0 example A = 0 0 0. 0 0 3

Definition A square matrix A = (a j,k ) is called upper triangular if a j,k = 0 if j > k A square matrix A = (a j,k ) is called lower triangular if a j,k = 0 if j < k A diagonal matrix A = (a j,k ) in M n (R), where a j,j = 1 is called the identity matrix and denoted by I n

Matrix Operations Matrix algebra uses three different types of operations. 1 Matrix Addition: If A = (a j,k ) and B = (b j,k ) have the same dimensions (or the same type), then the sum A + B is given by A + B = (a j,k + b j,k ). Scalar Multiplication: If A = (a j,k ) is a matrix and α a scalar (real number), the scalar product of α with A is given by αa = (αa j,k ).

3 Matrix Multiplication: 1 If A M 1,n (R) is a row matrix, A = (a 1,..., a n ) and B M n,1 (R) a column matrix, B = product A.B by: b 1. b n AB = a 1 b 1 + + a n b n., we define the This matrix is of type (1, 1) (one column and one row) and called the inner product of A and B. If A = (a j,k ) M m,n (R) and B = (b j,k ) M n,p (R), then the product AB is defined as AB = (c j,k ) M m,p (R), where c j,k is the inner product of the j th row of A with the k th column of B c j,k = n a j,l b lk. l=1

The operations for matrix satisfy the following properties Theorem Let A, B, C denote matrices in M m,n (R), and α, β in R. 1 A + B = B + A, A + (B + C) = (A + B) + C, 3 α(a + B) = αa + αb, 4 A(B + C) = AB + AC, 5 (A + B)C = AC + BC, 6 (αβ)a = α(βa), 7 A(BC) = (AB)C, 8 I n A = A if A M n,p (R) and BI n = B if B M m,n (R).

Remarks 1 The multiplication operation of matrix is ( not commutative ) i.e. 0 1 AB BA in general. For example A = and 0 0 ( ) ( ) ( ) 0 0 1 0 0 0 B =. Then AB = and BA =. 1 0 0 0 0 1 ( ) 0 1 If A =, then A 0 0 = 0.

Definition The transpose of the matrix A = (a j,k ) in M m,n (R) is the matrix in M n,m (R), written as A T and defined by A T = (b j,k ), where b j,k = a k,j. Theorem Let A and B be two matrices in M m,n (R). Then 1 (A + B) T = A T + B T, (AB) T = B T A T, 3 ( A T ) T = A.

Definition A square matrix A is called symmetric if A T = A.

Definition (The Elementary Row Operations) There are three kinds of elementary matrix row operations: 1 (Interchange) Interchange two rows, (Scaling) Multiply a row by a non-zero constant, 3 (Replacement) Replace a row by the sum of the same row and a multiple of different row.

Definition Two matrix A and B in M m,n (R) are called row equivalent if B is the result of finite row operations applied to A. We denote A B if A and B are row equivalent. (A B is equivalent to B A). We denote the row operations as follows: 1 The switches of the j th and the k th rows is indicated by: R j,k The multiplication of the j th row by r 0 is indicated by: r R j. 3 The addition of r times the j th row to the k th row is indicated by: rr j,k.

Definition ( Reduced Row Echelon Form) A matrix in M m,n (R) is called in row echelon form if it has the following properties: 1 The first non-zero element of a nonzero row must be 1 and is called the leading entry. All non-zero rows are above any rows of all zeros, 3 Each leading entry of a row is in a column to the right of the leading entry of the row above it.

Definition (Reduced Echelon Form) A matrix in M m,n (R) is called in reduced row echelon form if it has the following properties: 1 The matrix is in row echelon form, Each leading number is the only non-zero entry in its column.

Example 1 3 1 1 0 1 3 is in row echelon form but is not reduced: 0 0 0 1 0 0 1 5 is in reduced row echelon form: 0 0 0 1 1 0 1 5 is not in row echelon form. 3 0 0

Example 3 1 3 1 4 1 0 1 3 R 1, 3 1 4 1 0 3 1 1 3 4 1 0 1 3 0 7 7 0 9 1 1R 1, R 1,, 4R 1,3

1 1 3 7 R 0 1 1 0 9 1 1 3 1 3 R 3 0 1 1 0 0 1 3R 3,1,1.R 3, 9R,3 1 3 0 1 1 0 0 3 1 0 1 0 0 0 1 0 R,1 0 1 0 0 0 1 0 0 1

Example R 1, 3 4 0 3 1 3 3 4 3 3 1 0 3 1 1 1 3 4 0 3 4 3 3 1 0 3 1 ( 1)R 1, ( )R 1, 3 4 0 1 1 3 4 3 3 1 0 3 1 1 1 0 7 8 0 4 3 4 3 3 1 0 3 1

R 1,3,3R 1,4 7R,3 1 1 0 7 8 0 4 0 1 0 1 6 0 7 6 0 7 1 1 0 1 0 1 6 0 0 8 7 38 0 0 0 3 R,3,1R,4 R 3,4 1 1 0 1 0 1 6 0 7 8 0 4 0 0 0 3 1 7 0 1 0 1 6 0 0 0 3 0 0 8 7 38

4R 3,4 R,1 1 1 0 1 0 1 6 0 0 0 3 0 0 0 7 6 1 R 3, 1 7 R 4 1 1 0 1 0 1 6 3 0 0 1 0 6 0 0 0 1 7 1 0 3 10 1 0 0 3 7 0 1 0 1 6 R 3,1 3 0 0 1 0 0 1 0 1 6 3 0 0 1 0 6 6 0 0 0 1 7 0 0 0 1 7

3R 4,1 9 1 0 0 0 7 0 1 0 1 6 3 0 0 1 0 6 0 0 0 1 7 ( 1)R 4, 9 1 0 0 0 7 16 0 1 0 0 7 3 0 0 1 0 6 0 0 0 1 7

Fractions can be avoided as follows: 4R 3,4 1 1 0 1 0 1 6 0 0 0 3 0 0 0 7 6 7R 1,7R 7 14 14 7 14 0 7 0 7 4 0 0 0 3 0 0 0 7 6 1R 4,1, 1R 4, 7 14 14 0 40 0 7 0 0 16 0 0 0 3 0 0 0 7 6 7R 3,1, R,1 7 0 0 0 9 0 7 0 0 16 0 0 0 3 0 0 0 7 6

9 1 0 0 0 7 1 7 R 1, 1 7 R, 1 R 3, 1 7 R 4 16 0 1 0 0 7 3 0 0 1 0 6 0 0 0 1 7

Theorem Each matrix is row equivalent to one and only one reduced echelon matrix.

Definition We say that a square matrix A of type (n, n) (or of order n) is invertible if there is a square matrix B of type (n, n) such that AB = BA = I n. We denote A 1 the inverse matrix of A. Theorem A matrix A is invertible if there is a square matrix B such that AB = I n. The inverse matrix of a matrix A is unique and will be denoted by A 1.

Theorem 1 The inverse matrix if it exists is unique, The inverse matrix of I n is I n, 3 The inverse matrix of A 1 is A. ((A 1 ) 1 = A) 4 If A and B have inverses, then (AB) 1 = B 1 A 1, 5 If A 1,..., A k have inverses, then (A 1.....A k ) 1 = A 1 k.....a 1 1. 6 If A has an inverse, then (ra) 1 = 1 r A 1. 7 If A has an inverse, then A T has an inverse and (A T ) 1 = (A 1 ) T.

Definition We say that a matrix E of order n is an elementary matrix if it is the result of applying a row operation to the identity matrix I n.

Remarks 1 1 0 1 Let the matrix A = 1 3 and the elementary matrix 1 1 1 0 0 E = 0 0 1 which is the result of switching the second 0 1 0 and the third rows of I 3. 1 1 0 We have R,3 A = EA = 1 1. 1 3

1 0 3 An other example: let A = 1 3 6 and the 1 4 4 0 1 0 0 elementary matrix E = 0 1 0 = 5R 1,3 I 3. 5 0 1 1 0 3 We have 5R 1,3 A = EA = 1 3 6. 6 4 14 15

In general we have Theorem For all A M m,n (R) and R an elementary row operation on M m,n (R), E an elementary matrix such that E = R(I m ). Then EA = R(A) where R(A) is the result of the elementary row operation R on A.

Theorem If E is an elementary matrix, then E has an inverse and its inverse is an elementary matrix. Theorem If A is a square matrix of order n. The following are equivalent: 1 The matrix A has an inverse. The reduced row echelon form of the matrix A is I n. 3 There is a finite number of elementary matrices E 1,..., E m in M n (R) such that A = E 1... E m.

(Algorithm) Let A M n (R) 1 Let [B C] be the reduced row echelon form of the matrix [A I ] M n,n (R). If B = I n, then C = A 1. 3 If B I n, the matrix A is not invertible.

Example 1 0 1 The inverse matrix of the matrix A = 1 0 1 1 1 1 0 1 1 0 0 1 0 1 0 1 0 1 1 0 0 1 1 0 1 0 1 0 1 1 0 0 1 1 0 1 1 0 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 1 0 0 R 1,,R,3 R 1,

( 1)R,3 R,R 3 ( 1)R 3,1,R 3, 1 0 1 0 1 0 1 0 1 0 1 1 0 0 1 1 1 0 1 0 1 0 0 1 0 4 0 0 1 4 1 0 0 3 0 1 0 4 4 0 0 1 4

1 0 1 3 1 0 0 1 0 1 4 4 = 0 1 0 1 1 4 0 0 1

Example 1 3 1 The inverse matrix of the matrix A = 3 3 1 3 3 4. 1 1 1 1 1 3 1 1 0 0 0 3 3 1 0 1 0 0 3 3 4 0 0 1 0 1 1 1 1 0 0 0 1 1 3 1 1 0 0 0 ( )R 1,,( 3)R 1,3 0 3 1 1 1 0 0 ( 1)R 1,4 0 6 1 3 0 1 0 0 1 0 1 0 0 1

( 1)R,( 1)R 3 ( 1)R 4 ( 1)R 4, ( )R,3 1 3 1 1 0 0 0 0 3 1 1 1 0 0 0 6 1 3 0 1 0 0 1 0 1 0 0 1 1 3 1 1 0 0 0 0 1 0 1 1 1 0 1 0 0 0 1 1 1 0 0 1 0 1 0 0 1

( )R,4 (1)R 3,, 1R 3 ( )R 3,4 1 3 1 1 0 0 0 0 1 0 1 1 1 0 1 0 0 0 1 1 1 0 0 0 1 1 0 3 1 3 1 1 0 0 0 0 1 0 0 0 1 1 1 0 0 0 1 1 1 0 0 0 1 0 1 3

R 3,4 ( 3)R,1,( )R 3,1 ( 1)R 4,1 1 3 1 1 0 0 0 0 1 0 0 0 1 1 1 0 0 1 0 1 3 0 0 0 1 1 1 0 1 0 0 0 3 3 0 1 0 0 0 1 1 1 0 0 1 0 1 3. 0 0 0 1 1 1 0