Grade 9 Math • Algebra & Functions

Systems by Substitution — I can solve systems by substitution and interpret solutions in context.

Use substitution to find where two equations meet, and understand what those solutions really mean.

Grade 9 Math emblem with a calculator, geometric shapes, and line graph
Inside this lesson 10 sections 5 questions 10 figures

SECTION 1

Historical Context & Motivation

For thousands of years, people have faced problems that involve more than one unknown quantity. Ancient merchants needed to figure out prices when they knew the total cost of mixed goods, and engineers needed to calculate forces acting in different directions at the same time. The mathematical tool that emerged to handle these situations is called a system of equations — two or more equations that share the same variables and must be true simultaneously.

The method of substitution — replacing one variable with an equivalent expression from another equation — is one of the oldest and most intuitive strategies for solving these problems. It traces its roots back to ancient civilizations and has been refined over centuries into the clean algebraic process you will learn today.

~200 BCE • Chinese Mathematics

The Chinese text The Nine Chapters on the Mathematical Art presents problems involving multiple unknowns, solved using systematic methods similar to substitution.

~250 CE • Diophantus of Alexandria

Often called the 'father of algebra,' Diophantus solved systems of equations by expressing one unknown in terms of another — the core idea behind substitution.

820 CE • Al-Khwarizmi's Algebra

The Persian mathematician al-Khwarizmi formalized algebraic methods for solving equations, giving us the word 'algebra' from his book title al-Kitāb al-Mukhtaṣar.

1637 • Descartes & Coordinate Geometry

René Descartes linked algebra to geometry by introducing the coordinate plane, allowing systems of equations to be visualized as intersecting lines.

The central question that drives this lesson is straightforward: when you have two equations and two unknowns, how do you find the values that make both equations true at the same time? And once you find those values, what do they actually tell you about the real-world situation you are modeling?

SECTION 2

Core Principles & Definitions

Before diving into the substitution process, you need a solid understanding of the vocabulary and ideas that make it work. A system of linear equations is a set of two or more linear equations that use the same variables. A solution to the system is any ordered pair (x, y) that satisfies every equation in the system simultaneously.

1

System of Equations

Two or more equations with the same variables. You are looking for values that make all equations true.
2

Substitution Method

Solve one equation for one variable, then replace (substitute) that variable in the other equation. This reduces two equations to one equation with one unknown.
3

One Solution

When the two lines intersect at exactly one point, the system has a unique solution — one specific (x, y) pair.
4

No Solution

When the two lines are parallel (same slope, different y-intercepts), they never meet. During substitution, you will get a false statement like 0 = 5.
5

Infinitely Many Solutions

When both equations describe the same line, every point on the line is a solution. Substitution produces a true statement like 0 = 0.
✦

KEY TAKEAWAY

Think of substitution like a spy going undercover. If you know that y is really the same as 2x + 3, you can send that disguise into the other equation. Everywhere the other equation says 'y,' you swap in '2x + 3' instead. Now you have just one variable to solve for — and the mystery is cracked.

SECTION 3

Visual Explanation

Graphically, each linear equation in a system represents a straight line on the coordinate plane. The solution to the system is the point of intersection — the exact spot where the two lines cross. The diagram below shows the system y = 2x − 1 and y = −x + 5, which intersect at the point (2, 3).

System of Two Linear Equationsxy0123450123456(2, 3)y = 2x − 1y = −x + 5
The cyan line represents y = 2x − 1 and the violet line represents y = −x + 5. They intersect at the pink point (2, 3), which is the solution to the system.

Notice that the intersection point (2, 3) is the only ordered pair that lies on both lines. If you plug x = 2 into y = 2x − 1, you get y = 2(2) − 1 = 3. If you plug x = 2 into y = −x + 5, you get y = −2 + 5 = 3. Both equations agree, confirming that (2, 3) is the solution. The substitution method gives you a way to find this intersection point algebraically, without needing a graph.

SECTION 4

The Substitution Method Step by Step

The substitution method follows a clear sequence of algebraic steps. The key idea is to eliminate one variable by expressing it in terms of the other, then substituting that expression into the second equation.

STEP 1 — ISOLATE A VARIABLE

y=mx+b(orx=expressioniny)y = mx + b (or x = expression in y)

Choose whichever equation already has a variable isolated, or pick the one that is easiest to rearrange. Look for a variable with a coefficient of 1 or −1 to avoid fractions.

STEP 2 — SUBSTITUTE

Replacetheisolatedvariableintheotherequationwiththeexpression.Replace the isolated variable in the other equation with the expression.

If equation 1 gives you y = 2x − 1, then in equation 2 you replace every y with (2x − 1). Use parentheses to avoid sign errors.

STEP 3 — SOLVE THE ONE-VARIABLE EQUATION

Combineliketerms→isolatethevariable→finditsvalue.Combine like terms → isolate the variable → find its value.

After substitution you have a single equation with one unknown. Solve it using familiar algebra techniques: distribute, combine like terms, and use inverse operations.

STEP 4 — BACK-SUBSTITUTE & CHECK

Plugthevalueyoufoundbackintoeitheroriginalequationtofindtheothervariable.Plug the value you found back into either original equation to find the other variable.

Always verify your answer by substituting both values into both original equations to confirm they produce true statements.

⚠

Watch Out for Special Cases

If the variable cancels out during Step 3 and you are left with a false statement like 0 = 7, the system has no solution (parallel lines). If you get a true statement like 0 = 0, the system has infinitely many solutions (same line).

SECTION 5

Interpreting the Three Types of Solutions

When you solve a system by substitution, the algebra will lead you to one of three outcomes. Understanding what each outcome means graphically and in context is just as important as getting the right numbers. The diagram below compares all three scenarios side by side.

Three Possible Outcomes for a System of Two Linear EquationsOne SolutionLines intersect atexactly one point.x = a, y = bNo SolutionParallel lines —they never meet.0 = 5 (false)Infinitely ManySame line — everypoint is a solution.0 = 0 (true)
Left: two intersecting lines produce one solution. Center: parallel lines yield no solution. Right: overlapping lines give infinitely many solutions.
OutcomeWhat the Algebra ShowsGraph InterpretationReal-World Meaning
One SolutionYou find a specific value for x and y, such as x = 2, y = 3.The lines cross at one point.There is exactly one scenario that satisfies both conditions.
No SolutionVariables cancel and you get a contradiction, like 0 = 5.The lines are parallel and never intersect.The two conditions are incompatible — no scenario works.
Infinitely ManyVariables cancel and you get an identity, like 0 = 0.The equations describe the same line.The two conditions are actually the same rule in disguise.

Summary of the three possible outcomes when solving a system of linear equations.

SECTION 6

Worked Example

Let's walk through a complete problem. Suppose two friends, Alex and Jamie, are saving money. Alex has $40 and saves $15 per week. Jamie has $100 and spends $5 per week. After how many weeks will they have the same amount of money, and how much will that be?

We can model these situations as a system of equations where w is the number of weeks and m is the amount of money in dollars.

THE SYSTEM

m=15w+40(Alex)m=−5w+100(Jamie)m = 15w + 40 (Alex) m = −5w + 100 (Jamie)

Both equations are already solved for m, making substitution straightforward.

Solving the System by Substitution

  1. 1

    Step 1 — Identify the Isolated Variable

    Both equations are already solved for m. Since m = 15w + 40 and m = −5w + 100, we know that the two expressions for m must be equal at the solution.
    Set the right sides equal: 15w + 40 = −5w + 100
  2. 2

    Step 2 — Substitute (Set Expressions Equal)

    Since both expressions equal m, we substitute one into the other by writing: 15w + 40 = −5w + 100. This is a single equation with one variable, w.
  3. 3

    Step 3 — Solve for w

    Add 5w to both sides: 15w + 5w + 40 = 100, which gives 20w + 40 = 100. Subtract 40 from both sides: 20w = 60. Divide both sides by 20: w = 3.
    w = 3 weeks
  4. 4

    Step 4 — Back-Substitute to Find m

    Plug w = 3 into either original equation. Using Alex's equation: m = 15(3) + 40 = 45 + 40 = 85.
    m = $85
  5. 5

    Step 5 — Verify in Both Equations

    Check in Jamie's equation: m = −5(3) + 100 = −15 + 100 = 85. ✓ Both equations give m = 85 when w = 3, confirming the solution.
    Solution: (3, 85) — After 3 weeks, both have $85.
💡

INTERPRETING IN CONTEXT

The ordered pair (3, 85) is not just abstract numbers. In the context of this problem, it means that after 3 weeks, Alex and Jamie will each have exactly $85. Before that point, Jamie has more money; after that point, Alex pulls ahead. Always translate your answer back to the original scenario and ask: does this make sense?

SECTION 7

Substitution vs. Other Methods

Substitution is not the only way to solve a system of equations. You may also encounter graphing and elimination (sometimes called the addition method). Each approach has strengths depending on the structure of the equations you are working with.

MethodBest When…Limitations
GraphingYou need a visual understanding of the solution, or you're using technology (graphing calculator or Desmos).Hard to read exact answers from a hand-drawn graph; non-integer solutions are nearly impossible to identify precisely.
SubstitutionOne variable is already isolated (or has a coefficient of 1 or −1), making it easy to express one variable in terms of the other.Can get messy with fractions if no variable is easily isolated. Requires careful distribution and sign management.
EliminationBoth equations are in standard form (Ax + By = C) and one pair of variable coefficients is easy to match or already opposite.Requires multiplying entire equations by constants, which can introduce errors if done carelessly.

Comparison of three common methods for solving systems of linear equations.

🎯

WHEN TO CHOOSE SUBSTITUTION

Think of solving a system like opening a locked door — graphing is like trying different keys until one fits, substitution is like picking the lock with a precise tool, and elimination is like using a bolt cutter. If the problem hands you a variable that's already isolated, substitution is your fastest path to the answer. Don't force substitution if the numbers get ugly; switch to elimination instead.

SECTION 8

Connection to Advanced Topics

The substitution method you are learning now is the foundation for more advanced mathematics. In future courses, you will encounter systems with three or more variables, systems involving quadratic or exponential equations, and even systems of inequalities. The same core logic — isolate, replace, solve — extends to all of these situations, though the details become more complex.

What You Learn NowWhere It Leads
Substitution in 2-variable linear systemsSubstitution in 3-variable systems (Algebra 2), solving one equation at a time to reduce the system
Interpreting intersection pointsLinear programming — finding optimal solutions within a feasible region defined by systems of inequalities
Recognizing no-solution and infinite-solution casesMatrix algebra and rank theory in linear algebra, where determinants tell you about solution existence
Writing systems from word problemsMathematical modeling in calculus, economics, engineering, and data science

How today's lesson connects to future math courses.

The skill of interpreting solutions in context is especially valuable. In the real world, you are rarely asked to just 'find x.' You need to explain what x means — whether it represents weeks, dollars, speed, or population. Building that habit now will serve you in every math and science course that follows.

SECTION 9

Practice Problems

Work through these five problems in order. They start with a concept check and build toward a more challenging scenario. Show all your steps and always check your answer by substituting back into both original equations.

Question 1: CONCEPTUAL

Explain in your own words why you need two equations to find the values of two unknowns. What would go wrong if you only had one equation with two variables?
Show answer
A single equation with two variables, such as y = 3x + 1, has infinitely many solutions — every point on that line is valid. You cannot pin down a unique (x, y) pair. A second equation introduces a second constraint, and the solution is the point where both constraints are satisfied simultaneously. Geometrically, one line gives you infinitely many points, but two non-parallel lines intersect at exactly one point, fixing both x and y.

Question 2: BASIC CALCULATION

Solve the system by substitution: y = 4x − 7 and 2x + y = 5.
Show answer
Since y is already isolated in the first equation, substitute y = 4x − 7 into the second equation: 2x + (4x − 7) = 5. Combine like terms: 6x − 7 = 5. Add 7 to both sides: 6x = 12. Divide by 6: x = 2. Back-substitute into y = 4(2) − 7 = 8 − 7 = 1. The solution is (2, 1). Check: 2(2) + 1 = 5 ✓ and 1 = 4(2) − 7 = 1 ✓.

Question 3: INTERMEDIATE

Solve by substitution: 3x + 2y = 16 and x − y = 2. Identify which variable you should isolate first and explain why.
Show answer
The second equation, x − y = 2, is the best starting point because x has a coefficient of 1, making isolation easy: x = y + 2. Substitute into the first equation: 3(y + 2) + 2y = 16. Distribute: 3y + 6 + 2y = 16. Combine: 5y + 6 = 16. Subtract 6: 5y = 10. Divide: y = 2. Back-substitute: x = 2 + 2 = 4. The solution is (4, 2). Check in both: 3(4) + 2(2) = 12 + 4 = 16 ✓ and 4 − 2 = 2 ✓.

Question 4: APPLIED

A movie theater sells adult tickets for $12 and child tickets for $8. On Saturday, 150 tickets were sold for a total of $1,480. Write a system of equations and use substitution to find how many adult and child tickets were sold. Interpret your answer in context.
Show answer
Let a = adult tickets and c = child tickets. The system is: a + c = 150 (total tickets) and 12a + 8c = 1480 (total revenue). Isolate a from the first equation: a = 150 − c. Substitute into the revenue equation: 12(150 − c) + 8c = 1480. Distribute: 1800 − 12c + 8c = 1480. Combine: 1800 − 4c = 1480. Subtract 1800: −4c = −320. Divide: c = 80. Back-substitute: a = 150 − 80 = 70. In context, the theater sold 70 adult tickets and 80 child tickets. Check: 12(70) + 8(80) = 840 + 640 = 1480 ✓.

Question 5: CRITICAL THINKING

Consider the system: y = 3x − 4 and 6x − 2y = 8. Solve by substitution and classify the solution. Then explain what this result means graphically and describe a real-world scenario where this type of result could occur.
Show answer
Substitute y = 3x − 4 into the second equation: 6x − 2(3x − 4) = 8. Distribute: 6x − 6x + 8 = 8. Simplify: 8 = 8. This is a true statement with no variables remaining, which means the system has infinitely many solutions. Graphically, both equations represent the exact same line (you can verify by solving 6x − 2y = 8 for y to get y = 3x − 4). A real-world example: if one store advertises 'buy 3 items at $4 off' and another expresses the same deal as '6 items for $8 off per pair,' both describe the same pricing rule. Any quantity that satisfies one condition automatically satisfies the other.

SUMMARY

Lesson Summary

Summary

A system of linear equations consists of two or more equations with the same variables. The substitution method solves such systems by isolating one variable in one equation, substituting that expression into the other equation, solving for the remaining variable, and then back-substituting to find the other. Graphically, the solution is the intersection point of two lines on the coordinate plane.

Systems can have one solution (intersecting lines), no solution (parallel lines producing a false statement like 0 = 5), or infinitely many solutions (identical lines producing a true identity like 0 = 0). Always interpret your solution in context — translate the numbers back to the real-world quantities they represent. Choose substitution when a variable is already isolated or has a coefficient of 1 or −1; otherwise, consider elimination or graphing as alternatives.

Varsity Tutors • Grade 9 Math • Systems by Substitution