Determinants and Cramer's Rule

Similar documents
6.4 Determinants and Cramer s Rule

MATH 2050 Assignment 8 Fall [10] 1. Find the determinant by reducing to triangular form for the following matrices.

ENGR-1100 Introduction to Engineering Analysis. Lecture 21. Lecture outline

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

ENGR-1100 Introduction to Engineering Analysis. Lecture 21

Methods for Solving Linear Systems Part 2

MATRIX DETERMINANTS. 1 Reminder Definition and components of a matrix

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

Section 5.3 Systems of Linear Equations: Determinants

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

Elementary maths for GMT

Math 240 Calculus III

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

Linear Algebra and Vector Analysis MATH 1120

Matrices: 2.1 Operations with Matrices

Determinants Chapter 3 of Lay

Matrix Operations: Determinant

Evaluating Determinants by Row Reduction

MATRICES. a m,1 a m,n A =

Linear Algebra I Lecture 8

Sections 6.1 and 6.2: Systems of Linear Equations

Matrices and Determinants

MATRICES The numbers or letters in any given matrix are called its entries or elements

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

CHAPTER 8: Matrices and Determinants

POLI270 - Linear Algebra

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

Introduction to Determinants

Lecture 8: Determinants I

Chapter 3. Determinants and Eigenvalues

ANALYTICAL MATHEMATICS FOR APPLICATIONS 2018 LECTURE NOTES 3

MATH Topics in Applied Mathematics Lecture 12: Evaluation of determinants. Cross product.

22m:033 Notes: 3.1 Introduction to Determinants

Matrices. A matrix is a method of writing a set of numbers using rows and columns. Cells in a matrix can be referenced in the form.

For comments, corrections, etc Please contact Ahnaf Abbas: Sharjah Institute of Technology. Matrices Handout #8.

sum of squared error.

Chapter 4. Determinants

n n matrices The system of m linear equations in n variables x 1, x 2,..., x n can be written as a matrix equation by Ax = b, or in full

Calculus for Engineers II - Sample problems on Matrices. Manuela Kulaxizi

Topic 15 Notes Jeremy Orloff

TOPIC III LINEAR ALGEBRA

Determinant of a Matrix

Kevin James. MTHSC 3110 Section 2.1 Matrix Operations

4 Elementary matrices, continued

MATH 260 LINEAR ALGEBRA EXAM II Fall 2013 Instructions: The use of built-in functions of your calculator, such as det( ) or RREF, is prohibited.

Chapter 1: Systems of Linear Equations and Matrices

4. Determinants.

Materials engineering Collage \\ Ceramic & construction materials department Numerical Analysis \\Third stage by \\ Dalya Hekmat

Unit 1 Matrices Notes Packet Period: Matrices

4 Elementary matrices, continued

1. Linear systems of equations. Chapters 7-8: Linear Algebra. Solution(s) of a linear system of equations (continued)

Notes on Determinants and Matrix Inverse

Matrix Solutions to Linear Equations

Chapter 2 Notes, Linear Algebra 5e Lay

5 Systems of Equations

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

1 Multiply Eq. E i by λ 0: (λe i ) (E i ) 2 Multiply Eq. E j by λ and add to Eq. E i : (E i + λe j ) (E i )

Chapter 4 - MATRIX ALGEBRA. ... a 2j... a 2n. a i1 a i2... a ij... a in

Determinants. Samy Tindel. Purdue University. Differential equations and linear algebra - MA 262

Math 147 Section 3.4. Application Example

7.3. Determinants. Introduction. Prerequisites. Learning Outcomes

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

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

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

Math 215 HW #9 Solutions

Physics 116A Solutions to Homework Set #5 Winter Boas, problem Use an augmented matrix to solve the following equation

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 :

Linear Algebra Section 2.6 : LU Decomposition Section 2.7 : Permutations and transposes Wednesday, February 13th Math 301 Week #4

PH1105 Lecture Notes on Linear Algebra.

CHAPTER 6. Direct Methods for Solving Linear Systems

Quiz ) Locate your 1 st order neighbors. 1) Simplify. Name Hometown. Name Hometown. Name Hometown.

Determinants and Scalar Multiplication

det(ka) = k n det A.

1. (3pts) State three of the properties of matrix multiplication.

Matrices Gaussian elimination Determinants. Graphics 2009/2010, period 1. Lecture 4: matrices

Graduate Mathematical Economics Lecture 1

Undergraduate Mathematical Economics Lecture 1

ECON 331 Homework #2 - Solution. In a closed model the vector of external demand is zero, so the matrix equation writes:

Chapter 8: Linear Algebraic Equations

Never leave a NEGATIVE EXPONENT or a ZERO EXPONENT in an answer in simplest form!!!!!

Gaussian Elimination and Back Substitution

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.

Math 1314 Week #14 Notes

1 Last time: linear systems and row operations

7.6 The Inverse of a Square Matrix

Solving Linear Systems Using Gaussian Elimination

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Properties of the Determinant Function

II. Determinant Functions

MTH 102A - Linear Algebra II Semester

Things we can already do with matrices. Unit II - Matrix arithmetic. Defining the matrix product. Things that fail in matrix arithmetic

PROBLEMS ON LINEAR ALGEBRA

Conceptual Questions for Review

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

HW2 Solutions

Think about systems of linear equations, their solutions, and how they might be represented with matrices.

Determinants: summary of main results

Math Studio College Algebra

1111: Linear Algebra I

Transcription:

eterminants and ramer's Rule This section will deal with how to find the determinant of a square matrix. Every square matrix can be associated with a real number known as its determinant. The determinant of a matrix, in this case a 2x2 matrix, is defined below: Given the matrix A a det A A a a a a ( ) 11 12 a21 a 22 11 22 21 12 a The following example will show how to find the determinant of a 2x2 matrix and that these determinants may be positive, negative or zero. Example 1: Find the determinants of the following matrices: 2 3 2 1 0 3 a.) A b.) B c.) 1 2 4 2 2 4 a.) A 2 3 1 2 ( 2)( 2) ( 1)( 3) ( 2)( 2) ( 4)( 1) 4 ( 3) 4 4 b.) B 4+ 3 0 7 2 1 4 2 c.) 0 3 2 4 ( 0)( 4) ( 2)( 3) 0 6 6 By Ewald Fox SLA/San Antonio ollege 1

Solving a matrix greater than a 2x2 is simplified by using minors and cofactors of that matrix. Given a matrix, the minor of an element of that matrix is found using the remaining elements of the matrix after the row and column containing the original element are removed and then evaluated as in example 1. Example 2 will demonstrate this concept using a 3x3 matrix. Example 2: Find all the minors of the following 3x3 matrix. 0 2 1 A 3 1 2 4 0 1 Step 1: Analysis. The minors of the given matrix are labeled as: 11 12 13 21 22 23 31 32 33 in order to better identify their location with respect to their row and column. Step 2: Set up and solve each minor. The row and column containing each minor is eliminated and the remaining elements are arranged to solve for that elements minor. 11 12 13 21 22 23 1 2 ( 1)( 1) ( 0)( 2) 1 0 1 0 1 3 2 ( 3)( 1) ( 4)( 2) 3 8 5 4 1 3 1 ( 3)( 0) ( 4)( 1) 0+ 4 4 4 0 2 1 ( 2)() 1 ( 0)() 1 2 0 2 0 1 0 1 ( 0)( 1) ( 4)( 1) 0 4 4 4 1 0 2 ( 0)( 0) ( 4)( 2) 0 8 8 4 0 By Ewald Fox SLA/San Antonio ollege 2

Example 2 (ontinued): 31 32 33 2 1 ( 2)( 2) ( 1)( 1) 4+ 1 5 1 2 0 1 ( 0)( 2) ( 3)( 1) 0 3 3 3 2 0 2 ( 0)( 1) ( 3)( 2) 0 6 6 3 1 Having found the minors of the 3x3 matrix, the cofactors are found by raising -1 to a power equal to the sum of the elements row and column number and multiplying that value by the minor result (i.e. 23 would result in -1 being raised to the 2+3 or 5 th power). Example 3 will demonstrate how to find the cofactors of the matrix given in example 2. Example 3: Find the cofactors of the matrix 0 2 1 A 3 1 2 4 0 1 Step 1: Find the minors of the matrix. Example 2 found the minors of the matrix to be: 1 5 11 12 13 2 4 21 22 23 5 3 31 32 33 4 8 6 Step 2: etermine the cofactors using the formula ( ) ij 1 i + j ij 11 + 2 ( 1) ( 1) ( 1) ( 1)( 1) 1 11 11 1+ 2 3 ( 1) ( 1) ( 5) ( 1)( 5) 5 12 12 1+ 3 4 ( 1) ( 1) ( 4) ( 1)( 4) 4 13 13 2+ 1 3 ( ) ( ) ( ) ( )( ) 1 1 2 1 2 2 21 21 2+ 2 4 ( ) ( ) ( ) ( )( ) 1 1 4 1 4 4 22 22 2+ 3 5 ( ) ( ) ( ) ( )( ) 1 1 8 1 8 8 23 23 By Ewald Fox SLA/San Antonio ollege 3

Example 3 (ontinued): 3+ 1 4 ( ) ( ) ( ) ( )( ) 1 1 5 1 5 5 31 31 3+ 2 5 ( 1) ( 1) ( 3) ( 1)( ) 3 3 32 32 3+ 3 6 ( 1) ( 1) ( 6) ( 1)( 6) 6 33 33 Having now found the cofactors, the determinant of the matrix may be found by finding the sum of the products of the entries of any row or column of the given matrix and their respective cofactor (i.e. A a 11 11 + a 12 12 + + a 1n 1n ). Example 4 will show how to solve for the determinant of the matrix given in examples 2 and 3. Example 4: Find the determinant of the matrix 0 2 1 A 3 1 2 4 0 1 Step 1: Find the cofactors of the given matrix. From example 3 the cofactors of the matrix were found to be: 11 1 12 5 13 21 2 22 4 23 4 8 5 3 6 31 32 33 Step 2: Select any row or column of the matrix and then, using the formula A a 11 11 + a 12 12 + + a 1n 1n, find the determinant. For this example, the second row and the third column will be evaluated. A a + a + a + + 21 21 22 22 23 23 ( 3)( 2) ( 1)( 4) ( 2)( 8) 6+ 4+ 16 14 A a1313 + a2323 + a3333 + + ()( 1 4) ( 2)() 8 ()( 1 6) 4+ 16 6 14 By Ewald Fox SLA/San Antonio ollege 4

Using the ideas demonstrated to this point, example 5 will demonstrate how to find the determinant of a 4x4 matrix. Example 5: 1 2 3 0 1 1 0 2 Find the determinant of the matrix A. 0 2 0 3 3 4 0 2 Step 1: Analyze. Recall that A a 11 11 + a 12 12 + + a 1n 1n. For this example, the second column will be used even though the third column is the simplest to solve for. This means that for this example A 2 + 1 + 2 + 4 12 22 32 42 Step 2: Solve for 12, 22, 32, and 42. 12 ( ) 3 1 0 2 1 0 0 3 3 0 2 1 0 2 0 0 3 3 0 2 4 0 0 5 1 0 6 1 0 2( 1) + 3( 1) + 2( 1) 3 0 3 0 0 0 ( ) ( ) ( ) 20 0 30 0+ 20 0 0 By Ewald Fox SLA/San Antonio ollege 5

Example 5 (ontinued): 22 32 ( ) 4 1 3 0 1 0 0 3 3 0 2 1 3 0 0 0 3 3 0 2 2 0 3 3 3 0 4 3 0 1( 1) + 0( 1) + 3( 1) 0 2 0 2 0 3 ( ) ( ) ( ) 0 + 06 0 + 39 0 0+ 0+ 27 27 ( ) 5 1 3 0 1 1 0 2 42 3 0 2 1 3 0 1 0 2 3 0 2 2 0 2 3 3 0 4 3 0 1( 1) + ( 1)( 1) + 3( 1) 0 2 0 2 0 2 24 ( 0) 16 ( 0) 36 ( 0) ( 0 6 18) + + + + ( ) 6 1 3 0 1 1 0 2 0 0 3 1 3 0 1 0 2 0 0 3 2 0 2 3 3 0 4 3 0 1( 1) + ( 1)( 1) + 0( 1) 0 3 0 3 0 2 ( ) ( ) ( ) 0 + 19 0 + 06 0 0+ 9+ 0 9 By Ewald Fox SLA/San Antonio ollege 6

Example 5 (ontinued): Step 3: Solve for A. A 2 + 1 + 2 + 4 12 22 32 42 ( ) ( ) ( ) ( ) 20+ 127+ 2 24+ 49 0+ 27 48+ 36 63 48 15 By Ewald Fox SLA/San Antonio ollege 7

This section will define and show how to use ramer s rule to solve for systems of equations consisting of two equations and two variables or three equations and three variables. ramer s rule for a system of two equations with two variables is defined by: Given a11x+ a12 y k1 a11 a12 with 0 a x+ a y k a a 21 22 2 21 22 then X k a a k 1 12 11 1 k a a k and Y 2 22 21 2 The matrix of a a a a 11 12 is known as the coefficient matrix. 21 22 Example 6: Given 4x 2y and 3x 5y 11, solve for x and y using ramer s rule. Solution: Step 1: Analyze. Using the given definition of ramer s rule, the equations of 4x 2y and 3x 5y 11 yield the elements: a 4; a 2; k 11 12 1 and a 3; a 5; k 11 21 22 2 By Ewald Fox SLA/San Antonio ollege 8

Example 6 (ontinued): Step 2: Substitute and solve for the coefficient matrix. a a a a 11 12 21 22 4 2 3 5 ( 4)( 5) ( 3)( 2) 20 ( 6) 20 + 6 Step 3: Solve for X and Y. k a 1 12 k2 a22 X 2 11 5 ( )( 5) ( 11)( 2) 50 + 22 28 2 a k 11 1 a21 k2 Y 4 3 11 ( 4)( 11) ( 3)( ) 44 30 14 14 1 ( x,y ) ( 2, 1) By Ewald Fox SLA/San Antonio ollege 9

ramer s rule for solving a system of three equations and three unknowns is defined by: a x+ a y+ a z k a a a 11 12 13 1 11 12 13 Given a x + a y + a z k with a a a 0 21 22 23 1 21 22 23 a x+ a y+ a z k a a a 31 32 33 1 31 32 33 k a a a k a a a k 1 12 13 11 1 13 11 12 1 k a a a k a a a k 2 22 23 21 2 23 21 22 2 k a a a k a a 3 32 33 31 3 33 then X, Y, Z The matrix is known as the coefficient matrix. a k 31 32 3 Example 7: Use ramer s rule to solve for the following system: x + 2y 3z 1 2x+ 0y+ z 0 3x 4y+ 4z 2 Solution: Step 1: Analyze. a 1 a 2 a 3 k 1 11 12 13 1 a 2 a 0 a 1 k 21 22 23 2 a 3 a 4 a 4 k 31 32 33 3 Step 2: Find the coefficient matrix,. 0 2 1 2 3 2 0 1 3 4 4 2 0 1 3 2 3 4 2 3 ( 1)( 1) + ( 2)( 1) + ( 3)( 1) 4 4 4 4 0 1 ( 1)( 1) ( 0) ( 4) ( 2)( 1) ( 8) ( 12) ( 3)( 1) ( 2) ( 0) ( 1)( 4) ( 2)( 4) ( 3)( 2) + + + + 4+ 8+ 6 By Ewald Fox SLA/San Antonio ollege

Example 7 (ontinued): Step 3: Solve for x, y and z. x 1 2 3 0 0 1 2 4 4 0 0 1 2 1 2 ( 3)( 1) + ( 1)( 1) + ( 4)( 1) 4 5 6 2 4 2 4 0 0 ( 3)( 1) ( 0) ( 0) ( 1)( 1) ( 4) ( 4) ( 4)( 1) ( 0) ( 0) + + ( 3)( 0) + ( 1)( 8) + ( 4)( 0) 0+ 8+ 0 8 4 5 y 1 1 3 2 0 1 3 2 4 4 2 0 5 1 1 6 1 1 3 2 3 2 2 0 + + ( 3)( 1) + ( 1)( 1) + ( 4)( 1) ( 3)( 1) ( 4) ( 0) ( 1)( 1) ( 2) ( 3) ( 4)( 1) ( 0) ( 2) ( 3)( 4) + ( 1)( 5) + ( 4)( 2) 12 + 5 8 15 3 2 By Ewald Fox SLA/San Antonio ollege 11

Example 7 (ontinued): 1 2 1 2 0 0 z 3 4 2 0 0 2 1 2 1 ( 1)( 1) + ( 2)( 1) + ( 3)( 1) 2 3 4 4 2 4 2 0 0 ( 1)( 1) ( 0) ( 0) ( 2)( 1) ( 4) ( 4) ( 3)( 1) ( 0) ( 0) ( 1)( 0) + ( 2)( 8) + ( 3)( 0) + + 0 16+ 0 16 8 5 Step 4: Analyze. The solutions found were x 4 3 8, y and z 5 2 5. This indicates that the solution set or point of interception for the three given lines is: 4 3 8 ( x, y,z ),, 5 2 5 By Ewald Fox SLA/San Antonio ollege 12