Section Gauss Elimination for Systems of Linear Equations

Similar documents
Section Gauss Elimination for Systems of Linear Equations

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

Section Gaussian Elimination

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

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.

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

1 - Systems of Linear Equations

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

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

9.1 - Systems of Linear Equations: Two Variables

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

Math 1314 Week #14 Notes

Chapter 1. Vectors, Matrices, and Linear Spaces

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

Section 2.1 Systems of Linear Equations: An Introduction

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

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

Math Week in Review #7

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

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

Matrix Solutions to Linear Equations

MAC Module 1 Systems of Linear Equations and Matrices I

Exercise Sketch these lines and find their intersection.

Linear Algebra I Lecture 8

Methods for Solving Linear Systems Part 2

7.6 The Inverse of a Square Matrix

CHAPTER 9: Systems of Equations and Matrices

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 1314 College Algebra 7.6 Solving Systems with Gaussian Elimination (Gauss-Jordan Elimination)

CHAPTER 9: Systems of Equations and Matrices

10.3 Matrices and Systems Of

Relationships Between Planes

Section 1.3: Gauss Elimination Method for Systems of Linear Equations

Solving Linear Systems Using Gaussian Elimination

Elementary Linear Algebra

System of Linear Equations

Section 6.2 Larger Systems of Linear Equations

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

Sections 6.1 and 6.2: Systems of Linear Equations

courses involve systems of equations in one way or another.

Gauss-Jordan Row Reduction and Reduced Row Echelon Form

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

M 340L CS Homework Set 1

Solving Systems of Linear Equations Using Matrices

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

Lecture 2 Systems of Linear Equations and Matrices, Continued

Row Reduction and Echelon Forms

March 19 - Solving Linear Systems

Lectures on Linear Algebra for IT

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.

Evaluating Determinants by Row Reduction

MTH 2530: Linear Algebra. Sec Systems of Linear Equations

Row Reduced Echelon Form

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

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

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:

MATH 54 - WORKSHEET 1 MONDAY 6/22

Solutions to Homework 5 - Math 3410

Lecture 7: Introduction to linear systems

Matrices and systems of linear equations

Lecture 12: Solving Systems of Linear Equations by Gaussian Elimination

Chapter 4. Solving Systems of Equations. Chapter 4

22A-2 SUMMER 2014 LECTURE 5

1 Last time: linear systems and row operations

Chapter 9: Systems of Equations and Inequalities

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

Elimination Method Streamlined

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

Linear Algebra I Lecture 10

Problem Sheet 1 with Solutions GRA 6035 Mathematics

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

Section Matrices and Systems of Linear Eqns.

1300 Linear Algebra and Vector Geometry

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

Chapter 2 Notes, Linear Algebra 5e Lay

CS123 INTRODUCTION TO COMPUTER GRAPHICS. Linear Algebra /34

Presentation by: H. Sarper. Chapter 2 - Learning Objectives

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

Math Studio College Algebra

Solving Systems of Linear Equations

MIDTERM 1 - SOLUTIONS

Math 3C Lecture 20. John Douglas Moore

Linear equations in linear algebra

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

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

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

4 Elementary matrices, continued

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

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 SYSTEMS, MATRICES, AND VECTORS

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

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

CHAPTER 8: MATRICES and DETERMINANTS

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

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

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

Section 1.1: Systems of Linear Equations

Chapter 1 Linear Equations. 1.1 Systems of Linear Equations

Transcription:

Section 4.3 - Gauss Elimination for Systems of Linear Equations What is a linear equation? What does it mean to solve a system of linear equations? What are the possible cases when solving a system of linear equations? Example 1: Solve the following system of linear equations: 4x 5y = 30 2x + y = 8 Example 2: Solve the following system of linear equations: 2x y = 1 6x 3y = 12 Example 3: Solve the following system of linear equations: 3x 7y = 4 6x 14y = 8 1

Note: We will first learn how to set-up the system in these word problems. We will later return to learn how to systematically solve these problems. Example 4: Jennifer has made it through her ten year class reunion. She is wanting to remember how many former classmates, spouses, and former teachers attended the reunion. She has lost her records but recalls that the ticket sales totaled $4,775. She charged $30 for each former classmate, $25 for each spouse, and $20 for each former teacher. She recalls that the number of former classmates and spouses combined was 130 more than the number of former teachers. She also recalls that there were five times as many former classmates there as spouses. Help Jennifer remember the number of former classmates, spouses, and former teachers that attended the reunion. Set-up the linear system: Example 5: An investment club has $200,000 earmarked for investment in stocks. To arrive at an acceptable overall level of risk, the stocks that management is considering have been classified into three categories: high-risk, medium-risk, and low-risk. Management estimates that high-risk stocks will have a rate of return of 15%/year; medium-risk stocks, 10%/year; and low-risk stocks, 6%/year. The members have decided that the investment in low-risk stocks should be equal to the sum of the investments in the stocks of the other two categories. Determine how much the club should invest in each type of stock if the investment goal is to have a return of $20,000/year on the total investment. (Assume that all of the money available for investment is invested.) Set-up the linear system: 2

Definitions: A matrix is an ordered rectangular array of numbers. A matrix with m rows and n columns has size m n. The entry in the ith row and jth column is denoted by a i j. Augmented Matrix: We can combine two matrices into one, visually separating them by a vertical line. This is useful when solving a system of equations. Gauss-Jordan Elimination This method allows us to strategically solve systems of linear equations. We perform operations on an augmented matrix that is formed by combining the coefficient matrix and the constant matrix as shown in the next example. Example 6: Find the intial augmented matrix for the system of equations below: a) 2x 4y = 10 y = 1 3x b) x 1 2x 2 = 10x 3 + 5 8x 2 = x 1 3x 3 4x 1 3x 3 = x 2 3

The goal of the Gauss-Jordan Elimination Method is to get the augmented matrix into Row Reduced Echelon Form. A matrix is in Row Reduced Echelon Form when: 1. Each row of the coefficient matrix consisting entirely of zeros lies below any other row having nonzero entries. 2. The first nonzero entry in each row is 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 contains a leading 1, then the other entries in that column are zeros. Note: We only consider the coefficient side (left side) of the augmented matrix when determining whether the matrix is in row-reduced echelon form. Example 7: Are the following in Row Reduced Echelon form? a) 1 0 0 0 0 1 0 0 0 0 1 3 b) 1 2 0 0 0 0 1 0 0 0 0 1 c) 1 2 0 0 0 0 1 3 0 0 2 1 To put a matrix in Row Reduced Echelon Form, there are three valid Row Operations: 1. Interchange any two rows (R i R j ) 2. Replace any row by a nonzero constant multiple of itself (cr i ) 3. Replace any row by the sum of that row and a constant multiple of any other row (R i + cr j ). Steps for Gauss Jordan Elimination: 1. Begin by transforming the top left corner element, a 11, into 1. This is your first pivot element. 2. Next, transform the other elements in its column into zeros using the 3 row operations. 3. Choose the next pivot element (diagonal down from the first pivot element) 4. Turn this 2nd pivot element into a 1, and transform the rest of its column into zeros. 5. Continue until the coefficient matrix resembles the identity matrix(1 s along the main-diagonal and 0 s everywhere else.) 4

Example 8: Solve the following system of equations using Gauss Jordan Elimination: 3x + y = 1 7x 2y = 1 Example 9: Solve the system that we set-up in Example 5. 5

Example 10: Solve the system that we set-up in Example 6. Note: Our calculator will put an augmented matrix into row-reduced form for us. This only works when the # of rows is less than or equal to # of columns. Below are the steps you must follow: 1. Enter the augmented matrix into your calculator. 2. Go to your home screen. 3. Press MATRIX, cursor right to MATH, and select B:rref. 4. Call the matrix you want to reduce and hit ENTER. We will use the calculator for working the problems in the next section. You are responsible for knowing how to do the Gauss-Jordan Method by hand, but always remember that you can check your work with the calculator. Section 4.3 Homeowork Problems: 1, 5, 9, 13, 17, 21, 25, 27, 29, 31, 35, 37, 39, 41, 45 6

Section 4.4 - Systems of Linear Equations with Non-Unique Solutions We are using the same process from Section 4.3 but now our solutions will not always be unique. Example 1: Solve the following system: x + y + 2z = 3 2x y + 3z = 7 x 2y + 5z = 0 Example 2: Solve the following system: x + 2y 3z = 2 3x y 2z = 1 2x + 3y 5z = 3 7

Example 3: Solve the following systems: a) x + y = 7 2x + 3y = 8 4x y = 3 b) x + y = 7 2x + 3y = 8 5x 5y = 35 Theorem: We have the following theorem concerning the number of equations and the number of variables in a system: If the number of equations is greater than or equal to the number of variables, the system will have either a unique solution, no solution, or infinitely many solutions. If the number of equations is fewer than the number of variables, the system will have either no solution or infinitely many solutions. 8

Example 4: Solve the following system: 4x 2 3x 3 5x 4 = 7 x 1 2x 2 + 3x 4 = 8 Section 4.4 Homework Problems: 7, 9, 11, 13, 15, 17, 21, 25, 29, 33, 37, 41, 45, 51, 53, 57 9