Systems of Equations

Elimination Method Practice Problems

Elimination solves a system by adding or subtracting the two equations so that one variable cancels. If nothing cancels yet, multiply one or both equations first so a pair of coefficients become opposites.

y=a1c2−a2c1a1b2−a2b1y=\dfrac{a_1c_2-a_2c_1}{a_1b_2-a_2b_1}

Try it with your numbers

Show every step

The practice set on this page climbs from direct adding to rewriting, fractions, parallel lines and word problems. The full lesson behind it is at Solving Systems by Elimination.

How does the elimination method work?

Two equations in xx and yy describe one shared pair of numbers. If A=BA = B and C=DC = D are both true, then A+C=B+DA + C = B + D is true as well, so adding equations can never lose the solution. Elimination just chooses multipliers so the sum has no yy (or no xx).

The picture behind it is useful. On a graph, each equation is a line and the solution is where the lines cross. Every combination of the two equations is another line through that same crossing point. Eliminating yy picks the combination that is perfectly vertical, which hands you xx directly. Eliminating xx picks the horizontal one.

Take 4x+3y=54x + 3y = 5 and 2x−3y=72x - 3y = 7. The yy terms are already opposites, so add:

(4x+3y)+(2x−3y)=5+7⇒6x=12⇒x=2(4x + 3y) + (2x - 3y) = 5 + 7 \quad\Rightarrow\quad 6x = 12 \quad\Rightarrow\quad x = 2

Substituting gives 4(2)+3y=54(2) + 3y = 5, so 3y=−33y = -3 and y=−1y = -1. The lines cross at (2,−1)(2, -1).

Quick check

Add the equations x+2y=9x + 2y = 9 and 3x−2y=73x - 2y = 7. What is xx?

What are the steps of solving by elimination?

The routine is the same every time, and the order matters:

  1. Write both equations in standard form, Ax+By=CAx + By = C, with like terms lined up. An equation such as y=2x−5y = 2x - 5 (see slope-intercept form) must be rearranged to 2x−y=52x - y = 5 first.
  2. Choose a variable to eliminate and multiply one or both equations so its coefficients are equal or opposite.
  3. Add the equations if the coefficients are opposites. Subtract if they are equal.
  4. Solve the resulting one-variable equation.
  5. Substitute that value into an original equation to find the other variable.
  6. Write the answer as an ordered pair and check it in the equation you did not use in step 5.

Multiplying an equation by a number is legal because it is the same balanced equation scaled up, so it has the same solutions. The only way to break it is to scale unevenly.

Multiply every term

Multiplying 3x−2y=53x - 2y = 5 by 44 gives 12x−8y=2012x - 8y = 20. Forgetting to scale the constant on the right is the most common way to lose points in step 2.

How do you choose which variable to eliminate?

Either variable works, but one usually needs smaller multipliers. For each variable, find the smallest number both coefficients divide into, then see what each equation must be multiplied by.

Coefficients of the variable Smallest common value Multipliers
33 and 66 66 22 and 11
44 and 66 1212 33 and 22
55 and 22 1010 22 and 55
77 and 33 2121 33 and 77

Consider 5x+3y=195x + 3y = 19 and 2x−7y=−172x - 7y = -17. Eliminating xx needs multipliers 22 and 55, while eliminating yy needs 77 and 33 with a bigger target of 2121. So eliminate xx. Multiply the first equation by 22 and the second by −5-5 so the xx terms become opposites:

10x+6y=3810x + 6y = 38 −10x+35y=85-10x + 35y = 85

Adding gives 41y=12341y = 123, so y=3y = 3. Then 5x+9=195x + 9 = 19, so x=2x = 2. Checking in the second equation: 2(2)−7(3)=4−21=−172(2) - 7(3) = 4 - 21 = -17. The solution is (2,3)(2, 3).

When the least common multiple is not obvious, use the crossing trick: multiply each equation by the other equation’s coefficient of the chosen variable, and make one of those multipliers negative. It always works. If one equation already has a variable isolated, such as x=3y+1x = 3y + 1, then substitution is usually shorter.

Elimination method with negatives: add or subtract?

Wrong versus right subtraction in elimination showing sign flip error giving y = 12 instead of y = −3
Subtracting (6x − 3y) means 5y + 3y, not 5y − 3y, so y = −3 and not 12.

The rule is short. Opposite signs mean add, and identical signs mean subtract. The trap is in the subtraction. Subtracting an equation means subtracting every term of it, so the minus sign flips each sign on the second line, including the constant.

Solve 6x+5y=96x + 5y = 9 and 6x−3y=336x - 3y = 33. The xx coefficients match, so subtract the second equation from the first:

(6x+5y)−(6x−3y)=9−33(6x + 5y) - (6x - 3y) = 9 - 33 6x+5y−6x+3y=−246x + 5y - 6x + 3y = -24 8y=−24⇒y=−38y = -24 \quad\Rightarrow\quad y = -3

Substituting gives 6x+5(−3)=96x + 5(-3) = 9, so 6x=246x = 24 and x=4x = 4. Check in the second equation: 6(4)−3(−3)=24+9=336(4) - 3(-3) = 24 + 9 = 33. The solution is (4,−3)(4, -3).

The usual error is writing 5y−3y=2y5y - 3y = 2y and 9−33=249 - 33 = 24, which loses two signs at once. If subtraction keeps costing you points, never subtract. Multiply the second equation by −1-1 and add instead, so every sign change is written out on the page.

One boundary: this multiply-by-a-negative move is for equations. With inequalities, multiplying by a negative flips the inequality sign, and adding two inequalities rarely isolates anything useful. For those, graphing is the better tool, as in systems of linear inequalities.

Try this: Solve 5x+2y=165x + 2y = 16 and 5x−4y=−25x - 4y = -2 twice: once by subtracting, once by multiplying the second equation by −1-1 and adding. Both routes should give (2,3)(2, 3).

Quick check

In 7x+3y=197x + 3y = 19 and 7x−2y=−17x - 2y = -1, subtract the second equation from the first. What is yy?

How do you use elimination with fractions and decimals?

Clear the fractions first. Multiply each equation by the least common denominator of its own fractions, and treat this as a separate step from the elimination multiplier. Each equation gets its own number.

Solve x2+y3=4\frac{x}{2} + \frac{y}{3} = 4 and x4−y6=1\frac{x}{4} - \frac{y}{6} = 1. Multiply the first equation by 66 and the second by 1212:

3x+2y=243x + 2y = 24 3x−2y=123x - 2y = 12

Adding gives 6x=366x = 36, so x=6x = 6. Then 18+2y=2418 + 2y = 24, so y=3y = 3. Check in the originals: 3+1=43 + 1 = 4 and 1.5−0.5=11.5 - 0.5 = 1. Both hold.

Notice that clearing denominators often lines up the coefficients for you, so no second multiplication is needed. For decimals, multiply by 1010 or 100100 to turn every coefficient into an integer. For example, 0.3x+0.5y=2.10.3x + 0.5y = 2.1 becomes 3x+5y=213x + 5y = 21. Mixing decimals into the elimination step itself invites arithmetic slips, so remove them first.

What if both variables disappear in elimination?

Graph of parallel lines 2x + 3y = 6 and 4x + 6y = 5 with leftover 0 = −7
The false leftover 0 = −7 matches two parallel lines, while 0 = 0 would mean the lines coincide.

Sometimes the algebra cancels both variables at once. What remains is a statement with only numbers, and it tells you everything. Try 2x+3y=62x + 3y = 6 and 4x+6y=54x + 6y = 5. Multiply the first equation by −2-2 and add:

−4x−6y=−12-4x - 6y = -12 4x+6y=54x + 6y = 5 0=−70 = -7

This is false, so no pair (x,y)(x, y) can satisfy both equations. The lines are parallel. If the second equation had ended in 1212 instead of 55, the sum would be 0=00 = 0, which is always true. The equations would then describe the same line, so every point on it is a solution.

Stopping at 0=00 = 0 and writing “no solution” is a classic slip. A true statement means infinitely many solutions, and a false one means none. The full comparison is at no solution vs infinitely many solutions.

You can spot this before doing any work. Compare the ratios of the coefficients. If a1a2=b1b2\frac{a_1}{a_2} = \frac{b_1}{b_2}, the lines have the same slope. They are the same line when c1c2\frac{c_1}{c_2} matches too, and parallel otherwise. In the example, 24=36=12\frac{2}{4} = \frac{3}{6} = \frac{1}{2} but 65≠12\frac{6}{5} \neq \frac{1}{2}, so the lines are parallel.

Elimination method word problems: a real use

Word problems with two unknown quantities and two totals are where elimination earns its place. A café sells small coffees at $3 and large coffees at $4. One morning it sold 4545 cups for $155. How many of each?

Let ss be small cups and ll be large cups:

s+l=45s + l = 45 3s+4l=1553s + 4l = 155

Multiply the first equation by 33 so the ss coefficients match, then subtract it from the second:

3s+3l=1353s + 3l = 135 (3s+4l)−(3s+3l)=155−135⇒l=20(3s + 4l) - (3s + 3l) = 155 - 135 \quad\Rightarrow\quad l = 20

So s=45−20=25s = 45 - 20 = 25. Check the revenue: 3(25)+4(20)=75+80=1553(25) + 4(20) = 75 + 80 = 155.

The headcount shortcut

When one equation is a plain count like s+l=45s + l = 45, multiply it by one price and subtract. What remains is the price difference times one unknown, here (4−3)l=20(4 - 3)l = 20.

The same setup covers mixtures, boat and current speeds, and cost problems. Define each variable as exactly what the question asks for, so the final numbers need no translation.

How do you check an elimination answer?

Substitute both values into the original equations, not the rewritten or scaled ones. If a multiplier slipped, the scaled equations would still agree with each other and hide the error. The original statements are the only reliable referee.

Where the check fails also tells you where the mistake is:

  • If the pair fails both original equations, the error is in the elimination step: a missed sign, or a constant that was not multiplied.
  • If the pair satisfies the equation you substituted into but fails the other, the mistake is in the first variable you solved for.
  • If it fails the equation you substituted into, the slip is in the back-substitution arithmetic.

A quick sanity check is possible from the graph’s point of view. The solution must lie on both lines, so if one equation has only positive coefficients and positive constants, both coordinates cannot be large and positive at the same time. For 2x+3y=122x + 3y = 12, a proposed answer of (5,4)(5, 4) is impossible at a glance, because 10+1210 + 12 is already 2222.

How is elimination connected to Cramer’s rule?

Run elimination on a general system and a formula appears. Start with a1x+b1y=c1a_1x + b_1y = c_1 and a2x+b2y=c2a_2x + b_2y = c_2. Multiply the first equation by a2a_2 and the second by a1a_1, then subtract:

(a1b2−a2b1) y=a1c2−a2c1(a_1b_2 - a_2b_1)\,y = a_1c_2 - a_2c_1

So:

y=a1c2−a2c1a1b2−a2b1,x=c1b2−c2b1a1b2−a2b1y = \frac{a_1c_2 - a_2c_1}{a_1b_2 - a_2b_1}, \qquad x = \frac{c_1b_2 - c_2b_1}{a_1b_2 - a_2b_1}

Test it on 5x+3y=195x + 3y = 19 and 2x−7y=−172x - 7y = -17. The denominator is 5(−7)−2(3)=−415(-7) - 2(3) = -41 and the yy numerator is 5(−17)−2(19)=−1235(-17) - 2(19) = -123, giving y=3y = 3, as found earlier. The denominator is the 2×2 determinant, and this formula is exactly Cramer’s rule. It also explains the special cases: when the denominator is 00, the lines have equal slopes, so there is no unique solution.

The idea scales up. For three unknowns, eliminate the same variable from two different pairs of equations, then solve the resulting two-variable system, as in solving a system of three equations. If you want to compare approaches on the same problems, try the substitution method practice problems next.

Quick check

For 3x+2y=53x + 2y = 5 and 4x+5y=64x + 5y = 6, find a1b2−a2b1a_1b_2 - a_2b_1. Does the system have exactly one solution?

Practice problems

0 of 10 solved

  1. Solve: x+y=9x + y = 9 and x−y=3x - y = 3.

  2. Solve: 2x+3y=122x + 3y = 12 and 2x−y=42x - y = 4.

  3. Solve: 4x+5y=74x + 5y = 7 and 3x−5y=143x - 5y = 14.

  4. Solve: x+4y=14x + 4y = 14 and 3x−2y=03x - 2y = 0.

  5. Solve: 3x+2y=73x + 2y = 7 and 5x−3y=−15x - 3y = -1.

  6. Solve: 4x+3y=14x + 3y = 1 and 3x+2y=03x + 2y = 0.

  7. Solve: y=2x−5y = 2x - 5 and 3x+2y=113x + 2y = 11.

  8. Solve: x3+y2=3\frac{x}{3} + \frac{y}{2} = 3 and x3−y4=0\frac{x}{3} - \frac{y}{4} = 0.

  9. Solve: 2x−6y=52x - 6y = 5 and −x+3y=4-x + 3y = 4.

  10. Adult tickets cost $9$9 and student tickets cost $5$5. A show sells 120120 tickets for $760$760. How many of each?

Common questions

When should you use elimination instead of substitution?

Use elimination when both equations are already in the form Ax+By=CAx + By = C and no variable is alone or has a coefficient of 11. Use substitution when one equation is already solved for a variable, such as y=2x−5y = 2x - 5.

How do you know whether to add or subtract the equations?

Look at the signs of the matching coefficients. If they are opposites, such as +3y+3y and −3y-3y, add. If they are identical, such as +6x+6x and +6x+6x, subtract, or multiply one equation by −1-1 and add.

What does it mean when both variables cancel and you get 0=00 = 0?

It means the two equations describe the same line, so there are infinitely many solutions. If you get a false statement such as 0=70 = 7, the lines are parallel and there is no solution.

Does it matter whether you eliminate x or y first?

No. Both routes reach the same answer. Pick the variable that needs the smaller multipliers, because smaller numbers mean fewer arithmetic slips.

Can the elimination method solve three equations?

Yes. Eliminate the same variable from two different pairs of equations to get two equations in two unknowns, solve that smaller system, then substitute back for the third variable.

How do you check an elimination answer?

Substitute both values into the original equations, not the modified ones. Using the equation you did not use for back-substitution catches mistakes in both the elimination step and the substitution step.

Up next