# Substitution Method for Systems of Equations

## TL;DR  
The substitution method solves a system of two linear equations by isolating one variable in one equation, plugging that expression into the other equation, then back-substituting. This article walks through the five steps, three worked examples at increasing difficulty, where students lose marks, and how substitution stacks up against elimination and graphing.

## Solving Two Equations With One Replacement  
You have two equations and two unknowns. The trick is to _turn it into one equation with one unknown_. That's the whole logic of substitution — get y written in terms of x from the easier equation, then put that expression wherever y appears in the other equation.

The **substitution method** works for every consistent system with two variables, and it is usually the fastest choice when one of the coefficients is already 1 or -1. When all coefficients are awkward, elimination is faster — we'll cover that distinction in the comparison table below.

## The Five Steps  
1. **Pick the easier equation.** Look for a variable with coefficient 1 or -1. That's the one you isolate.
2. **Isolate that variable.** Solve for it in terms of the other.
3. **Substitute into the other equation.** Replace the variable with its expression. You now have one equation in one unknown.  
4. **Solve.** Standard one-variable algebra.
5. **Back-substitute.** Put the value you found into the expression from Step 2 to get the second variable. Then check both originals.

Step 5 is the one students skip. The whole error-catching power of substitution lives in plugging the pair back into _both_ original equations. A pair that fails one is not a solution.

## A Side-By-Side Comparison — Substitution vs Elimination vs Graphing  
There isn't a single "best" method. Each one shines in a specific shape of problem.

| Method         | How it works                                         | Best when                                         | Worst when                                      | Speed                    | Visual? |
|----------------|-----------------------------------------------------|--------------------------------------------------|------------------------------------------------|--------------------------|---------|
| **Substitution** | Isolate one variable, plug into the other           | One coefficient is 1 or -1                        | All coefficients are large or fractional         | Fast for clean systems   | No      |
| **Elimination** (addition method) | Add or subtract multiples of equations to cancel a variable | Coefficients line up to cancel (or scale easily) | One variable is already isolated — you'd waste steps | Fast for messy coefficients | No      |
| **Graphing**   | Plot both lines; the intersection is the solution   | You want a visual sense of the system             | Solutions are fractions or large numbers         | Slow on paper, instant on Desmos | Yes      |

## Three Worked Examples — Quick, Standard, Stretch  
**Quick.** Solve the system: y=2x+1 and x+y=7.  
The first equation already has y isolated. Substitute into the second:  
 x + (2x + 1) = 7 ⟹ 3x + 1 = 7 ⟹ x = 2.  
Back-substitute: y = 2(2) + 1 = 5.  
**Final answer:** (x,y)=(2,5). Check: 5=2(2)+1 ✓ and 2+5=7 ✓.

**Standard (Wrong Path First — A Common Slip Worth Walking Through).** Solve: 2x + 3y = 13 and x - 2y = -4.  
_The wrong path._ A student looks at the first equation and tries to isolate x: 2x=13−3y, so x=13−3y/2. Substituting into the second: 13−3y/2−2y=−4. The fractions arrive immediately. The student multiplies through by 2 and arrives at 13−3y−4y=−8, so 7y=21, y=3. The answer happens to be right, but two extra fraction-handling steps were taken because the _wrong equation_ was chosen for isolation.
 _The rescue._ The second equation is x−2y=−4. Isolating x here is one step with no fractions: x=2y−4. Substitute into the first:
 2(2y−4)+3y=13 ⟹ 4y−8+3y=13 ⟹ 7y=21 ⟹ y=3.  
Back-substitute: x=2(3)−4=2. **Final answer:** (x,y)=(2,3). The lesson — Step 1 (pick the easier equation) is not a stylistic choice. It is the difference between a four-line solve and an eight-line one.

**Stretch.** A coffee shop sells two drinks. A latte costs L$ and a cappuccino costs C. On Monday, 18 lattes and 12 cappuccinos sold for 126. On Tuesday, 24 lattes and 8 cappuccinos sold for 136. Find the price of each.
Set up the system:
18L + 12C = 126 and 24L + 8C = 136.  
Neither variable has coefficient 1. Simplify first — divide the first equation by 6 to get 3L + 2C = 21, so C = (21 - 3L)/2. Substitute into the second:
24L + 8 * (21−3L)/2 = 136 ⟹ 24L + 4(21−3L)=136 ⟹ 24L + 84−12L=136 ⟹ 12L=52 ⟹ L=13/3  
Then C=(21−3*13/3)/2=4. **Final answer:** L=13/3, C=4. (A real menu would round L to 4.33 — practice problems leave the exact fraction so the algebra is checkable.)

## Why the Substitution Method Matters  
Substitution is the first general technique algebra students see for handling more than one unknown at once. The idea — replace a quantity with an equivalent expression — is the same one that powers:  
- **Calculus.** u-substitution in integration is structurally the same move: replace the awkward variable with a cleaner one.  
- **Computer science.** Function inlining (replacing a function call with the function body) is substitution applied to code.  
- **Physics.** Eliminating intermediate quantities (acceleration, time) from a chain of equations is substitution at scale.  
- **Linear algebra.** Solving a system by row reduction starts with the same move — write one variable in terms of the others and propagate.

## Where Things Go Sideways  
### **Mistake 1: Isolating the harder variable.**  
**Where it slips in:** A student sees 2x + 3y = 13 and starts isolating whichever variable they reach first — usually x, because it's on the left.  
**Don't do this:** Solve 2x + 3y = 13 for x when there's an equation right below with x already coefficient-1.  
**The correct way:** Scan both equations. Find the variable with coefficient 1 or -1. That's the one to isolate, regardless of which equation it lives in.

### **Mistake 2: Forgetting parentheses around the substituted expression.**  
**Where it slips in:** Substituting y=2x−5 into 3+y=10, a rushed student writes 3+2x−5=10. The same student substituting y=2x−5 into 3−y=10 writes 3−2x−5=10 — losing the parenthesis. The minus sign was supposed to distribute across both terms.  
**Don't do this:** Drop the parentheses when the coefficient in front of the substituted variable is negative.  
**The correct way:** Always write 3−(2x−5)=10 first, then distribute: 3−2x+5=10. The rusher archetype catches this slip in nearly every first-week-of-systems Bhanzu session.

### **Mistake 3: Skipping the back-substitution check.**  
**Where it slips in:** The student finds x=2, writes the answer pair, and submits without plugging (2,5) back into the originals.  
**Don't do this:** Treat the pair as final the moment both values are written.  
**The correct way:** Plug the pair into _both_ original equations. If either fails, the arithmetic broke somewhere — go back step by step. Five extra seconds at the end save a whole marked-down question.

## Conclusion  
- The substitution method turns a two-equation system into a one-variable equation by replacing one unknown with an equivalent expression.  
- Pick the equation where a variable already has coefficient 1 — that's where Step 2 is one step instead of two.  
- Substitution beats elimination when one variable is easy to isolate; elimination wins when both equations are in Ax+By=C form with matched coefficients.  
- The most common error is forgetting parentheses around the substituted expression — always write them, then distribute.  
- Every system solved by substitution must be back-checked against both original equations.

## Sharpen Your Substitution — Three Practice Problems  
1. Solve: y=3x−4 and 2x+y=16.  
2. Solve: 3a+2b=8 and a−b=1. (Decide which variable to isolate before you start.)  
3. A movie theater sells adult tickets at 12$ and child tickets at 8. On Friday, 200 tickets sold for 2160. How many of each were sold?

If Problem 2 takes more than three lines, you isolated the wrong variable — try again.
