Section Gaussian Elimination

Similar documents
Chapter 1. Vectors, Matrices, and Linear Spaces

Lecture 12: Solving Systems of Linear Equations by Gaussian Elimination

1 - Systems of Linear Equations

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

Lectures on Linear Algebra for IT

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

Linear Algebra I Lecture 10

Row Reduction and Echelon Forms

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

Row Reduced Echelon Form

Notes on Row Reduction

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

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

Matrices and RRE Form

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

Lecture 4: Gaussian Elimination and Homogeneous Equations

Problem Sheet 1 with Solutions GRA 6035 Mathematics

Linear Equations in Linear Algebra

9.1 - Systems of Linear Equations: Two Variables

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

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

1 Last time: linear systems and row operations

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

CHAPTER 9: Systems of Equations and Matrices

Chapter 1: Systems of Linear Equations

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

Relationships Between Planes

Solving Systems of Linear Equations

Math 1314 Week #14 Notes

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

Solving Linear Systems Using Gaussian Elimination

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

1300 Linear Algebra and Vector Geometry

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

Linear Algebra I Lecture 8

3.4 Elementary Matrices and Matrix Inverse

CHAPTER 9: Systems of Equations and Matrices

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

Chapter 4. Solving Systems of Equations. Chapter 4

Section 6.2 Larger Systems of Linear Equations

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

Matrices and systems of linear equations

INVERSE OF A MATRIX [2.2]

Gauss-Jordan Row Reduction and Reduced Row Echelon Form

Methods for Solving Linear Systems Part 2

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

The definition of a vector space (V, +, )

Matrices, Row Reduction of Matrices

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

6.3. MULTIVARIABLE LINEAR SYSTEMS

March 19 - Solving Linear Systems

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

Matrix Solutions to Linear Equations

Systems of Linear Equations and Matrices

LECTURES 4/5: SYSTEMS OF LINEAR EQUATIONS

Chapter 2 Notes, Linear Algebra 5e Lay

Linear Algebra Handout

Exercise Sketch these lines and find their intersection.

Solving Systems of Linear Equations Using Matrices

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

10.3 Matrices and Systems Of

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

Chapter 1 Linear Equations. 1.1 Systems of Linear Equations

13. Systems of Linear Equations 1

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

Section Gauss Elimination for Systems of Linear Equations

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:

Linear System Equations

Math 54 HW 4 solutions

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

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

Rectangular Systems and Echelon Forms

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.

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

Lecture 2 Systems of Linear Equations and Matrices, Continued

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

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

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

REPLACE ONE ROW BY ADDING THE SCALAR MULTIPLE OF ANOTHER ROW

PH1105 Lecture Notes on Linear Algebra.

MATH 54 - WORKSHEET 1 MONDAY 6/22

x 1 2x 2 +x 3 = 0 2x 2 8x 3 = 8 4x 1 +5x 2 +9x 3 = 9

1 System of linear equations

Section 1.5. Solution Sets of Linear Systems

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

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

Name: Section Registered In:

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

MODEL ANSWERS TO THE THIRD HOMEWORK

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

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

MTH 464: Computational Linear Algebra

2 Systems of Linear Equations

Section 1.1: 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

4 Elementary matrices, continued

Lecture 1 Systems of Linear Equations and Matrices

Transcription:

Section. - Gaussian Elimination A matrix is said to be in row echelon form (REF) if it has the following properties:. The first nonzero entry in any row is a. We call this a leading one or pivot one.. The leading one in any successive row must be to the right of the leading one in the previous row. This gives the matrix an "echelon" form.. Any rows consisting entirely of zeros must be grouped together at the bottom of the matrix. A matrix is said to be in reduced row echelon form (RREF) if it is in REF and each column that contains a leading one has zeros everywhere else in that column. Determine whether matrices are in REF only, RREF, or not REF. 0 0 0 0 0 4 0 6 0 0 5 0 4 0 5 6 9 8 7 5 0 5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 The location of leading ones in any REF for a given matrix will always be located in the same position. For augmented matrices, variables that correspond to the leading ones in any REF are called leading variables or fixed variables. The remaining variables are called free variables. When we have free variables for a consistent system of linear equations, then that system will have infinitely many solutions. In this case, we will express the solution using a set of parametric equations. Here is a REF for the augmented matrix of a system of linear equations. State which variables are fixed and which are free. 5 8 9 0 0 5 4 0 0

In each case, a REF for the augmented matrix of a system of linear equations is given. Give the number of equations, the number of unknowns, and the solution (if any). Parameterize solution as needed. # of equations # unknowns Solution. 0 0 5 0 0 8 0 0 0 # of equations # unknowns Solution. 0 4 0 0 8 # of equations # unknowns Solution. 8 5 0 0 0 0 # of equations # unknowns Solution 4. 0 5 0 0 0 6

In each case, write out a possible RREF of the augmented matrix for the system described: 5. Three equations and unknowns with solution x 4, x, x 0. 6. Three equations and unknowns with solution x t, x 5t, x t. 7. Three equations and unknowns with no solution. 8. Four equations and unknowns with solution x, x. 9. A homogeneous system of equations in unknowns that has infinitely many solutions.

We will now show how to get any augmented matrix into a REF using a step-by-step elimination method that uses only elementary row operations. Recall the elementary row operations:. swap any two rows.. multiply row by a nonzero constant.. Add a multiple of one row to another. The method we will show that reduces an augmented matrix to a REF is called Gaussian elimination (in honor of the great German mathematician Carl Friedrich Gauss). This procedure (or algorithm) consists of what is referred to as the forward phase in which zeros are introduced below the leading ones. If we continue this algorithm and add the backward phase (in which zeros are introduced above the leading ones), we can obtain the RREF of the augmented matrix. The procedure that uses both forward and backward phases to put the augmented matrix into its RREF is called Gauss-Jordan elimination (to also honor the German engineer Wilhelm Jordan). When solving with Gaussian elimination, the solution is obtained by writing out the system of equations obtained from the REF of augmented matrix and then using back substitution. Here is the idea of the algorithm: Step : Get a leading one in the upper right corner by either interchanging rows if this entry is zero and/or multiplying the row by the reciprocal of this entry. Step : Get zeros in the rows beneath this leading (or pivot) one by adding appropriate multiples of first row to the row with the entry you want to zero out. The multiple is the opposite of the entry you want to zero out. 0 0 Step : Shift down to the second row second column. If there is a zero here, look to see if any entry beneath it is nonzero. If not move to the next column in the second row and repeat this step. If there is a nonzero entry, interchange rows to get the nonzero entry in the second row. Multiply the second row by the reciprocal of this nonzero entry to get another leading one. 0 0 Step 4: Get zeros in the rows beneath this leading (or pivot) one by adding appropriate multiples of first row to the row with the entry you want to zero out. The multiple is the opposite of the entry you want to zero out. 0 0 0 Continue this process until you have it in a REF. By adding multiples of rows and using the pivot ones, you can now continue to the RREF. 4

Solve the system shown to the left below using Gaussian Elimination with back substitution & then with Gauss-Jordan Elimination. x x x 5 5x x x 0 x x x 6x 4x x 0 5 5 0 6 4 0 The system of equations yields the augmented matrix shown above to the right of the system. We first will show Gaussian Elimination with back substitution. We proceed by using the elementary row operations to get a REF. R R 5 5 0 6 4 0 R R 5R 5 0 5 6 4 0 R R R 5 0 0 4 6 5 6 4 0 R 4 R 4 6R 5 0 0 4 6 5 R R 5 0 75 0 4 6 R R R 5 0 75 0 0 7 49 R R 7 The resulting system from this is and we have 5 0 75 0 0 7 x x x 5 x x 75 x 7 This is now in REF form x 5 x x x 75 x so that by back substitution we have x 7 x 75 7 x 5 7 4 5

We could have also obtained solution directly had we solved using the Gauss-Jordan elimination. This requires transforming the REF form above into RREF. 0 7 45 0 0 4 R R R 0 75 R R 7R 0 75 0 0 7 0 0 7 R R R 0 0 4 0 0 0 0 7 This is now in RREF form The corresponding system to the RREF gives the same solution directly. x 7 x x 4 6

Solve the following system using Gauss-Jordan elimination 5x 0x x x 4 5x 5 0 x 4x x 4 7x 5 7 x x x 5 7

Recall that a homogeneous system is one in which all the constant terms are zero. That is, if the system is of the form a x a x a x a n x n 0 a x a x a x a n x n 0 a x a x a x a n x n 0 a m x a m x a m x a mn x n 0 Every homogeneous system is consistent because all such systems have x 0, x 0,, x n 0 as a solution. This solution is called the trivial solution. If there are other solutions to the system than they are called nontrivial solutions. Examples of homogeneous systems: x 4x x 0 5x 0x 4x x 4 0 x 5x x 0 6x 9x x 4 0 6x x 7x 0 7x x 8x 0 Since every homogeneous system is consistent, there are only two possibilities for its solution:. The system has only the trivial solution.. The system has infinitely many solutions in addition to the trivial solution. When performing row operations on matrices, columns of zeros are not altered. Thus, any REF of a homogeneous system will have a last column of all zeros. Theorem: If a homogeneous linear system has n unknowns (variables), and if the RREF of its augmented matrix has r nonzero rows (i.e. rows with a leading one), then the system has n r free variables. Theorem: A homogeneous linear system with fewer equations than unknowns has infinitely many solutions. Note that this last theorem does NOT apply to nonhomogeneous linear systems as such a system may not be consistent. However, it can be proved that a nonhomogeneous linear systems with fewer equations than unknowns that is consistent has infinitely many solutions. 8