< Return to Video

Inverting 3x3 part 2: Determinant and Adjugate of a Matrix

  • 0:00 - 0:01
  • 0:01 - 0:03
    We're nearing the home
    stretch of our quest
  • 0:03 - 0:07
    to find the inverse of this
    three-by-three matrix here.
  • 0:07 - 0:09
    And the next thing
    that we can do
  • 0:09 - 0:11
    is find the determinant
    of it, which we already
  • 0:11 - 0:13
    have a good bit
    of practice doing.
  • 0:13 - 0:19
    So the determinant
    of C, of our matrix--
  • 0:19 - 0:21
    I'll do that same
    color-- C, there
  • 0:21 - 0:23
    are several ways
    that you could do it.
  • 0:23 - 0:30
  • 0:30 - 0:33
    You could take this
    top row of the matrix
  • 0:33 - 0:35
    and take the value of
    each of those terms
  • 0:35 - 0:39
    times the cofactor-- times
    the corresponding cofactor--
  • 0:39 - 0:40
    and take the sum there.
  • 0:40 - 0:41
    That's one technique.
  • 0:41 - 0:43
    Or you could do
    the technique where
  • 0:43 - 0:46
    you rewrite these
    first two columns,
  • 0:46 - 0:51
    and then you take the product
    of the top to left diagonals,
  • 0:51 - 0:54
    sum those up, and
    then subtract out
  • 0:54 - 0:55
    the top right to
    the bottom left.
  • 0:55 - 0:57
    I'll do the second
    one just so that you
  • 0:57 - 0:59
    can see that you
    get the same result.
  • 0:59 - 1:00
    So let's see.
  • 1:00 - 1:03
    The determinant is going
    to be equal to-- I'll
  • 1:03 - 1:06
    rewrite all of these
    things-- so negative
  • 1:06 - 1:13
    1, negative 2, 2,
    2, 1, 1, 3, 4, 5.
  • 1:13 - 1:16
    And let me now, just to make
    it a little bit simpler,
  • 1:16 - 1:18
    rewrite these first two columns.
  • 1:18 - 1:23
    So negative 1,
    negative 2, 2, 1, 3, 4.
  • 1:23 - 1:25
    So the determinant
    is going to be
  • 1:25 - 1:28
    equal to-- so let
    me write this down.
  • 1:28 - 1:32
    So you have negative
    1 times 1 times 5.
  • 1:32 - 1:34
    Well that's just going
    to be negative 5,
  • 1:34 - 1:36
    taking that product.
  • 1:36 - 1:43
    Then you have negative
    2 times 1 times 3.
  • 1:43 - 1:45
    Well that's negative 6.
  • 1:45 - 1:47
    So we'll have negative 6.
  • 1:47 - 1:49
    Or you could say plus
    negative 6 there.
  • 1:49 - 1:52
    And then you have
    2 times 2 times 4.
  • 1:52 - 1:56
    Well that's just 4 times
    4, which is just 16.
  • 1:56 - 1:59
    So we have plus 16.
  • 1:59 - 2:02
    And then we do the top
    right to the bottom left.
  • 2:02 - 2:05
    So you have negative
    2 times 2 times 5.
  • 2:05 - 2:08
    Well that's negative 4 times 5.
  • 2:08 - 2:11
    So that is negative 20.
  • 2:11 - 2:13
    But we're going to
    subtract negative 20.
  • 2:13 - 2:15
    So that's negative 4
    times 5, negative 20,
  • 2:15 - 2:19
    but we're going to
    subtract negative 20.
  • 2:19 - 2:23
    Obviously that's going to
    turn into adding positive 20.
  • 2:23 - 2:27
    Then you have negative 1 times
    1 times 4, which is negative 4.
  • 2:27 - 2:30
    But we're going to
    subtract these products.
  • 2:30 - 2:32
    We're going to
    subtract negative 4.
  • 2:32 - 2:36
    And then you have 2 times
    1 times 3, which is 6.
  • 2:36 - 2:38
    But we have to subtract it.
  • 2:38 - 2:40
    So we have subtracting 6.
  • 2:40 - 2:45
    And so this simplifies
    to negative 5 minus 6
  • 2:45 - 2:53
    is negative 11, plus 16
    gets us to positive 5.
  • 2:53 - 2:56
    So all of this
    simplifies to positive 5.
  • 2:56 - 3:02
    And then we have plus 20 plus 4.
  • 3:02 - 3:04
    Actually, let me do
    that green color,
  • 3:04 - 3:06
    so we don't get confused.
  • 3:06 - 3:13
    So we have plus
    20 plus 4 minus 6.
  • 3:13 - 3:14
    So what does this get us?
  • 3:14 - 3:25
    5 plus 20 is 25, plus 4 is
    29, minus 6 gets us to 23.
  • 3:25 - 3:31
    So our determinant right
    over here is equal to 23.
  • 3:31 - 3:34
  • 3:34 - 3:38
    So now we are really
    in the home stretch.
  • 3:38 - 3:40
    The inverse of this
    matrix is going
  • 3:40 - 3:45
    to be 1 over our determinant
    times the transpose
  • 3:45 - 3:47
    of this cofactor matrix.
  • 3:47 - 3:49
    And the transpose of
    the cofactor matrix
  • 3:49 - 3:51
    is called the adjugate.
  • 3:51 - 3:52
    So let's do that.
  • 3:52 - 3:55
    So let's write
    the adjugate here.
  • 3:55 - 3:56
    This is the drum roll.
  • 3:56 - 3:57
    We're really in
    the home stretch.
  • 3:57 - 4:01
    C inverse is equal to
    1 over the determinant,
  • 4:01 - 4:10
    so it's equal to 1/23,
    times the adjugate of C.
  • 4:10 - 4:19
    And so this is going to be equal
    to 1/23 times the transpose
  • 4:19 - 4:22
    of our cofactor matrix.
  • 4:22 - 4:24
    So we have our cofactor
    matrix right over here.
  • 4:24 - 4:27
    So each row now
    becomes a column.
  • 4:27 - 4:34
    So this row now
    becomes a column.
  • 4:34 - 4:40
    So it becomes 1, negative 7,
    5 becomes the first column.
  • 4:40 - 4:46
    The second row becomes
    the second column-- 18,
  • 4:46 - 4:49
    negative 11, negative 2.
  • 4:49 - 4:54
    And then finally, the third
    row becomes the third column.
  • 4:54 - 4:59
    You have negative 4, 5, and 3.
  • 4:59 - 5:00
    And now we just
    have to multiply,
  • 5:00 - 5:04
    or you could say divide, each of
    these by 23, and we are there.
  • 5:04 - 5:09
    So this is the inverse of
    our original matrix C, home
  • 5:09 - 5:10
    stretch.
  • 5:10 - 5:17
    1 divided by 23 is just 1/23.
  • 5:17 - 5:18
    Then you have 18/23.
  • 5:18 - 5:21
    Actually, let me give myself
    a little bit more real estate
  • 5:21 - 5:22
    to do this in.
  • 5:22 - 5:25
  • 5:25 - 5:27
    So there we go.
  • 5:27 - 5:39
    So 1 divided by 23-- 1/23,
    18/23, negative 4/23,
  • 5:39 - 5:53
    negative 7/23, negative 11/23,
    5/23, 5/23, negative 2/23.
  • 5:53 - 5:55
    And then finally,
    assuming we haven't made
  • 5:55 - 5:57
    any careless mistakes,
    which would shock me
  • 5:57 - 6:01
    if we haven't, we get to 3/23.
  • 6:01 - 6:02
    And we are done.
  • 6:02 - 6:07
    We have successfully inverted
    a three-by-three matrix.
  • 6:07 - 6:11
    Once again, something I
    strongly believe better done
  • 6:11 - 6:13
    by a computer and
    probably should not
  • 6:13 - 6:18
    be part of a typical Algebra
    2 curriculum, because it tends
  • 6:18 - 6:21
    to be displayed in a,
    non-contextual way.
  • 6:21 - 6:22
Title:
Inverting 3x3 part 2: Determinant and Adjugate of a Matrix
Description:

more » « less
Video Language:
English
Team:
Khan Academy
Duration:
06:22

English subtitles

Revisions Compare revisions