In the previous two sections, we’ve solved sets of two or even three linear equations. Here, we will do some examples of systems with four linear equations. The general strategy will be the same as before: we apply our method (either elimination or substitution) to our sets of equations in order to get rid of one equation. We repeat this until we’re left with just two or three equations, whereupon we know how to solve the problem. Also note that it takes distinct equations to solve a system of linear equations. (Two equations are distinct if you cannot obtain either one from the other).

Example (Elimination Method for 4 Equations)

1. Pick a variable we want to eliminate.
Let’s pick .
2. Manipulate the equations so that the chosen variable has the same coefficient in all of them (or a coefficient of 0).
Now, if we look at our equations, we see that equation 4 does not have any ’s in it. So no matter what constant we multiply the equation by, we will not get a term with multiplied by some given coefficient. If we have an equation like this, we simply set it to the side and use it again later. This is because, recall, the point of this method is to eliminate all occurrences of a given variable, thereby simplifying our problem. Equation 4 has already eliminated all occurrences of , so no further manipulation of the equation is needed.Now, we get:

And we still have our equation 4:

3. Subtract the equations from one another, thereby eliminating our variable.
Note that this only applies to the equations that have in them. And remember to use all of the equations that include (but we only need to use each equation once).Then, we get:

4. Now, we should have four equations with at most four different variables. Pick another variable to eliminate.
Let’s eliminate .
5. Manipulate the equations so that the chosen variable has the same coefficient in all of them (or a coefficient of 0).

6. Subtract the equations from one another, thereby eliminating our variable.

7. Now, we should have three equations with at most three different variables.
And we do.
8. We can now solve this problem with the steps detailed in our previous post on the elimination method.

Example (Substitution Method with 4 Equations)

1. Pick a variable we want to substitute for.
Let’s choose .
2. Use one of the lines of the equation to express that variable in terms of the other variables.
Let’s use the second equation. Then, we get:

3. Substitute into the other equations.
Since we used the second equation to get our equation for , we now substitute for in the first, third, fourth, and fifth equations. We then get (after simplifying):

4. Now, we should have four equations with at most four different variables.
And this is true.
5. Pick another variable to substitute for.
Let’s pick .
6. Use one of the remaining lines of the equation to express that variable in terms of the other variables.
Let’s use the first line. Then, we get

7. Substitute into the other equations.
Since we used the first equation, we need to plug in our formula for into the second, third, and fourth equations. We then get (after simplifying):

8. Now, we should have three equations with at most three different variables.
And we do.
9. We can now solve this problem with the steps detailed in our previous post on the substitution method.