Skip to main content

Section 8.3 Solving a System of Equations: Elimination

In this section, we will discuss another method for solving systems of equations called elimination. It relies on the fact that we can always add the same thing to both sides of an equation, even if it looks different. For example, if I add \(5\) to one side and add \(2+3\) to the other side, that's mathematically valid because they are the same thing (because \(5=2+3\)), they just look different.

Example 8.10.

Let's say we want to solve the following system of equations:

\begin{equation*} \begin{cases} 3 \amp =x+y \\ 5 \amp = 3x-y \end{cases} \end{equation*}

Remember that the symbol \(=\) means that whatever is on each side is exactly the same thing, even if it is written differently. As mentioned in the introduction, we can add the same thing to both sides, even if it looks different. So, let's add 5 to both sides of the first equation, but we will write it as \(3x-y\) on the right hand side. The equation \(5=3x-y\) tells us that's okay, because it means that \(5\) and \(3x-y\) are the same thing:

\begin{align*} 3 + (5) \amp= x+y +(3x-y)\\ 8 \amp= 4x + y - y\\ 8 \amp= 4x \end{align*}

Notice what happened: the \(y\)'s canceled. So now, we can divide both sides by 4 to get \(x=2\text{.}\) Just like with substitution, we need to plug back into either of our starting equations to get \(y\text{:}\)

\begin{align*} 3 \amp= x+y\\ 3 \amp= 2+y\\ 1 \amp= y \end{align*}

Now we have our answer of \((2,1)\)

Checkpoint 8.11.

Solve the following system of equations using elimination:

\begin{equation*} \begin{cases} 7 \amp= 2x + 3y\\ -11 \amp= -2x+y \end{cases} \end{equation*}
Answer.

\((5,-1)\)

Solution.

We want to start by adding the equations together. In other words, we are going to add \(7\) and \(-11\) on one side and then add \(2x+3y\) and \(-2x+y\) on the other side. We know we can do this, because we are starting with things that are equal, so we are still adding the same thing to both sides, just written differently.

\begin{align*} 7+(-11) \amp= 2x+3y + (-2x+y)\\ -4 \amp= 2x - 2x + 4y\\ -4 \amp= 4y\\ -1 \amp= y \end{align*}

Now that we have our answer for \(y\text{,}\) we just need to plug into one of the original equations to get \(x\text{:}\)

\begin{align*} 7 \amp= 2x+3y\\ 7 \amp= 2x+3(-1)\\ 7 \amp= 2x-3\\ 10 \amp= 2x\\ 5 \amp= x \end{align*}

So we have our final answer: \((5,-1)\text{.}\)

Remember that when we talked about substitution, we saw two ways we could check our work:

  • After you find the value for one variable, plug it into both starting equations and make sure they give you the same value for the second variable

  • After you have your final answer, plug the point into both starting equations and make sure it works for both

You can still use both of these strategies to check your work with elimination.

Now, notice why this strategy worked for the two problems above: when we added the equations together, one of the variables canceled out. It was eliminated. That only worked because that variable had the same number multiplied out front, but was negative in one equation and positive in the other. If the equation doesn't have that situation to begin with, we might need to adjust one of the equations to make it work.

Example 8.12.

Suppose we want to solve the following system of equations:

\begin{equation*} \begin{cases} -6 \amp= 3x+4y\\ -2 \amp= x-2y \end{cases} \end{equation*}

We have a couple of choices here:

  • If we multiply both sides of the second equation by \(-3\text{,}\) then we would be able to cancel the \(x\)'s

  • If we multiply the second equation by \(2\text{,}\) then we would be able to cancel the \(y\)'s.

It doesn't matter which one we choose, so let's go with the first option for this example. When we multiply the second equation by \(-3\text{,}\) we get

\begin{equation*} 6 = -3x+6y \end{equation*}

Now, we add that to the first equation:

\begin{align*} -6 + (6) \amp= 3x+4y + (-3x+6y)\\ 0 \amp= 3x - 3x + 10y\\ 0 \amp= 10y\\ 0 \amp= y \end{align*}

Now we will plug \(y=0\) into one of the starting equations to get \(x\text{:}\)

\begin{align*} -2 \amp= x-2y\\ -2 \amp= x - 2(0)\\ -2 \amp= x + 0\\ -2 \amp= x \end{align*}

Therefore, we have our answer: \((-2,0)\text{.}\)

Checkpoint 8.13.

Solve the following system using elimination.

\begin{equation*} \begin{cases} 4 \amp= x-3y\\ -6 \amp= -5x+y\\ \end{cases} \end{equation*}
Answer.

\((1,-1)\)

Solution.

We have a couple of choices here:

  • If we multiply both sides of the first equation by \(-5\text{,}\) then we would be able to cancel the \(x\)'s

  • If we multiply the second equation by \(3\text{,}\) then we would be able to cancel the \(y\)'s.

It doesn't matter which one we choose, so let's go with the second option for this exercise. When we multiply the second equation by \(3\text{,}\) we get

\begin{equation*} -18 = -15x+3y \end{equation*}

Now, we add that to the first equation:

\begin{align*} 4 + (-18) \amp= x-3y + (-15x+3y)\\ -14 \amp= -14x - 3y+3y\\ -14 \amp= -14x\\ 1 \amp= x \end{align*}

Now we will plug \(x=1\) into one of the starting equations to get \(y\text{:}\)

\begin{align*} 4 \amp= x-3y\\ 4 \amp= 1 - 3y\\ 3 \amp= -3y\\ -1 \amp= y \end{align*}

Therefore, we have our answer: \((1-1)\text{.}\)