Methods for Solving Linear Systems Part 2

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

1 - Systems of Linear Equations

Lecture 2 Systems of Linear Equations and Matrices, Continued

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

Solving Linear Systems Using Gaussian Elimination

Lesson 3. Inverse of Matrices by Determinants and Gauss-Jordan Method

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

7.6 The Inverse of a Square Matrix

Matrices and Determinants

MAC Module 1 Systems of Linear Equations and Matrices I

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

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

Section 5.3 Systems of Linear Equations: Determinants

Lectures on Linear Algebra for IT

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

Lecture 12: Solving Systems of Linear Equations by Gaussian Elimination

CHAPTER 8: Matrices and Determinants

MAC Learning Objectives. Learning Objectives (Cont.) Module 10 System of Equations and Inequalities II

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

Section 6.2 Larger Systems of Linear Equations

4 Elementary matrices, continued

Gauss-Jordan Row Reduction and Reduced Row Echelon Form

Linear Algebra I Lecture 8

Relationships Between Planes

4 Elementary matrices, continued

Lecture 10: Determinants and Cramer s Rule

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

Chapter 4. Solving Systems of Equations. Chapter 4

Math 1314 Week #14 Notes

9.1 - Systems of Linear Equations: Two Variables

6-2 Matrix Multiplication, Inverses and Determinants

Problem Sheet 1 with Solutions GRA 6035 Mathematics

Linear System Equations

Linear Algebra Math 221

1 Last time: linear systems and row operations

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

Solving Systems of Linear Equations Using Matrices

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

Lecture 7: Introduction to linear systems

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

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

Section Gaussian Elimination

Exercise Sketch these lines and find their intersection.

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

Elementary Linear Algebra

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

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

Math 4A Notes. Written by Victoria Kala Last updated June 11, 2017

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

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

EXAM. Exam #1. Math 2360, Second Summer Session, April 24, 2001 ANSWERS

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

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

Chapter 1. Vectors, Matrices, and Linear Spaces

MATH 213 Linear Algebra and ODEs Spring 2015 Study Sheet for Midterm Exam. Topics

System of Linear Equations

Math 2331 Linear Algebra

3 Fields, Elementary Matrices and Calculating Inverses

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

Solving Systems of Linear Equations

Notes on Row Reduction

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

Linear Algebra I Lecture 10

Elementary maths for GMT

Linear Equations in Linear Algebra

Linear Equations in Linear Algebra

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

POLI270 - Linear Algebra

Math 3C Lecture 20. John Douglas Moore

Linear Algebra. Matrices Operations. Consider, for example, a system of equations such as x + 2y z + 4w = 0, 3x 4y + 2z 6w = 0, x 3y 2z + w = 0.

PH1105 Lecture Notes on Linear Algebra.

MIDTERM 1 - SOLUTIONS

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

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

22A-2 SUMMER 2014 LECTURE 5

Digital Workbook for GRA 6035 Mathematics

Lectures on Linear Algebra for IT

Elementary Matrices. MATH 322, Linear Algebra I. J. Robert Buchanan. Spring Department of Mathematics

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

Matrices and systems of linear equations

Lecture Notes: Solving Linear Systems with Gauss Elimination

INVERSE OF A MATRIX [2.2]

Lemma 8: Suppose the N by N matrix A has the following block upper triangular form:

Introduction to Determinants

Formula for the inverse matrix. Cramer s rule. Review: 3 3 determinants can be computed expanding by any row or column

MATRICES. knowledge on matrices Knowledge on matrix operations. Matrix as a tool of solving linear equations with two or three unknowns.

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

Linear Algebra Practice Problems

March 19 - Solving Linear Systems

ECON 186 Class Notes: Linear Algebra

Lecture 1 Systems of Linear Equations and Matrices

CHAPTER 9: Systems of Equations and Matrices

Fundamentals of Linear Algebra. Marcel B. Finan Arkansas Tech University c All Rights Reserved

Lecture 4: Gaussian Elimination and Homogeneous Equations

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

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

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

Name: MATH 3195 :: Fall 2011 :: Exam 2. No document, no calculator, 1h00. Explanations and justifications are expected for full credit.

System of Linear Equations

Chapter 2:Determinants. Section 2.1: Determinants by cofactor expansion

Transcription:

Methods for Solving Linear Systems Part 2 We have studied the properties of matrices and found out that there are more ways that we can solve Linear Systems. In Section 7.3, we learned that we can use matrices and elementary row operations to solve Linear Systems using Gaussian and Gauss-Jordan Elimination. This was very similar to the regular Gaussian Elimination method which directly uses the equations of a Linear System. Now that we have learned about determinants and inverses of matrices, we can solve our previous problem again using Cramer s Rule [Section 7.4] and Inverse Matrices [Section 7.7]. Consider, again, the following example: Cramer s Rule Cramer s Rule for 3 variables states if we have the linear system, then,, and where,,, and. We must remember that there are limitations to Cramer s Rule. The value of must not be zero since dividing by zero is undefined. If is zero, this means that the system is inconsistent (no solution) or the system is consistent with dependent equations (infinite solutions). Therefore if we find out that = 0, we cannot use Cramer s Rule and we must resort to other methods like Gaussian Elimination. This also means that if 0, the system is consistent and the equations are independent. So if we can use Cramer s Rule we will always get only one solution. Let s solve our Linear System. Always determine first because if we find out that = 0 after we do other work, then we have wasted our valuable time. This is a determinant of a 3x3 matrix. Recall that the determinant of a 3x3 matrix is the sum of entries of any row or column of the matrix multiplied by their respective cofactors. We can choose any row or column. Let s choose the first row.

Therefore, are the cofactors where. example, are the minors and are the 2x2 determinants after eliminating the th row and th column. For is the determinant after eliminating the 1 st row and 3 rd column. Lastly, the determinant of a 2x2 matrix is: Since 0, we can use Cramer s Rule. This also means that we have a consistent system with independent equations. Therefore we will get only one solution. Let s now determine,, and : (First column) I arbitrarily chose the first column to determine this determinant. Choosing any other row or column would still give me the exact same answer.

(Second row) (First row) Note that choosing the first row (or if I chose first column) made my work much easier since I only had to deal with two determinants, not three, because of the zero. Either row or column will get the same answer but choosing a specific one may take you less time and work. Consider this when you are calculating the determinant of a 3x3 matrix. Now we can find,, and : Therefore, the solution set is

Solving a Linear System using an Inverse Matrix Yet another way we can solve a linear system is to convert it into Matrix Form, AX = B. System of Equation Matrix Form We can check that this is true by performing matrix multiplication to obtain our three equations. Our goal is to determine values for,, and. Therefore, we want to get a matrix equation for X. We now perform matrix algebra: AX = B (Given Matrix Equation) A -1 (AX) = A -1 B (Multiply A -1 on both sides of equations. Note: Multiply on left side of each side of the equation) (A -1 A)X = A -1 B (Associative Property) IX = A -1 B (A -1 A = I, where I is the Identity Matrix) X = A -1 B (IX = X for any X since I is the Identity Matrix) Therefore, we can solve our Linear System by computing the inverse of A and multiply it with B. Recall from our lecture the steps to calculate A -1 : 1) Form augmented matrix [ A I ] 2) Use elementary row operations to transform A into I: [ A I ] [ I C ]. C = A -1 3) Check work by showing AA -1 = I Step 1 Step 2 Our goal is to convert [ A I ] into Reduced Row Echelon Form. Our hope is that we convert it into the form [ I C ]. If we can, then C = A -1. If we cannot convert the left hand side of the augmented matrix into the identity matrix, I, then A does not have an inverse. This occurs when we get a row of all zeros on the left hand side of the augmented matrix. Additional Side Note Cramer s Rule stated: One unique solution (Consistent System and Independent Equations). This says if the determinant of A is not zero, then we have only one solution. There is an important theorem in Linear Algebra which is not in the textbook but worth a mention. It states that: A is invertible (i.e. A has an inverse) if and only if Therefore, when we use inverse matrices and can convert [ A I ] into [ I C ], this means that A is invertible. If A has an inverse, then. If then there is only one solution (Consistent System and Independent Equations). Therefore, the method of solving Linear Systems using Inverse Matrices can only work if there is only one solution just like Cramer s Rule! When the inverse doesn t exist (or when ), you have to go back to using methods like Gaussian Elimination from Sections 7.2 and 7.3. Gaussian Elimination can deal with any scenario.

We now use row operations on [ A I ]: Interchange Rows Multiply Row by Non-Zero Constant Multiply Row by Non-Zero Constant and We have converted [ A I ] into [ I C ], where Step 3 We check that AA -1 = I.

So, X = A -1 B Since then. Therefore, the solution set is We have now solved the same Linear System using regular Gaussian Elimination, Matrix Gaussian Elimination, Matrix Gauss-Jordan Elimination, Cramer s Rule, and Inverse Matrices. Remember that Cramer s Rule and Inverse Matrices are a powerful method but only work when there is one solution (Consistent System with Independent Equations). The other methods, however, can deal with Inconsistent Systems (no solutions) and Consistent Systems with Dependent Equations (infinite solutions).