ThisCalculator

Everyday

Elimination Method Calculator for Systems of Equations

Updated · Standard formula, shown below

x 2.00
y
3.00
Result
Equation 1: x coefficient
2
You entered
Equation 1: y coefficient
3
You entered

Elimination Method Calculator for Systems of Equations

An elimination method calculator solves a system of two linear equations by combining them to cancel one variable. Enter the coefficients and constants from both equations; the calculator returns the values of the variables, which you can check by substitution.

Formula

Write the equations in standard form as a₁x + b₁y = c₁ and a₂x + b₂y = c₂. The calculator uses the determinant D = a₁b₂ − b₁a₂, then calculates x = (c₁b₂ − b₁c₂) / D and y = (a₁c₂ − c₁a₂) / D. Here, a₁ and b₁ are the coefficients of x and y in equation 1; c₁ is its right-hand constant. The subscript-2 values refer to equation 2. x and y are the unknowns. All inputs are ordinary signed numbers; units are not required.

This is a compact form of solving by elimination, based on the same algebra as multiplying equations to make opposite coefficients and adding them. The formulas work when D is not zero. If D is zero, the equations do not have one unique solution, so the displayed divisions are undefined.

Worked Example

Using the defaults, the equations are 2x + 3y = 13 and x + y = 5.

  1. Find the determinant: D = (2 × 1) − (3 × 1) = −1.
  2. Find x: [(13 × 1) − (3 × 5)] ÷ (−1) = (13 − 15) ÷ (−1) = 2.
  3. Find y: [(2 × 5) − (13 × 1)] ÷ (−1) = (10 − 13) ÷ (−1) = 3.

The result is x = 2 and y = 3, displayed to two decimal places as 2.00 and 3.00. Check the original equations: 2(2) + 3(3) = 13, and 2 + 3 = 5.

How to Use the Calculator

First, arrange each equation so its x and y terms are on the left and its constant is on the right. Then enter the signed coefficients and constant in the matching fields. For example, if an equation is −4x + y = 8, enter −4 for its x coefficient, 1 for its y coefficient, and 8 for its right side.

  • For a missing variable, enter a coefficient of 0. In 7x = 14, for example, the y coefficient is 0.
  • Keep negative signs. In 3x − 2y = 4, the y coefficient is −2.
  • If a variable term is on the right, move it to the left before entering values. For x = 2y + 1, use x − 2y = 1.
  • After getting the result, substitute both values into both original equations to check them.

The answer is a pair of numbers, not a single value: x and y together form the solution. The calculator rounds the display to two decimal places, but the underlying result may be more precise. If you need exact values, keep fractions or unrounded values during working rather than rounding intermediate steps.

What Elimination Does

Elimination works because adding equal quantities to equal quantities preserves equality. If two equations contain opposite coefficients for the same variable, adding them cancels that variable. For instance, adding 2x + 3y = 13 to −2x + y = −1 removes x and leaves 4y = 12, so y = 3. Substituting y into either original equation gives x = 2.

When the coefficients do not already oppose each other, multiply one or both complete equations by suitable numbers first. For the default system, multiplying x + y = 5 by −2 gives −2x − 2y = −10. Add that to 2x + 3y = 13 to get y = 3. Multiplication must apply to every term on both sides of an equation.

When There Is No Unique Solution

The determinant D indicates whether the two equations have independent information. If D = 0, their lines have the same slope: they are either separate parallel lines with no common solution, or they represent the same line and have infinitely many solutions.

To tell those cases apart, compare the full equations. If one equation is a constant multiple of the other, every point on that line satisfies both. For example, x + y = 2 and 2x + 2y = 4 describe the same line. But x + y = 2 and 2x + 2y = 6 conflict, so there is no solution. A zero determinant alone cannot distinguish these outcomes.

Near-zero determinants also deserve care. The equations may technically have one solution but be nearly parallel, making the answer very sensitive to small changes or rounded inputs. If the result seems unexpectedly large, check the coefficients and retain full precision.

Common Mistakes and Limits

  • Entering an equation in the wrong form: The fields assume ax + by = c. Rearrange terms before entering them.
  • Dropping a negative sign: A sign error changes the system and can produce a plausible but incorrect pair.
  • Mixing up coefficients: a₁ and b₁ belong to the first equation; a₂ and b₂ belong to the second.
  • Rounding too soon: Use displayed rounded values only for presentation; substitute full-precision values when checking if available.

This calculator handles two equations in two unknowns with numerical coefficients. It does not determine whether a word problem has been translated into the correct equations, and it is not designed to solve nonlinear equations or larger systems. For an exact algebraic explanation, the multiplier-and-add method makes each cancellation visible.

Frequently Asked Questions

What is an elimination method calculator?
It solves two linear equations by finding the values of the unknowns that make both equations true. The elimination method cancels one variable through addition or subtraction.

How do I enter an equation with a missing variable?
Enter 0 as that variable’s coefficient. For example, write 5x = 20 as 5x + 0y = 20.

What does a zero determinant mean?
It means the equations do not have a unique intersection. They may have no solution if they contradict each other, or infinitely many if they describe the same line.

Can elimination solve three equations with three unknowns?
The same general idea extends to larger systems, but this calculator accepts only two equations and two unknowns. Larger systems require additional elimination steps or a solver built for matrices.

How can I check the calculator’s answer?
Substitute the reported x and y into each original equation. Both left sides should equal their corresponding right sides, allowing for any display rounding.

Related

Formula used
in a1 | Equation 1: x coefficient | - | 2
in b1 | Equation 1: y coefficient | - | 3
in c1 | Equation 1: right side | - | 13
in a2 | Equation 2: x coefficient | - | 1
in b2 | Equation 2: y coefficient | - | 1
in c2 | Equation 2: right side | - | 5
out x | x | - | (c1*b2-b1*c2)/(a1*b2-b1*a2) | 2
out y | y | - | (a1*c2-c1*a2)/(a1*b2-b1*a2) | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.