Elimination Method Calculator

Solve two equations by matching a coefficient and subtracting.

The x coefficient in the first equation.

The y coefficient in the first equation.

The constant on the right of the first equation.

The x coefficient in the second equation.

The y coefficient in the second equation.

The constant on the right of the second equation.

Try

Result

You entered2x+3y=13,x−y=−12x + 3y = 13,\quad x - y = -1

x=2, y=3\displaystyle x = 2,\ y = 3

Check

2(2)+3(3)=13,1(2)+−1(3)=−1\displaystyle 2\left(2\right) + 3\left(3\right) = 13,\quad 1\left(2\right) + -1\left(3\right) = -1

Intersection point

(2,3)\displaystyle \left(2, 3\right)
Show the work
  1. Make the coefficients match

    To eliminate xx, give it the same coefficient in both equations. Multiply equation 2 by 22 (the xx coefficient of equation 1); equation 1 stays as it is. Both xx coefficients become 22.

    1(2x+3y=13)⇒2x+3y=132(x−y=−1)⇒2x−2y=−2\begin{gathered} 1\left(2x + 3y = 13\right) \Rightarrow 2x + 3y = 13 \\ 2\left(x - y = -1\right) \Rightarrow 2x - 2y = -2 \end{gathered}
  2. Elimination method

    Subtract equation 2 from equation 1. The xx terms have the same coefficient, so they cancel and one equation in yy is left.

    (2x+3y)−(2x−2y)=5y=13−(−2)=15\begin{aligned} \left(2x + 3y\right) - \left(2x - 2y\right) &= 5y \\ &= 13 - \left(-2\right) \\ &= 15 \end{aligned}
  3. Solve for the remaining unknown

    Only yy is left, so divide both sides by its coefficient 55.

    y=155=3\begin{aligned} y &= \frac{15}{5} \\ &= 3 \end{aligned}
  4. Substitute back

    Put y=3y = 3 into equation 1 and solve it for xx. Here the xx coefficient is 22.

    x=13−3⋅32=42=2\begin{aligned} x &= \frac{13 - 3\cdot 3}{2} \\ &= \frac{4}{2} \\ &= 2 \end{aligned}
  5. Result

    So the solution is x=2, y=3x = 2,\ y = 3.

Worked examples