Section 5.3 Systems of Linear Equations: Determinants

Similar documents
Methods for Solving Linear Systems Part 2

ECON 186 Class Notes: Linear Algebra

Relationships Between Planes

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

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

Matrices and RRE Form

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

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

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

MATH 54 - WORKSHEET 1 MONDAY 6/22

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

Lecture 12: Solving Systems of Linear Equations by Gaussian Elimination

Solving Linear Systems Using Gaussian Elimination

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

4 Elementary matrices, continued

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

4 Elementary matrices, continued

Linear Equations in Linear Algebra

Math 1314 Week #14 Notes

Linear Equations in Linear Algebra

Notes on Row Reduction

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

Elementary maths for GMT

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

Chapter 1: Systems of Linear Equations

Chapter 9: Systems of Equations and Inequalities

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

1 - Systems of Linear Equations

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

8.4. Systems of Equations in Three Variables. Identifying Solutions 2/20/2018. Example. Identifying Solutions. Solving Systems in Three Variables

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

Matrices and Determinants

Section 1.1: Systems of Linear Equations

Math 2331 Linear Algebra

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

Chapter 1. Vectors, Matrices, and Linear Spaces

Linear Algebra I Lecture 8

System of Linear Equations

Linear Systems and Matrices

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

UNIT 1 DETERMINANTS 1.0 INTRODUCTION 1.1 OBJECTIVES. Structure

System of Linear Equations

Lectures on Linear Algebra for IT

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

Chapter 3. Determinants and Eigenvalues

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

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

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

Handout 1 EXAMPLES OF SOLVING SYSTEMS OF LINEAR EQUATIONS

1 Determinants. 1.1 Determinant

Chapter 1: Systems of Linear Equations and Matrices

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

Introduction to Determinants

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

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

Exercise Sketch these lines and find their intersection.

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

Graduate Mathematical Economics Lecture 1

Undergraduate Mathematical Economics Lecture 1

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

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

POLI270 - Linear Algebra

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

Section 6.2 Larger Systems of Linear Equations

Gauss-Jordan Row Reduction and Reduced Row Echelon Form

Lecture 1 Systems of Linear Equations and Matrices

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

1 Last time: linear systems and row operations

Matrices and Systems of Equations

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

PH1105 Lecture Notes on Linear Algebra.

Lecture 2 Systems of Linear Equations and Matrices, Continued

CHAPTER 8: Matrices and Determinants

Chapter 4. Solving Systems of Equations. Chapter 4

Lecture 7: Introduction to linear systems

MAC Module 1 Systems of Linear Equations and Matrices I

Lecture Notes: Solving Linear Systems with Gauss Elimination

Determinants Chapter 3 of Lay

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

Matrices. In this chapter: matrices, determinants. inverse matrix

CHAPTER 9: Systems of Equations and Matrices

MTHSC 3110 Section 1.1

Linear System Equations

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.

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

A Review of Matrix Analysis

Matrices and systems of linear equations

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.

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

Linear Algebra I Lecture 10

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

Linear Algebra: Lecture Notes. Dr Rachel Quinlan School of Mathematics, Statistics and Applied Mathematics NUI Galway

1111: Linear Algebra I

9.1 - Systems of Linear Equations: Two Variables

Section Gaussian Elimination

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

Math 313 Chapter 1 Review

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

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

Digital Workbook for GRA 6035 Mathematics

Transcription:

Section 5. Systems of Linear Equations: Determinants In this section, we will explore another technique for solving systems called Cramer's Rule. Cramer's rule can only be used if the number of equations matches the number of variables. Also, if the problem consists of a system of linear dependent equations, then Cramer's Rule only tells us that our equations are dependent. Cramer's Rule works by using what are called determinants. Objective : Evaluate x determinants. If a matrix has the same number of rows and columns, it is called a square matrix. Every square matrix has a real number associated with it called its determinant. The determinant is defined as follows for matrices: Determinants The determinant for matrix is denoted as a b a b and is defined as: a b a b = a b a b. It is almost like cross multiplication except we are subtracting instead of setting the products equal. Evaluate the following: Ex. 5 4 Ex. 5 = 5() 4( ) = 5 + = 7. 4 = ( ) () = 9 4 =.

Objective : Cramer s Rule for Solving a System of Two Linear Equations in Two Variables Cramer s Rule for x Systems For the system: ax + by = s (the equations must be in standard form) cx + dy = t We can first calculate the following determinants: D = a b D x = s b D y = a s c d t d c t Then, the solution to the system is x = D x and y = D y D D If D =, and if either D x or D y or both are not zero, then system is inconsistent. If D, D x, and D y are all zero, then the equations are dependent. We must then use another technique to solve the system. To find D x, replace the coefficients for x in the determinant by the constant terms. To find D y, replace the coefficients for y in the determinant by the constant terms. To see where Cramer s Rule comes from, let us solve the following system using the elimination method. Solve using elimination: Ex. ax + by = s cx + dy = t Let s first eliminate x. c eqn. # + a eqn. #: c ) acx cby = cs a ) acx + ady = at ady cby = at cs (factor out y) (ad cb)y = at cs (solve for y) y = at cs ad cb But at cs = a c s t = D y and ad cb = a b c d = D.So, y = D y D. Now, let s eliminate y. d eqn. # + b eqn. #: d ) adx + bdy = ds b ) cbx bdy = bt

adx cbx = ds bt (factor out x) (ad cb)x = ds bt (solve for x) x = ds bt ad cb But ds bt = s b t d = D x and ad cb = a b c d = D. So, x = D x Solve using Cramer s Rule: Ex. 4 5x y = 4x + y = 7 D = 5 = 5() 4( ) = 5 + = 7. 4 D x = = () 7( ) = + = 4. 7 D y = 5 = 5(7) 4() = 5 5 = 7. 4 7 x = D x D = 4 7 = and y = D y D So, the solution is (, ). = 7 7 =. Ex. 5 6x 4y = 9x + 6y = 8 6 4 D = = 6(6) ( 9)( 4) = 6 6 =. 9 6 4 D x = = (6) ( 8)( 4) = 7 7 = 8 6 6 D y = = 6( 8) ( 9)() = 8 + 8 = 9 8 The system is dependent. Solve for y: 6x 4y = 4y = 6x + y =.5x So, the solution is { (x, y) y =.5x, x is any real number}. D.

4 Objective : Understanding and evaluating determinants. The determinant will have the form: a a a a a a a a a Before we can find the determinant for an n n matrix with n being or higher, we need to define the minor and cofactors of an entry of the determinant. Minors For any n n determinant, the minor of M ij of entry a ij is the determinant of the matrix with the i th row and j th column deleted. Hence, minor M can be found be crossing out the second row and third column where as the minor M can be found by crossing out the third row and first column. M = a a a a a a = a a a a a a a M = a a a a a a = a a a a a a a Cofactor For any n n determinant, the cofactor of entry a ij, denoted by A ij, is given by: A ij = ( ) i + j M ij where M ij is the minor of a ij. Find the following cofactors of the given matrix on the right: Ex. 6a A 4 Ex. 6b A 5 7 4 8 a) A = ( ) + 5 7 4 4 8 b) A = ( ) + 5 7 4 4 8 = ( ) 4 7 = ( ) 4 4 5 7 = ( + 8) = 6 = ( 4 ) = 4

Evaluating an n n determinant To calculate the value of an n n determinant, multiply each entry in any column or row by its corresponding cofactor and add the results. The process is called expanding across a column or row. Evaluate the following: Ex. 7 Ex. 8 4 Expand across column #: = ( ) 4 + ( ) 4 + ( )4 4 = [( ) 4( )] [( )( ) 4()] + [( )( ) ()] = [ ] [ ] + [ ] = 4 + = 6. 4 Expand across row #: 4 = ( ) 4 + ( )4 + ( 4 )5 = [4() ()] + [()() ()] [()() (4)] = [ ] + [] [] = + =. Objective 4: Cramer s Rule for solving a system of three linear equations in three variables. We will now state Cramer s Rule for solving a system of three linear equations in three variables. The proof of Cramer s Rule is quite a bit more complicated than the proof of Cramer s Rule for x systems and it will be omitted. The proof does follow the same spirit as for the x systems. 5

6 Cramer s Rule for x Systems For the system: a x + a y + a z = c a x + a y + a z = c a x + a y + a z = c We can first calculate the following determinants: a a a c a a D = a a a D x = c a a a a a c a a D y = a c a a c a D z = a c a Then, the solution to the system is a a c a a c a a c x = D x D, y = D y D, and z = D z D If D, D x, D y, and D z are all zero, then the system is dependent and there are an infinite number of solutions. If D is zero and if at least one of D x, D y, and D z is not zero, then the system inconsistent and has no solution. To find D x, replace the coefficients for x in the determinant by the constant term. To find D y, replace the coefficients for y in the determinant by the constant term. To find D z, replace the coefficients for z in the determinant by the constant term. Solve the following systems using Cramer s Rule: Ex. 9 x + y z = 6 x + y + z = 4 x 5y + 6z = 9 Expand across column #: D = = ( ) 5 6 ( ) 5 6 + ( )4 5 6 = (8 ( 5)) + ( 5) + ( ( )) = 69 + 7 + = 86.

7 Expand across column #: 6 D X = 4 = 6( ) 5 6 + 4( ) 5 6 + 9( )4 9 5 6 = 6(8 ( 5)) 4( 5) + 9( ( )) = 8 8 + 45 = 55. Expand across column #: 6 D y = 4 = ( ) 4 9 6 ( 6 ) 9 6 + ( 6 )4 4 9 6 = (4 9) + (6 ( 9)) + (6 ( 4)) = 45 + 45 + =. Expand across column #: 6 D z = 4 = ( ) 4 5 9 ( 6 ) 5 9 + ( 6 )4 4 5 9 = (7 ( )) + (8 ( )) + (8 8) = 4 + 48 = 69. Thus, x = D X D = 55 86, y = D y D = 86 = 55 4, z = D z D = 69 86 55 So, the solution is ( 86, 55 4, 69 86 ). Ex. y + 6z = 7 x y + z = x + y + z = Expand across column #: D = 6 = ( ) ( 6 ) + ( 6 )4 = ( 4) + ( ) + (4 + 6) = + = Expand across row #: 7 6 D X = = ( ) 6 ( 7 6 )4 + ( 7 )5 = ( ) (7 + ) (4 + 4) = 9 6 = 55. Since D =, but D x, then the system is inconsistent. There is no solution.

Ex. x + y + z = x + y + z = 5 x y = 4 Expand across row #: D = = ( ) 4 ( )5 + ( )6 = ( ) + ( + ) + ( + ) = + + = Expand across column #: D X = 5 = ( ) 4 5 4 + ( )5 4 + ( )6 5 4 = ( 5 + 8) ( + 4) + ( 5) = + = 8 Expand across column #: D y = 5 = ( ) 4 5 4 + ( )5 4 + ( )6 5 4 = (4 ) ( 4 ) + (5 + ) = 6 + 6 + = Expand across column #: D z = 5 = ( ) 5 4 ( ) 4 + ( )4 5 4 = ( 8 + 5) + ( 4 + ) + (5 ) = + ( ) + 6 = Since D, D x, D y, D z are all zero, the equations are dependent. We will have to use one of our other techniques to find the solution. Write as an augmented matrix: 5 4 Use the elementary row operations to get in row echelon form:

9 5 4 6 6 6 6 R = r + r 6 6 R = r R = r r Thus, our system is: x + z = x = z y + z = y = z + Hence, the solution is: {(x, y, z) x = z, y = z +, z is any real number}. Objective 5: Properties of Determinants. Property #: The value of the determinant changes signs if you interchange any two rows or interchange any two columns. To illustrate, let's interchange column # and # and compare the determinants: D = 5 4 = 5() 4( ) = 5 + = 7. D = 5 4 = (4) (5) = 5 = 7. R = r + r R = r r

Property #: If all the entries of any row or column are zeros, the determinant is zero. To prove this, expand the determinant across the row or column that contains all zeros for entries. Thus, all the cofactor will be multiplied by which will yield a determinant of. 4 Property #: If any two rows or any two columns of a determinant have corresponding entries that are equal, the value of the determinant is zero. To illustrate this, let row # and row # be the same. 5 = ( ) 5 5 ( ) 5 ( )4 5 5 = ( ) + (5 ) (5 ) = + = Property #4: If any row or column of a determinant is multiplied by a nonzero number k, the value of the determinant is changed by a factor of k. To illustrate this, multiply every entry in row # by and compare to the original determinant: D = 5 = 5() 4( ) = 5 + = 7. 4 D = 5 = 5() 8( ) = + 4 = 4 = 7. 8 Property #5: If the entries of any row or any column of a determinant are multiplied by a nonzero constant k and added to the corresponding entries of another row or column, the value of the determinant is unchanged. To illustrate this, add r to row # and compare to the original determinant: D = 5 = 5() 4( ) = 5 + = 7. 4 5 D = = 5( 5) 4( ) = 5 + 4 = 7. 4 5