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

Similar documents
4 Elementary matrices, continued

4 Elementary matrices, continued

Chapter 1. Vectors, Matrices, and Linear Spaces

Section 1.1: Systems of Linear Equations

Matrices and RRE Form

Linear Algebra I Lecture 8

Section 6.2 Larger Systems of Linear Equations

Gauss-Jordan Row Reduction and Reduced Row Echelon Form

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

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

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

Lecture 2 Systems of Linear Equations and Matrices, Continued

Lecture 12: Solving Systems of Linear Equations by Gaussian Elimination

System of Linear Equations

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

1 - Systems of Linear Equations

Solving Linear Systems Using Gaussian Elimination

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

Methods for Solving Linear Systems Part 2

Chapter 4. Solving Systems of Equations. Chapter 4

3. Replace any row by the sum of that row and a constant multiple of any other row.

7.6 The Inverse of a Square Matrix

22A-2 SUMMER 2014 LECTURE 5

Math 1314 Week #14 Notes

1 Determinants. 1.1 Determinant

Math x + 3y 5z = 14 3x 2y + 3z = 17 4x + 3y 2z = 1

Relationships Between Planes

March 19 - Solving Linear Systems

Elementary Linear Algebra

Lectures on Linear Algebra for IT

Linear System Equations

Section Gaussian Elimination

MATH 54 - WORKSHEET 1 MONDAY 6/22

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

GAUSSIAN ELIMINATION AND LU DECOMPOSITION (SUPPLEMENT FOR MA511)

Math 344 Lecture # Linear Systems

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

Chapter 1: Systems of Linear Equations and Matrices

Kevin James. MTHSC 3110 Section 2.2 Inverses of Matrices

Extra Problems: Chapter 1

Row Reduced Echelon Form

9.1 - Systems of Linear Equations: Two Variables

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

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

Example: 2x y + 3z = 1 5y 6z = 0 x + 4z = 7. Definition: Elementary Row Operations. Example: Type I swap rows 1 and 3

Matrices and Systems of Equations

Math 4377/6308 Advanced Linear Algebra

Linear Equations in Linear Algebra

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

System of Linear Equations

Evaluating Determinants by Row Reduction

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

Linear Algebra Practice Problems

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

Lecture 1 Systems of Linear Equations and Matrices

Linear Algebra I Lecture 10

Example: 2x y + 3z = 1 5y 6z = 0 x + 4z = 7. Definition: Elementary Row Operations. Example: Type I swap rows 1 and 3

Math 2331 Linear Algebra

Linear Systems and Matrices

Chapter 6 Page 1 of 10. Lecture Guide. Math College Algebra Chapter 6. to accompany. College Algebra by Julie Miller

Math 3C Lecture 20. John Douglas Moore

Linear Equations in Linear Algebra

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

Exercise Sketch these lines and find their intersection.

Matrices and systems of linear equations

Elementary Row Operations on Matrices

Chapter 3. Linear Equations. Josef Leydold Mathematical Methods WS 2018/19 3 Linear Equations 1 / 33

Linear Algebra Handout

Math 313 Chapter 1 Review

Section 5.6. LU and LDU Factorizations

Linear equations in linear algebra

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

Solving Linear Systems

3.4 Elementary Matrices and Matrix Inverse

Matrix & Linear Algebra

Section 5.3 Systems of Linear Equations: Determinants

Pre-Calculus I. For example, the system. x y 2 z. may be represented by the augmented matrix

MODEL ANSWERS TO THE THIRD HOMEWORK

Review of matrices. Let m, n IN. A rectangle of numbers written like A =

Notes on Row Reduction

MAC Module 1 Systems of Linear Equations and Matrices I

Elementary Matrices. MATH 322, Linear Algebra I. J. Robert Buchanan. Spring Department of Mathematics

PH1105 Lecture Notes on Linear Algebra.

Problem Sheet 1 with Solutions GRA 6035 Mathematics

Systems of Linear Equations

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

Lecture 7: Introduction to linear systems

Determinant: 3.2 Evaluation of Determinant with Elementary

Math Linear Algebra Final Exam Review Sheet

MIDTERM 1 - SOLUTIONS

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

Matrix Arithmetic. j=1

Eigenvalues and Eigenvectors

6-2 Matrix Multiplication, Inverses and Determinants

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

Lecture Notes in Linear Algebra

Lectures on Linear Algebra for IT

Next topics: Solving systems of linear equations

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

Components and change of basis

Transcription:

Elementary matrices, continued To summarize, we have identified 3 types of row operations and their corresponding elementary matrices. If you check the previous examples, you ll find that these matrices are constructed by performing the given row operation on the identity matrix: 1. To multply row j of A by the scalar c use the matrix E obtained from I by multiplying j th row by c. 2. To add c*row j to row k, use the identity matrix with its k th row replaced by (..., c,..., 1,...). Here c is in position j and the 1 in position k. All other entries are 0 3. To interchange rows j and k, use the identity matrix with rows j and k interchanged. Some properties of these elementary matrices 1. Elementary matrices are always square. If the operation is to be performed on A m n, then the elementary matrix E is m m. So the product EA has the same dimension as the original matrix A. 2. Elementary matrices are invertible. If E is elementary, then E 1 is the matrix which undoes the operation that created E, and E 1 EA = IA = A; the matrix followed by its inverse does nothing to A: E = 2 1 Examples 1

adds 2*row 1 to row 2. Its inverse is E 1 = 2 1, which adds 2*row 1 to row 2. If E multiplies the second row by 1 2, then E 1 = 0 2. If E interchanges two rows, then E = E 1. Exercises: We probably need quite a few here. Make them useful: what s the elementary matrix that does thus and such? What s its inverse? Does the order in which the elementary matrices are multiplied matter? Etc? We can now state the algorithm which will reduce any matrix first to row echelon form, and then, if needed to reduced echelon form: 1. Begin with the (1, 1) entry. If it s some a 0, divide through row 1 by a to get a 1 in the (1,1) position. If it is zero, then interchange row 1 with another row to get a nonzero (1, 1) entry and proceed as above. If every entry in column 1 is zero, go to the top of column 2 and, by multiplication and permuting rows if necessary, get a 1 in the (2, 1) slot. If column 2 won t work, then go to column 3, etc. If you can t arrange for a leading 1 somewhere in row 1, then your original matrix was the zero matrix, and it s already reduced. 2

2. You now have a leading 1 in some column. Use this leading 1 and operations of the type (a)row i + row k ---> row k to replace every entry in the column below the location of the leading 1 by 0. In other words, the column will now look like 1 0.. 0 3. Now move one column to the right, and one row down and attempt to repeat the process, getting a leading 1 in this location. You may need to permute this row with a row below it. If it s not possible to get a leading 1 in this position, then move right one column and try again. At the end of this second procedure, your matrix might look like 1 0 0 1, where the second leading entry is in column 3. Notice that once a leading 1 has been installed in the (1, 1) position, none of the subsequent row operations will change any of the elements in column 1. Similarly, for the matrix above, no subsequent row operations in our reduction process will change any of the entries in the first 3 columns. 4. The process continues until there are no more positions for leading entries -- we either run out of rows or columns or both because the matrix has only a finite number of each. We have arrived at the row echelon form. 3

The three matrices below are all in row echelon form: 1 1 0 0 1 0 0 1, or, or 1 1 0 1 0 0 1 Exercises: A few matrices to be row reduced; there should be at least one in which an interchange of rows is required, one in which there are more rows than columns, and one in which there are more columns than rows. Observations: The leading entries progress strictly downward, from left to right. We could just as easily have written an algorithm in which the leading entries progress downward as we move from right to left. The row echelon form of the matrix is upper triangular : any entry a ij with i > j satisfies a ij = 0. To continue the reduction to Gauss-Jordan form, it is only necessary to use each leading 1 to clean out any remaining non-zero entries in its column. For the first matrix above, the Gauss-Jordan form will look like 1 0 0 0 0 1 4

Application to the solution(s) of A x = b Suppose that we have reduced the augmented matrix (A. b to either echelon or row echelon form. Then 1. If there is a leading 1 anywhere in the last column, then the system A x = b is inconsistent. That is, there is no x which satisfies the system of equations. Why? 2. If there s no leading entry in the last column, then at least one solution exists. The question then becomes How many solutions are there? 3. The answer depends on the number of free variables: If the system is consistent and there are no free variables, then the solution is unique --- there s just one. Here s an example where the solution is unique: 1 x x x 0 1 x x 0 0 1 x 0 If the system is consistent and there are one or more free variables, then there are infinitely many solutions. Example: 1 x x x 0 0 1 x 0 5