Elimination Method Calculator
Solve two linear equations by elimination and see the work: which variable can be eliminated, what the solution means, and how to recognize one solution, no solution, or infinitely many solutions.
What the elimination method actually does
The elimination method solves a system of two linear equations by making one variable disappear. Instead of immediately isolating x or y, you multiply one or both equations so that one variable has opposite coefficients. Then you add the equations, solve the one-variable equation that remains, and substitute back to find the other variable.
This is the same core idea taught in OpenStax’s lesson on solving systems by elimination: reduce two equations with two variables into one equation with one variable. The calculator above does that numerically, but the explanation below shows how to think through it like a student solving homework by hand.
Worked example: solve by eliminating y
The best variable to eliminate is usually the one that already has easy opposite coefficients or easy multiples. In this example, 3y and -y make y convenient to eliminate after multiplying the second equation by 3.
How to know if the answer is one solution, no solution, or infinitely many solutions
Not every system has one neat ordered-pair answer. Sometimes the equations describe parallel lines, and sometimes both equations describe the same line. A good elimination calculator should identify those cases instead of forcing a fake value for x and y.
| Result | What happens during elimination | Meaning |
|---|---|---|
| One solution | One variable remains and gives a real value. | The lines cross at one point. |
| No solution | Both variables cancel and you get a false statement, such as 0 = 7. | The lines are parallel. |
| Infinitely many solutions | Both variables cancel and you get a true statement, such as 0 = 0. | The equations are the same line. |
Common mistakes when using elimination
The most common error is multiplying only part of an equation. If you multiply an equation by 3, every term on both sides must be multiplied by 3. Another common mistake is choosing coefficients that match but do not cancel. If both equations have +6x, adding will create 12x; you need one coefficient to be positive and the other negative, or you need to subtract the equations instead.
After solving, always check the ordered pair in both original equations. A solution that works in only one equation is not a solution to the system.
Common questions
-
The elimination method is a way to solve a system of equations by removing one variable. You multiply one or both equations so the coefficients of x or y become opposites, then add the equations. That leaves a simpler equation with one variable. After solving that variable, you substitute the value back into either original equation to find the other variable. It is especially useful when the equations are already in standard form, such as 2x + 3y = 13 and 4x - y = 5.
-
Use elimination when the equations are already lined up as Ax + By = C and at least one pair of coefficients is easy to cancel. Substitution is often faster when one equation already says x = something or y = something. Elimination is usually cleaner when both equations contain x and y with integer coefficients, because you can multiply rows and add them without creating long expressions.
-
Look for the variable whose coefficients are easiest to make into opposites. If one equation has 3y and the other has -y, eliminating y is simple because you only need to multiply the second equation by 3. If the coefficients are 4 and 6, you can use the least common multiple 12 and multiply the equations so one becomes +12 and the other becomes -12. The goal is not to pick a special variable; the goal is to reduce the work.
-
If both variables disappear, the system does not have a single ordered-pair solution. If the remaining statement is true, such as 0 = 0, the equations represent the same line and there are infinitely many solutions. If the remaining statement is false, such as 0 = 5, the equations represent parallel lines and there is no solution. This is why a good elimination calculator must classify the system, not just output x and y.
-
Yes. Fractions are normal, especially when the intersection point does not land on whole-number coordinates. A fractional answer is not automatically wrong. The best way to check it is to substitute the values of x and y into both original equations. If both equations become true statements, the fraction answer is correct.
-
Multiplying every term of an equation by the same nonzero number creates an equivalent equation. The balance of the equation stays the same because both sides are scaled equally. That is why elimination allows you to multiply equations before adding them. The important rule is to multiply every term, including the constant on the right side.
-
This calculator is designed for two equations with two variables. The same elimination idea can be extended to three variables, but the steps become longer because you must eliminate variables in pairs until only one variable remains. A separate 3-variable system calculator would be better for that topic.
-
Substitute the ordered pair into both original equations. If both left sides equal their right sides, the answer is correct. For example, if the calculator gives x = 2 and y = 3, put those values into equation 1 and equation 2. A correct solution must satisfy both at the same time, not just one of them.