Matrices, Determinants, and Cramer’s Rule

Slides:



Advertisements
Similar presentations
Chapter 4 Systems of Linear Equations; Matrices
Advertisements

Chapter 4 Systems of Linear Equations; Matrices Section 2 Systems of Linear Equations and Augmented Matrics.
1 Copyright © 2015, 2011, 2007 Pearson Education, Inc. Chapter 4-1 Systems of Equations and Inequalities Chapter 4.
Copyright © Cengage Learning. All rights reserved. 7.8 Applications of Matrices and Determinants.
Recall that a square matrix is one in which there are the same amount of rows as columns. A square matrix must exist in order to evaluate a determinant.
Systems of Equations and Inequalities
1 1.1 © 2012 Pearson Education, Inc. Linear Equations in Linear Algebra SYSTEMS OF LINEAR EQUATIONS.
Systems of Equations and Inequalities
Systems and Matrices (Chapter5)
TH EDITION LIAL HORNSBY SCHNEIDER COLLEGE ALGEBRA.
Rev.S08 MAC 1140 Module 10 System of Equations and Inequalities II.
Row rows A matrix is a rectangular array of numbers. We subscript entries to tell their location in the array Matrices are identified by their size.
Matrices & Determinants Chapter: 1 Matrices & Determinants.
1 © 2010 Pearson Education, Inc. All rights reserved © 2010 Pearson Education, Inc. All rights reserved Chapter 9 Matrices and Determinants.
Copyright © 2013, 2009, 2005 Pearson Education, Inc. 1 5 Systems and Matrices Copyright © 2013, 2009, 2005 Pearson Education, Inc.
WEEK 8 SYSTEMS OF EQUATIONS DETERMINANTS AND CRAMER’S RULE.
8.1 Matrices & Systems of Equations
1 C ollege A lgebra Systems and Matrices (Chapter5) 1.
Chapter 9 Matrices and Determinants Copyright © 2014, 2010, 2007 Pearson Education, Inc Determinants and Cramer’s Rule.
Mathematics.
Systems of Equations and Inequalities Systems of Linear Equations: Substitution and Elimination Matrices Determinants Systems of Non-linear Equations Systems.
Chapter 3 Determinants Linear Algebra. Ch03_2 3.1 Introduction to Determinants Definition The determinant of a 2  2 matrix A is denoted |A| and is given.
Determinants and Cramer’s Rule
5 Systems and Matrices © 2008 Pearson Addison-Wesley. All rights reserved Sections 5.1–5.5.
Chapter 8 Matrices and Determinants Matrix Solutions to Linear Systems.
College Algebra Sixth Edition James Stewart Lothar Redlin Saleem Watson.
Slide Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley A set of equations is called a system of equations. The solution.
5 Systems and Matrices © 2008 Pearson Addison-Wesley. All rights reserved Sections 5.1–5.5.
Copyright © Cengage Learning. All rights reserved. 7 Linear Systems and Matrices.
Copyright © 2007 Pearson Education, Inc. Slide 7-1.
1.3 Matrices and Matrix Operations. A matrix is a rectangular array of numbers. The numbers in the arry are called the Entries in the matrix. The size.
Copyright ©2015 Pearson Education, Inc. All rights reserved.
Warm Up Determine whether each system has zero, one or infinitely many solutions one infinitely many zero 3x + y = 15 3x – 2y = 6 x + 2y = 18.
Copyright © 2010 Pearson Education, Inc. Publishing as Pearson Addison- Wesley Systems of Equations in Three Variables Identifying Solutions Solving Systems.
LEARNING OUTCOMES At the end of this topic, student should be able to :  D efination of matrix  Identify the different types of matrices such as rectangular,
Solving Systems of Linear equations with 3 Variables To solve for three variables, we need a system of three independent equations.
Determinants Every n  n matrix A is associated with a real number called the determinant of A, written  A . The determinant of a 2  2 matrix.
Linear Equations in Linear Algebra
Chapter 4 Systems of Linear Equations; Matrices
Copyright © 2014, 2010, 2007 Pearson Education, Inc.
Section 4.1 Systems With Two Variables.
Solving Systems of Equations Using Matrices
WARM UP Find each equation, determine whether the indicated pair (x, y) is a solution of the equation. 2x + y = 5; (1, 3) 4x – 3y = 14; (5, 2)
Determinants and Cramer’s Rule
ECE 3301 General Electrical Engineering
MATHEMATICS Matrix Algebra
5 Systems of Linear Equations and Matrices
Chapter 5 Systems and Matricies. Chapter 5 Systems and Matricies.
Copyright © Cengage Learning. All rights reserved.
4.3 Determinants and Cramer’s Rule
Chapter 2 Determinants by Cofactor Expansion
7.3 Matrices.
4.3 Determinants and Cramer’s Rule
Chapter 2 Determinants Basil Hamed
Systems of Equations and Inequalities
Section 2.4 Matrices.
Matrices.
Matrices.
Chapter 7: Matrices and Systems of Equations and Inequalities
[MATRICES ].
College Algebra Chapter 6 Matrices and Determinants and Applications
Linear Equations in Linear Algebra
Matrices.
nhaa/imk/sem /eqt101/rk12/32
Matrices are identified by their size.
[MATRICES ].
Matrices and Determinants
Presentation transcript:

Matrices, Determinants, and Cramer’s Rule Prepared by: Dr. Fuad M.Shareef Mahmoud Mahmoud Cihan University - Erbil

5.3 Determinant Solution of Linear Equations Determinants Cofactors Evaluating n  n Determinants Cramer’s Rule

Matrices Definition Example A matrix is a rectangular array of numbers organized in rows and columns and encased in brackets. Matrices are very useful due to the fact that they can be easily manipulated. If A is an mxn martix -that is, a matrix with m rows and n columns—then the scalar entry in the ith row and jth column of A is denoted by and is called the (i, j)-entry of A.

Determinants Every n  n matrix A is associated with a real number called the determinant of A, written  A. The determinant of a 2  2 matrix is defined as follows.

Determinant of a 2  2 Matrix If A =

Note Matrices are enclosed with square brackets, while determinants are denoted with vertical bars. A matrix is an array of numbers, but its determinant is a single number.

Determinants The arrows in the following diagram will remind you which products to find when evaluating a 2  2 determinant.

Solution EVALUATING A 2  2 DETERMINANT Example 1 Let A = Find A. Use the definition with a11 a22 a21 a12

Determinant of a 3  3 Matrix If A =

Evaluating The terms on the right side of the equation in the definition of A can be rearranged to get Each quantity in parentheses represents the determinant of a 2  2 matrix that is the part of the matrix remaining when the row and column of the multiplier are eliminated, as shown in the next slide.

Evaluating

Cofactors The determinant of each 2  2 matrix above is called the minor of the associated element in the 3  3 matrix. The symbol represents Mij,the minor that results when row i and column j are eliminated. The following table in the next slide gives some of the minors from the previous matrix.

Cofactors Element Minor a11 a22 a21 a23 a31 a33

Cofactors In a 4  4 matrix, the minors are determinants of matrices. Similarly, an n  n matrix has minors that are determinants of matrices. To find the determinant of a 3  3 or larger matrix, first choose any row or column. Then the minor of each element in that row or column must be multiplied by +1 or – 1, depending on whether the sum of the row number and column number is even or odd. The product of a minor and the number +1 or – 1 is called a cofactor.

Cofactor Let Mij be the minor for element aij in an n  n matrix. The cofactor of aij, written as Aij, is

a. 6 Solution FINDING COFACTORS OF ELEMENTS Example 2 Find the cofactor of each of the following elements of the matrix a. 6 Solution Since 6 is in the first row, first column of the matrix, i = 1 and j = 1 so The cofactor is

b. 3 Solution FINDING COFACTORS OF ELEMENTS Example 2 Find the cofactor of each of the following elements of the matrix b. 3 Solution Here i = 2 and j = 3 so, The cofactor is

c. 8 Solution FINDING COFACTORS OF ELEMENTS Example 2 Find the cofactor of each of the following elements of the matrix c. 8 Solution We have, i = 2 and j = 1 so, The cofactor is

Finding the Determinant of a Matrix Multiply each element in any row or column of the matrix by its cofactor. The sum of these products gives the value of the determinant.

Use parentheses, & keep track of all negative signs to avoid errors. EVALUATING A 3  3 DETERMINANT Example 3 Evaluate expanding by the second column. Solution Use parentheses, & keep track of all negative signs to avoid errors.

EVALUATING A 3  3 DETERMINANT Example 3 Now find the cofactor of each element of these minors.

EVALUATING A 3  3 DETERMINANT Example 3 Find the determinant by multiplying each cofactor by its corresponding element in the matrix and finding the sum of these products.

Cramer’s Rule Determinants can be used to solve a linear system in the form (1) (2) by elimination as follows. Multiply (1) by b2 . Multiply (2) by – b1 . Add.

Cramer’s Rule Similarly, Multiply (1) by – a2 . Multiply (2) by a1 . Add.

Cramer’s Rule Both numerators and the common denominator of these values for x and y can be written as determinants, since

Cramer’s Rule Using these determinants, the solutions for x and y become

Cramer’s Rule We denote the three determinants in the solution as

replacing the coefficients of y in D by the respective constants. Note The elements of D are the four coefficients of the variables in the given system. The elements of Dx are obtained by replacing the coefficients of x in D by the respective constants, and the elements of Dy are obtained by replacing the coefficients of y in D by the respective constants.

Cramer’s Rule for Two Equations in Two Variables Given the system if then the system has the unique solution where

Caution As indicated in the preceding box, Cramer’s rule does not apply if D = 0. When D = 0 the system is inconsistent or has infinitely many solutions. For this reason, evaluate D first.

Solution APPLYING CRAMER’S RULE TO A 2  2 SYSTEM Example 4 Use Cramer’s rule to solve the system Solution By Cramer’s rule, and Find D first, since if D = 0, Cramer’s rule does not apply. If D ≠ 0, then find Dx and Dy.

APPLYING CRAMER’S RULE TO A 2  2 SYSTEM Example 4 By Cramer’s rule, The solution set is as can be verified by substituting in the given system.

General form of Cramer’s Rule Let an n  n system have linear equations of the form Define D as the determinant of the n  n matrix of all coefficients of the variables. Define Dx1 as the determinant obtained from D by replacing the entries in column 1 of D with the constants of the system. Define Dxi as the determinant obtained from D by replacing the entries in column i with the constants of the system. If D  0, the unique solution of the system is

Solution APPLYING CRAMER’S RULE TO A 3  3 SYSTEM Example 5 Use Cramer’s rule to solve the system. Solution Rewrite each equation in the form ax + by + cz + = k.

APPLYING CRAMER’S RULE TO A 3  3 SYSTEM Example 5 Verify that the required determinants are

APPLYING CRAMER’S RULE TO A 3  3 SYSTEM Example 5 Thus, and so the solution set is

Caution As shown in Example 5, each equation in the system must be written in the form ax + by + cz +    = k before using Cramer’s rule.

Solution SHOWING THAT CRAMER’S RULE DOES NOT APPLY Example 6 Show that Cramer’s rule does not apply to the following system. Solution We need to show that D = 0. Expanding about column 1 gives Since D = 0, Cramer’s rule does not apply.

Note When D = 0, the system is either inconsistent or has infinitely many solutions. Use the elimination method to tell which is the case. Verify that the system in Example 6 is inconsistent, so the solution set is ø.