Systems of Equations: Substitution Method
Problem
Solve y = 2x + 1 and 3x + y = 16 using substitution. Show the variable replacement step visually.
Explanation
What is the substitution method?
When you have two equations with two unknowns, the substitution method works by solving one equation for one variable, then plugging that expression into the other equation. This reduces two equations in two unknowns to one equation in one unknown — which you already know how to solve.
Step-by-step solution
We have:
- Equation 1:
- Equation 2:
Step 1 — Identify a variable already isolated. Equation 1 already gives us in terms of : . This is our substitution expression.
Step 2 — Substitute into the other equation. Replace every in Equation 2 with :
Step 3 — Solve the resulting one-variable equation. Remove parentheses and combine like terms:
Step 4 — Back-substitute to find the other variable. Plug back into Equation 1:
Step 5 — Write the solution as an ordered pair. The solution is .
Step 6 — Check in BOTH original equations.
- Equation 1: ✓
- Equation 2: ✓ Both check out.
When to use substitution vs elimination
Use substitution when one variable is already isolated (like ) or easy to isolate (coefficient of 1 or ). Use elimination when both equations have matching or opposite coefficients that cancel nicely.
Common mistakes
- Forgetting to distribute. When substituting into , students sometimes write correctly, but with expressions like they forget to distribute the negative: , not .
- Only checking in one equation. A value might satisfy one equation by construction (you derived it from that equation) but be wrong due to an arithmetic error. Always check in both.
Try it in the visualization
Adjust the slopes and intercepts of both equations. The two lines are drawn on the graph, and the intersection point is the solution. Toggle "show substitution step" to see the algebraic replacement animated. Move the sliders to create systems with different solutions, or make the lines parallel (no solution) to see what happens.
Interactive Visualization
Parameters
Got your own math or physics problem?
Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.