Video Transcript
Use the inverse matrix to solve the
matrix equation, where the three-by-three matrix with elements two, three, four;
negative five, five, six; and seven, eight, nine is multiplied by the column matrix
with elements ๐ฅ, ๐ฆ, and ๐ง is equal to the column matrix with elements zero, 45,
and negative 45, giving your answer as an appropriate matrix.
Weโre given a system of linear
equations in the form ๐ด multiplied by ๐ฎ is equal to ๐ฏ, where ๐ด is a
three-by-three matrix, ๐ฎ is a column matrix, and ๐ฏ is a column matrix. The column matrix ๐ฎ contains the
three unknowns ๐ฅ, ๐ฆ, and ๐ง. And weโre asked to solve this
system using the matrix inverse. What this means is that assuming ๐ด
is nonsingular, that is, an inverse exists for ๐ด. If we find the inverse of ๐ด, we
can multiply our equation through on the left by ๐ด inverse. And we can use the fact that ๐ด
inverse multiplied by ๐ด is equal to ๐ด๐ด inverse, which is equal to the identity
for an ๐-by-๐ nonsingular matrix.
Recalling that the ๐-by-๐
identity matrix is the matrix whose elements are all zero except those on the
leading diagonal which are all equal to one, which for a three-by-three matrix is as
shown. On the left-hand side then, we have
๐ด inverse ๐ด, which is equal to ๐ผ, multiplied by ๐ฎ. And ๐ผ multiplied by ๐ฎ is simply
๐ฎ. And so weโve isolated ๐ฎ on the
left-hand side, remembering that ๐ฎ is our column matrix with elements ๐ฅ, ๐ฆ,
๐ง. And these are our unknowns. And on our right-hand side, we have
๐ด inverse multiplied by ๐ฏ. So if we find ๐ด inverse, we can
solve for ๐ฅ, ๐ฆ, and ๐ง.
To find the inverse of the matrix
๐ด, weโre going to use the adjoint method. That is, for an ๐-by-๐
nonsingular matrix ๐ด, the inverse of ๐ด is given by one over the determinant of ๐ด
multiplied by the adjoint of ๐ด. This means weโll have to find the
determinant of the matrix ๐ด and the adjoint of matrix ๐ด. For the determinant, we can expand
along the first row of our matrix ๐ด so that we have the determinant of ๐ด is equal
to the element ๐ one one, which is two, multiplied by the determinant of the
two-by-two matrix minor ๐ด one one minus the element ๐ one two multiplied by the
determinant of its matrix minor plus the element ๐ one three, which is four,
multiplied by the determinant of its matrix minor. Recalling that the matrix minor ๐ด
๐๐ is the matrix ๐ด with row ๐ and column ๐ removed.
So, for example, in our case, the
matrix minor ๐ด one one is the two-by-two matrix resulting in the removal of row one
and column one from our matrix ๐ด. Matrix minor ๐ด one one is
therefore the two-by-two matrix with elements five, six, eight, and nine. Similarly, for our second term, the
matrix minor ๐ด one two is the two-by-two matrix with elements negative five, six,
seven, and nine. And for our third term, the matrix
minor ๐ด one three is the two-by-two matrix with elements negative five, five,
seven, and eight. To evaluate this, weโre going to
need to work out our two-by-two determinants. And we recall that for a two-by-two
matrix ๐ with elements ๐, ๐, ๐, ๐, the determinant of ๐ is equal to ๐๐ minus
๐๐.
So, for example, in our first term,
the determinant is five multiplied by nine minus six multiplied by eight. That is 45 minus 48, which is
negative three, so that our first term evaluates to two times negative three, which
is negative six. For our second term, weโll have
negative three multiplied by negative five times nine minus six times seven, which
is negative three times negative 87. And for our third term, we have
four multiplied by negative five times eight minus five times seven, which is four
times negative 75. Our determinant is then negative
six plus 261 minus 300, which is negative 45. And now that we have the
determinant of matrix ๐ด, we need to find its adjoint matrix.
Now making some room and making a
note of our determinant, we recall that the adjoint of a matrix is the transpose of
the matrix of its cofactors, which for a three-by-three matrix is as shown. For element ๐ ๐๐, the cofactor
๐ ๐๐ is negative one raised to the power ๐ plus ๐ multiplied by the determinant
of the matrix minor ๐ด ๐๐. And note that negative one raised
to the power ๐ plus ๐ gives us the parity or sign of the cofactor. For a three-by-three matrix, thatโs
positive, negative, positive; negative, positive, negative; and positive, negative,
positive.
Weโve actually already seen three
of the cofactors when calculating the determinant of our matrix. ๐ one one is the positive
determinant of matrix minor ๐ด one one. And that is five multiplied by nine
minus six multiplied by eight, which is 45 minus 48, which, as we saw before, is
negative three. Similarly, our second cofactor ๐
one two is negative negative 87. Thatโs positive 87. And our third cofactor ๐ one three
is negative 75. So now letโs write out the second
two rows of cofactors. Our cofactor ๐ two one is five, ๐
two two is negative 10, and ๐ two three is five. And our final row of cofactors are
๐ three one is negative two, ๐ three two is negative 32, and ๐ three three is
25. And note that itโs very important
that we get our parity correct, which is positive, negative, positive, and so
on.
So now we can write out our adjoint
matrix. Thatโs the transpose of the matrix
with elements negative three, 87, negative 75; five, negative 10, and five; negative
two, negative 32, and 25. Now making some room, we can write
out our adjoint matrix, which is the transpose of the matrix of cofactors, where to
obtain the transpose, we interchange the rows and columns of the matrix. This means that our first row
becomes our first column, our second row becomes our second column, and our third
row becomes our third column. Now remember, itโs actually the
inverse of our matrix ๐ด that weโre looking for at the moment. And the inverse is one over the
determinant multiplied by the adjoint matrix, which in our case is one over negative
45 times our adjoint matrix. And of course we can move our
negative sign to the numerator.
Now remember, our original equation
is ๐ฎ is equal to ๐ด inverse multiplied by ๐ฏ. And writing this out with our
matrices, we have the equation as shown. And to solve this, we simply
multiply out the right-hand side and use equality of matrices. Before we do this, however, we can
simplify things a little if we multiply our matrix ๐ฏ by negative one over 45. This will give us zero, negative 45
over 45, which is negative one, and negative negative 45 over 45, which is positive
one. This then eliminates our scalar
factor of negative one over 45. So on the right, we replace
negative one over 45 times ๐ฏ with the column matrix with elements zero, negative
one, one.
Using matrix multiplication then,
we have negative three multiplied by zero plus five multiplied by negative one plus
negative two multiplied by one. And similarly, for our second and
third rows, we have 87 multiplied by zero plus negative 10 times negative one plus
negative 32 times one and in the third row negative 75 times zero plus five times
negative one plus 25 times one. These three rows then evaluate to
negative seven, negative 22, and 20. An appropriate matrix for the
solution of our matrix equation is therefore the column matrix with elements
negative seven, negative 22, and 20. And these are our values for ๐ฅ,
๐ฆ, and ๐ง.