WEBVTT
00:00:00.760 --> 00:00:13.680
Using the inverse matrix, solve the system of linear equations: two ๐ง minus three ๐ฆ equals seven, ๐ฆ plus five ๐ฅ equals four, and ๐ฅ minus two ๐ฆ minus ๐ง equals one.
00:00:14.880 --> 00:00:23.600
So we have a system of linear equations, three linear equations and the three unknowns ๐ฅ, ๐ฆ, and ๐ง.
00:00:23.600 --> 00:00:26.480
And weโre told to solve this system using the inverse matrix.
00:00:26.800 --> 00:00:31.960
So weโre going to want to write this system of linear equations as a single-matrix equation.
00:00:33.040 --> 00:00:43.520
To do this, we first rewrite each of our equations in the form ๐๐ฅ plus ๐๐ฆ plus ๐๐ง equals ๐ for some constants ๐, ๐, ๐, and ๐.
00:00:44.760 --> 00:00:51.240
So for example, we can rewrite the first equation two ๐ง minus three ๐ฆ equals seven.
00:00:51.240 --> 00:00:55.480
We can rewrite this as zero ๐ฅ minus three ๐ฆ plus two ๐ง equals seven.
00:00:55.880 --> 00:00:58.120
You can see that this is in the form required.
00:00:58.960 --> 00:01:02.280
We had to swap the terms two ๐ง and minus three ๐ฆ.
00:01:03.360 --> 00:01:06.680
And we had to write zero ๐ฅ at the start of the expression.
00:01:07.200 --> 00:01:09.000
Of course, zero ๐ฅ is just zero.
00:01:09.280 --> 00:01:12.640
And so, this doesnโt change the value of the expression on the left-hand side.
00:01:13.720 --> 00:01:20.840
We do the same with the second equation, swapping the terms five ๐ฅ and ๐ฆ and writing the coefficient of ๐ฆ explicitly.
00:01:21.480 --> 00:01:24.560
We also have to write zero ๐ง to get a ๐ง term.
00:01:25.680 --> 00:01:29.280
The terms in the third equation are all there and theyโre in the right order.
00:01:29.640 --> 00:01:33.720
All we have to do is write the coefficients of ๐ฅ and ๐ง explicitly.
00:01:34.840 --> 00:01:45.480
And now that we have these three equations in the right form with the ๐ฅ, ๐ฆ, and ๐ง terms lined up one above the other, we can write this system as a single-matrix equation.
00:01:46.520 --> 00:01:52.440
You can see that the layout of this matrix equation is very similar to the layout of the system of equations.
00:01:53.360 --> 00:02:01.720
You can check that this matrix equation represents the system of equations by multiplying out the left-hand side of the matrix equation using matrix multiplication.
00:02:02.720 --> 00:02:03.960
But weโre not going to do that.
00:02:03.960 --> 00:02:06.160
Weโre just going to solve this matrix equation.
00:02:07.080 --> 00:02:09.400
Now, how do we solve this matrix equation?
00:02:10.200 --> 00:02:15.400
Well, as the question suggest we use the inverse matrix left multiplying by it.
00:02:16.520 --> 00:02:21.720
On the left-hand side, the inverse matrix times the original matrix gives the identity matrix.
00:02:23.960 --> 00:02:29.560
And the identity matrix ๐ผ times ๐ฅ, ๐ฆ, ๐ง is just ๐ฅ, ๐ฆ, ๐ง.
00:02:29.560 --> 00:02:30.760
Thatโs what the identity matrix does.
00:02:31.920 --> 00:02:44.240
So we get that ๐ฅ, ๐ฆ, ๐ง is the inverse matrix of zero, negative three, two; five, one, zero; one, negative two, negative one times seven, four, one.
00:02:45.960 --> 00:02:50.480
So the main part of answering this question is to find this inverse matrix.
00:02:51.840 --> 00:02:59.160
The inverse of a matrix ๐ด is one over the determinant of that matrix ๐ด multiplied by the adjugate of ๐ด.
00:03:00.400 --> 00:03:04.560
We can work out the determinant of our matrix by expanding along the first row.
00:03:05.400 --> 00:03:15.520
The first term of this expansion is the first entry of the first row, zero times its minor which is the determinant you get by removing the row and column containing zero.
00:03:16.480 --> 00:03:22.680
From this, we subtract the entry negative three times its minor, the determinant five, zero, one, negative one.
00:03:23.400 --> 00:03:27.320
And finally, we add the last entry of the first row two times its minor.
00:03:28.200 --> 00:03:38.160
Of course, the first term being a zero times something is zero minus negative three times this determinant is the same as plus three times the determinant.
00:03:38.520 --> 00:03:47.760
And we can evaluate the determinant by multiplying along the leading diagonal five times negative one is negative five and then subtracting the product of the other two terms.
00:03:48.280 --> 00:03:50.280
Zero times one is zero.
00:03:51.920 --> 00:03:54.880
Negative five minus zero is negative five.
00:03:54.880 --> 00:03:56.560
So the value of the determinant is negative five.
00:03:56.880 --> 00:03:59.840
And the term becomes three times negative five.
00:04:00.800 --> 00:04:09.960
And similarly, the value of the remaining determinant is five times negative two which is negative 10 minus one times one which is one.
00:04:10.520 --> 00:04:13.040
Negative 10 minus one is negative 11.
00:04:14.200 --> 00:04:19.640
Three times negative five is negative 15 and two times negative 11 is negative 22.
00:04:19.640 --> 00:04:26.280
And so, the value of our three- by-three determinant is negative 15 plus negative 22 which is negative 37.
00:04:27.400 --> 00:04:29.200
So thatโs the determinant of our matrix.
00:04:29.480 --> 00:04:33.160
But to find the inverse of our matrix, the other ingredient we need is the adjugate.
00:04:33.480 --> 00:04:35.760
So letโs clear some room and find this.
00:04:36.640 --> 00:04:39.080
So what is the adjugate of our matrix?
00:04:40.040 --> 00:04:47.160
Well, itโs another three-by-three matrix which is most conveniently thought of as the transpose of another matrix.
00:04:48.280 --> 00:04:54.280
Now, what are the entries of this matrix that we take the transpose of to find our adjugate?
00:04:54.280 --> 00:04:59.120
In our original matrix, the entry in the first row and column is this entry zero.
00:05:00.200 --> 00:05:08.400
The entry in the first row and column of our new matrix is the determinant you get by deleting the row and column containing the entry zero.
00:05:09.720 --> 00:05:11.720
This is called the minor of this entry.
00:05:12.160 --> 00:05:19.120
And you might remember that itโs turned up when we were finding the determinant of this matrix by expanding along the first row.
00:05:20.400 --> 00:05:30.920
Similarly, to find the entry in the first row and second column, we delete the first row and second column from our original matrix and form the determinant from the remaining entries.
00:05:31.760 --> 00:05:38.120
This two-by-two determinant five, zero, one, negative one also appeared in the expansion for the three-by-three determinant.
00:05:39.120 --> 00:05:43.400
And we need to give it a minus sign because itโs in the first row and second column.
00:05:43.880 --> 00:05:46.440
And one plus two is three which is an odd number.
00:05:47.520 --> 00:05:51.760
When we give a sign to a minor in this way, thatโs turned it into a cofactor.
00:05:52.400 --> 00:05:57.560
The next cofactor is the two-by-two determinant five, one, one, negative two.
00:05:58.640 --> 00:06:02.960
We donโt give this a minus sign as itโs in the first row and third column.
00:06:02.960 --> 00:06:05.320
And one plus three is four, an even number.
00:06:06.240 --> 00:06:10.640
But the next entry does have a minus sign because itโs in the second row and the first column.
00:06:11.840 --> 00:06:14.600
Now, we continue to fill in our matrix of cofactors.
00:06:15.240 --> 00:06:20.520
Notice that the cofactors with minor signs form a diamond in our matrix.
00:06:21.680 --> 00:06:26.280
We now just need to evaluate all of our cofactors before taking the transpose.
00:06:27.280 --> 00:06:32.640
And you can think of taking the transpose as reflecting along the leading diagonal of the matrix.
00:06:33.800 --> 00:06:40.840
For example, the entry negative seven in the second row and first column goes to the second column and first row.
00:06:41.800 --> 00:06:51.480
This is therefore our adjugate, the matrix negative one, negative seven, negative two; five, negative two, 10; negative 11, negative three, 15.
00:06:52.760 --> 00:06:56.880
Now, we have the two ingredients we need to find the inverse of our original matrix.
00:06:57.960 --> 00:07:15.560
Using our formula, we see that it is one over negative 37โthatโs the determinant of our matrixโtimes the three-by-three matrix negative one, negative seven, negative two; five, negative two, 10; negative 11, negative three, 15 which was the adjugate of our matrix.
00:07:16.680 --> 00:07:18.600
So letโs make this substitution.
00:07:19.680 --> 00:07:23.360
And now, we can just perform matrix multiplication on the right-hand side.
00:07:24.240 --> 00:07:37.640
The matrix multiplication produces a three-by-one matrix, whose first entry, the entry in the first row, is negative one times seven plus negative seven times four plus negative two times one.
00:07:38.720 --> 00:07:47.200
Thatโs the dot product of the first row of the first matrix with the first and only column of our second matrix, that negative 37.
00:07:48.000 --> 00:07:55.720
Now, the dot product of the second row five, negative two, 10 with the column seven, four, one is 37.
00:07:56.720 --> 00:08:02.680
And the last entry is negative 11 times seven plus negative three times four plus 15 times one.
00:08:03.480 --> 00:08:06.160
This last entry is negative 74.
00:08:07.000 --> 00:08:13.120
And now, we can see that all the entries of our matrix are divisible by 37 and hence negative 37.
00:08:13.720 --> 00:08:14.920
We can simplify then.
00:08:14.920 --> 00:08:17.800
Negative 37 divided by negative 37 is one.
00:08:18.680 --> 00:08:21.440
37 divided by negative 37 is negative one.
00:08:22.200 --> 00:08:25.760
And negative 74 divided by negative 37 is two.
00:08:27.320 --> 00:08:31.720
Now, this is the value of the matrix of unknowns ๐ฅ, ๐ฆ, ๐ง.
00:08:31.720 --> 00:08:41.200
And we can see by comparing the entries of these matrices, so comparing these entries, we see that ๐ฅ is one, ๐ฆ is negative one, and ๐ง is two.
00:08:43.160 --> 00:08:48.520
We should check that these values do indeed satisfy the system of linear equations that we started with.
00:08:49.680 --> 00:08:51.360
And hopefully, you can see that they do.
00:08:52.120 --> 00:08:56.920
And so, weโve solved this system of linear equations by using inverse matrices.