Math 2331 Linear Algebra

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.

Row Reduction and Echelon Forms

Math 2331 Linear Algebra

Math 2331 Linear Algebra

Math 2331 Linear Algebra

Math 2331 Linear Algebra

Math 2331 Linear Algebra

Linear Equations in Linear Algebra

Linear Algebra I Lecture 10

Math 2331 Linear Algebra

Solutions of Linear system, vector and matrix equation

Homework 1.1 and 1.2 WITH SOLUTIONS

MA 242 LINEAR ALGEBRA C1, Solutions to First Midterm Exam

Math 2331 Linear Algebra

Matrix equation Ax = b

Row Reduced Echelon Form

Lectures on Linear Algebra for IT

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.

Linear Algebra Practice Problems

MATH 54 - WORKSHEET 1 MONDAY 6/22

Section Gaussian Elimination

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

Solving Linear Systems Using Gaussian Elimination

Math 4377/6308 Advanced Linear Algebra

1 Last time: linear systems and row operations

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

Chapter 1. Vectors, Matrices, and Linear Spaces

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

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

M 340L CS Homework Set 1

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

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

Section 1.2. Row Reduction and Echelon Forms

Solving Linear Systems

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

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

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

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

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

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

Homework Set #1 Solutions

Math 4377/6308 Advanced Linear Algebra

ICS 6N Computational Linear Algebra Vector Equations

Math 54 HW 4 solutions

Linear Methods (Math 211) - Lecture 2

Linear Equations in Linear Algebra

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

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

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

9.1 - Systems of Linear Equations: Two Variables

Systems of Equations Homework Solutions

Math 4377/6308 Advanced Linear Algebra

MATH 1120 (LINEAR ALGEBRA 1), FINAL EXAM FALL 2011 SOLUTIONS TO PRACTICE VERSION

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

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

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

March 19 - Solving Linear Systems

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:

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

1 - Systems of Linear Equations

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

1300 Linear Algebra and Vector Geometry

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

Review for Chapter 1. Selected Topics

Announcements Wednesday, August 30

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

Notes on Row Reduction

MAT 1302B Mathematical Methods II

Lecture 2 Systems of Linear Equations and Matrices, Continued

Linear Algebra I Lecture 8

Determine whether the following system has a trivial solution or non-trivial solution:

Linear Algebra Exam 1 Spring 2007

Announcements Wednesday, August 30

Additional Problems for Midterm 1 Review

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

MATH10212 Linear Algebra B Homework Week 4

MAC Module 1 Systems of Linear Equations and Matrices I

Name: MATH 3195 :: Fall 2011 :: Exam 2. No document, no calculator, 1h00. Explanations and justifications are expected for full credit.

System of Linear Equations

MATH 3511 Lecture 1. Solving Linear Systems 1

Math 2331 Linear Algebra

Linear equations in linear algebra

Methods for Solving Linear Systems Part 2

Chapter 1: Systems of Linear Equations and Matrices

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

Ack: 1. LD Garcia, MTH 199, Sam Houston State University 2. Linear Algebra and Its Applications - Gilbert Strang

Linear independence, span, basis, dimension - and their connection with linear systems

LECTURES 4/5: SYSTEMS OF LINEAR EQUATIONS

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

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

Find the solution set of 2x 3y = 5. Answer: We solve for x = (5 + 3y)/2. Hence the solution space consists of all vectors of the form

The Gauss-Jordan Elimination Algorithm

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

1 Systems of equations

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

Linear Equations in Linear Algebra

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

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

Transcription:

1.2 Echelon Forms Math 2331 Linear Algebra 1.2 Row Reduction and Echelon Forms Shang-Huan Chiu Department of Mathematics, University of Houston schiu@math.uh.edu math.uh.edu/ schiu/ January 22, 2018 Shang-Huan Chiu, University of Houston Math 2331, Linear Algebra January 22, 2018 1 / 19

1.2 Row Reduction and Echelon Forms Echelon Form and Reduced Echelon Form Uniqueness of the Reduced Echelon Form Pivot and Pivot Column Row Reduction Algorithm Reduce to Echelon Form (Forward Phase) then to REF (Backward Phase) Solutions of Linear Systems Basic Variables and Free Variable Parametric Descriptions of Solution Sets Final Steps in Solving a Consistent Linear System Back-Substitution General Solutions Existence and Uniqueness Theorem Using Row Reduction to Solve Linear Systems Consistency Questions Shang-Huan Chiu, University of Houston Math 2331, Linear Algebra January 22, 2018 2 / 19

Echelon Forms Echelon Form (or Row Echelon Form) 1.2 Echelon Forms Definition Reduction Solution Theorem 1 All nonzero rows are above any rows of all zeros. 2 Each leading entry (i.e. 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. Examples (Echelon forms) (a) 0 0 0 0 0 0 0 0 0 0 0 (c) (b) 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Shang-Huan Chiu, University of Houston Math 2331, Linear Algebra January 22, 2018 3 / 19

Reduced Echelon Form Reduced Echelon Form Add the following conditions to conditions 1, 2, and 3 above: 4. The leading entry in each nonzero row is 1. 5. Each leading 1 is the only nonzero entry in its column. Example (Reduced Echelon Form) 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 Theorem (Uniqueness of the Reduced Echelon Form) Each matrix is row-equivalent to one and only one reduced echelon matrix. Shang-Huan Chiu, University of Houston Math 2331, Linear Algebra January 22, 2018 4 / 19

Pivots 1.2 Echelon Forms Definition Reduction Solution Theorem Important Terms pivot position: a position of a leading entry in an echelon form of the matrix. pivot: 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. pivot column: a column that contains a pivot position. (See the Glossary at the back of the textbook.) Shang-Huan Chiu, University of Houston Math 2331, Linear Algebra January 22, 2018 5 / 19

Reduced Echelon Form: Examples Example (Row reduce to echelon form and locate the pivots) 0 3 6 4 9 1 2 1 3 1 2 3 0 3 1 1 4 5 9 7 Solution pivot 1 4 5 9 7 1 2 1 3 1 2 3 0 3 1 0 3 6 4 9 pivot column 1 4 5 9 7 0 2 4 6 6 0 5 10 15 15 0 3 6 4 9 Possible Pivots: Shang-Huan Chiu, University of Houston Math 2331, Linear Algebra January 22, 2018 6 / 19

Reduced Echelon Form: Examples (cont.) Example (Row reduce to echelon form (cont.)) 1 4 5 9 7 0 2 4 6 6 0 0 0 0 0 0 0 0 5 0 Original Matrix: 1 4 5 9 7 0 2 4 6 6 0 0 0 5 0 0 0 0 0 0 0 3 6 4 9 1 2 1 3 1 2 3 0 3 1 1 4 5 9 7 pivot columns: 1 2 4 Note There is no more than one pivot in any row. than one pivot in any column. There is no more Shang-Huan Chiu, University of Houston Math 2331, Linear Algebra January 22, 2018 7 / 19

Reduced Echelon Form: Examples (cont.) Example (Row reduce to echelon form and then to REF) 0 3 6 6 4 5 3 7 8 5 8 9 3 9 12 9 6 15 Solution: 0 3 6 6 4 5 3 7 8 5 8 9 3 9 12 9 6 15 3 9 12 9 6 15 0 2 4 4 2 6 0 3 6 6 4 5 3 9 12 9 6 15 3 7 8 5 8 9 0 3 6 6 4 5 Shang-Huan Chiu, University of Houston Math 2331, Linear Algebra January 22, 2018 8 / 19

Reduced Echelon Form: Examples (cont.) Example (Row reduce to echelon form and then to REF (cont.)) Cover the top row and look at the remaining two rows for the left-most nonzero column. 3 9 12 9 6 15 3 9 12 9 6 15 0 2 4 4 2 6 0 1 2 2 1 3 0 3 6 6 4 5 0 3 6 6 4 5 3 9 12 9 6 15 0 1 2 2 1 3 0 0 0 0 1 4 (echelon form) Shang-Huan Chiu, University of Houston Math 2331, Linear Algebra January 22, 2018 9 / 19

Reduced Echelon Form: Examples (cont.) Example (Row reduce to echelon form and then to REF (cont.)) Final step to create the reduced echelon form: Beginning with the rightmost leading entry, and working upwards to the left, create zeros above each leading entry and scale rows to transform each leading entry into 1. 3 9 12 9 0 9 0 1 2 2 0 7 0 0 0 0 1 4 1 0 2 3 0 24 0 1 2 2 0 7 0 0 0 0 1 4 3 0 6 9 0 72 0 1 2 2 0 7 0 0 0 0 1 4 Shang-Huan Chiu, University of Houston Math 2331, Linear Algebra January 22, 2018 10 / 19

Solutions of Linear Systems Important Terms basic variable: any variable that corresponds to a pivot column in the augmented matrix of a system. free variable: all nonbasic variables. Example (Solutions of Linear Systems) 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 pivot columns: basic variables: free variables: Shang-Huan Chiu, University of Houston Math 2331, Linear Algebra January 22, 2018 11 / 19

Solutions of Linear Systems (cont.) Final Step in Solving a Consistent Linear System After the augmented matrix is in reduced echelon form and the system is written down as a set of equations, Solve each equation for the basic variable in terms of the free variables (if any) in the equation. Example (General Solutions of Linear Systems) x 1 +6x 2 +3x 4 = 0 x 3 8x 4 = 5 x 5 = 7 Warning Use only the reduced echelon form to solve a system. x 1 = 6x 2 3x 4 x 2 is free x 3 = 5 + 8x 4 x 4 is free x 5 = 7 (general solution) Shang-Huan Chiu, University of Houston Math 2331, Linear Algebra January 22, 2018 12 / 19

General Solutions of Linear Systems General Solution The general solution of the system provides a parametric description of the solution set. (The free variables act as parameters.) Example (General Solutions of Linear Systems (cont.)) x 1 = 6x 2 3x 4 x 2 is free x 3 = 5 + 8x 4 x 4 is free x 5 = 7 The above system has infinitely many solutions. Why? Shang-Huan Chiu, University of Houston Math 2331, Linear Algebra January 22, 2018 13 / 19

Existence and Uniqueness Questions Example (Existence and Uniqueness Questions) 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 In an earlier example, we obtained the echelon form: 3 9 12 9 6 15 0 2 4 4 2 6 0 0 0 0 1 4 (x 5 = 4) No equation of the form 0 = c, where c 0, so the system is consistent. Free variables: x 3 and x 4. Consistent system with free variables = infinitely many solutions. Shang-Huan Chiu, University of Houston Math 2331, Linear Algebra January 22, 2018 14 / 19

Existence and Uniqueness Questions Example (Existence and Uniqueness Questions) 3x 1 +4x 2 = 3 3 4 3 2x 1 +5x 2 = 5 2 5 5 2x 1 3x 2 = 1 2 3 1 3 4 3 0 1 3 0 0 0 3x 1 + 4x 2 = 3 x 2 = 3 Consistent system, no free variables = unique solution. Shang-Huan Chiu, University of Houston Math 2331, Linear Algebra January 22, 2018 15 / 19

Existence and Uniqueness Theorem Theorem (Existence and Uniqueness) 1 A linear system is consistent if and only if the rightmost column of the augmented matrix is not a pivot column, i.e., 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 contains either a unique solution (when there are no free variables) or infinitely many solutions (when there is at least one free variable). Shang-Huan Chiu, University of Houston Math 2331, Linear Algebra January 22, 2018 16 / 19

Using Row Reduction to Solve Linear Systems Using Row Reduction to Solve Linear Systems 1 Write the augmented matrix of the system. 2 Use the row reduction algorithm to obtain an equivalent augmented matrix in echelon form. Decide whether the system is consistent. If not, stop; otherwise go to the next step. 3 Continue row reduction to obtain the reduced 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. Shang-Huan Chiu, University of Houston Math 2331, Linear Algebra January 22, 2018 17 / 19

Consistency Questions Example (a) What is the largest possible number of pivots a 4 6 matrix can have? Why? Example (b) What is the largest possible number of pivots a 6 4 matrix can have? Why? Shang-Huan Chiu, University of Houston Math 2331, Linear Algebra January 22, 2018 18 / 19

Consistency Questions (cont.) Example (c) How many solutions does a consistent linear system of 3 equations and 4 unknowns have? Why? Example (d) 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? Shang-Huan Chiu, University of Houston Math 2331, Linear Algebra January 22, 2018 19 / 19