Solve a system of two equations by substituting one equation into the other.
Express one variable in terms of the other, substitute, and solve for the
remaining variable, then back-substitute to find both values.
Example
Substitute one equation into the other, solve, then back-substitute.
highlighted = computed this step
Step 1 — Set up
Set up the expression.
y=2x−1,3x+y=9
Step 2 — Substitute
Substitute y = 2x - 1 into 3x + y = 9.
3x+(2x−1)=9
Step 3 — Combine x terms
Combine x terms: 5x - 1 = 9.
5x−1=9
Step 4 — Add constant
Add the constant: 9 + 1 = 10.
5x=9+1=10
Step 5 — Solve x
Solve x: 10 / 5 = 2.
x=10/5=2
Step 6 — Back-substitute
Back-substitute: 2(2) - 1 = 3.
y=2(2)−1=3
Step 7 — Solution
Read the final result.
(2,3)
substitutionSubstitution: isolate one variable in one equation, substitute that expression into the other equation. Solve the single-variable equation, then back-substitute to find the second variable. Check both originals.