Section 1.3: Gauss Elimination Method for Systems of Linear Equations

Similar documents
Section 2.1 Systems of Linear Equations: An Introduction

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

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

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.

Exercise Sketch these lines and find their intersection.

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

Math 1314 College Algebra 7.6 Solving Systems with Gaussian Elimination (Gauss-Jordan Elimination)

Linear Algebra I Lecture 8

Linear Algebra I Lecture 10

Section Gaussian Elimination

CHAPTER 9: Systems of Equations and Matrices

9.1 - Systems of Linear Equations: Two Variables

Lecture 2 Systems of Linear Equations and Matrices, Continued

Section Gauss Elimination for Systems of Linear Equations

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

CHAPTER 9: Systems of Equations and Matrices

March 19 - Solving Linear Systems

System of Linear Equations. Slide for MA1203 Business Mathematics II Week 1 & 2

1 - Systems of Linear Equations

Math 1314 Week #14 Notes

Week 1 (8/24/2004-8/30/2004) Read 2.1: Solution of linear system by the Echelon method

Basic Algebra: Unit 5 Systems of Linear Equations and Inequalities. Solving Systems of linear equations in two unknown variables using algebra

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

a. Define your variables. b. Construct and fill in a table. c. State the Linear Programming Problem. Do Not Solve.

Section Gauss Elimination for Systems of Linear Equations

Row Reduction and Echelon Forms

LECTURES 4/5: SYSTEMS OF LINEAR EQUATIONS

System of Linear Equations

Lectures on Linear Algebra for IT

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

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

Methods for Solving Linear Systems Part 2

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

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

1 Last time: linear systems and row operations

Linear Equations in Linear Algebra

Linear Equations in Linear Algebra

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

1300 Linear Algebra and Vector Geometry

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

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

10.3 Matrices and Systems Of

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

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

Solving Linear Systems Using Gaussian Elimination

7.6 The Inverse of a Square Matrix

Lecture 12: Solving Systems of Linear Equations by Gaussian Elimination

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

Relationships Between Planes

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

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

Problem Sheet 1 with Solutions GRA 6035 Mathematics

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

Math Week in Review #7

Section 1.1: Systems of Linear Equations

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

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

Intermediate Algebra

MTH 2530: Linear Algebra. Sec Systems of Linear Equations

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

Lecture 4: Gaussian Elimination and Homogeneous Equations

MTHSC 3110 Section 1.1

Lecture 7: Introduction to linear systems

Definition of Equality of Matrices. Example 1: Equality of Matrices. Consider the four matrices

For updated version of this document see LINEAR EQUATION. Chickens and Rabbits

Row Reduced Echelon Form

MAC Module 1 Systems of Linear Equations and Matrices I

Gauss-Jordan Elimination for Solving Linear Equations Example: 1. Solve the following equations: (3)

Elementary 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

1111: Linear Algebra I

Matrix Solutions to Linear Equations

If A is a 4 6 matrix and B is a 6 3 matrix then the dimension of AB is A. 4 6 B. 6 6 C. 4 3 D. 3 4 E. Undefined

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

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

MATH 54 - WORKSHEET 1 MONDAY 6/22

Linear equations The first case of a linear equation you learn is in one variable, for instance:

. =. a i1 x 1 + a i2 x 2 + a in x n = b i. a 11 a 12 a 1n a 21 a 22 a 1n. i1 a i2 a in

Lecture 1 Systems of Linear Equations and Matrices

continued Lesson 3-2 Solving Systems of Three Equations in Three Variables ACTIVITY 3

Section 6.2 Larger Systems of Linear Equations

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

Gauss-Jordan Row Reduction and Reduced Row Echelon Form

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

Finite Mathematics MAT 141: Chapter 4 Notes

M 340L CS Homework Set 1

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

1 System of linear equations

Name: Section Registered In:

Matrices and Systems of Equations

Solving Systems of Linear Equations

Math 1070 Exam 2. March 16, 2006

Chapter 1: Linear Equations

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.

Matrices, Row Reduction of Matrices

3.4 Elementary Matrices and Matrix Inverse

Math 1070 Exam 2. March 16, 2006

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

Chapter 1: Linear Equations

Transcription:

Section 1.3: Gauss Elimination Method for Systems of Linear Equations In this section we will consider systems of equations with possibly more than two equations, more than two variables, or both. Below is an example of three equations with four variables. 2x 3y + z 4w = 12 x 2y + 5z 9w = 33 7x + 3y 4z + 6w = 23 Before learning a new technique for solving systems of equations, we will first discuss how to setup a system of equations from a word problem. For the following two examples, we will setup but not solve the resulting system of equations. Example 1: An insurance company has three types of documents to process: contracts, leases, and policies. Each contract needs to be examined for 2 hours by the accountant and for 3 hours by the attorney, each lease needs to be examined for 4 hours by the accountant and 1 hour by the attorney, and each policy needs to be examined for 2 hours by the accountant and 2 hour by the attorney. The company processes twice as many policies as contracts and leases combined. If the accountant has 40 hours and the attorney has 30 hours each week to spend working on these documents, how many documents of each type can they process each week? Note: ALWAYS define your variables when setting up a problem

Example 2: The Johnson Farm has 500 acres of land allotted for cultivating corn and wheat. The cost of cultivating corn and wheat (including seeds and labor) is $44 and $28 per acre, respectively. Jacob Johnson has $15, 600 available for cultivating these crops. If he wishes to use all the allotted land and his entire budget for cultivating these two crops, how many acres of each crop should he plant? Three Possible Outcomes for system of Linear Equations a) The system has one and only one solution. (Unique solution) b) The system has infinitely many solutions. c) The system has no solution. Unique Solution: 3x + 3y = 6 2x + y = 2 2 Spring 2018, Maya Johnson

Infinitely Many Solutions: 2x + 2y = 4 4x + 4y = 8 No Solution: 2x + 3y = 6 2x 3y = 2 A is an ordered rectangular array of numbers. Augmented Matrices The system of equations 2x + 4y 8z = 22 3x 8y + 5z = 27 x 7z = 33 can be represented as the following augmented matrix 2 4 8 3 8 5 1 0 7 22 27 33 Example 3: What value is in row 1, column 2 of the above matrix? 3 Spring 2018, Maya Johnson

Example 4: Find the augmented matrix for the following system of equations. 9x + 5y 10z = 11 4x 12y + 17z = 37 x 2y = 45 Example 5: Find the system of equations for the following augmented matrix. 10 0 6 29 30 9 0 31 1 19 12 10 In order to solve the system, we need to reduce the matrix to a form where we can readily identify the solution. A Matrix is in Row-Reduced Form when: 1. Each row consisting entirely of zeros lies below all rows having nonzero entries 2. The first nonzero entry in each (nonzero) row is a 1 (called a leading 1). 3. In any two successive (nonzero) rows, the leading 1 in the lower row lies to the right of the leading 1 in the upper row. 4. If a column in the coefficient matrix has a leading 1, then the other entries in the column are zeros. Example 6: Which of the matrices below are in row-reduced form? 1 0 6 9 0 1 8 1 0 0 0 0 1 0 6 2 0 0 0 0 0 1 12 6 Row Operations 1. Interchange any two rows. 2. Replace any row by a nonzero constant multiple of itself. 3. Replace any row by the sum of that row and a constant multiple of any other row. 4 Spring 2018, Maya Johnson

Notation for Row Operations Letting R i denote the ith row of a matrix, we write: Operation 1. R i R j Interchange row i with row j. Operation 2. cr i to mean: Replace row i with c times row i. Operation 3. R i + ar j to mean: Replace row i with the sum of row i and a times row j. Unit Column A column in a coefficient matrix is called a unit column if one of the entries is a 1 and the other entries are zeros. Note: If you transform a column in a coefficient matrix into a unit column then this is called pivotting on that column. Example 7: Pivot the matrix below about the entry in row 1, column 1 3 6 12 9 2 2 1 3 4 5 2 8 The Gauss-Jordan Elimination Method 1. Write the augmented matrix corresponding to the Linear system. 2. Begin by transforming the entry in row 1 column 1 into a 1. This is your first pivot element. 3. Next, transform every other entry in column 1 into a zero using the (3) row operations. (Make column 1 a unit column) 4. Choose the next pivot element (usually element in row 2 column 2) 5. Transform this 2nd pivot element into a 1, and every other entry in that column into a zero. 6. Continue until the final matrix is in row-reduced form. 5 Spring 2018, Maya Johnson

You can determine the solution from the row-reduced matrix by turning it back into a system of equations. Example 8: Solve the following system of linear equations using the Gauss-Jordan elimination method. a) 2x + 6y = 1 6x + 8y = 10 From this moment on, you may use the calculator function rref to perform the gauss-jordan elimination method to put a matrix into row-reduced form, and thus solve the system of equations!!! Calculator steps for using rref can be found in a link directly under these lecture notes on the course webpage. b) 2x + 2y = 4 3x + 6y = 5 c) 2x 1 + x 2 x 3 = 3 3x 1 + 2x 2 + x 3 = 8 x 1 + 2x 2 + 2x 3 = 4 6 Spring 2018, Maya Johnson

Example 9: A person has four times as many pennies as dimes. If the total face value of these coins is $1.26, how many of each type of coin does this person have? (Use gauss-jordan ) Example 10: Cantwell Associates, a real estate developer, is planning to build a new apartment complex consisting of one-bedroom units and two- and three-bedroom townhouses. A total of 168 units is planned, and the number of family units (two- and three-bedroom townhouses) will equal the number of one-bedroom units. If the number of one-bedroom units will be 3 times the number of three-bedroom units, find how many units of each type will be in the complex. 7 Spring 2018, Maya Johnson