Solving by Elimination

Solve a system of two linear equations by adding or subtracting to eliminate one variable, then solve for the remaining variable.

{a1x+b1y=c1a2x+b2y=c2\begin{cases} a_1x + b_1y = c_1 \\ a_2x + b_2y = c_2 \end{cases}

Solve a problem with Solving by Elimination

Type the problem. The solver will use Solving by Elimination where Solving by Elimination is the right tool, and tell you when it is not.

Drag one in or paste from the clipboard. JPEG, PNG or WebP. You get the transcription to check before anything is solved.

How to get a better answer
  • Paste the whole problem, including the instruction word — "simplify", "solve for x" and "factor" lead to three different answers.
  • Say what you have already tried. "I got x = 4 and the book says 2" turns a solution into a diagnosis.
  • Set the level in the settings button. A calculus shortcut is not a better answer if you have not met derivatives yet.
  • For a photo, get the whole problem in frame and hold the page flat — you get the transcription to fix before anything is solved.

What each symbol means

What Solving by Elimination takes
aia_i
bib_i
cic_i
xx
yy
Solving by Elimination
SymbolMeaning
aia_iThe coefficient of xx in equation ii; can be negative or zero, and if it matches the other equation's xx coefficient, you'll need to multiply before eliminating.
bib_iThe coefficient of yy in equation ii; can be negative or zero, and tells you yy's contribution to each equation.
cic_iThe constant term (right-hand side) of equation ii; represents what the left side equals, and misreading it as a coefficient causes sign errors.
xxOne variable you are solving for; it appears in both equations, and confusing it with yy leads to writing the wrong answer.
yyThe other variable you are solving for; it appears in both equations alongside xx, and must be found separately after eliminating one.

When to use it

Use elimination when two equations are already in standard form and you want to remove one variable by combining them.

Level

Usually taught in: Algebra I · Appears on: SAT, ACT

Worked examples

1. Solve a system with opposite y coefficients

Problem

Solve {3x+2y=115x2y=13\begin{cases} 3x + 2y = 11 \\ 5x - 2y = 13 \end{cases}
  1. 3x+2y=11and5x2y=133x + 2y = 11 \quad \text{and} \quad 5x - 2y = 13

    The coefficients of yy are opposite: +2+2 and 2-2, so adding the equations will eliminate yy.

  2. (3x+5x)+(2y2y)=11+13(3x + 5x) + (2y - 2y) = 11 + 13

    Add the left sides and right sides of both equations.

  3. 8x=248x = 24

    Combine like terms: 3x+5x=8x3x + 5x = 8x, 2y2y=02y - 2y = 0, and 11+13=2411 + 13 = 24.

  4. x=3x = 3

    Divide both sides by 8.

  5. 3(3)+2y=113(3) + 2y = 11

    Substitute x=3x = 3 into the first original equation.

  6. 9+2y=119 + 2y = 11

    Simplify by computing 33=93 \cdot 3 = 9.

  7. 2y=22y = 2

    Subtract 9 from both sides.

  8. y=1y = 1

    Divide both sides by 2.

Answer: x=3 and y=1x = 3 \text{ and } y = 1

We chose to add the equations because the yy coefficients were already opposites, requiring no multiplication. After eliminating yy and finding x=3x = 3, we substituted back into the first equation to find y=1y = 1. Both values satisfy both original equations when checked.

2. Solve a system requiring multiplication

Problem

Solve {2x+3y=73x+4y=10\begin{cases} 2x + 3y = 7 \\ 3x + 4y = 10 \end{cases}
  1. 2x+3y=7and3x+4y=102x + 3y = 7 \quad \text{and} \quad 3x + 4y = 10

    Neither variable has opposite coefficients, so we must multiply to create them.

  2. 3(2x+3y)=3(7)and(2)(3x+4y)=(2)(10)3(2x + 3y) = 3(7) \quad \text{and} \quad (-2)(3x + 4y) = (-2)(10)

    Multiply the first equation by 3 and the second by 2-2 to make the xx coefficients opposite (6x6x and 6x-6x).

  3. 6x+9y=21and6x8y=206x + 9y = 21 \quad \text{and} \quad -6x - 8y = -20

    Distribute the multiplier to every term in each equation: 32x=6x3 \cdot 2x = 6x, 33y=9y3 \cdot 3y = 9y, 37=213 \cdot 7 = 21 for the first, and similarly for the second.

  4. (6x6x)+(9y8y)=21+(20)(6x - 6x) + (9y - 8y) = 21 + (-20)

    Add the two equations to eliminate xx.

  5. y=1y = 1

    Simplify: 6x6x=06x - 6x = 0, 9y8y=y9y - 8y = y, and 2120=121 - 20 = 1.

  6. 2x+3(1)=72x + 3(1) = 7

    Substitute y=1y = 1 into the first original equation.

  7. 2x+3=72x + 3 = 7

    Simplify by computing 31=33 \cdot 1 = 3.

  8. 2x=42x = 4

    Subtract 3 from both sides.

  9. x=2x = 2

    Divide both sides by 2.

Answer: x=2 and y=1x = 2 \text{ and } y = 1

Since no coefficients were already opposite, we multiplied strategically: the first equation by 3 and the second by 2-2 to eliminate xx. This required careful distribution to all terms, including the constant. After finding y=1y = 1, substituting back gave x=2x = 2. Always verify by checking both solutions in both original equations.

3. Find garden dimensions given perimeter and length constraint

Problem

A homeowner is fencing a rectangular garden. The length is 3 meters more than the width. The perimeter is 50 meters. What are the dimensions?
  1. l=w+3l = w + 3

    Translate "length is 3 meters more than width" into an equation, where ll is length and ww is width.

  2. 2l+2w=502l + 2w = 50

    Translate "perimeter is 50 meters" using the perimeter formula for a rectangle: P=2l+2wP = 2l + 2w.

  3. lw=3l - w = 3

    Rearrange the first equation to standard form by subtracting ww from both sides.

  4. l+w=25l + w = 25

    Simplify the second equation by dividing all terms by 2.

  5. {lw=3l+w=25\begin{cases} l - w = 3 \\ l + w = 25 \end{cases}

    Write as a system: the ww coefficients are now opposite (1-1 and +1+1).

  6. (l+l)+(w+w)=3+25(l + l) + (-w + w) = 3 + 25

    Add the equations to eliminate ww.

  7. 2l=282l = 28

    Combine like terms: l+l=2ll + l = 2l, w+w=0-w + w = 0, and 3+25=283 + 25 = 28.

  8. l=14l = 14

    Divide both sides by 2.

  9. 14+w=2514 + w = 25

    Substitute l=14l = 14 into the equation l+w=25l + w = 25.

  10. w=11w = 11

    Subtract 14 from both sides.

  11. Check:2(14)+2(11)=28+22=50\text{Check:} \quad 2(14) + 2(11) = 28 + 22 = 50 \quad \checkmark

    Verify the perimeter formula: 2l+2w=2(14)+2(11)=28+22=502l + 2w = 2(14) + 2(11) = 28 + 22 = 50 is satisfied, and lw=1411=3l - w = 14 - 11 = 3 is also satisfied.

Answer: Length=14 meters, Width=11 meters\text{Length} = 14 \text{ meters, Width} = 11 \text{ meters}

We translated the word problem into two equations: one relating length to width, and one for the perimeter. After rearranging both to standard form, the width coefficients were already opposite, so adding directly eliminated ww. This gave the length, which we substituted back to find the width. Word problems require an extra step of translation before the algebraic elimination method begins.

Common mistakes

Where Solving by Elimination usually goes wrong
Answer came out wrong
Adding equations when the coefficients have the same sign instead of opposite signs.
Before adding or subtracting, check the signs: if you have +3y+3y and +2y+2y, multiply the second equation by 1-1 to get 2y-2y, then add. Or subtract the second equation from the first.
Multiplying only the variable terms by a scaling factor and forgetting the constant term.
When multiplying an equation like 2x+5y=92x + 5y = 9 by 3, write 3(2x+5y)=3(9)3(2x + 5y) = 3(9) and distribute: 6x+15y=276x + 15y = 27, not 6x+15y=96x + 15y = 9.
Finding one variable and stopping, reporting only xx without finding yy.
After eliminating one variable and solving for the first variable, always substitute your answer back into an original equation to find the missing variable.
The mistakeWhy it is wrongThe fix
Adding equations when the coefficients have the same sign instead of opposite signs.If both yy terms are positive or both are negative, adding does not cancel them; you must either multiply one equation by 1-1 first or subtract instead.Before adding or subtracting, check the signs: if you have +3y+3y and +2y+2y, multiply the second equation by 1-1 to get 2y-2y, then add. Or subtract the second equation from the first.
Multiplying only the variable terms by a scaling factor and forgetting the constant term.When you multiply an equation by a number, the multiplication must apply to every term, or the equation becomes false.When multiplying an equation like 2x+5y=92x + 5y = 9 by 3, write 3(2x+5y)=3(9)3(2x + 5y) = 3(9) and distribute: 6x+15y=276x + 15y = 27, not 6x+15y=96x + 15y = 9.
Finding one variable and stopping, reporting only xx without finding yy.A system of two equations requires two solutions, one for each variable. Elimination gives you one; you must substitute back into an original equation to find the other.After eliminating one variable and solving for the first variable, always substitute your answer back into an original equation to find the missing variable.

Tips and when to use something else

  • Look at the coefficients before you start: if one pair is already opposite (like 3x3x and 3x-3x, or 2y2y and 2y-2y), you can add or subtract immediately without any multiplication.
  • Choose which variable to eliminate by picking the one where multiplication is simplest. For example, if one coefficient is 11 and another is 22, multiplying by 22 is easier than dealing with larger numbers.
  • Always substitute your first solution back into one of the original equations to find the second variable; this step also acts as a check on your arithmetic.
  • If elimination requires dealing with messy fractions or large coefficients, consider Solving by Substitution instead, especially if one equation is already solved for a single variable.

Frequently asked questions

When should I use elimination instead of substitution?
Use elimination when both equations are in standard form (ax+by=cax + by = c) and have simple coefficients; it often requires fewer steps than substitution. Substitution is usually faster if one equation is already solved for a variable, like y=2x+3y = 2x + 3. On the SAT and ACT, elimination is often the quickest method when coefficients are set up nicely.
Do I have to eliminate x? Can I eliminate y first?
Yes, you can eliminate either variable first. Choose whichever requires fewer multiplication steps or simpler arithmetic. The final answer—the values of xx and yy—will be the same either way, so pick whatever is easiest for you.
What if I get 0 = 0 or 0 = 5 after adding equations?
If you get 0=00 = 0 (an identity, always true), the equations represent the same line and have infinitely many solutions. If you get 0=50 = 5 (a contradiction, never true), the lines are parallel and there is no solution. Either outcome means the system is dependent or inconsistent, not a typical problem with one unique solution.
Is elimination the same as the addition-subtraction method?
Yes. Elimination, addition-subtraction method, and linear combination method all mean the same thing: combining equations by adding or subtracting (after multiplying if needed) to remove one variable. Different textbooks use different names, but the process is identical.

Need a different method?

The full solver is not scoped to one formula — type any problem and it will pick the method.

Open the math solver

Reviewed 2026-09-18