section 3.1 the determinant of a matrix. determinants are computed only on square matrices....

34
Section 3.1 The Determinant of a Matrix

Upload: gregory-dominick-west

Post on 17-Dec-2015

227 views

Category:

Documents


7 download

TRANSCRIPT

Page 1: Section 3.1 The Determinant of a Matrix. Determinants are computed only on square matrices. Notation: det(A) or |A| For 1 x 1 matrices: det( [k] ) = k

Section 3.1The Determinant of a Matrix

Page 2: Section 3.1 The Determinant of a Matrix. Determinants are computed only on square matrices. Notation: det(A) or |A| For 1 x 1 matrices: det( [k] ) = k

Determinants are computed only on square matrices.Notation: det(A) or |A| 

For 1x1 matrices:det( [k] ) = k

 

Page 3: Section 3.1 The Determinant of a Matrix. Determinants are computed only on square matrices. Notation: det(A) or |A| For 1 x 1 matrices: det( [k] ) = k

Determinants are computed only on square matrices.Notation: det(A) or |A| 

For 1x1 matrices:det( [k] ) = k

 

For 2x2 matrices:

 

For larger matrices, we define a determinant in terms of cofactors.

deta b

ad bcc d

Page 4: Section 3.1 The Determinant of a Matrix. Determinants are computed only on square matrices. Notation: det(A) or |A| For 1 x 1 matrices: det( [k] ) = k

Def. If A is a square matrix, then the ij minor, denoted Mij, is the determinant of the matrix obtained by deleting the ith row and the jth column of A.

The ij cofactor , denoted Cij, is given by Cij = (-1)i+jMij

Page 5: Section 3.1 The Determinant of a Matrix. Determinants are computed only on square matrices. Notation: det(A) or |A| For 1 x 1 matrices: det( [k] ) = k

Ex. Find C23 and C13 for the matrix

2 1 0

2 1 4

0 2 3

Page 6: Section 3.1 The Determinant of a Matrix. Determinants are computed only on square matrices. Notation: det(A) or |A| For 1 x 1 matrices: det( [k] ) = k

Computing determinants by the cofactor expansion.

The determinant of an nxn matrix A can be computed by expanding along the ith row:

The determinant of an nxn matrix A can be computed by expanding along the jth column:

1

detn

ik ikk

A a C

1

detn

kj kjk

A a C

Page 7: Section 3.1 The Determinant of a Matrix. Determinants are computed only on square matrices. Notation: det(A) or |A| For 1 x 1 matrices: det( [k] ) = k

Ex. Compute the determinant of

2 1 0

2 1 4

0 2 3

Page 8: Section 3.1 The Determinant of a Matrix. Determinants are computed only on square matrices. Notation: det(A) or |A| For 1 x 1 matrices: det( [k] ) = k

Ex. Compute the determinant of

1 2 3 0

1 1 0 2

0 2 0 3

3 4 0 1

Page 9: Section 3.1 The Determinant of a Matrix. Determinants are computed only on square matrices. Notation: det(A) or |A| For 1 x 1 matrices: det( [k] ) = k

Triangular matrices:

  

If A is a triangular matrix then det(A) = a11 a22 a33 · · · ann

3 4 9

0 1 4

0 0 11

8 0 0

4 10 0

1 2 2

2 3 0 1

0 1 55 10

0 0 4 99

0 0 0 3

2 0

5 17

Page 10: Section 3.1 The Determinant of a Matrix. Determinants are computed only on square matrices. Notation: det(A) or |A| For 1 x 1 matrices: det( [k] ) = k

Triangular matrices:

  

A =

det(A) =

2 3 0 1

0 1 55 10

0 0 4 99

0 0 0 3

Page 11: Section 3.1 The Determinant of a Matrix. Determinants are computed only on square matrices. Notation: det(A) or |A| For 1 x 1 matrices: det( [k] ) = k

Section 3.2Evaluation of a Determinant Using

Elementary Operations

Page 12: Section 3.1 The Determinant of a Matrix. Determinants are computed only on square matrices. Notation: det(A) or |A| For 1 x 1 matrices: det( [k] ) = k

We computed determinants by the “cofactor expansion method” in the previous section. We shall introduce a new method which involves placing a given matrix into triangular form via elementary row operations.  Why even bother with a second method for computing determinants if we already have one that works?

Page 13: Section 3.1 The Determinant of a Matrix. Determinants are computed only on square matrices. Notation: det(A) or |A| For 1 x 1 matrices: det( [k] ) = k

There are some problems in math that are theoretically simple but practically impossible. Think, for example, of a determinant of a 50x50 matrix. When computed by expanding by cofactors, this involves :

50 different 49x49 determinants. Each one of these 49x49 determinants requires 49 different 48x48 determinants.Each one of these 48x48 determinants requires 48 different 47x47 determinants. Each one of these . . . .

We end up with a total of 50∙49∙48∙47∙ ∙ ∙6∙5∙4∙3 different 2x2 determinants (this is about 1064 2x2 determinants that must be calculated).

Even if a computer could calculate one million 2x2 determinants per second, it would take about 1058 seconds (about 1050 years) to finish calculating our 50x50 determinant. (According to the big bang theory, the universe is only about 1010 years old.)

Page 14: Section 3.1 The Determinant of a Matrix. Determinants are computed only on square matrices. Notation: det(A) or |A| For 1 x 1 matrices: det( [k] ) = k

Order n Cofactor Expansion Row Reduction

Additions Multiplications Additions Multiplications

3 5 9 5 10

5 119 205 30 45

10 3,628,799 6,235,300 285 339

Page 15: Section 3.1 The Determinant of a Matrix. Determinants are computed only on square matrices. Notation: det(A) or |A| For 1 x 1 matrices: det( [k] ) = k

Suppose that B is the triangular matrix obtained from A through row operations. We need to exploit the relationship between det(B) and det(A). To do so, we must first see how each row operation affects the value of a determinant.

Page 16: Section 3.1 The Determinant of a Matrix. Determinants are computed only on square matrices. Notation: det(A) or |A| For 1 x 1 matrices: det( [k] ) = k

Theorem:Suppose that A* was obtained from A through a single elementary row operation.

i. If that operation was Ri ↔ Rj then we have: det(A*) = –det(A).

ii. If that operation was Ri + cRj → Ri then we have: det(A*) = det(A).

iii. If that operation was cRi → Ri then we have: det(A*) = c det(A).

Page 17: Section 3.1 The Determinant of a Matrix. Determinants are computed only on square matrices. Notation: det(A) or |A| For 1 x 1 matrices: det( [k] ) = k

Ex. Verify iii. above is true on the following matrices:

1 0 0

0 1 0

0 0 7

1 0 0

0 1 0

0 0 1

Page 18: Section 3.1 The Determinant of a Matrix. Determinants are computed only on square matrices. Notation: det(A) or |A| For 1 x 1 matrices: det( [k] ) = k

Ex. Suppose . Compute the determinants of the following matrices.

(a)

det 10

a b c

d e f

g h i

3 3 3

4 4 4

a b c

d e f

g a h b i c

Page 19: Section 3.1 The Determinant of a Matrix. Determinants are computed only on square matrices. Notation: det(A) or |A| For 1 x 1 matrices: det( [k] ) = k

Ex. Suppose . Compute the determinants of the following matrices.

(b)

det 10

a b c

d e f

g h i

2 2 2a b c

g h i

d e f

Page 20: Section 3.1 The Determinant of a Matrix. Determinants are computed only on square matrices. Notation: det(A) or |A| For 1 x 1 matrices: det( [k] ) = k

Ex. Suppose . Compute the determinants of the following matrices.

(c)

det 10

a b c

d e f

g h i

5 5 5

a b c

a b c

g h i

Page 21: Section 3.1 The Determinant of a Matrix. Determinants are computed only on square matrices. Notation: det(A) or |A| For 1 x 1 matrices: det( [k] ) = k

Ex. Use elementary row operations to compute the determinant of 2 3 10

1 2 2

4 9 11

Page 22: Section 3.1 The Determinant of a Matrix. Determinants are computed only on square matrices. Notation: det(A) or |A| For 1 x 1 matrices: det( [k] ) = k

If det(A) = 0, what do we know about the triangular matrix obtained by applying row operations on A?

Page 23: Section 3.1 The Determinant of a Matrix. Determinants are computed only on square matrices. Notation: det(A) or |A| For 1 x 1 matrices: det( [k] ) = k

If det(A) ≠ 0, then there is only one solution to a system represented by AX = B.

Page 24: Section 3.1 The Determinant of a Matrix. Determinants are computed only on square matrices. Notation: det(A) or |A| For 1 x 1 matrices: det( [k] ) = k

Section 3.3Properties of Determinants

Page 25: Section 3.1 The Determinant of a Matrix. Determinants are computed only on square matrices. Notation: det(A) or |A| For 1 x 1 matrices: det( [k] ) = k

Let and . Then AB is .

Compute: det(A) det(B) det(AB)

1 2 2

0 3 2

1 0 1

A

2 0 1

0 1 2

3 1 2

B

8 4 1

6 1 10

5 1 1

Page 26: Section 3.1 The Determinant of a Matrix. Determinants are computed only on square matrices. Notation: det(A) or |A| For 1 x 1 matrices: det( [k] ) = k

Theorem:Suppose A and B are nxn matrices and c is a scalar.

1. det(AB) = _________________

2. det(cA) = _________________

3. det(AT) = _________________

det(A) det(B)

cn det(A)

det(A)

Page 27: Section 3.1 The Determinant of a Matrix. Determinants are computed only on square matrices. Notation: det(A) or |A| For 1 x 1 matrices: det( [k] ) = k

Theorem: det(A-1) = ___________

Page 28: Section 3.1 The Determinant of a Matrix. Determinants are computed only on square matrices. Notation: det(A) or |A| For 1 x 1 matrices: det( [k] ) = k

Theorem: If A is invertible then det(A) ≠ 0.

Page 29: Section 3.1 The Determinant of a Matrix. Determinants are computed only on square matrices. Notation: det(A) or |A| For 1 x 1 matrices: det( [k] ) = k

Theorem: Let A be an nxn matrix. The following are equivalent:

1. A is invertible.

2. AX = B has a unique solution.

3. AX = O has only the trivial solution.

4. rref(A) = I.

5. det(A) ≠ 0.

Page 30: Section 3.1 The Determinant of a Matrix. Determinants are computed only on square matrices. Notation: det(A) or |A| For 1 x 1 matrices: det( [k] ) = k

Section 3.5Applications of Determinants

Page 31: Section 3.1 The Determinant of a Matrix. Determinants are computed only on square matrices. Notation: det(A) or |A| For 1 x 1 matrices: det( [k] ) = k

Cramer’s Rule:

Page 32: Section 3.1 The Determinant of a Matrix. Determinants are computed only on square matrices. Notation: det(A) or |A| For 1 x 1 matrices: det( [k] ) = k

Consider the following system of linear equations represented by the matrix equation AX = B:

a11x1 + a12x2 + · · · + a1nxn = b1

a21x1 + a22x2 + · · · + a2nxn = b2

a31x1 + a32x2 + · · · + a3nxn = b3

: : :an1x1 + an2x2 + · · · + annxn = bn

 

Now, think of A in terms of its column vectors: A = [ a1 a2 a3 · · · an ]Define A1 = [ b a2 a3 · · · an ]

A2 = [ a1 b a3 · · · an ] A3 = [ a1 a2 b · · · an ] : : : An = [ a1 a2 a3 · · · b ]

Page 33: Section 3.1 The Determinant of a Matrix. Determinants are computed only on square matrices. Notation: det(A) or |A| For 1 x 1 matrices: det( [k] ) = k

If det(A) ≠ 0 then there is a unique solution to AX = B which can be computed by:

31 2

1 2 3

det( ) det( )det( ) det( ), , , ,

det det det detn

n

A AA Ax x x x

A A A A

Page 34: Section 3.1 The Determinant of a Matrix. Determinants are computed only on square matrices. Notation: det(A) or |A| For 1 x 1 matrices: det( [k] ) = k

Ex. Use Cramer’s rule to solve the following: x – y + 3z = 22x + y – z = 5–x + y – 4z = –4