Question Video: Finding an Unknown in a System of Three Equations Using a Matrix Inverse | Nagwa Question Video: Finding an Unknown in a System of Three Equations Using a Matrix Inverse | Nagwa

# Question Video: Finding an Unknown in a System of Three Equations Using a Matrix Inverse Mathematics • Third Year of Secondary School

## Join Nagwa Classes

Consider the following matrix equation: [โ7, โ5, โ7 and 8, 10, 7 and 9, 7, 7][๐ฅ and ๐ฆ and ๐ง] = [1 and 2 and ๐]. Find the value of ๐ that results in ๐ฅ = 1/2.

08:48

### 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.

## Join Nagwa Classes

Attend live sessions on Nagwa Classes to boost your learning with guidance and advice from an expert teacher!

• Interactive Sessions
• Chat & Messaging
• Realistic Exam Questions