Video Transcript
Express the following simultaneous equations as a matrix equation: two ๐ minus three ๐ is equal to four and negative five ๐ plus six ๐ is equal to negative seven.
In this question, weโre given a pair of simultaneous equations and weโre asked to write these simultaneous equations as a matrix equation. To do this, letโs start by recalling the standard form for a matrix equation of linear simultaneous equations. Itโs the form ๐ times ๐ is equal to ๐ด, where ๐, ๐, and ๐ด are matrices. In this case, the matrix ๐ will be the coefficient matrix. Itโs the matrix of coefficients of the variables in our simultaneous equations. Next, our matrix ๐ is going to be the matrix of variables. In this case, thatโs ๐ and ๐. Finally, the matrix ๐ด is called the answer or solution matrix. Itโs the constant values which answer the simultaneous equations. In this case, thatโs four and negative seven.
We can use this to directly write the simultaneous equations as a matrix equation. We start by writing the matrix of coefficients, where itโs important to keep the signs of the coefficients of each of the variables. And itโs worth pointing out here each variable in our simultaneous equations will give us an extra column in our coefficient matrix and each different simultaneous equation will give us a different row. And in this case, thereโs two variables in two equations, so weโll get a two-by-two coefficient matrix. In this case, thatโs the two-by-two matrix two, negative three, negative five, six.
Next, we need to multiply this by the matrix ๐, which is the matrix of variables. Thatโs ๐ and ๐. And itโs important to remember we always write this as a column matrix because we need to multiply this on the left by the coefficient matrix to generate our simultaneous equations. For example, to multiply two matrices together, we multiply the corresponding entries in the rows of the first matrix with the column of the second matrix and add these together. For the first row of the first matrix and the first column of the second matrix, we would get two ๐ minus three ๐, which is the left-hand side of the first simultaneous equation.
Before we move on to our answer matrix, thereโs one more thing worth noting. We can multiply these two matrices together, since the coefficient matrix is a two-by-two matrix and the variable matrix is a two-by-one matrix. Since the number of columns of the first matrix is equal to the number of rows of the second matrix, we can multiply these two matrices together. And the result will be a two-by-one matrix. And this can help us to remember or justify that the answer matrix will also be a column matrix. Each entry of the answer matrix will just be the answers to the simultaneous equations. Thatโs four and negative seven.
This then gives us the following matrix equation: the two-by-two matrix two, negative three, negative five, six multiplied by the two-by-one matrix ๐, ๐ is equal to the two-by-one matrix four, negative seven.
And we can check that this is a valid matrix equation of the given simultaneous equations by evaluating the matrix multiplication. Weโve already seen what this looks like for the first row of the first matrix. So letโs instead use the second row of the first matrix. We need to multiply negative five by ๐, and then we need to add on to this six multiplied by ๐. And for the values of ๐ and ๐ to satisfy this equation, we would need this expression to be equal to negative seven. We can see this is exactly the same as the second simultaneous equation. Negative five ๐ plus six ๐ needs to be equal to negative seven.
So we could leave our answer like this. However, thereโs one useful property worth mentioning. We know it doesnโt matter which order we give our simultaneous equations in. So the same should be true for our matrix equation. In particular, the order we listed the simultaneous equations in determined the order we gave the rows of our coefficient matrix and the order we gave the rows of our answer matrix. So if we switch the two rows of our coefficient matrix and the two rows of our answer matrix, we get an equivalent matrix equation. In this case, thatโs the two-by-two matrix negative five, six, two, negative three multiplied by the two-by-one matrix ๐, ๐ is equal to the two-by-one matrix negative seven, four.
And itโs important to reiterate here we donโt switch the orders of our variable matrix, because switching the order of our simultaneous equations does not change the order in which the variables appear. However, we can use this idea to generate more equivalent matrix equations. For example, instead of switching the order of our simultaneous equations, we can instead switch the order that the ๐- and ๐-terms appear in each of the simultaneous equations. And this would have the effect of switching the columns of the coefficient matrix and the rows of the variable matrix. However, the answer matrix would remain unchanged.
And all of these matrix equations are equivalent, and we could use any of them as our answer. In this case, weโll say that we can rewrite the simultaneous equations given to us in the question as the matrix equation the two-by-two matrix negative five, six, two, negative three multiplied by the two-by-one matrix ๐, ๐ is equal to the two-by-one matrix negative seven, four.