Skip to content
Math & Scientific

System Of Elimination Calculator

System Of Elimination Calculator

Type the six numbers from your two equations. The calculator eliminates one variable, shows every step of the work, and then gives you x and y.

Equation 1

a1x + b1y = c1

Equation 2

a2x + b2y = c2

Two equations, two unknowns, and one tidy answer. When a math problem hands you a pair of linear equations such as 2x + 3y = 12 and 4x – y = 10, the elimination method lines them up, cancels one variable, and leaves a single equation you can solve in seconds. It is the workhorse technique taught in every algebra class because it is fast, mechanical, and easy to check.

The System Of Elimination Calculator on this page does the whole job for you. Type the six numbers a1, b1, c1, a2, b2, c2 from your two equations, and it returns the solution as an ordered pair (x, y) with every elimination step shown.

It also handles the awkward cases honestly. Parallel lines get a clear no-solution message, and duplicate lines get an infinitely-many-solutions message.

What a System of Two Equations Really Is

A system of two equations is simply two rules that must be true at the same time. Each rule on its own has endless solutions: the equation 2x + 3y = 12 is satisfied by (0, 4), (6, 0), (3, 2), and infinitely many other pairs. Add the second rule, 4x – y = 10, and almost every pair drops out.

Only the pairs that satisfy both rules survive, and for two straight lines that is usually exactly one point: the spot where the lines cross. Solving the system means finding that crossing point, and the elimination method is one of the cleanest ways to do it.

The Big Idea Behind Elimination

Elimination rests on a simple truth: you can add or subtract whole equations just as you add or subtract numbers. If 8x + 12y equals 48 and 8x – 2y equals 20, then subtracting the left sides and the right sides keeps the equality intact.

The payoff is that the x terms cancel: 8x – 8x disappears, leaving 14y = 28. One variable is gone, and what remains is an equation a beginner could solve.

Setting Up Your Equations for the Calculator

The calculator expects the standard form a1x + b1y = c1 for the first equation and a2x + b2y = c2 for the second. The letters a1 and b1 are the coefficients sitting in front of x and y, while c1 is the lonely constant on the right.

Before typing anything, rewrite your problem to match. The equation y = 2x + 5 becomes -2x + y = 5, so a1 = -2, b1 = 1, and c1 = 5. Watch the signs: a minus sign belongs to the coefficient, so in 4x – y = 10 the value of b2 is -1, not 1.

Decimals are fine in every box.

Step One: Line the Equations Up

Elimination starts with bookkeeping. Write the two equations one above the other with x terms under x terms, y terms under y terms, and constants under constants. This alignment is what lets you combine them term by term.

The calculator shows this as Step 1 of its working. Most student errors begin here: a misaligned sign quietly corrupts everything that follows.

Step Two: Multiply to Match a Coefficient

You can only cancel the x terms if they are identical, so the next move is to multiply each entire equation by whatever it takes to make the x coefficients match. With 2x + 3y = 12 and 4x – y = 10, multiplying the first equation by 4 and the second by 2 turns both x terms into 8x.

The golden rule is to multiply every term, including the constant on the right. Forgetting to multiply the constant is the classic slip. The calculator displays both multiplied equations so you can see that nothing was skipped.

When an equation is already missing x, the calculator takes a shortcut and solves directly instead.

Step Three: Add or Subtract to Cancel a Variable

Now comes the satisfying part. Subtract one new equation from the other, and the matched x terms destroy each other: 8x – 8x = 0. What survives is a short equation in y alone, such as 14y = 28.

Choose subtraction when the matched coefficients have the same sign and addition when they have opposite signs; either way the goal is a zero.

The formula is:

x = (c1b2 – c2b1) / (a1b2 – a2b1) and y = (a1c2 – a2c1) / (a1b2 – a2b1), where the denominator a1b2 – a2b1 must not be zero.

Step Four: Solve the One-Variable Equation

After cancellation you hold something like 14y = 28, and the hard part is over. Divide both sides by the coefficient of y to isolate it: y = 2. One unknown down, one to go.

If the division does not come out even, keep the fraction or decimal.

Step Five: Back-Substitute to Find the Other Variable

Take the value you just found and plug it into either original equation, preferably the simpler one. With y = 2 in 2x + 3y = 12, you get 2x + 6 = 12, so 2x = 6 and x = 3.

The pair (3, 2) is your answer, always written x first. The calculator shows this substitution in its final step.

Reading the Answer as a Crossing Point

Every linear equation draws a straight line on a graph, and the solution (3, 2) is the single point where your two lines cross. Plug x = 3 and y = 2 into either equation and both sides balance, which is exactly what crossing means.

Two non-parallel lines meet precisely once, which is why most systems have exactly one solution.

When There Is No Solution

If elimination wipes out both variables and leaves a false statement such as 0 = 8, the system has no solution. On a graph the two lines are parallel: they run side by side forever and never cross.

The pair x + y = 3 and 2x + 2y = 10 is a textbook example. The second equation doubles the first on the left but not on the right, so the lines never meet.

When There Are Infinitely Many Solutions

If elimination leaves a true statement such as 0 = 0, the two equations are secretly the same line wearing different clothes. Every point on that line satisfies both equations, so there are infinitely many solutions.

Take 2x + 4y = 8 and x + 2y = 4. Doubling the second equation reproduces the first exactly, so they trace one identical line.

Checking Your Work and Dodging Common Mistakes

The ten-second check is substitution: put your (x, y) into both original equations and confirm both sides balance. The calculator runs this check automatically and prints it beneath the steps.

The usual traps are sign errors when subtracting, forgetting to multiply the constant term, and mixing up which coefficient belongs to which variable. A second classic is entering b2 = 1 for the equation 4x – y = 10, when the minus sign makes it -1.

Worked Example: A Simple Integer Solution

Solve 2x + 3y = 12 and 4x – y = 10. The six inputs are a1 = 2, b1 = 3, c1 = 12, a2 = 4, b2 = -1, and c2 = 10.

Multiply the first equation by 4 to get 8x + 12y = 48, and multiply the second by 2 to get 8x – 2y = 20. Both x terms now match.

Subtract the second from the first: (8x – 8x) + (12y + 2y) = 48 – 20, which simplifies to 14y = 28, so y = 2.

Back-substitute into 2x + 3y = 12: 2x + 6 = 12, so 2x = 6 and x = 3. The solution is (3, 2).

Check: 4(3) – 2 = 10, so the answer is confirmed.

Worked Example: Parallel Lines With No Solution

Solve x + y = 3 and 2x + 2y = 10. The inputs are a1 = 1, b1 = 1, c1 = 3, a2 = 2, b2 = 2, and c2 = 10.

Multiply the first equation by 2 to get 2x + 2y = 6. The second equation needs no multiplier for the x terms to match.

Subtract the first from the second: (2x – 2x) + (2y – 2y) = 10 – 6, which collapses to 0 = 4.

Zero never equals four, so the system has no solution.

Worked Example: The Same Line Twice

Solve 2x + 4y = 8 and x + 2y = 4, with a1 = 2, b1 = 4, c1 = 8, a2 = 1, b2 = 2, and c2 = 4.

Multiply the second equation by 2 to get 2x + 4y = 8. It is now identical to the first equation.

Subtracting gives 0 = 0, a true statement that tells us nothing new. The two equations describe the same line.

Every point on that line satisfies both equations, so there are infinitely many solutions.

Frequently Asked Questions

1. What do a1, b1, and c1 stand for?

In the standard form a1x + b1y = c1, a1 is the number multiplying x, b1 is the number multiplying y, and c1 is the constant on the right side of the equals sign. The second equation uses a2, b2, and c2 the same way.

2. Can I enter decimals or negative numbers?

Yes. The calculator accepts decimals like 0.5 and negatives like -3 in any box. If your equation contains fractions, convert them to decimals first or multiply the whole equation through to clear them.

3. What happens if one of my coefficients is zero?

Nothing breaks. A zero coefficient simply means that variable is missing from the equation, and the calculator takes a shortcut: it solves the simpler equation first and substitutes the result. For example, with 0x + 3y = 9 it finds y = 3 immediately and then solves for x.

4. Should I eliminate x or y first?

Either works, and the answer is identical both ways. Eliminate whichever variable looks easier: if one coefficient is already 1 or the numbers divide neatly, start there. This calculator always eliminates x, but the steps it shows make the pattern clear enough to repeat by hand for y.

5. Why do we multiply the equations before subtracting?

Subtraction only cancels the variable when the coefficients match exactly. Multiplying resizes both equations without changing their solutions, like scaling a recipe, so the x terms line up. Remember to multiply every term, including the constant, or the equality breaks.

6. How is elimination different from substitution?

Substitution solves one equation for a variable and plugs that expression into the other, which gets messy with fractions. Elimination clears a whole variable in one subtraction and keeps the numbers tidier.

7. What does no solution look like on a graph?

Two parallel lines. They have the same steepness but different positions, so they never meet. Algebraically you will see both variables vanish and leave a false statement like 0 = 4, which is the calculator cueing you that no (x, y) pair can satisfy both equations.

8. What do infinitely many solutions look like on a graph?

A single line drawn twice. Because both equations describe the identical line, every point on it is a solution. In the working, both variables cancel and leave a true statement like 0 = 0. Any point you check, such as the intercepts, will satisfy both equations.

9. Can two straight lines meet at more than one point?

No. Two distinct straight lines meet at most once, which is why a normal system has exactly one solution. The only way to get more is if the lines are not distinct at all, meaning they are the same line, and then they share every point.

10. Does the order of the pair (x, y) matter?

Very much. The pair (3, 2) means x is 3 and y is 2, while (2, 3) is a different point that will usually fail your equations. Always write x first. A quick substitution of the swapped pair into either equation exposes the mistake instantly.

11. How do I check my answer?

Substitute your x and y into both original equations and confirm each side balances. With (3, 2) in 2x + 3y = 12 you get 6 + 6 = 12, and in 4x - y = 10 you get 12 - 2 = 10.

12. What if my answer is not a whole number?

That is completely normal. Many systems solve to fractions or decimals, such as x = 1.5. The calculator rounds displayed steps to six decimal places, which is plenty for homework. Keep the extra digits while working and round only at the very end.

13. Can elimination solve three equations with three unknowns?

The idea extends, but this calculator handles exactly two equations and two unknowns. With three variables you eliminate one variable from two pairs of equations, reducing the problem to a 2×2 system, then repeat.

14. Why does the calculator sometimes skip the multiplication step?

When an equation is already missing x, there is nothing to match, so multiplying would be busywork. The calculator solves that equation directly and substitutes the result, which is still elimination in spirit: one variable removed, one equation left. The printed steps show exactly which shortcut it took.

15. Where are systems of equations used in real life?

Everywhere two constraints collide: mixing two ingredient prices to hit a budget, finding where two phone plans cost the same, balancing chemical equations, or computing the meeting point of two moving objects.