Section 6.2 Larger Systems of Linear Equations

Similar documents
Gauss-Jordan Row Reduction and Reduced Row Echelon Form

Solving Linear Systems Using Gaussian Elimination

Linear Equations in Linear Algebra

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

10.3 Matrices and Systems Of

4 Elementary matrices, continued

4 Elementary matrices, continued

Linear Equations in Linear Algebra

Lecture 12: Solving Systems of Linear Equations by Gaussian Elimination

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

Methods for Solving Linear Systems Part 2

Matrix Solutions to Linear Equations

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

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

Math 1314 Week #14 Notes

Chapter 1. Vectors, Matrices, and Linear Spaces

9.1 - Systems of Linear Equations: Two Variables

Problem Sheet 1 with Solutions GRA 6035 Mathematics

Linear System Equations

Relationships Between Planes

System of Linear Equations

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

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

1 - Systems of Linear Equations

Section Gaussian Elimination

Exercise Sketch these lines and find their intersection.

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

Chapter 4. Solving Systems of Equations. Chapter 4

March 19 - Solving Linear Systems

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

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

Lectures on Linear Algebra for IT

Row Reduced Echelon Form

1 Last time: linear systems and row operations

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

CHAPTER 9: Systems of Equations and Matrices

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

Solving Systems of Linear Equations Using Matrices

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

Elementary Linear Algebra

Math 2331 Linear Algebra

Extra Problems: Chapter 1

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

MAC Module 1 Systems of Linear Equations and Matrices I

Linear Algebra I Lecture 8

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

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 Practice Test Name: Period: Date:

Matrices and RRE Form

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

Section 1.2. Row Reduction and Echelon Forms

7.6 The Inverse of a Square Matrix

Notes on Row Reduction

Linear Algebra I Lecture 10

Lecture 7: Introduction to linear systems

MIDTERM 1 - SOLUTIONS

Row Reducing Matrices

Systems of Linear Equations

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

Section 6.3. Matrices and Systems of Equations

Lecture Notes: Solving Linear Systems with Gauss Elimination

Solving Systems of Linear Equations

1. (7pts) Find the points of intersection, if any, of the following planes. 3x + 9y + 6z = 3 2x 6y 4z = 2 x + 3y + 2z = 1

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

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

CHAPTER 8: MATRICES and DETERMINANTS

Gauss-Jordan elimination ( used in the videos below) stops when the augmented coefficient

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

Number of solutions of a system

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

Chapter 1: Systems of Linear Equations

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

Lecture 4: Gaussian Elimination and Homogeneous Equations

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

Name: Section Registered In:

The matrix will only be consistent if the last entry of row three is 0, meaning 2b 3 + b 2 b 1 = 0.

MathQuest: Linear Algebra. 1. Which of the following operations on an augmented matrix could change the solution set of a system?

CHAPTER 8: Matrices and Determinants

Math 313 Chapter 1 Review

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

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

40h + 15c = c = h

LECTURES 4/5: SYSTEMS OF LINEAR EQUATIONS

Section 1.1: Systems of Linear Equations

Introduction to Systems of Equations

Chapter 1: Systems of Linear Equations and Matrices

Matrices and Determinants

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

Lecture 2 Systems of Linear Equations and Matrices, Continued

UNIT 3 INTERSECTIONS OF LINES AND PLANES

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

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

MODEL ANSWERS TO THE THIRD HOMEWORK

Matrices and systems of linear equations

Lecture 1 Systems of Linear Equations and Matrices

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

Section Matrices and Systems of Linear Eqns.

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

Matrix & Linear Algebra

Transcription:

Section 6.2 Larger Systems of Linear Equations Gaussian Elimination In general, to solve a system of linear equations using its augmented matrix, we use elementary row operations to arrive at a matrix in a certain form. This form is described in the following box. In the following matrices the first matrix is in reduced row-echelon form, but the second one is just in row-echelon form. The third matrix is not in row-echelon form. The entries in red are the leading entries. 1

EXAMPLE: Solve the system of linear equations using Gaussian elimination. 4x+8y 4z = 4 3x+8y +5z = 11 2x+y +12z = 17 Solution: We first write the augmented matrix of the system, and then use elementary row operations to put it in row-echelon form. We now have an equivalent matrix in row-echelon form, and the corresponding system of equations is x+2y z = 1 y +4z = 7 z = 2 We use back-substitution to solve the system. So the solution of the system is ( 3,1, 2). 2

Gauss-Jordan Elimination If we put the augmented matrix of a linear system in reduced row-echelon form, then we don t need to back-substitute to solve the system. To put a matrix in reduced row-echelon form, we use the following steps. Use the elementary row operations to put the matrix in row-echelon form. Obtain zeros above each leading entry by adding multiples of the row containing that entry to the rows above it. Begin with the last leading entry and work up. The following matrices are in reduced row-echelon form. Using the reduced row-echelon form to solve a system is called Gauss-Jordan elimination. We illustrate this process in the next example. EXAMPLE: Solve the system of linear equations, using Gauss-Jordan elimination. 4x+8y 4z = 4 3x+8y +5z = 11 2x+y +12z = 17 Solution: In the previous Example we used Gaussian elimination on the augmented matrix of this system to arrive at an equivalent matrix in row-echelon form. We continue using elementary row operations on the last matrix in that Example to arrive at an equivalent matrix in reduced row-echelon form. We now have an equivalent matrix in reduced row-echelon form, and the corresponding system of equations x = 3 is y = 1. Hence we immediately arrive at the solution ( 3,1, 2). z = 2 3

Inconsistent and Dependent Systems The matrices below, all in row-echelon form, illustrate the three cases described in the box. EXAMPLE: Solve the system. x 3y +2z = 12 2x 5y +5z = 14 x 2y +3z = 20 Solution: We transform the system into row-echelon form. This last matrix is in row-echelon form, so we can stop the Gaussian elimination process. Now if we translate the last row back into equation form, we get 0x + 0y + 0z = 1, or 0 = 1, which is false. No matter what values we pick for x, y, and z, the last equation will never be a true statement. This means the system has no solution. 4

EXAMPLE: Find the complete solution of the system. 3x 5y +36z = 10 x+7z = 5 x+y 10z = 4 Solution: We transform the system into reduced row-echelon form. The third row corresponds to the equation 0 = 0. This equation is always true, no matter what values are used for x, y, and z. Since the equation adds no new information about the variables, we can drop it from the system. So the last matrix corresponds to the system Now we solve for the leading variables x and y in terms of the non-leading variable z: To obtain the complete solution, we let t represent any real number, and we express x, y, and z in terms of t: x = 7t 5 y = 3t+1 z = t We can also write the solution as the ordered triple (7t 5,3t+1,t), where t is any real number. EXAMPLE: Find the complete solution of the system. x+2y 3z 4w = 10 x+3y 3z 4w = 15 2x+2y 6z 8w = 10 5

EXAMPLE: Find the complete solution of the system. x+2y 3z 4w = 10 x+3y 3z 4w = 15 2x+2y 6z 8w = 10 Solution: We transform the system into reduced row-echelon form. This is in reduced row-echelon form. Since the last row represents the equation 0 = 0, we may discard it. So the last matrix corresponds to the system To obtain the complete solution, we solve for the leading variables x and y in terms of the non-leading variables z and w, and we let z and w be any real numbers. Thus, the complete solution is x = 3s+4t y = 5 z = s w = t wheresandtareanyrealnumbers. Wecanalsoexpresstheanswerastheorderedquadruple(3s+4t,5,s,t). 6

EXAMPLE: Solve the system of linear equations. Appendix Solution: To put this in triangular form, we begin by eliminating the x-terms from the second equation and the third equation. Now we eliminate the y-term from the third equation. The new third equation is true, but it gives us no new information, so we can drop it from the system. Only two equations are left. We can use them to solve for x and y in terms of z, but z can take on any value, so there are infinitely many solutions. To find the complete solution of the system we begin by solving for y in terms of z, using the new second equation. Then we solve for x in terms of z, using the first equation. To describe the complete solution, we let t represent any real number. The solution is x = 3t y = 2t+2 z = t We can also write this as the ordered triple ( 3t,2t+2,t). 7

EXAMPLE: Solve the system. { 3x1 +4x 2 = 1 x 1 2x 2 = 7 Solution: We start by writing the augmented matrix corresponding to system: [ ] 3 4 1 1 2 7 To get a 1 in the upper left corner, we interchange R 1 and R 2 : To get a 0 in the lower left corner, we multiply R 1 by 3 and add to R 2 this changes R 2 but not R 1. Some people find it useful to write ( 3R 1 outside the matrix to help reduce errors in arithmetic, as shown: To get a 1 in the second row, second column, we multiply R 2 by 1 10 : To get a 0 in the first row, second column, we multiply R 2 by 2 and add the result to R 1 this changes R 1 but not R 2 : We have accomplished our objective. The last matrix is the augmented matrix for the system { x1 = 3 x 2 = 2 The preceding process may be written more compactly as follows: 8

EXAMPLE: Solve by Gauss-Jordan elimination: 2x 1 2x 2 +x 3 = 3 3x 1 +x 2 x 3 = 7 x 1 3x 2 +2x 3 = 0 Solution: Write the augmented matrix and follow the steps indicated at the right. The solution to this system is x 1 = 2, x 2 = 0, x 3 = 1. 9

This is the augmented matrix of the system { x1 +3x 2 = 2 EXAMPLE: Solve the system. Solution: { 2x1 +6x 2 = 3 x 1 +3x 2 = 2 0 = 7 The second equation is not satisfied by any ordered pair of real numbers. Therefore the original system is inconsistent and has no solution. EXAMPLE: Solve by Gauss-Jordan elimination: 2x 1 4x 2 +x 3 = 4 4x 1 8x 2 +7x 3 = 2 2x 1 +4x 2 3x 3 = 5 Solution: The system has no solution. 10

EXAMPLE: Solve by Gauss-Jordan elimination: Solution: 3x 1 +6x 2 9x 3 = 15 2x 1 +4x 2 6x 3 = 10 2x 1 3x 2 +4x 3 = 6 Note that the leftmost variable in each equation appears in one and only one equation. We solve for the leftmost variables x 1 and x 2 in terms of the remaining variable, x 3 : { x1 = x 3 3 If we let x 3 = t, then for any real number t, x 2 = 2x 3 +4 x 1 = t 3 x 2 = 2t+4 x+3 = t One can check that ( t 3,2t+4,t) is a solution of the original system for any real number t. 11

EXAMPLE: Find the complete solution of the system. y +z 2w = 3 x+2y z = 2 2x+4y +z 3w = 2 x 4y 7z w = 19 Solution: The matrix is now in row-echelon form, and the corresponding system is x+2y z = 2 y +z 2w = 3 z w = 2 w = 3 Using back-substitution, you can determine that the solution is x = 1, y = 2, z = 1, and w = 3. 12