We have solved systems of linear equations by graphing and by substitution. Graphing works well when the variable coefficients are small and the solution has integer values. Substitution works well when we can easily solve one equation for one of the variables and not have too many fractions in the resulting expression.
The third method of solving systems of linear equations is called the Elimination Method. When we solved a system by substitution, we started with two equations and two variables and reduced it to one equation with one variable. This is what we’ll do with the elimination method, too, but we’ll have a different way to get there.
Solve a System of Equations by Elimination
The Elimination Method is based on the Addition Property of Equality. The Addition Property of Equality says that when you add the same quantity to both sides of an equation, you still have equality. We will extend the Addition Property of Equality to say that when you add equal quantities to both sides of an equation, the results are equal.
For any expressions a, b, c, and d,
\[\begin{array}{lc} \text{ if } & a=b \\ \text { and } & c=d \\ \text { then } &a+c =b+d \end{array}\]
To solve a system of equations by elimination, we start with both equations in standard form. Then we decide which variable will be easiest to eliminate. How do we decide? We want to have the coefficients of one variable be opposites, so that we can add the equations together and eliminate that variable.
Notice how that works when we add these two equations together:
\[\begin{array}{l} 3x+y=5 \\ \underline{2x-y=0} \\ 5x\quad\quad=5\end{array}\]
The y’s add to zero and we have one equation with one variable.
Let’s try another one:
\[\left\{\begin{array}{l}{x+4 y=2} \\ {2 x+5 y=-2}\end{array}\right.\]
This time we don’t see a variable that can be immediately eliminated if we add the equations.
But if we multiply the first equation by −2, we will make the coefficients of x opposites. We must multiply every term on both sides of the equation by −2.
Now we see that the coefficients of the x terms are opposites, so x will be eliminated when we add these two equations.
Add the equations yourself—the result should be −3y = −6. And that looks easy to solve, doesn’t it? Here is what it would look like.
We’ll do one more:
\[\left\{\begin{array}{l}{4 x-3 y=10} \\ {3 x+5 y=-7}\end{array}\right.\]
It doesn’t appear that we can get the coefficients of one variable to be opposites by multiplying one of the equations by a constant, unless we use fractions. So instead, we’ll have to multiply both equations by a constant.
We can make the coefficients of x be opposites if we multiply the first equation by 3 and the second by −4, so we get 12x and −12x.
This gives us these two new equations:
\[\left\{\begin{aligned} 12 x-9 y &=30 \\-12 x-20 y &=28 \end{aligned}\right.\]
When we add these equations,
\[ \left\{\begin{array}{r}{12 x-9 y=30} \\ {\underline{-12 x-20 y=28}} \\\end{array}\right.\\\quad\qquad {-29 y=58}\]
the x’s are eliminated and we just have −29y = 58.
Once we get an equation with just one variable, we solve it. Then we substitute that value into one of the original equations to solve for the remaining variable. And, as always, we check our answer to make sure it is a solution to both of the original equations.
Now we’ll see how to use elimination to solve the same system of equations we solved by graphing and by substitution.
Try It \(\PageIndex{2}\)
Solve the system by elimination. \(\left\{\begin{array}{l}{3 x+y=5} \\ {2 x-3 y=7}\end{array}\right.\)
- Answer
-
(2,−1)
Try It \(\PageIndex{3}\)
Solve the system by elimination. \(\left\{\begin{array}{l}{4 x+y=-5} \\ {-2 x-2 y=-2}\end{array}\right.\)
- Answer
-
(−2,3)
The steps are listed below for easy reference.
HOW TO SOLVE A SYSTEM OF EQUATIONS BY ELIMINATION.
- Write both equations in standard form. If any coefficients are fractions, clear them.
- Make the coefficients of one variable opposites.
- Decide which variable you will eliminate.
- Multiply one or both equations so that the coefficients of that variable are opposites.
- Add the equations resulting from Step 2 to eliminate one variable.
- Solve for the remaining variable.
- Substitute the solution from Step 4 into one of the original equations. Then solve for the other variable.
- Write the solution as an ordered pair.
- Check that the ordered pair is a solution to both original equations.
First we’ll do an example where we can eliminate one variable right away.
Try It \(\PageIndex{5}\)
Solve the system by elimination. \(\left\{\begin{array}{l}{2 x+y=5} \\ {x-y=4}\end{array}\right.\)
- Answer
-
(3,−1)
Try It \(\PageIndex{6}\)
Solve the system by elimination.\(\left\{\begin{array}{l}{x+y=3} \\ {-2 x-y=-1}\end{array}\right.\)
- Answer
-
(−2,5)
In Example \(\PageIndex{7}\), we will be able to make the coefficients of one variable opposites by multiplying one equation by a constant.
Try It \(\PageIndex{8}\)
Solve the system by elimination.\(\left\{\begin{array}{l}{4 x-3 y=1} \\ {5 x-9 y=-4}\end{array}\right.\)
- Answer
-
(1,1)
Try It \(\PageIndex{9}\)
Solve the system by elimination.\(\left\{\begin{array}{l}{3 x+2 y=2} \\ {6 x+5 y=8}\end{array}\right.\)
- Answer
-
(−2,4)
Now we’ll do an example where we need to multiply both equations by constants in order to make the coefficients of one variable opposites.
Try It \(\PageIndex{11}\)
Solve the system by elimination. \(\left\{\begin{array}{l}{3 x-4 y=-9} \\ {5 x+3 y=14}\end{array}\right.\)
- Answer
-
(1,3)
Try It \(\PageIndex{12}\)
Solve the system by elimination. \(\left\{\begin{array}{l}{7 x+8 y=4} \\ {3 x-5 y=27}\end{array}\right.\)
- Answer
-
(4,−3)
When the system of equations contains fractions, we will first clear the fractions by multiplying each equation by its LCD.
Try It \(\PageIndex{14}\)
Solve the system by elimination. \(\left\{\begin{array}{l}{\frac{1}{3} x-\frac{1}{2} y=1} \\ {\frac{3}{4} x-y=\frac{5}{2}}\end{array}\right.\)
- Answer
-
(6,2)
Try It \(\PageIndex{15}\)
Solve the system by elimination. \(\left\{\begin{array}{l}{x+\frac{3}{5} y=-\frac{1}{5}} \\ {-\frac{1}{2} x-\frac{2}{3} y=\frac{5}{6}}\end{array}\right.\)
- Answer
-
(1,−2)
In the Solving Systems of Equations by Graphing we saw that not all systems of linear equations have a single ordered pair as a solution. When the two equations were really the same line, there were infinitely many solutions. We called that a consistent system. When the two equations described parallel lines, there was no solution. We called that an inconsistent system.
Example \(\PageIndex{16}\)
Solve the system by elimination.\(\left\{\begin{array}{l}{3 x+4 y=12} \\ {y=3-\frac{3}{4} x}\end{array}\right.\)
Solution
\(\begin{array} {ll} & \left\{\begin{aligned} 3 x+4 y &=12 \\ y &=3-\frac{3}{4} x \end{aligned}\right. \\\\\text{Write the second equation in standard form.} & \left\{\begin{array}{l}{3 x+4 y=12} \\ {\frac{3}{4} x+y=3}\end{array}\right.\\ \\ \text{Clear the fractions by multiplying thesecond equation by 4.} & \left\{\begin{aligned} 3 x+4 y &=12 \\ 4\left(\frac{3}{4} x+y\right) &=4(3) \end{aligned}\right. \\\\ \text{Simplify.} & \left\{\begin{array}{l}{3 x+4 y=12} \\ {3 x+4 y=12}\end{array}\right.\\\\ \text{To eliminate a variable, we multiply thesecond equation by −1.} & \left\{\begin{array}{c}{3 x+4 y=12} \\ \underline{-3 x-4 y=-12} \end{array}\right.\\ &\qquad\qquad\quad 0=0 \\ \text{Simplify and add.} \end{array}\)
This is a true statement. The equations are consistent but dependent. Their graphs would be the same line. The system has infinitely many solutions.
After we cleared the fractions in the second equation, did you notice that the two equations were the same? That means we have coincident lines.
Try It \(\PageIndex{17}\)
Solve the system by elimination. \(\left\{\begin{array}{l}{5 x-3 y=15} \\ {y=-5+\frac{5}{3} x}\end{array}\right.\)
- Answer
-
infinitely many solutions
Try It \(\PageIndex{18}\)
Solve the system by elimination. \(\left\{\begin{array}{l}{x+2 y=6} \\ {y=-\frac{1}{2} x+3}\end{array}\right.\)
- Answer
-
infinitely many solutions
Example \(\PageIndex{19}\)
Solve the system by elimination. \(\left\{\begin{array}{l}{-6 x+15 y=10} \\ {2 x-5 y=-5}\end{array}\right.\)
Solution
\(\begin{array} {ll} \text{The equations are in standard form.}& \left\{\begin{aligned}-6 x+15 y &=10 \\ 2 x-5 y &=-5 \end{aligned}\right. \\\\ \text{Multiply the second equation by 3 to eliminate a variable.} & \left\{\begin{array}{l}{-6 x+15 y=10} \\ {3(2 x-5 y)=3(-5)}\end{array}\right. \\\\ \text{Simplify and add.} & \left\{\begin{aligned}{-6 x+15 y =10} \\ \underline{6 x-15 y =-15} \end{aligned}\right. \\ & \qquad \qquad \quad0\neq 5 \end{array}\)
This statement is false. The equations are inconsistent and so their graphs would be parallel lines.
The system does not have a solution.
Try It \(\PageIndex{20}\)
Solve the system by elimination. \(\left\{\begin{array}{l}{-3 x+2 y=8} \\ {9 x-6 y=13}\end{array}\right.\)
- Answer
-
no solution
Try It \(\PageIndex{21}\)
Solve the system by elimination. \(\left\{\begin{array}{l}{7 x-3 y=-2} \\ {-14 x+6 y=8}\end{array}\right.\)
- Answer
-
no solution