+ All Categories
Home > Documents > m211f2012 Slides Sec3.2handout

m211f2012 Slides Sec3.2handout

Date post: 03-Apr-2018
Category:
Upload: cmculham
View: 218 times
Download: 0 times
Share this document with a friend

of 28

Transcript
  • 7/28/2019 m211f2012 Slides Sec3.2handout

    1/28

    MATH 211 Winter 2013

    Lecture Notes(Adapted by permission of K. Seyffarth)

    Sections 3.2

    Sections 3.2 Page 1/1

  • 7/28/2019 m211f2012 Slides Sec3.2handout

    2/28

    3.2 Determinants and Matrix Inverses

    Sections 3.2 Page 2/1

  • 7/28/2019 m211f2012 Slides Sec3.2handout

    3/28

    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

  • 7/28/2019 m211f2012 Slides Sec3.2handout

    4/28

    Example

    Find all values of c for which A =

    c 1 00 2 c1 c 5

    is invertible.

    det A = c 1 00 2 c

    1 c 5 = c

    2 c

    c 5 + (1) 1 0

    2 c

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

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

    Sections 3.2 Page 4/1

  • 7/28/2019 m211f2012 Slides Sec3.2handout

    5/28

    Theorem (3.2 Theorem 3)

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

    Sections 3.2 Page 5/1

  • 7/28/2019 m211f2012 Slides Sec3.2handout

    6/28

    Example

    Suppose A is a 3 3 matrix. Find det A and det B if

    det(2A1) = 4 = det(A3(B1)T).

    First,

    det(2A1) = 4

    23 det(A1) = 4

    1

    det A=

    4

    8=

    1

    2

    Therefore, det A = 2.

    Sections 3.2 Page 6/1

  • 7/28/2019 m211f2012 Slides Sec3.2handout

    7/28

    Example (continued)

    Now,

    det(A3(B1)T) = 4

    (det A)3 det(B1) = 4

    (2)3 det(B

    1) = 4(8) det(B1) = 4

    1

    det B=

    4

    8=

    1

    2

    Therefore, det B = 2.

    Sections 3.2 Page 7/1

  • 7/28/2019 m211f2012 Slides Sec3.2handout

    8/28

    Example

    Suppose A, B and C are 4 4 matrices with

    det A = 1, det B = 2, and det C = 1.

    Find det(2A2(B1)(CT)3B(A1)).

    det(2A2(B1)(CT)3B(A1)) = 24(det A)21

    det B(det C)3(det B)

    1

    det A

    = 16(det A)(det C)3

    = 16 (1) 13

    = 16.

    Sections 3.2 Page 8/1

  • 7/28/2019 m211f2012 Slides Sec3.2handout

    9/28

    Example (3.2 Example 5)

    A square matrix A is orthogonal if and only if AT = A1. What are thepossible values of det A if A is orthogonal?

    Since AT = A1,

    det AT = det(A1)

    det A =1

    det A

    (det A)2 = 1

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

    Sections 3.2 Page 9/1

  • 7/28/2019 m211f2012 Slides Sec3.2handout

    10/28

    Adjugates

    For a 2 2 matrix A =

    a b

    c d

    , we have already seen the adjugate of A

    defined as

    adjA =

    d bc a

    ,

    and observed that

    A(adjA) = a b

    c d d b

    c a

    =

    ad bc 0

    0 ad bc

    = (det A)I2

    Furthermore, if det A = 0, then A is invertible and

    A1 =1

    det AadjA.

    Sections 3.2 Page 10/1

  • 7/28/2019 m211f2012 Slides Sec3.2handout

    11/28

    Adjugates

    Definition

    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 thecofactor matrix (matrix of cofactors).

    Reminder. cij(A) = (1)i+j

    det(Aij).

    Sections 3.2 Page 11/1

  • 7/28/2019 m211f2012 Slides Sec3.2handout

    12/28

    Example

    Find adjA when A =

    2 1 35 7 1

    3 0 6

    .

    Solution.

    adjA =

    42 6 2233 21 1321 3 19

    Notice that

    A(adjA) =

    2 1 35 7 13 0 6

    42 6 2233 21 1321 3 19

    =

    180 0 00 180 0

    0 0 180

    Sections 3.2 Page 12/1

  • 7/28/2019 m211f2012 Slides Sec3.2handout

    13/28

    Example (continued)

    Also,

    det A =

    2 1 35 7 13 0 6

    =

    2 1 319 0 22

    3 0 6

    = (1)

    19 223 6

    = 180,

    so in this example, we see that

    A(adjA) = (det A)I

    Sections 3.2 Page 13/1

  • 7/28/2019 m211f2012 Slides Sec3.2handout

    14/28

    The Adjugate Formula

    Theorem (3.2 Theorem 4)

    If A is an n n matrix, then

    A(adjA) = (det A)I = (adjA)A.

    Furthermore, ifdet A = 0, then

    A1 =1

    det AadjA.

    Note. Except in the case of a 2 2 matrix, the adjugate formula is a veryinefficient method for computing the inverse of a matrix; the matrixinversion algorithm is much more practical. However, the adjugate formulais of theoretical significance.

    Sections 3.2 Page 14/1

  • 7/28/2019 m211f2012 Slides Sec3.2handout

    15/28

    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

  • 7/28/2019 m211f2012 Slides Sec3.2handout

    16/28

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

  • 7/28/2019 m211f2012 Slides Sec3.2handout

    17/28

    Example (3.2 Exercise 17)

    Let A and B be n n matrices. Show that det(A + BT

    ) = det(AT

    + B).

    Sections 3.2 Page 17/1

  • 7/28/2019 m211f2012 Slides Sec3.2handout

    18/28

    Example (3.2 Exercise 20)

    For each of the following statements, determine if it is true or false, andsupply 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(BTA).

    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

    C R l

  • 7/28/2019 m211f2012 Slides Sec3.2handout

    19/28

    Cramers Rule

    If A is an n n invertible matrix, then the solution to AX = B can begiven 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,

    where X =

    x1 x2 xnT

    .

    We define 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 Aidet A

    Sections 3.2 Page 19/1

  • 7/28/2019 m211f2012 Slides Sec3.2handout

    20/28

    Example

    Solve for x3:3x1 + x2 x3 = 1

    5x

    1 + 2x

    2 = 2x1 + x2 x3 = 1

    By Cramers rule, x3 =det A3det A , where

    A = 3 1 15 2 0

    1 1 1

    and A3 = 3 1 1

    5 2 21 1 1

    .

    Computing the determinants of these two matrices,

    det A = 4 and det A3 = 6.

    Therefore, x3 =64 =

    32 .

    Sections 3.2 Page 20/1

  • 7/28/2019 m211f2012 Slides Sec3.2handout

    21/28

    Example (continued)For practice, you should compute det A1 and det A2, where

    A1 =

    1 1 1

    2 2 0

    1 1 1

    and A2 =

    3 1 15 2 0

    1 1 1

    ,

    and then solve for x1 and x2.

    Solution. x1 = 1, x2 =72 .

    Sections 3.2 Page 21/1

    P l i l I t l ti

  • 7/28/2019 m211f2012 Slides Sec3.2handout

    22/28

    Polynomial Interpolation

    Example

    Given data points (0, 1), (1, 2), (2, 5) and (3, 10), find an interpolatingpolynomial p(x) of degree at most three, and then estimate the value of ycorresponding to x = 32 .

    We want to find the coefficients r0, r1, r2 and r3 of

    p(x) = r0 + r1x + r2x2 + r3x3

    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

  • 7/28/2019 m211f2012 Slides Sec3.2handout

    23/28

    Example (continued)

    Solve this system of four equations in the four variables r0, r1, r2 and r3.

    1 0 0 0 11 1 1 1 21 2 4 8 51 3 9 27 10

    1 0 0 0 10 1 0 0 00 0 1 0 10 0 0 1 0

    Therefore r0 = 1, r1 = 0, r2 = 1, r3 = 0, and so

    p(x) = 1 + x2.

    The estimate isy = p

    3

    2

    = 1 +

    3

    2

    2=

    13

    4.

    Sections 3.2 Page 23/1

  • 7/28/2019 m211f2012 Slides Sec3.2handout

    24/28

    Theorem (3.2 Theorem 6)

    Given n data points (x1, y1), (x2, y2), . . . , (xn, yn) with the xi distinct, thereis a unique polynomial

    p(x) = r0 + r1x + r2x2 + + rn1x

    n1

    such that p(xi) = yi for i = 1, 2, . . . , n.

    The polynomial p(x) is called the interpolating polynomial for the data.

    To find p(x), set up a system of n linear equations in the n variablesr0, r1, r2, . . . , rn1.

    Sections 3.2 Page 24/1

    ( ) 2 n 1

  • 7/28/2019 m211f2012 Slides Sec3.2handout

    25/28

    p(x) = r0 + r1x + r2x2 + + rn1x

    n1:

    r0 + r1x1 + r2x21 + + rn1x

    n11 = y1

    r0 + r1x2 + r2x22 + + rn1x

    n12 = y2

    r0 + r1x3 + r2x23 + + rn1xn13 = y3

    ......

    ...r0 + r1xn + r2x

    2n + + rn1x

    n1n = yn

    The coefficient matrix for this system is

    1 x1 x21 x

    n11

    1 x2 x22 x

    n12

    ......

    ......

    ...

    1 xn x2n xn1n

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

    Sections 3.2 Page 25/1

    The Vandermonde Determinant

  • 7/28/2019 m211f2012 Slides Sec3.2handout

    26/28

    The Vandermonde Determinant

    Theorem (3.2 Theorem 7)

    Let a1, a2, . . . , an be real numbers, n 2. The the correspondingVandermonde determinant is

    det

    1 a1 a21 an111 a2 a

    22 a

    n12

    ......

    ......

    ...

    1 an a2n a

    n1n

    = 1j

  • 7/28/2019 m211f2012 Slides Sec3.2handout

    27/28

    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 0 0 01 1 1 1

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

  • 7/28/2019 m211f2012 Slides Sec3.2handout

    28/28

    As a consequence of Theorem 7, the Vandermonde determinant is nonzeroif a1, a2, . . . , an are distinct.

    This means that given n data points (x1, y1), (x2, y2), . . . , (xn, yn) withdistinct xi, then there is a unique interpolating polynomial

    p(x) = r0 + r1x + r2x2 + + rn1x

    n1.

    Sections 3.2 Page 28/1


Recommended