How the method works
A system of equations is two equations in two unknowns that must hold at the same time. The substitution method turns them into one equation in one unknown, in four steps:
- Solve one of the equations for one of the variables.
- Put that expression into the other equation, in place of the variable.
- Solve the new equation, which has only one unknown left.
- Put the answer into the expression from step 1 to get the other variable.
The page has no formula, because the method is a procedure rather than an equation. Each equation in the system is a straight line, and the solution is the point where the lines cross. Parallel lines give no solution, and two equations for the same line give infinitely many.
Worked examples
A system where step 1 is already done.
- (1) y = 2x + 1
- (2) 3x + y = 11
Equation (1) is already solved for y. Put 2x + 1 in place of y in (2):
- 3x + (2x + 1) = 11
- 5x + 1 = 11
- 5x = 10, so x = 2.
Put x = 2 into (1): y = 2 · 2 + 1 = 5. The solution is x = 2, y = 5.
The check. In (2): 3 · 2 + 5 = 11. It holds. The same system is worked step by step in the system of equations calculator.
Common mistakes
- Putting the expression back into the equation it came from. That only says the same thing twice, such as 2x + 1 = 2x + 1, and nothing gets solved. The expression goes into the other equation.
- Stopping after the first variable. x = 2 is half the answer. Put it back and work out y.
- Choosing a variable that brings fractions. Where you can, solve for a variable whose coefficient is
- Otherwise a fraction follows you through the rest of the working.
Common questions
Which equation should I solve first?
The one where a variable stands alone or has the coefficient 1 or −1. It can be solved for without
dividing, and the rest of the working stays free of fractions.
What if no variable has the coefficient 1?
The method still works, but with fractions. The elimination method is often
easier then, because it only needs the equations multiplied by whole numbers.
Does substitution work for three equations too?
Yes, in principle: solve for one variable and put it into the other two, leaving a system of two
equations. The working soon gets long, so elimination is usually used for three
equations. The calculator does the same.