15
Chapter 5 Determinants

Chapter 5 Determinants. 5.1 Introduction Every square matrix has associated with it a scalar called its determinant. Given a matrix A, we use det(A) or

Embed Size (px)

Citation preview

Page 1: Chapter 5 Determinants. 5.1 Introduction Every square matrix has associated with it a scalar called its determinant. Given a matrix A, we use det(A) or

Chapter 5Determinants

Page 2: Chapter 5 Determinants. 5.1 Introduction Every square matrix has associated with it a scalar called its determinant. Given a matrix A, we use det(A) or

5.1 IntroductionEvery square matrix has associated with it a scalar called its determinant.

Given a matrix A, we use det(A) or |A| to designate its determinant.

We can also designate the determinant of matrix A by replacing the brackets by vertical straight lines. For example,

30

12A

30

12)det( A

Definition 1: The determinant of a 11 matrix [a] is the scalar a.

Definition 2: The determinant of a 22 matrix is the scalar ad-bc.

For higher order matrices, we will use a recursive procedure to compute determinants.

dc

ba

Page 3: Chapter 5 Determinants. 5.1 Introduction Every square matrix has associated with it a scalar called its determinant. Given a matrix A, we use det(A) or

5.2 Expansion by CofactorsDefinition 1: Given a matrix A, a minor is the determinant of any square submatrix of A.

Definition 2: Given a matrix A=[aij] , the cofactor of the element aij is a scalar obtained by multiplying together the term (-1)i+j and the minor obtained from A by removing the ith row and the jth column.

In other words, the cofactor Cij is given by Cij = (1)i+jMij.

For example,

333231

232221

131211

aaa

aaa

aaa

A 3332

131221 aa

aaM

3331

131122 aa

aaM

212112

21 )1( MMC

222222

22 )1( MMC

Page 4: Chapter 5 Determinants. 5.1 Introduction Every square matrix has associated with it a scalar called its determinant. Given a matrix A, we use det(A) or

5.2 Expansion by CofactorsTo find the determinant of a matrix A of arbitrary order,

a)Pick any one row or any one column of the matrix;

b)For each element in the row or column chosen, find its cofactor;

c)Multiply each element in the row or column chosen by its cofactor and sum the results. This sum is the determinant of the matrix.

In other words, the determinant of A is given by

ininiiii

n

jijij CaCaCaCaAA

2211

1

)det(

njnjjjjj

n

iijij CaCaCaCaAA

2211

1

)det(

ith row expansion

jth column expansion

Page 5: Chapter 5 Determinants. 5.1 Introduction Every square matrix has associated with it a scalar called its determinant. Given a matrix A, we use det(A) or

Example 1:We can compute the determinant

1 2 3

4 5 6

7 8 9

T

by expanding along the first row,

1 1 1 2 1 35 6 4 6 4 51 2 3

8 9 7 9 7 8 T 3 12 9 0

Or expand down the second column:

1 2 2 2 3 24 6 1 3 1 32 5 8

7 9 7 9 4 6 T 12 60 48 0

Example 2: (using a row or column with many zeroes)

2 3

1 5 01 5

2 1 1 13 1

3 1 0

16

Page 6: Chapter 5 Determinants. 5.1 Introduction Every square matrix has associated with it a scalar called its determinant. Given a matrix A, we use det(A) or

5.3 Properties of determinantsProperty 1: If one row of a matrix consists entirely of zeros, then the determinant is zero.

Property 2: If two rows of a matrix are interchanged, the determinant changes sign.

Property 3: If two rows of a matrix are identical, the determinant is zero.

Property 4: If the matrix B is obtained from the matrix A by multiplying every element in one row of A by the scalar λ, then |B|= λ|A|.

Property 5: For an n n matrix A and any scalar λ, det(λA)= λndet(A).

Page 7: Chapter 5 Determinants. 5.1 Introduction Every square matrix has associated with it a scalar called its determinant. Given a matrix A, we use det(A) or

5.3 Properties of determinants

Property 6: If a matrix B is obtained from a matrix A by adding to one row of A, a scalar times another row of A, then |A|=|B|.

Property 7: det(A) = det(AT).

Property 8: The determinant of a triangular matrix, either upper or lower, is the product of the elements on the main diagonal.

Property 9: If A and B are of the same order, then det(AB)=det(A) det(B).

Page 8: Chapter 5 Determinants. 5.1 Introduction Every square matrix has associated with it a scalar called its determinant. Given a matrix A, we use det(A) or

5.4 Pivotal condensationProperties 2, 4, 6 of the previous section describe the effects on the determinant when applying row operations.

These properties comprise part of an efficient algorithm for computing determinants, technique known as pivotal condensation.

-A given matrix is transformed into row-reduced form using elementary row operations

-A record is kept of the changes to the determinant as a result of properties 2, 4, 6.

-Once the transformation is complete, the row-reduced matrix is in upper triangular form, and its determinant is easily found by property 8.

Example in the next slide

Page 9: Chapter 5 Determinants. 5.1 Introduction Every square matrix has associated with it a scalar called its determinant. Given a matrix A, we use det(A) or

• Find the determinant of

310

1032

221

310

221

1032

A

310

221

1032

310

1470

221

(2)

Factor 7 out of the 2nd row

310

210

221

7

(1) 100

210

221

7

7)1)(1)(1(7

5.4 Pivotal condensation

Page 10: Chapter 5 Determinants. 5.1 Introduction Every square matrix has associated with it a scalar called its determinant. Given a matrix A, we use det(A) or

5.5 InversionTheorem 1: A square matrix has an inverse if and only if its determinant is not zero.

Below we develop a method to calculate the inverse of nonsingular matrices using determinants.

Definition 1: The cofactor matrix associated with an n n matrix A is an n n matrix Ac obtained from A by replacing each element of A by its cofactor.

Definition 2: The adjugate of an n n matrix A is the transpose of the cofactor matrix of A: Aa = (Ac)T

Page 11: Chapter 5 Determinants. 5.1 Introduction Every square matrix has associated with it a scalar called its determinant. Given a matrix A, we use det(A) or

• Find the adjugate of

Solution:The cofactor matrix of A:

201

120

231

A

20

31

10

21

12

2301

31

21

21

20

2301

20

21

10

20

12

217

306

214

232

101

764aA

Example of finding adjugate

Page 12: Chapter 5 Determinants. 5.1 Introduction Every square matrix has associated with it a scalar called its determinant. Given a matrix A, we use det(A) or

Inversion using determinants

Theorem 2: A Aa = Aa A = |A| I .

If |A| ≠ 0 then from Theorem 2,

011

AifAA

A

IAA

A

A

AA

a

aa

That is, if |A| ≠ 0, then A-1 may be obtained by dividing the adjugate of A by the determinant of A.

For example, if

then

,

dc

baA

ac

bd

bcadA

AA a 111

Page 13: Chapter 5 Determinants. 5.1 Introduction Every square matrix has associated with it a scalar called its determinant. Given a matrix A, we use det(A) or

Use the adjugate of to find A-1

201

120

231

A

232

101

764

Aa

3)2)(2)(1()1)(1)(3()2)(2)(1( A

32

32

31

31

37

34

1

1

0

2

232

101

764

3

1

A

1 aAA

Inversion using determinants: example

Page 14: Chapter 5 Determinants. 5.1 Introduction Every square matrix has associated with it a scalar called its determinant. Given a matrix A, we use det(A) or

• If a system of n linear equations in n variables Ax=b has a coefficient matrix with a nonzero determinant |A|,then the solution of the system is given by

where Ai is a matrix obtained from A by replacing the ith column of A by the vector b.

• Example:

,)det(

)det(,,

)det(

)det(,

)det(

)det( 22

11 A

Ax

A

Ax

A

Ax n

n

3333232131

2323222121

1313212111

bxaxaxa

bxaxaxa

bxaxaxa

333231

232221

131211

33231

22221

112113

3

aaa

aaa

aaa

baa

baa

baa

A

Ax

5.6 Cramer’s rule

Page 15: Chapter 5 Determinants. 5.1 Introduction Every square matrix has associated with it a scalar called its determinant. Given a matrix A, we use det(A) or

• Use Cramer’s Rule to solve the system of linear equation.

2443

02

132

zyx

zx

zyx

10

443

102

321

A

10

442

100

321

1

A

Ax

5

4

10

8

10

)1)(1)(4()2)(1)(2(

5

8,

2

3 zy

5.6 Cramer’s rule: example