In this explainer, we will learn how to solve systems of linear equations by omitting a variable.

When we are asked to solve a system of equations (sometimes called simultaneous equations), we are trying to find any points at which the equations are equal, that is, any points where they intersect. Before looking at how we can solve these questions algebraically, let us look at a graphical example. If we draw the graphs of the equations and , we get the following.

From this, we can see that the graphs intersect at the point . This is the point, therefore, which is the solution to the system of equations and . We can check that this is correct by substituting the coordinates into each of the equations. For the first, we get

which is correct, and for the second equation we get

which is also correct.

Further to solving the system graphically, we can take an algebraic approach. There are two main methods for doing this: one is called substitution and the other elimination. Here, we are going to focus on elimination. The method is titled as such as we solve the system of equations by eliminating a variable by adding or subtracting multiples of one or both equations. Often, when solving systems of two equations, elimination is a more desirable method to use when you want to avoid having to rearrange one or both equations. If we consider again the system of equations

we can eliminate the variable by subtracting one equation from the other or eliminate the variable by adding the two equations. Let us look at both methods. If we subtract the equations, we get , , and , giving us

If we then divide through by , we find that

Remember to be very careful with your negative signs throughout your calculations. At the point we can then substitute into either one of our equations to find . Here, let us substitute into the first equation:

As we can see, these solutions are consistent with what we saw from the graph. Equally, we could have added our two equations which would have given us , , and , giving

Dividing through by two gives us

Again, at this point, we could substitute into either equation to find that . Generally, to eliminate a variable where both signs are the same we subtract one equation from the other and if we want to eliminate a variable where the signs are different we add the two equations. We may also have to multiply the equations through by a number first to make the value of the two coefficients the same. We will look at examples of each of these cases now.

### Example 1: Solving Systems of Equations Using Elimination by Adding

Solve the simultaneous equations and .

### Answer

To solve this system of equations, we can start by either adding or subtracting the two equations as the coefficient of each variable is the same. Here, we will add the two equations to eliminate the variable :

If we then divide through by 2, we find that

We then need to substitute into either one of the two equations. Here, we will substitute into the second as this contains no negatives:

Then, we subtract 9 from each side to find that

Our solutions are, therefore, and , which corresponds to the point .

Now, let us look at an example where one of the equations needs to be multiplied before we add or subtract the equations to eliminate a variable.

### Example 2: Solving Systems of Equations Using Elimination by Subtracting

Solve the simultaneous equations and .

### Answer

Our first step is to identify which of the variables we want to eliminate. Here, the coefficients of the variables are 1 and 2, whereas the coefficients of the variables are 4 and 7. As 2 is a multiple of 1, this means that we can make the coefficients of the same by only multiplying one of the equations. If we multiply the first equation through by 2, we get

We can then subtract the second equation from this equation to eliminate the variable :

If we then substitute this value of into either of the original equations, we can calculate the value of . If we substitute into the first equation, we get

Simplifying, we get

and subtracting 116 from both sides we find that . The solution to this system of equations is, therefore, and , which corresponds to the point .

In some instances, to solve an equation by elimination, you will need to multiply both equations through by a number to make the coefficients of one of the variables the same. Let us look at a couple of examples of this now.

### Example 3: Solving Systems of Equations Using Elimination Where Each Equation Needs to Be Multiplied

Use the elimination method to solve the given simultaneous equations:

### Answer

With this question, we need to multiply both equations to make the coefficients of either the or the variables the same. Here, we are going to make the coefficients of equal (simply because the numbers have smaller magnitude) but we could equally make the coefficients of equal. If we multiply the first equation through by 3 and the second equation through by 2, we get

We now have two equations with two coefficients of equal magnitude, but opposite signs. To eliminate the variable, we need to add the two equations to get

If we then divide through by 22, we get

In order to find , we need to substitute our value of into one of the original equations. We will substitute into the second equation as this contains all positive numbers. We get

which simplifies to

If we subtract 10 from each side and then divide through by 4, we find that

The solution to this system of equations is, therefore, and , which corresponds to the point .

### Example 4: Solving Systems of Equations Using Elimination Where Each Equation Needs to Be Multiplied

Using elimination, solve the simultaneous equations:

### Answer

With this question, we need to multiply both equations to make the coefficients of either the or the variables the same. Here, we are going to make the coefficients of equal (simply because the numbers have smaller magnitude) but we could equally make the coefficients of equal. If we multiply the first equation through by 3 and the second equation through by 4, we get

We now have two equations with two coefficients of equal magnitude. To eliminate the variable, we need to subtract one equation from the other. Here, we will subtract the first from the second to avoid having to work with negative numbers to get

If we then divide through by 10, we get

In order to find , we need to substitute our value of into one of the original equations. We will substitute into the first equation to get which simplifies to

If we subtract 24 from each side and then divide through by 4, we find that

The solution to this system of equations is, therefore, and , which corresponds to the point .

On occasion, you will need to rearrange one (or both) of the equations before eliminating a variable. Let us look at an example of this before finishing.

### Example 5: Solving a System of Equations by Rearranging and Then Using Elimination

Solve the simultaneous equations and .

### Answer

With this question, we can start by rearranging the second equation so it is the same form as the first equation. If we subtract 10 from both sides of the second equation, our system becomes

We now need to multiply one of the equations to make the coefficients of either or the same. Here, we will multiply the first equation through by 3 to make the coefficients of the same in both equations to get

We can now subtract the second equation from the first equation to eliminate the variable . When doing this, we need to be particularly careful with our signs as we are subtracting negative numbers. We have , , and , giving us

Dividing through by 2 gives us

In order to find the value of , we need to substitute our value of into one of the original equations. Here, we will substitute into the first equation to get

Adding 17 to each side gives us

The solution to this system of equations is, therefore, and , which corresponds to the point .

### Key Points

The steps to solving a system of two linear equations using elimination are as follows:

- Identify if the system contains a pair of coefficients of either unknown that have equal magnitude.
- If the system does not have a pair of coefficients of equal magnitude, multiply each equation through by a constant to make a pair of coefficients have equal magnitude.
- Once the system has a pair of coefficients with equal magnitude, add or subtract the equations to eliminate the variable.
- Solve the resulting equation to find one of the unknowns.
- Substitute this value back into one of the original equations to find the other unknown.