Row Reduction and Echelon Forms

Similar documents
0.0.1 Section 1.2: Row Reduction and Echelon Forms Echelon form (or row echelon form): 1. All nonzero rows are above any rows of all zeros.

Math 2331 Linear Algebra

Linear Equations in Linear Algebra

Linear Algebra I Lecture 10

Solutions of Linear system, vector and matrix equation

M 340L CS Homework Set 1

MA 242 LINEAR ALGEBRA C1, Solutions to First Midterm Exam

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

Chapter 1. Vectors, Matrices, and Linear Spaces

Section Gaussian Elimination

Solving Linear Systems Using Gaussian Elimination

Lecture 3: Gaussian Elimination, continued. Lecture 3: Gaussian Elimination, continued

MATH 152 Exam 1-Solutions 135 pts. Write your answers on separate paper. You do not need to copy the questions. Show your work!!!

Algebra & Trig. I. For example, the system. x y 2 z. may be represented by the augmented matrix

Matrix equation Ax = b

Homework 1.1 and 1.2 WITH SOLUTIONS

LECTURES 4/5: SYSTEMS OF LINEAR EQUATIONS

Homework 1 Due: Wednesday, August 27. x + y + z = 1. x y = 3 x + y + z = c 2 2x + cz = 4

R2 R2 2R R2 R1 3R This is the reduced echelon form of our matrix. It corresponds to the linear system of equations

MATH 54 - WORKSHEET 1 MONDAY 6/22

Row Reduced Echelon Form

Section 1.2. Row Reduction and Echelon Forms

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

Lectures on Linear Algebra for IT

Linear Algebra Practice Problems

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

9.1 - Systems of Linear Equations: Two Variables

1. Determine by inspection which of the following sets of vectors is linearly independent. 3 3.

Lecture 2 Systems of Linear Equations and Matrices, Continued

1300 Linear Algebra and Vector Geometry Week 2: Jan , Gauss-Jordan, homogeneous matrices, intro matrix arithmetic

MAT 1302B Mathematical Methods II

Linear Algebra Exam 1 Spring 2007

March 19 - Solving Linear Systems

1 Last time: linear systems and row operations

MATH 1553, C.J. JANKOWSKI MIDTERM 1

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

Math 1021, Linear Algebra 1. Section: A at 10am, B at 2:30pm

Linear Equations in Linear Algebra

Linear Equations in Linear Algebra

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

Linear Equation: a 1 x 1 + a 2 x a n x n = b. x 1, x 2,..., x n : variables or unknowns

CHAPTER 9: Systems of Equations and Matrices

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

Systems of Equations Homework Solutions

Linear Independence x

EBG # 3 Using Gaussian Elimination (Echelon Form) Gaussian Elimination: 0s below the main diagonal

(I.D) Solving Linear Systems via Row-Reduction

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

Handout 1 EXAMPLES OF SOLVING SYSTEMS OF LINEAR EQUATIONS

Matrix Algebra Lecture Notes. 1 What is Matrix Algebra? Last change: 18 July Linear forms

1 - Systems of Linear Equations

Review for Chapter 1. Selected Topics

MATH 2331 Linear Algebra. Section 1.1 Systems of Linear Equations. Finding the solution to a set of two equations in two variables: Example 1: Solve:

1.3 Solving Systems of Linear Equations: Gauss-Jordan Elimination and Matrices

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.

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

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

Eigenvalues and Eigenvectors

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

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

Math 314H EXAM I. 1. (28 points) The row reduced echelon form of the augmented matrix for the system. is the matrix

MATH10212 Linear Algebra B Homework Week 3. Be prepared to answer the following oral questions if asked in the supervision class

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

CHAPTER 9: Systems of Equations and Matrices

Matrices and RRE Form

Last Time. x + 3y = 6 x + 2y = 1. x + 3y = 6 y = 1. 2x + 4y = 8 x 2y = 1. x + 3y = 6 2x y = 7. Lecture 2

Announcements Wednesday, August 30

System of Linear Equations

Lecture 2e Row Echelon Form (pages 73-74)

Sections 1.5, 1.7. Ma 322 Fall Ma 322. Sept

Lecture 4: Gaussian Elimination and Homogeneous Equations

Announcements Wednesday, August 30

Chapter 1: Linear Equations

Review Solutions for Exam 1

Lecture 03. Math 22 Summer 2017 Section 2 June 26, 2017

The scope of the midterm exam is up to and includes Section 2.1 in the textbook (homework sets 1-4). Below we highlight some of the important items.

Kevin James. MTHSC 3110 Section 4.3 Linear Independence in Vector Sp

1.4 Gaussian Elimination Gaussian elimination: an algorithm for finding a (actually the ) reduced row echelon form of a matrix. A row echelon form

Math 54 HW 4 solutions

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

Sections 1.5, 1.7. Ma 322 Spring Ma 322. Jan 24-28

Chapter 1: Linear Equations

Linear Equations in Linear Algebra

22m:033 Notes: 1.2 Row Reduction and Echelon Forms

Week #4: Midterm 1 Review

Linear Methods (Math 211) - Lecture 2

1300 Linear Algebra and Vector Geometry

Eigenvalues and Eigenvectors

Chapter 1: Systems of Linear Equations and Matrices

DM559 Linear and Integer Programming. Lecture 2 Systems of Linear Equations. Marco Chiarandini

Lecture 12: Solving Systems of Linear Equations by Gaussian Elimination

MA 1B PRACTICAL - HOMEWORK SET 3 SOLUTIONS. Solution. (d) We have matrix form Ax = b and vector equation 4

ICS 6N Computational Linear Algebra Vector Equations

MATH240: Linear Algebra Exam #1 solutions 6/12/2015 Page 1

MATH 2050 Assignment 6 Fall 2018 Due: Thursday, November 1. x + y + 2z = 2 x + y + z = c 4x + 2z = 2

Recall, we solved the system below in a previous section. Here, we learn another method. x + 4y = 14 5x + 3y = 2

Lecture 1 Systems of Linear Equations and Matrices

Chapter 1: Systems of Linear Equations

MATH 1553, SPRING 2018 SAMPLE MIDTERM 1: THROUGH SECTION 1.5

Matrix Factorization Reading: Lay 2.5

Transcription:

Row Reduction and Echelon Forms 1 / 29

Key Concepts row echelon form, reduced row echelon form pivot position, pivot, pivot column basic variable, free variable general solution, parametric solution existence and uniqueness of solutions 2 / 29

Row Echelon Form Definition A matrix is said to be in row echelon form when: 1. All nonzero rows are above any rows of all zeros. 2. Each leading entry (left-most nonzero entry) of a row is in a column to the right of the leading entry of the row above it. 3. All entries in a column below a leading entry are zero. Example 0 0 0 0 0 0. 0 0 0 0 0 3 / 29

Row Echelon Form Definition A matrix is said to be in row echelon form when: 1. All nonzero rows are above any rows of all zeros. 2. Each leading entry (left-most nonzero entry) of a row is in a column to the right of the leading entry of the row above it. 3. All entries in a column below a leading entry are zero. Example 0 0 0. 0 0 0 4 / 29

Row Echelon Form Definition A matrix is said to be in row echelon form when: 1. All nonzero rows are above any rows of all zeros. 2. Each leading entry (left-most nonzero entry) of a row is in a column to the right of the leading entry of the row above it. 3. All entries in a column below a leading entry are zero. Example 0 0 0 0. 0 0 0 0 5 / 29

Reduced Row Echelon Form (RREF) Definition A matrix is said to be in reduced row echelon form when: 1. All nonzero rows are above any rows of all zeros. 2. Each leading entry (left-most nonzero entry) of a row is in a column to the right of the leading entry of the row above it. 3. All entries in a column below a leading entry are zero. 4. The leading entry in each nonzero row is 1. 5. Each leading 1 is the only nonzero entry in its column. 6 / 29

RREF Examples Example 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 7 / 29

RREF Examples Example 1 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 8 / 29

RREF Examples Example 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 9 / 29

Uniqueness of RREF Theorem Each matrix is row-equivalent to one and only one matrix in reduced row echelon form. 10 / 29

Pivots Definitions A pivot position is a position of a leading entry in a row echelon form of the matrix. A pivot is a nonzero number that either is used in a pivot position to create 0 s or is changed into a leading 1, which in turn is used to create 0 s. A pivot column is a column that contains a pivot position. Notes There is no more than one pivot in any row. There is no more than one pivot in any column. 11 / 29

Example Row reduce to echelon form and locate the pivot columns. 0 3 6 4 9 1 2 1 3 1 2 3 0 3 1 1 4 5 9 7 12 / 29

Example Row reduce to echelon form and then to reduced echelon form. 0 3 6 6 4 5 3 7 8 5 8 9 3 9 12 9 6 15 13 / 29

Basic and Free Variables A basic variable is any variable that corresponds to a pivot column in the augmented matrix of a system. A free variable is any non-basic variable. Example 1 6 0 3 0 0 0 0 1 8 0 5 0 0 0 0 1 7 x 1 + 6x 2 + 3x 4 = 0 x 3 8x 4 = 5 x 5 = 7 14 / 29

RREF and Solutions of Linear Systems Using the RREF, we can write out the general solution of a linear system in parametric form. Example 1 6 0 3 0 0 0 0 1 8 0 5 0 0 0 0 1 7 x 1 + 6x 2 + 3x 4 = 0 x 3 8x 4 = 5 x 5 = 7 15 / 29

RREF and Solutions of Linear Systems Using the RREF, we can write out the general solution of a linear system in parametric form. Example 1 6 0 3 0 0 0 0 1 8 0 5 0 0 0 0 1 7 x 1 = 6x 2 3x 4 x 2 free x 3 = 5 + 8x 4 x 4 free x 5 = 7 16 / 29

Warning Use only the reduced row echelon form to write out the general solution of a linear system in parametric form. 17 / 29

Free Variables and Uniqueness of Solutions The following linear system 3x 2 6x 3 + 6x 4 + 4x 5 = 5 3x 1 7x 2 + 8x 3 5x 4 + 8x 5 = 9 3x 1 9x 2 + 12x 3 9x 4 + 6x 5 = 15 has augmented matrix that is row equivalent to the echelon form 3 9 12 9 6 15 0 2 4 4 2 6. 0 0 0 0 1 4 We observe that the system is consistent and has free variables x 3, x 4. This system has infinitely many solutions. 18 / 29

Free Variables and Uniqueness of Solutions The following linear system 3x 1 + 4x 2 = 3 2x 1 + 5x 2 = 5 2x 1 3x 2 = 1 has augmented matrix that is row equivalent to the echelon form 3 4 3 0 1 3. 0 0 0 We observe that the system is consistent and has no free variables. This system has a unique solution. 19 / 29

Free Variables and Uniqueness of Solutions Notes A consistent system with free variables has infinitely many solutions. A consistent system with no free variables has a unique solution. 20 / 29

Existence and Uniqueness of Solutions of Linear Systems Theorem 1. A linear system is consistent if and only if the rightmost column of the augmented matrix is not a pivot column. In other words, if and only if an echelon form of the augmented matrix has no row of the form [0... 0 b] where b is nonzero. 2. If a linear system is consistent, then the solution set contains either (i) a unique solution (when there are no free variables) or (ii) infinitely many solutions (when there is at least one free variable) 21 / 29

Example What is the largest possible number of pivots a 4 6 matrix can have? 22 / 29

Example What is the largest possible number of pivots a 6 4 matrix can have? 23 / 29

Example How many solutions does a consistent linear system of 3 equations and 4 unknowns have? 24 / 29

Example Suppose the coefficient matrix corresponding to a linear system is 4 6 and has 3 pivot columns. How many pivot columns does the augmented matrix have if the linear system is inconsistent? 25 / 29

Using Row Reduction to Solve Linear Systems 1. Write the augmented matrix of the system. 2. Row reduce the augmented matrix to obtain a row equivalent echelon form. Decide whether the system is consistent. If not, then stop; otherwise, go to the next step. 3. Continue row reduction to obtain the reduced row echelon form. 4. Write the system of equations corresponding to the matrix obtained in step 3. 5. State the solution by expressing each basic variable in terms of the free variables and declare the free variables. 26 / 29

Example Find the general solution of the linear system. x 1 + 2x 3 = 3 2x 1 + x 2 + 7x 3 = 9 3x 2 + 9x 3 = 9 27 / 29

Example Find the general solution of the linear system. x 1 + 3x 3 = 1 2x 1 + x 2 + 7x 3 = 5 3x 2 + 3x 3 = 9 28 / 29

Acknowledgement Statements of results and some examples follow the notation and wording of Lay s Linear Algebra and Its Applications, 4th edition. 29 / 29