One intersection, or a clear “no single point”
Substitution Method Calculator
Put both equations in the form ax + by = c before you type. The pair x + y = 3 and x − y = 1 is a₁=1, b₁=1, c₁=3 and a₂=1, b₂=−1, c₂=1. They meet at x = 2, y = 1. The page uses the same cross-multiplication you get if you solve one variable and substitute. If the lines are parallel, or they are the same line, it stops instead of inventing a point.
x
2.0000
- y
- 1.0000
The denominator is the cross product of the coefficients
- Denominator = a₁b₂ − a₂b₁.
- If that is 0, the lines do not cross once.
- x = (c₁b₂ − c₂b₁) ÷ denominator.
- y = (a₁c₂ − a₂c₁) ÷ denominator.
Worked examples
x + y = 3 and x − y = 1
The intersection is (2, 1).
2.0000 · ≈ 1.0000
2x + y = 5 and x − y = 1
A second system with a different y.
1.0000 · ≈ 2.0000
Good for practice
- Checking a homework intersection
- Seeing a parallel pair fail instead of returning a bogus point
- Confirming x = 2, y = 1 on the standard two-line example
Do not treat as an official score
- Leaving the equations in slope-intercept form and typing the slope as a
- Dropping the minus on b when the term is −y
- Expecting a solution when both equations describe one line
Frequently asked questions
Why call it substitution if the formula looks like elimination?
Solving for x in one equation and plugging into the other produces this same fraction. The page skips the scratch work and shows the point.
What if I have three variables?
This form is two equations and two unknowns. A third variable needs another page and another equation.
Can coefficients be fractions?
Yes. Type 0.5 or 1.5. The arithmetic does not require integers.
What does a zero denominator mean?
The left sides are multiples of each other. Either there are infinitely many solutions or there are none. One (x, y) would be the wrong answer.
Sources and updates
Last reviewed .
- 2×2 linear system – Cramer expansion of ax + by = c. No matrix library.