Determinants and Cramer's Rule, Exams of Linear Algebra

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 ...

Typology: Exams

2022/2023

Uploaded on 03/01/2023

shanthi_48
shanthi_48 🇺🇸

4.8

(36)

891 documents

1 / 12

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Determinants and Cramer'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:
()
11 12
21 22
11 22 21 12
aa
Given the matrix A aa
det A A a a a 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:
23 21 03
1 2 42 24
a.) A b.) B c.) C =
⎡⎤
==
⎢⎥
⎣⎦
()() ()( )
()
23
.) 12
22 1 3
43
43
7
aA
=
=−
=−
=+
=
()() ()()
21
.) 42
22 41
44
0
bB=
=−
=−
=
()() ()()
03
.) 24
04 23
06
6
cC=
=−
=−
=−
By Ewald Fox
SLAC/San Antonio College
1
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Determinants and Cramer's Rule and more Exams Linear Algebra in PDF only on Docsity!

Determinants and Cramer'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:

11 12 21 22 11 22 21 12

Given the matrix A a^ a a a det A A a a a 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:

a.) A b.) B c.) C =

a A

b B =

= − = − =

c C =

= − = − = −

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 3 1 2 4 0 1

A

= ⎢^ − ⎥

Step 1: Analysis.

The minors of the given matrix are labeled as:

11 12 13 21 22 23 31 32 33

M M M

M M M

M M M

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

M

M

M

21

22

23

M

M

M

Example 3 (Continued):

3 1 4 31 31 3 2 5 32 32 3 3 6 33 33

C M

C M

C M

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 C 11 + a 12 C 12 + … + a 1n C 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

A

= ⎢^ − ⎥

Step 1: Find the cofactors of the given matrix. From example 3 the cofactors of the matrix were found to be:

C C C C C C C C C

11 12 13 21 22 23 31 32 33

Step 2: Select any row or column of the matrix and then, using the formula | A | = a 11 C 11 + a 12 C 12 + … + a 1n C 1n, find the determinant. For this example, the second row and the third column will be evaluated.

21 21 22 22 23 23 3 2 1 4 2 8 6 4 16 14

A = a C + a C + a C = − + − − + = − + + =

13 13 23 23 33 33 1 4 2 8 1 6 4 16 6 14

A = a C + a C + a C = + + − = + − =

Using the ideas demonstrated to this point, example 5 will demonstrate how to find the

determinant of a 4x4 matrix.

Example 5: Find the determinant of the matrix A

= ⎢^ ⎥

Step 1: Analyze.

Recall that | A | = a 11 C 11 + a 12 C 12 + … + a 1n C 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 C 12 + 1 C 22 + 2 C 32 + 4 C 42

Step 2: Solve for C 12 , C 22 , C 32 , and C 42.

3 12

4 5 6

C

Example 5 (Continued):

Step 3: Solve for | A |.

A = C + C + C + C

This section will define and show how to use Cramer’s rule to solve for systems of

equations consisting of two equations and two variables or three equations and three variables.

Cramer’s rule for a system of two equations with two variables is defined by:

11 12 1 11 12 21 22 2 21 22

1 12 11 1 2 22 21 2

a x a y k a a Given with D a x a y k a a

k a a k k a a k then X and Y D D

The matrix of^11 21 22

a a D a a = is known as the coefficient matrix.

Example 6 : Given 4 x – 2 y = 10 and 3 x – 5 y = 11 , solve for x and y using Cramer’s rule.

Solution:

Step 1: Analyze.

Using the given definition of Cramer’s rule, the equations of 4 x – 2 y = 10 and 3 x – 5 y = 11 yield the elements:

11 12 1

21 22 2

a a k and a a k

Cramer’s rule for solving a system of three equations and three unknowns is defined by:

11 12 13 1 11 12 13 21 22 23 1 21 22 23 31 32 33 1 31 32 33

1 12 13 11 1 13 11 12 1 2 22 23 21 2 23 21 22 2 3 32 33 31 3 33

a x a y a z k a a a Given a x a y a z k with D a a a a x a y a z k a a a

k a a a k a a a k k a a a k a a a k k a a a k a a then X , Y , Z D D

= = =^31 32

a k D

The matrix D is known as the coefficient matrix.

Example 7 : Use Cramer’s rule to solve for the following system:

x y z x y z x y z

Solution:

Step 1: Analyze.

a a a k a a a k a a a k

11 12 13 1 21 22 23 2 31 32 33 3

Step 2: Find the coefficient matrix, D.

2 3 4

D

= − ⎡⎣^ − − ⎤⎦^ + − ⎡⎣^ − ⎤⎦^ + ⎡⎣ − ⎤

Example 7 (Continued):

Step 3: Solve for x, y and z.

4 5 6

x

= −^ −

= +^ +

4 5 6

y

− − + − −^ + − −

− ⎡⎣^ − ⎤⎦^ + − ⎡⎣^ − − ⎤⎦^ + ⎡⎣ − ⎤

=−^ +^ −