Substitution Method Calculator

Solve a 2×2 linear system by substitution.

x 1
y 2

Formula: Solve one equation for a variable, substitute into the other

Step-by-step with your numbers:
1. Values used:
2. a₁ = 1
3. b₁ = 2
4. c₁ = 5
5. a₂ = 3
6. b₂ = -1
7. c₂ = 1
8.
9. x = 1
10. y = a₁ x b₁ = 1 x 2 = 2
Did we solve your problem today?

The substitution method solves a system by isolating one variable and plugging it into the other equation.

The math behind it

From a₁x + b₁y = c₁, express x = (c₁ − b₁y)/a₁, substitute into the second equation and solve for y, then back-substitute for x. The result equals Cramer's rule.

Worked example

x + 2y = 5 and 3x − y = 1 → x = 1, y = 2.

FAQ

When is substitution easiest?

When one variable already has a coefficient of 1, so isolating it avoids fractions.