A substitution calculator with steps: type the six coefficients of your two equations and the form returns x and y at once. The page then shows how to solve by substitution - solve one equation, substitute into the other, check - one worked example at a time. Six numbers and one click run the substitution calculator; the examples rebuild every step by hand.
Put both equations in standard form first: and . Then fill the six boxes of the substitution calculator and click Calculate.
The substitution calculator starts pre-filled with x + y = 7 and x − y = 1; one click solves it: x = 4, y = 3. Swap in your own numbers and the substitution calculator re-solves instantly.
A false Check row means the determinant is 0: no solution or infinitely many. The special-cases table below separates them in seconds, so the substitution calculator never leaves you guessing.
This page is more than a static substitution calculator — it is also an AI tutor. The box under the form takes full questions, photos, and follow-ups:
Substitution means replacing a letter with something equal to it. If x + y = 7, then x is 7 − y everywhere, so the x in the other equation can become 7 − y. One equation, one letter — and solving it is routine. That swap is the one move a substitution calculator makes, over and over. The substitution calculator just never gets tired of it.
A 1904 college algebra text defines the move: to eliminate x is to derive an equation in which x no longer occurs. That definition still drives every substitution method calculator, this one included. This substitution calculator runs it on whatever pair you type.
Read the picture: the blue line is every pair with x + y = 7, the orange line every pair with x − y = 1. The lines cross exactly once, at (4, 3). Every substitution calculator question ends at a crossing like this one. One crossing, one solution — that is the substitution calculator's Check row in graphical form.
Here is the full routine — you can solve the system by substitution by hand in six short steps:
Every example below runs these six steps; the substitution calculator collapses them into one click.
The six steps always end at the same two fractions, so the substitution calculator can evaluate them directly:
Both share one denominator — the determinant:
The Check row of the substitution calculator computes exactly this number. A zero there is the substitution calculator's only stop sign.
Special cases — how the substitution calculator reports a false Check row:
Try 2x + 6y = 10 with x + 3y = 5: every ratio matches, one line drawn twice, infinitely many solutions. Change to 9 and no pair works: no solution. The substitution calculator flags both with a false Check row; the ratios tell you which.
Solve the anchor system by substitution, one line per step — the substitution calculator's own default:
The form above holds exactly this system: , , , , , . Click Calculate and the substitution calculator confirms x = 4, y = 3 in one run. That is the substitution calculator's whole promise: six coefficients in, two values out.
A 1904 college algebra text solves this pair, and it still teaches the right habits:
The old book then verifies both: and . Both hold, so . The substitution calculator will agree.
Type 1, 3, 3 and 3, 5, 1 into the substitution calculator above. The substitution calculator's x and y rows return −3 and 2 without a single fraction. The substitution calculator and the 1904 text agree: the method is that stable.
Sometimes the solution is given and a coefficient is missing — work the substitution calculator's direction in reverse. Suppose x + y = 7 and 2x − by = 5 have the solution (4, 3). Find b.
With b = 1 the determinant is , not 0. One solution exists, and the substitution calculator reports it as x = 4, y = 3 — run it and see. Change b to 2 and the substitution calculator returns (4.75, 2.25) instead: the system itself changed.
Three slips the substitution calculator catches every day:
The sum of two numbers is 24. One of the numbers is 6 less than the other. Find the two numbers, then check them with the substitution calculator above.
A rectangular vegetable garden has a perimeter of 94 feet. Its length is 5 feet more than twice its width. Find the length and the width, then check with the substitution calculator above.
Rearrange each equation to standard form first: $a_1x + b_1y = c_1$ and $a_2x + b_2y = c_2$. Then type the six coefficients. For y = 2x + 3, rewrite it as −2x + y = 3 and enter $a_1 = −2$, $b_1 = 1$, $c_1 = 3$. The substitution calculator takes the numbers from there.
Use substitution when a variable has coefficient 1, or an equation hands you the variable directly, like y = x + 5 — a substitution calculator shines exactly there. Elimination earns its keep when both letters carry awkward coefficients.
A true statement like 0 = 0 means every point on one line satisfies the other. The equations are dependent — one line drawn twice — so the system has infinitely many solutions. The substitution calculator's Check row reads false here too, exactly as in the no-solution case.
Parallel lines never meet: no solution, an inconsistent system. In this substitution calculator both zero-determinant cases surface as a false Check row; the ratios table separates them.
Both phrasings lead to this substitution calculator page. Classrooms say solve by substitution or solve using substitution; if you typed solve for substitution, the substitution calculator here is still the right tool.
Yes. The x and y rows round to four decimals: 3x + 2y = 8 with x + 3y = 7 returns 1.4286 and 1.8571, exactly 10/7 and 13/7. The method never needs whole numbers, and neither does this substitution calculator. The substitution calculator only rounds the display, never the math.