Substitution Method Calculator

Make one unknown the subject and substitute it into the other equation.

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 x the subject

    Equation 1 contains xx. Move the yy term and the constant across and divide by the coefficient of xx, which is 22, so that xx is written in terms of yy.

    x=13−3y2=−32y+132\begin{aligned} x &= \frac{13 - 3y}{2} \\ &= -\frac{3}{2}y + \frac{13}{2} \end{aligned}
  2. Substitute into the other equation

    Replace xx in the second equation with this expression. It then contains only yy, and collecting like terms gives −52y+132-\frac{5}{2}y + \frac{13}{2} on the left.

    (−32y+132)−y=−52y+132=−1\begin{aligned} \left(-\frac{3}{2}y + \frac{13}{2}\right) - y &= -\frac{5}{2}y + \frac{13}{2} \\ &= -1 \end{aligned}
  3. Solve for y

    Subtract the constant from both sides, then divide by the coefficient of yy, which is −52-\frac{5}{2}.

    y=−1−(132)−52=(−152)÷(−52)=3\begin{aligned} y &= \frac{-1 - \left(\frac{13}{2}\right)}{-\frac{5}{2}} \\ &= \left(-\frac{15}{2}\right) \div \left(-\frac{5}{2}\right) \\ &= 3 \end{aligned}
  4. Substitute back

    Put y=3y = 3 into x=−32y+132x = -\frac{3}{2}y + \frac{13}{2} from the first equation to find xx.

    x=(−32)⋅3+132=2\begin{aligned} x &= \left(-\frac{3}{2}\right)\cdot 3 + \frac{13}{2} \\ &= 2 \end{aligned}
  5. Result

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

Worked examples