### Video Transcript

Consider the following matrix equation: the three-by-three matrix with elements negative seven, negative five, negative seven, eight, 10, seven, nine, seven, seven multiplied by the column matrix with elements ๐ฅ, ๐ฆ, ๐ง is equal to the column matrix with elements one, two, ๐. Find the value of ๐ that results in ๐ฅ is equal to one over two.

The given matrix equation represents a system of linear equations which you would normally want to solve for the unknowns ๐ฅ, ๐ฆ, and ๐ง. However, in this case, weโre given a value for ๐ฅ, thatโs ๐ฅ is equal to one-half, and asked to find the value of ๐. Either way, we still have three equations with three unknowns. And to solve, we can use the matrix inverse method.

Beginning by labeling our matrices ๐ด, ๐ฎ, and ๐ฏ, weโll see how this method works. We have the equation ๐ด multiplied by ๐ฎ is equal to ๐ฏ. If we assume that ๐ด is invertible, that is, its inverse exists, and multiply through on the left by ๐ด inverse, we have ๐ด inverse ๐ด multiplied by ๐ฎ is equal to ๐ด inverse ๐ฏ. We know that ๐ด inverse multiplied by ๐ด is the identity matrix. So in fact, on our left-hand side, we have the identity matrix multiplied by ๐ฎ, which is simply ๐ฎ. This isolates ๐ฎ on the left-hand side. And once weโve found ๐ด inverse, if we multiply out the right-hand side, weโll find our solution. So in fact, we need to find ๐ด inverse.

First, making some room, we know that for an ๐-by-๐ invertible matrix ๐ด, ๐ด inverse is equal to one over the determinant of ๐ด multiplied by the adjoint matrix of ๐ด. And remember that the adjoint matrix of ๐ด is the transpose of the matrix of cofactors of ๐ด, which weโll come back to later on. But letโs first find the determinant of ๐ด. Remember that if we expand along row ๐ of our matrix, we can find the determinant using the formula the sum from ๐ is one to ๐ of element ๐๐๐ multiplied by negative one raised to the power ๐ plus ๐ multiplied by the determinant of the matrix minor capital ๐ด subscript ๐๐.

And remember that the matrix minor is the two-by-two matrix resulting from removing row ๐ and column ๐ from our matrix ๐ด. In our case, if we expand along the first row, then we have the determinant of ๐ด is equal to the element ๐ one one multiplied by the two-by-two determinant of matrix minor ๐ด sub one one minus the element in row one, column two multiplied by the determinant of its matrix minor plus the element in row one, column three multiplied by the determinant of its matrix minor. And notice that our sign is determined by negative one raised to the power ๐ plus ๐. If ๐ plus ๐ is even, then our sign is positive. And if ๐ plus ๐ is odd, our sign is negative.

Element ๐ one one is negative seven. And we obtain our first matrix minor by removing row one and column one from our matrix. And we obtain our next two terms similarly by removing row one, column two and row one, column three. Now recalling that for a two-by-two matrix with elements ๐, ๐, ๐, and ๐, the determinant is given by ๐๐ minus ๐๐. Our first term is then negative seven multiplied by 10 multiplied by seven minus seven multiplied by seven. Thatโs negative seven multiplied by 21, which is negative 147.

For our second term, we have plus five multiplied by eight multiplied by seven minus nine multiplied by seven, which is negative seven. That is negative 35. And for our third term, our determinant is eight multiplied by seven minus 10 multiplied by nine, which is negative 34, and multiplied by negative seven, thatโs 238. The determinant of our matrix ๐ด is therefore negative 147 minus 35 plus 238, which is 56.

Making some room, and now that we have the determinant of ๐ด, letโs find the adjoint matrix of ๐ด. Recall that the adjoint matrix of an ๐-by-๐ matrix is the transpose of the matrix of cofactors. Thatโs where the cofactor of element ๐๐ is negative one raised to the power ๐ plus ๐ multiplied by the determinant of the matrix minor ๐ด ๐๐. The negative one raised to the power ๐ plus ๐ gives us the sign or parity. So for a three-by-three matrix, our signs are positive, negative, positive; negative, positive, negative; and positive, negative, positive.

To find the adjoint matrix of ๐ด then, we need to find the cofactors. In fact, weโve already seen three of these cofactors, those for the first row. The cofactor ๐ one one is the positive determinant of the matrix minor ๐ด subscript one one. Thatโs the matrix with elements 10, seven, seven, seven, and similarly for cofactors ๐ one two and ๐ one three. And we know that our signs are positive, negative, and positive.

Our first determinant, as we saw earlier, is 10 multiplied by seven minus seven multiplied by seven, and thatโs 21. Our second cofactor is negative eight multiplied by seven minus seven multiplied by nine. And thatโs negative negative seven, which is positive seven. Our third cofactor ๐ one three is eight multiplied by seven minus 10 times nine, which is negative 34.

So now we do the same thing for the other two rows in our matrix. So by exactly the same process, but noticing our signs again negative, positive, and negative, we have the cofactor ๐ two one is negative 14, the cofactor ๐ two two is positive 14, and the cofactor ๐ two three is four. And finally, for our third row, we have the cofactor ๐ three one is 35, ๐ three two is negative seven, and ๐ three three is negative 30 and where our signs were positive, negative, and positive.

Our matrix of cofactors, therefore, has the elements 21, seven, negative 34; negative 14, 14, and four; and 35, negative seven, and negative 30. And recall that the adjoint of our matrix ๐ด is the transpose of the matrix of cofactors. The transpose is the matrix where we swap the rows and columns. In our case, this means, for example, that the row with elements 21, seven, and negative 34 becomes the column with elements 21, seven, and negative 34. Similarly, for our second row, which becomes our second column, and our third row becomes our third column. And this is the adjoint matrix of our matrix ๐ด.

Now remember, itโs the inverse of our matrix ๐ด that weโre trying to find because itโs the inverse that will help us to solve our equation. And the inverse of the matrix ๐ด is one over the determinant of the matrix ๐ด multiplied by the adjoint. Our determinant, we found before, is 56, so the inverse of matrix ๐ด is one over 56 multiplied by the adjoint of our matrix ๐ด. So now we can use this to solve our system of linear equations.

We have ๐ฎ, which is the column matrix with elements ๐ฅ, ๐ฆ, and ๐ง, is equal to ๐ด inverse multiplied by the column matrix ๐ฏ. Now recall going back to our original question, we have a value for ๐ฅ. Thatโs ๐ฅ is equal to one over two. And now is as good a time as any to substitute this into our equation. On our left-hand side then, we have the column matrix with elements one-half, ๐ฆ, and ๐ง. Now, in fact, to find the value of ๐, we need only multiply out the first row with the column matrix on the right-hand side, since in the resulting equation thereโs only one unknown, and thatโs ๐.

For the sake of completion, however, letโs multiply out the whole of our right-hand side. We can then also find the values of ๐ฆ and ๐ง. Our first row is 21 times one plus negative 14 times two plus 35 times ๐, and similarly for our second and third rows. Now collecting like terms, we have one over 56 multiplied by the matrix with row one negative seven plus 35๐, row two 35 minus seven ๐, and row three negative 26 minus 30๐.

So now, by equality of matrices, we have one-half is equal to one over 56 multiplied by negative seven plus 35๐. Multiplying both sides by 56, we have 56 over two is negative seven plus 35๐. We have 28 is negative seven plus 35๐. Adding seven to both sides and dividing through by 35 then gives us ๐ is equal to one. Hence, the value of ๐ that results in ๐ฅ is equal to a half in our matrix equation is ๐ is equal to one.

And now for completionโs sake, we can use this value for ๐ to solve for ๐ฆ and ๐ง. And making some room, we then have ๐ฆ is equal to one over 56 multiplied by 35 minus seven and ๐ง is equal to one over 56 multiplied by negative 26 minus 30. These then evaluate to one over two and negative one. Hence, we have ๐ is equal to one, and ๐ฆ is equal to a half, ๐ง is equal to negative one.