00:01
Hello there.
00:02
So for this exercise we need to first solve this linear system of equations using the grammar rule and then using gauss jordan.
00:12
So after solving for with each of these methods then we need we should compare which one involve less operations.
00:24
So i'm going to start with the grammar rule so that means that we need the matrix representation of this system of linear equations.
00:33
So the matrix representation is the following matrix.
00:44
3 -7 -1 -1 -7 -3 -5 -8 and here 1 -1.
00:58
So we have this is our matrix, and here we put the unknowns xy z w equals to the coefficients here 6 1 minus 3 3 so here we have our representation of this the linear system a x equals to b and in order to solve using the cromance rule we need first to get the determinant of the matrix a so the determinant of the matrix a in this case is equal to minus 424 and then we need to obtain matrices where we replace the columns by the vector b so a1 corresponds to changing the first columns of the matrix a but with the vector b here so we pick the same matrix and we erase the first column and we replaced by the matrix by the vector b.
02:25
So here we put six one minus three and three.
02:32
Then a two is in the same sense but changing the second column here.
02:40
So here we put we raise this and we put six one minus three three.
02:52
Then here we put a 3 is that we replace the third column with the vector b so 6 1 minus 3 3 and finally a 4 we replace the 4 column so the point is that by obtaining these matrices a 1 a 2 a 3 and a 4 the grammar rules say that the solution for the variables for the variable xi for example is given by the determinant of this matrix one of these matrices a a 1 a 2 or a 3 the corresponding i subindex divided by the determinant of the matrix so what we need now is to calculate the determinant of each of these matrices here so we put the determinant of a 1 it's going to be equals to minus 424 and let's put here the determinant of a just to remember it's minus 424 so we have this determinant a 1 for a 2 we obtained that this equals to 0 for a 3 we have that is equals to minus 848 and the terminant of a 4 is equals to 0 so then we can obtain the solutions so for a 1 we have that the corresponding unknown is x so x it's going to be equal to the determinant of a 1 over the determinant of a and this is equal to minus 424 over minus 424 and this is equals to 1.
05:25
Here immediately by the definition is we have that y is going to be equal to the determinant of a2 over the determinant of a2 is equal to 0 so this is equal to 0.
05:42
Then here we have z it's going to be equal to the terminant of a 3 over the terminate of a and this is minus a 148 over minus 4244 which is equal to 2 and the last one is w which is also going to be equal to 0.
06:11
So the solution, we have obtained the solution here and is given by x equals to 2, y equals to 0, z equals to 2 and w equals to 0.
06:26
Okay, so you can see that actually applying the grammar rule is quite easy.
06:32
Of course, the hardest part are located in the computation of each of these determinants.
06:38
But actually in this case we can avoid the calculation of the determinant of a2 and a3 because there should be some linear some row or column that is written as a linear combination of the other two so you can avoid to calculate those determinants but you can see that actually this process is quite you don't need to make so much calculations but now let's see what happened with the gaussure jordan process.
07:13
So if we apply gauss jordan, we need to rewrite our system...