Elimination Method Streamlined

Similar documents
Systems of Linear Equations

Matrices and Determinants

Lecture 12: Solving Systems of Linear Equations by Gaussian Elimination

Exercise Sketch these lines and find their intersection.

4 Elementary matrices, continued

Linear Algebra I Lecture 8

Chapter 1. Vectors, Matrices, and Linear Spaces

M 340L CS Homework Set 1

4 Elementary matrices, continued

1 - Systems of Linear Equations

Lectures on Linear Algebra for IT

Matrices and Systems of Equations

Linear Equations in Linear Algebra

Matrix Solutions to Linear Equations

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

22A-2 SUMMER 2014 LECTURE 5

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

4.3 Row operations. As we have seen in Section 4.1 we can simplify a system of equations by either:

Linear Equations in Linear Algebra

Section Gaussian Elimination

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

Lecture 1 Systems of Linear Equations and Matrices

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

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

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

Methods for Solving Linear Systems Part 2

Math 1314 Week #14 Notes

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

7.5 Operations with Matrices. Copyright Cengage Learning. All rights reserved.

Notes on Row Reduction

MTH 2530: Linear Algebra. Sec Systems of Linear Equations

Solving Systems of Linear Equations

MAC Module 1 Systems of Linear Equations and Matrices I

Solving Linear Systems Using Gaussian Elimination

Finite Math - J-term Section Systems of Linear Equations in Two Variables Example 1. Solve the system

Section 6.2 Larger Systems of Linear Equations

Gauss-Jordan Row Reduction and Reduced Row Echelon Form

Linear Equations in Linear Algebra

Linear Algebra (2009 Fall) Chapter 1 Matrices and Systems of Equations

Chapter 4. Solving Systems of Equations. Chapter 4

Chapter 1: Systems of Linear Equations

Lecture 2 Systems of Linear Equations and Matrices, Continued

Problem Sheet 1 with Solutions GRA 6035 Mathematics

Matrices and RRE Form

PH1105 Lecture Notes on Linear Algebra.

UNIT 3 INTERSECTIONS OF LINES AND PLANES

Linear System Equations

Lecture 3i Complex Systems of Equations (pages )

1111: Linear Algebra I

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

7.6 The Inverse of a Square Matrix

Lecture Notes: Solving Linear Systems with Gauss Elimination

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

1111: Linear Algebra I

Lecture 7: Introduction to linear systems

Linear Algebra I Lecture 10

SOLVING Ax = b: GAUSS-JORDAN ELIMINATION [LARSON 1.2]

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

Matrices, Row Reduction of Matrices

Relationships Between Planes

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

1300 Linear Algebra and Vector Geometry

Solving Systems of Linear Equations Using Matrices

Row Reduced Echelon Form

Section Gauss Elimination for Systems of Linear Equations

Matrix Factorization Reading: Lay 2.5

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.

5.7 Cramer's Rule 1. Using Determinants to Solve Systems Assumes the system of two equations in two unknowns

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

Chapter 1 Linear Equations. 1.1 Systems of Linear Equations

1 Last time: linear systems and row operations

Row Reducing Matrices

Column 3 is fine, so it remains to add Row 2 multiplied by 2 to Row 1. We obtain

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

Section 1.2. Row Reduction and Echelon Forms

LU Factorization. A m x n matrix A admits an LU factorization if it can be written in the form of A = LU

Solutions to Homework 5 - Math 3410

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

MATH 320, WEEK 6: Linear Systems, Gaussian Elimination, Coefficient Matrices

Chapter Contents. A 1.6 Further Results on Systems of Equations and Invertibility 1.7 Diagonal, Triangular, and Symmetric Matrices

LECTURES 4/5: SYSTEMS OF LINEAR EQUATIONS

Lecture 4: Gaussian Elimination and Homogeneous Equations

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

Math 3C Lecture 20. John Douglas Moore

10. Rank-nullity Definition Let A M m,n (F ). The row space of A is the span of the rows. The column space of A is the span of the columns.

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

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

Linear Algebraic Equations

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

1. Solve each linear system using Gaussian elimination or Gauss-Jordan reduction. The augmented matrix of this linear system is

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

Linear Equations in Linear Algebra

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

Gauss and Gauss Jordan Elimination

Homework 1.1 and 1.2 WITH SOLUTIONS

Linear algebra in turn is built on two basic elements, MATRICES and VECTORS.

6-1 Study Guide and Intervention Multivariable Linear Systems and Row Operations

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

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

Transcription:

Elimination Method Streamlined There is a more streamlined version of elimination method where we do not have to write all of the steps in such an elaborate way. We use matrices. The system of n equations in m unknowns, which we shall call m n system a a a b n n a a a b n n (.) a a a b n n mn n m has augmented matri of the system as a a a n b a a an b am am amn bm (.) which we can use to make all the elementary row operations. The coefficient matri of the system (.) is similar only without the last column, a a a a a a a a a n n m m mn (.) and we shall need this notion later. Eample. We can repeat the same elimination method as eample 8 from the previous lecture using augmented matri only. The augmented matri of 0 8 8 5 5 0 is

0 0 8 8 5 0 5 0 first by dividing third row with 5 and interchanging second and third row 0 0 / 5 0 8 8 then subtracting the first row from the second row 0 0 0 8 8 [We keep on labeling the steps of the process on the right always referring only to the previous matri.] Now we shall divide the second row by and subtract it from the third row 0 0 0 0 6 6 and finally dividing the second row with and the third row with -6 0 0 / 0 0 / 6 and we arrived at row-echelon format. [Actually we had that already in the previous matri.] We can now rewrite the system of equations from this matri and solve it by back substitution or we can naturally continue to diagonalize the system as following 0 0 0 0

0 0 0 0 0 0 0 and we arrived at reduced row-echelon format where the solution is clearly visible from the last column. Notice the whole idea to reach diagonalize form we start elimination of coefficients downward from left to right and once we reach row-echelon format we repeat the same only upward from right to left. [We shall eplain this in more details in the class.] Now we can define what row-echelon and reduced row-echelon format of a matri means. We say that the matri (matri of the system, augmented matri of the system, or any matri whatsoever) is in row-echelon format if the following is true:. If a row contains only 0s then that row is in the bottom of the matri (there could be more of them).. In two successive rows not containing all 0s the lower row has leading entry strictly to the right of the upper row.. First non-zero entry in its row (we call that leading entry) has all other entries in same column below as 0s. [# actually follows from # and # but it is worth noticing it separately.] educed row-echelon format of a matri means just one more condition 4. Each leading (first non-zero) entry in any row is the only non-zero in its column and it has to be. When a system is written in such a format that its augmented matri is in reduced rowechelon format then we say it is in canonical form. Eample. All of the matrices below are in row-echelon format 0 0 0 0 9 0 0 0 0 0 0 0 0 0 0 5 0 0 4 4 0 0 0 and the following matrices are in reduced row-echelon format

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4 0 0 0 The same system can have many augmented matrices in row-echelon formats, for eample the following two 0 0 0 0 0 4 0 0 0 0 0 0 0 6 0 0 0 [Can you see why?] but it can only have one reduced row-echelon format. This uniqueness will be more obvious later in our course. Eample. Solve the following system of, 4 using Gauss-Jordan Elimination method with matrices only. First we write augmented matri 4 0 First it is obvious that we need to interchange first and second row as second row already has as the first entry. 4 0 The net we shall eliminate all the entries below the in the first row. 4

0 5 5 0 0 6 8 40 The net step in to reduce second row so that it starts with. 0 6 / 5 0 6 8 40 Now we eliminate coefficient below in the second row. Since we intend to diagonalize matri we shall also eliminate all the entries in the same column (ecept that ). 0 0 6 0 0 4 6 Now we shall reduce the third row by diving it with -. 0 0 6 0 0 / We already have reduced row-echelon format but we shall continue to diagonalize by eliminating all the entries in the third column above in the third row. 0 0 0 0 4 0 0 Now the solution of the system is obvious,, 4,. You should always check the solution as this method is not very human-friendly and it can easily generate errors. We noted before that a system of equations does not have to be consistent (i.e., it might not have solutions) and also that it could be with more solutions. Eample 4. The following system (tetbook) is not consistent. 5

4 8 4 8 ` You can convince yourself that this system will have row-echelon format of augmented matri as which show the third equation as 0 5. Eample 5. The following system has many solutions. / / 0 4 8 0 0 0 5 4 8 9 If you follow the G-J-E method with augmented matri you will reach the following reduced row-echelon format, 0 0 5 0 4 8 0 0 0 0 which indicates that the third equation is redundant 0 0. But the first two equations are telling you all the solutions of the system: 0 5 4 8 because if we treat the third variable as a parameter variable (meaning it can be anything we want) then we get the following 0 5 4 8 and now for any choice of third variable we have one solution. For eample if we select we have solution 45, 6,. The solution format of the last system is 6

called parametric format where is a parameter of the solution. This is more commonly written as 0t5 4t8. Note: a system can have more than one parameter. One more definition we shall often use. The leading of any row in reduced row-echelon format is called pivot and the position of that entry is called pivot position. We have used elementary row operations within matrices just like we used that with equations. We say that #, #, # [or equivalently #, #, and # ] operations in contet of a matri are elementary row operations on a matri. If a matri A is reached from another matri B with finite number of these operations we shall say that these matrices are row equivalent and write A B. This relation is obviously a relation of equivalence. Theorem (on eistence and uniqueness of solution) System of linear equations is consistent when the last non-zero row of reduced rowechelon format of its augmented matri has leading before the last entry (meaning that the last entry cannot be a leading entry). When the system is consistent the solution can be unique or there could be many solutions when there are parameter variables. The proof of this theorem is obvious from the discussion we had above. Eample 7. (if time permits) Determine whether the following system is consistent and solve the system if it is. 4 4 9 4 4 Homework: Check online. 7