Sie sind auf Seite 1von 28

MATH 211 Winter 2013 Lecture Notes

(Adapted by permission of K. Seyarth)

Sections 3.2

Sections 3.2

Page 1/1

3.2 Determinants and Matrix Inverses

Sections 3.2

Page 2/1

Theorem (3.2 Theorem 1 Product Theorem)


If A and B are n n matrices, then det(AB ) = det A det B .

Theorem (3.2 Theorem 2)


An n n matrix A is invertible if and only if det A = 0. In this case, det(A1 ) = 1 . det A

Sections 3.2

Page 3/1

Example
Find all values of c for which c 1 0 2 1 c c 1 0 A = 0 2 c is invertible. 1 c 5 0 1 0 2 c c =c + (1) 2 c c 5 5

det A =

= c (10 c 2 ) c = c (9 c 2 ) = c (3 c )(3 + c ).

Therefore, A is invertible for all c = 0, 3, 3.

Sections 3.2

Page 4/1

Theorem (3.2 Theorem 3)


If A is an n n matrix, then det(AT ) = det A.

Sections 3.2

Page 5/1

Example
Suppose A is a 3 3 matrix. Find det A and det B if det(2A1 ) = 4 = det(A3 (B 1 )T ). First, det(2A1 ) = 4 23 det(A1 ) = 4 1 4 1 = = det A 8 2 Therefore, det A = 2.

Sections 3.2

Page 6/1

Example (continued)
Now, det(A3 (B 1 )T ) = 4 (det A)3 det(B 1 ) = 4 (2)3 det(B 1 ) = 4 (8) det(B 1 ) = 4 4 1 1 = = det B 8 2 Therefore, det B = 2.

Sections 3.2

Page 7/1

Example
Suppose A, B and C are 4 4 matrices with det A = 1, det B = 2, and det C = 1. Find det(2A2 (B 1 )(C T )3 B (A1 )). 1 1 (det C )3 (det B ) det B det A = 16(det A)(det C )3

det(2A2 (B 1 )(C T )3 B (A1 )) = 24 (det A)2

= 16 (1) 13 = 16.

Sections 3.2

Page 8/1

Example (3.2 Example 5)


A square matrix A is orthogonal if and only if AT = A1 . What are the possible values of det A if A is orthogonal? Since AT = A1 , = det(A1 ) 1 det A = det A (det A)2 = 1 det AT

Assuming A is a real matrix, this implies that det A = 1, i.e., det A = 1 or det A = 1.

Sections 3.2

Page 9/1

Adjugates
For a 2 2 matrix A = dened as adjA = and observed that A(adjA) = = a b c d d b c a d b c a , a b c d , we have already seen the adjugate of A

ad bc 0 0 ad bc = (det A)I2 Furthermore, if det A = 0, then A is invertible and A1 =


Sections 3.2

1 adjA. det A
Page 10/1

Adjugates

Denition
If A is an n n matrix, then adjA = cij (A)
T

where cij (A) is the (i , j )-cofactor of A, i.e., adjA is the transpose of the cofactor matrix (matrix of cofactors). Reminder. cij (A) = (1)i +j det(Aij ).

Sections 3.2

Page 11/1

Example
2 1 3 1 . Find adjA when A = 5 7 3 0 6 Solution. 42 6 22 13 adjA = 33 21 21 3 19

Notice that 2 1 3 42 6 22 1 33 21 13 A(adjA) = 5 7 3 0 6 21 3 19 180 0 0 0 180 0 = 0 0 180

Sections 3.2

Page 12/1

Example (continued)
Also, det A = 2 1 3 5 7 1 3 0 6 2 1 3 19 0 22 3 0 6 19 22 3 6

= (1) = 180, so in this example, we see that

A(adjA) = (det A)I

Sections 3.2

Page 13/1

The Adjugate Formula


Theorem (3.2 Theorem 4)
If A is an n n matrix, then A(adjA) = (det A)I = (adjA)A. Furthermore, if det A = 0, then A1 = 1 adjA. det A

Note. Except in the case of a 2 2 matrix, the adjugate formula is a very inecient method for computing the inverse of a matrix; the matrix inversion algorithm is much more practical. However, the adjugate formula is of theoretical signicance.

Sections 3.2

Page 14/1

Example (3.2 Example 8)


For an n n matrix A, show that det(adjA) = (det A)n1 . Using the adjugate formula, A(adjA) = (det A)I det(A(adjA)) = det((det A)I ) (det A) det(adjA) = (det A)n (det I ) (det A) det(adjA) = (det A)n If det A = 0, then divide both sides of the last equation by det A: det(adjA) = (det A)n1 .

Sections 3.2

Page 15/1

Example (continued)
If det A = 0, then A(adjA) = (det A)I = (0)I = 0, i.e., A(adjA) is the zero matrix. In this case, if det(adjA) were not equal to zero, then adjA would be invertible, and A(adjA) = 0 would imply A = 0. However, if A = 0, then adjA = 0 and is not invertible, and thus has determinant equal to zero, i.e., det(adjA) = 0. Therefore, if det A = 0, then det(adjA) = 0 = 0n1 = (det A)n1 .

Sections 3.2

Page 16/1

Example (3.2 Exercise 17)


Let A and B be n n matrices. Show that det(A + B T ) = det(AT + B ).

Sections 3.2

Page 17/1

Example (3.2 Exercise 20)


For each of the following statements, determine if it is true or false, and supply a proof or a counterexample. (a) If adjA exists, then A is invertible. (c) If A and B are n n matrices, then det(AB ) = det(B T A). More of these are posted on Blackboard under Supplementary Notes > Determinants

Example
Prove or give a counterexample to the following statement: if det A = 1, then adjA = A.

Sections 3.2

Page 18/1

Cramers Rule

If A is an n n invertible matrix, then the solution to AX = B can be given in terms of determinants of matrices.

Theorem (3.2 Theorem 5)


Let A be an n n invertible matrix, and consider the system AX = B, T where X = x1 x2 xn . We dene Ai to be the matrix obtained from A by replacing column i with B. Then for each value of i, 1 i n, xi = det Ai det A

Sections 3.2

Page 19/1

Example
Solve for x3 : 3x1 + x2 x3 = 1 5x1 + 2x2 = 2 x1 + x2 x3 = 1 By Cramers rule, x3 =
det A3 det A ,

where

3 1 1 3 1 1 0 and A3 = 5 2 2 . A= 5 2 1 1 1 1 1 1 Computing the determinants of these two matrices, det A = 4 and det A3 = 6.
6 4

Therefore, x3 =
Sections 3.2

=3 2.
Page 20/1

Example (continued)
For practice, you should 1 A1 = 2 1 compute det A1 and det A2 , where 1 1 3 1 1 2 0 and A2 = 5 2 0 , 1 1 1 1 1

and then solve for x1 and x2 .


7 Solution. x1 = 1, x2 = 2 .

Sections 3.2

Page 21/1

Polynomial Interpolation
Example
Given data points (0, 1), (1, 2), (2, 5) and (3, 10), nd an interpolating polynomial p (x ) of degree at most three, and then estimate the value of y 3 . corresponding to x = 2 We want to nd the coecients r0 , r1 , r2 and r3 of p (x ) = r0 + r1 x + r2 x 2 + r3 x 3 so that p (0) = 1, p (1) = 2, p (2) = 5, and p (3) = 10. p (0) = r0 = 1 p (1) = r0 + r1 + r2 + r3 = 2 p (2) = r0 + 2r1 + 4r2 + 8r3 = 5 p (3) = r0 + 3r1 + 9r2 + 27r3 = 10
Sections 3.2 Page 22/1

Example (continued)
Solve this system of four equations in the four variables 1 0 0 0 1 1 0 0 1 1 1 1 2 0 1 0 1 2 4 8 5 0 0 1 1 3 9 27 10 0 0 0 Therefore r0 = 1, r1 = 0, r2 = 1, r3 = 0, and so p (x ) = 1 + x 2 . The estimate is y =p 3 2 =1+ 3 2
2

r0 , r1 , r2 and r3 . 0 1 0 0 0 1 1 0

13 . 4

Sections 3.2

Page 23/1

Theorem (3.2 Theorem 6)


Given n data points (x1 , y1 ), (x2 , y2 ), . . . , (xn , yn ) with the xi distinct, there is a unique polynomial p (x ) = r0 + r1 x + r2 x 2 + + rn1 x n1 such that p (xi ) = yi for i = 1, 2, . . . , n. The polynomial p (x ) is called the interpolating polynomial for the data. To nd p (x ), set up a system of n linear equations in the n variables r0 , r1 , r2 , . . . , rn1 .

Sections 3.2

Page 24/1

p (x ) = r0 + r1 x + r2 x 2 + + rn1 x n1 :
n1 2 + + r r0 + r1 x1 + r2 x1 = y1 n1 x1 n1 2 r0 + r1 x2 + r2 x2 + + rn1 x2 = y2 n1 2 + + r r0 + r1 x3 + r2 x3 x = y3 n 1 3 . . . . . . . . . 2 n 1 r0 + r1 xn + r2 xn + + rn1 xn = yn

The coecient matrix for this system 2 1 x1 x1 1 x2 x 2 2 . . . . . . . . .

is . . .
n 1 x1 n 1 x2 . . . n 1 xn

2 1 xn xn

The determinant of a matrix of this form is called a Vandermonde determinant.


Sections 3.2 Page 25/1

The Vandermonde Determinant

Theorem (3.2 Theorem 7)


Let a1 , a2 , . . . , an be real numbers, n 2. The the corresponding Vandermonde determinant is 2 an1 1 a1 a1 1 1 a2 a2 an1 2 2 det . . = 1j <i n (ai aj ). . . . . . . . . . . . . .
2 1 an an n 1 an

Sections 3.2

Page 26/1

Example
In our earlier example with the data points (0, 1), (1, 2), (2, 5) and (3, 10), we have a1 = 0, a2 = 1, a3 = 2, a4 = 3 giving us the Vandermonde determinant 1 1 1 1 0 1 2 3 0 0 1 1 4 8 9 27

According to Theorem 7, this determinant is equal to (a2 a1 )(a3 a1 )(a3 a2 )(a4 a1 )(a4 a2 )(a4 a3 ) = (1 0)(2 0)(2 1)(3 0)(3 1)(3 2) = 2 3 2 = 12.

Sections 3.2

Page 27/1

As a consequence of Theorem 7, the Vandermonde determinant is nonzero if a1 , a2 , . . . , an are distinct. This means that given n data points (x1 , y1 ), (x2 , y2 ), . . . , (xn , yn ) with distinct xi , then there is a unique interpolating polynomial p (x ) = r0 + r1 x + r2 x 2 + + rn1 x n1 .

Sections 3.2

Page 28/1

Das könnte Ihnen auch gefallen