In this explainer, we will learn how to represent a system of two equations as a matrix equation.
Before we begin, it is important that we be confident with matrix multiplication, as this is necessary in the definition of representing a system of equations in terms of matrices. We know how to solve a system of equations using methods such as elimination and substitution. However, in this explainer, we will learn how to represent a system of linear equations as a matrix equation.
Now, before we look at some examples where we will represent systems of two equations in matrix form, let us look at a general form for this process.
How To: Representing a System of Two Linear Equations in Matrix Form
If we have the system of equations then to represent this as a matrix equation, we will begin by creating a matrix of the coefficients of the variables. We know that this will be a matrix as we have two unknowns in each of the two equations.
This gives us the following matrix, which is known as the coefficient matrix:
Next, we complete the matrix equation by stating that this matrix multiplied by the variables matrix , where and are our unknowns, is equal to the matrix , where and are our answer values. This is sometimes also known as the constants matrix.
The full matrix equation is shown below:
It is important to emphasize that, in the coefficient matrix, the values take the signs of those in the system of equations.
We can use matrix multiplication to show how this matrix equation works; by using matrix multiplication, the left-hand side of this equation simplifies to give
Then, this matrix must be equal to our constants matrix:
Finally, these matrices are equal exactly when our original system is solved.
Now, we will look at some examples.
Example 1: Expressing a Pair of Simultaneous Equations as a Matrix Equation
Express the simultaneous equations as a matrix equation.
Answer
We recall that if we have a system of two equations in the form then this can be represented as a matrix equation in the form where is the matrix of coefficients, with the first column being the -coefficients and the second being the -coefficients, is the matrix of the variables, and is the matrix of the answers to each of the equations.
Therefore, the pair of equations in this question can be represented as the matrix equation
In the next example, we will solve a problem that includes fractional coefficients and answers to demonstrate that the method remains unchanged.
Example 2: Expressing a Pair of Simultaneous Equations as a Matrix Equation
Express the simultaneous equations as a matrix equation.
Answer
Firstly, from inspection, we can see that the second equation is in the form
Therefore, we need to consider this when representing this in our matrix equation, as it is a common mistake to have the elements in the wrong order in the coefficient matrix. To avoid this, we should rewrite the system of equations as
Next, we recall that if we have a system of two equations in the form then this can be represented as a matrix equation in the form remembering that the elements in the coefficient matrix take the signs of the coefficients of the variables in the original equations.
Therefore, bearing this in mind, we can represent our system of equations as the matrix equation
In the first two questions, we have represented systems of equations as a matrix equation. In our next two examples, we will write down the set of simultaneous equations that can be represented using a given matrix equation.
Example 3: Identifying a Pair of Simultaneous Equations from a Matrix Equation
Write down the set of simultaneous equations that could be solved using the matrix equation
Answer
We can multiply the two matrices on the left-hand side of the equation to get
Since these matrices must be equal, their entries must be equal; therefore, the set of simultaneous equations that can be solved is
In our next example, once again we will be finding a set of equations that can be represented by a given matrix equation; however, this time we will also be considering coefficients with different signs.
Example 4: Identifying a Pair of Simultaneous Equations from a Matrix Equation
Write down the set of simultaneous equations that could be solved using the matrix equation
Answer
In this problem, we can multiply the two matrices on the left-hand side of the equation to get
Since these matrices must be equal, their entries must be equal; therefore, the set of simultaneous equations that can be solved is
Now, we will explore an example of representing a pair of simultaneous equations as a matrix equation that requires some algebraic manipulation.
Example 5: Expressing a Pair of Simultaneous Equations as a Matrix Equation
Express the simultaneous equations as a matrix equation.
Answer
First, we will rearrange the equations into the form as this will enable us to effectively represent our system of equations as a matrix equation.
We will start with the first equation,
We can add and add 24 to each side of the equation to give us
Next, we rearrange the second equation by adding to each side. This gives us
Now, we have the pair of equations
We can recall that a system of two equations in the form can be represented as a matrix equation in the form where we recall that the terms and have coefficients of 1.
Therefore, the pair of equations in this question can be represented as the matrix equation
In our final example, we will investigate a problem that includes a zero element in the coefficient matrix.
Example 6: Identifying a Pair of Simultaneous Equations from a Matrix Equation That Includes a Zero Element
Which of the following systems of equations can be represented by the matrix form ?
Answer
In this problem, we can multiply the two matrices on the left-hand side of the equation to get
Since these matrices must be equal, their entries must be equal; therefore, the set of simultaneous equations that can be represented is
However, we do not include variables with a zero coefficient; therefore, we can rewrite the equations as which is option A.
We will finish by recapping the key points from this explainer.
Key Points
- A system of two equations in the form can be represented as a matrix equation in the form where is known as the coefficient matrix and as the constants matrix.
- The elements in the coefficient matrix take the signs of the coefficients of the variables in the original equations.