Pre-Algebra • Expressions, Equations & Inequalities

Solving Systems by Graphing — I can solve a system by graphing and explain what it means in a real-world context.

Find where two lines cross on a graph to solve two equations at once.

Middle School Math emblem with sigma notation, geometric shapes, and a ruler.
Inside this lesson 10 sections 5 questions 9 figures

SECTION 1

Where Did Graphing Systems Come From?

People have been solving problems with two unknowns for thousands of years. Ancient merchants needed to figure out prices when they had two clues instead of one. Over time, mathematicians found ways to draw these problems so they could see the answer on a picture.

The idea of using a graph with an x-axis and a y-axis was a huge breakthrough. It let people turn equations into lines you can actually draw. Let's look at how this idea developed.

~200 CE • Ancient Chinese Math

Chinese mathematicians wrote about solving problems with two unknowns in a book called The Nine Chapters on the Mathematical Art. They used tables of numbers, not graphs.

1637 • Descartes Creates the Coordinate Plane

French mathematician René Descartes invented the x-y grid we use today. This let people plot equations as lines and curves for the first time.

1700s • Graphing Becomes a Tool

Mathematicians started graphing two equations on the same grid. They realized the crossing point gives you the answer to both equations at once.

Today • Graphing in the Real World

Scientists, engineers, and business owners use graphing systems every day. Apps and calculators can graph lines instantly, but understanding what the graph means is still the most important skill.

So here's the big question this lesson answers: if you have two equations and two unknowns, how can you use a graph to find the values that make both equations true at the same time?

SECTION 2

Core Principles & Key Vocabulary

Before we start graphing, let's make sure you know the key ideas. A system of equations is just two (or more) equations that share the same variables. When we solve a system, we're looking for values of x and y that make both equations true.

1

System of Equations

Two or more equations with the same variables. Example: y = 2x + 1 and y = −x + 7.
2

Solution of a System

The ordered pair (x, y) that makes every equation in the system true. On a graph, it's the point where the lines cross.
3

Point of Intersection

The exact spot where two lines meet on a graph. Its coordinates give you the x-value and y-value of the solution.
4

Slope-Intercept Form

An equation written as y = mx + b, where m is the slope (steepness) and b is the y-intercept (where the line crosses the y-axis).
5

Consistent vs. Inconsistent

A consistent system has at least one solution (lines cross or overlap). An inconsistent system has no solution (parallel lines that never meet).
✦

KEY TAKEAWAY

Think of a system of equations like two friends texting their location. Each equation is a set of directions that draws a path (a line) on the map. The solution is where both paths cross — that's the one spot where both friends end up at the same place at the same time.

SECTION 3

Seeing the Solution on a Graph

The diagram below shows two lines on the same coordinate plane. One line represents the equation y = x + 1 and the other represents y = −x + 5. Notice how they cross at exactly one point: (2, 3). That point is the solution to the system because x = 2 and y = 3 makes both equations true.

Solving a System by Graphingxy0123456712345y = x + 1y = −x + 5(2, 3)Solution!
The cyan line shows y = x + 1 and the pink line shows y = −x + 5. They cross at the point (2, 3), which is the solution.

You can check by plugging in x = 2 and y = 3 into both equations. For y = x + 1: 3 = 2 + 1 ✓. For y = −x + 5: 3 = −2 + 5 ✓. Both check out! That's how you know the intersection point is correct.

SECTION 4

The Math Behind Graphing Systems

To graph a line, you need its equation in slope-intercept form. This form looks like y = mx + b. Let's break down what each letter means.

SLOPE-INTERCEPT FORM

y=mx+by = mx + b

y = the output (vertical position), m = slope (rise ÷ run — how steep the line is), x = the input (horizontal position), b = y-intercept (where the line crosses the y-axis).

When you have a system, you graph both equations on the same coordinate plane. Here is the step-by-step method.

  1. Step 1: Write both equations in slope-intercept form (y = mx + b).
  2. Step 2: For each equation, plot the y-intercept (b) on the y-axis.
  3. Step 3: Use the slope (m) to plot a second point. Rise up (or down) and run to the right.
  4. Step 4: Draw each line through its two points.
  5. Step 5: Find the intersection point. Read its (x, y) coordinates.
  6. Step 6: Check your answer by substituting x and y into both original equations.

CHECKING THE SOLUTION

Plug(x,y)intoBOTHequations→bothsidesmustbeequalPlug (x, y) into BOTH equations → both sides must be equal

If the values satisfy both equations, you have the correct solution. If not, re-check your graph.

SECTION 5

Three Things That Can Happen

When you graph two lines, there are three possible outcomes. The lines might cross once, never cross, or be the same line. Each outcome tells you something different about the system.

One SolutionLines cross at 1 point.Exactly one answer!No SolutionLines are parallel.No answer exists!Infinite SolutionsLines are the same!Every point is an answer.Most systems you'll see in class have exactly one solution — one crossing point.
Left: two lines cross at one point (one solution). Center: two parallel lines never cross (no solution). Right: two equations that graph as the same line (infinitely many solutions).
OutcomeWhat the Graph Looks LikeNumber of Solutions
One SolutionLines cross at exactly one point1 (one ordered pair)
No SolutionLines are parallel (same slope, different y-intercepts)0 (no ordered pair works)
Infinitely ManyLines are the same (identical slope and y-intercept)∞ (every point on the line)

The three types of outcomes when graphing a system of two linear equations.

💡

Quick Tip

If two lines have the same slope but different y-intercepts, they will never cross. They're parallel — so there is no solution.

SECTION 6

Worked Example — A Real-World Problem

Let's solve a real-world problem step by step. Imagine two friends, Alex and Jordan, are saving money. Alex already has $3 and saves $2 per week. Jordan already has $9 and saves $1 per week. After how many weeks will they have the same amount?

We can write two equations where x = number of weeks and y = total dollars saved.

ALEX'S SAVINGS

y=2x+3y = 2x + 3

Starts with $3 and adds $2 each week.

JORDAN'S SAVINGS

y=x+9y = x + 9

Starts with $9 and adds $1 each week.

Solving the Savings Problem by Graphing

  1. 1

    Step 1 — Write in Slope-Intercept Form

    Both equations are already in y = mx + b form. Alex: y = 2x + 3 (slope = 2, y-intercept = 3). Jordan: y = x + 9 (slope = 1, y-intercept = 9).
  2. 2

    Step 2 — Plot the Y-Intercepts

    For Alex, plot the point (0, 3) on the y-axis. For Jordan, plot the point (0, 9) on the y-axis.
  3. 3

    Step 3 — Use the Slopes to Find More Points

    Alex's slope is 2, so go up 2 and right 1 from (0, 3) to get (1, 5). Then (2, 7), (3, 9), and so on. Jordan's slope is 1, so go up 1 and right 1 from (0, 9) to get (1, 10). Then (2, 11), (3, 12), and so on.
  4. 4

    Step 4 — Draw Both Lines and Find the Intersection

    Draw a straight line through Alex's points and another through Jordan's. The two lines cross at one point.
    The lines intersect at (6, 15).
  5. 5

    Step 5 — Interpret the Answer

    x = 6 means after 6 weeks. y = 15 means $15. So after 6 weeks, both Alex and Jordan will have exactly $15.
  6. 6

    Step 6 — Check Your Work

    Alex: y = 2(6) + 3 = 12 + 3 = 15 ✓. Jordan: y = (6) + 9 = 6 + 9 = 15 ✓. Both equations give y = 15 when x = 6.
    Solution confirmed: (6, 15) is correct!
🌍

REAL-WORLD MEANING

The intersection point doesn't just give you numbers — it tells a story. In this problem, (6, 15) means that after 6 weeks, both friends have saved $15. Before week 6, Jordan is ahead. After week 6, Alex pulls ahead because Alex saves faster.

SECTION 7

Strengths and Limitations of Graphing

Graphing is a great way to solve systems, but it isn't always the best choice. Here's a comparison to help you decide when graphing works well and when another method might be easier.

StrengthsLimitations
You can see the answer — the visual makes it easy to understand.If the answer is a fraction like (2.5, 3.7), it's hard to read exactly from a graph.
Great for understanding what a system means in a real-world context.Drawing by hand takes time and can be messy.
Shows you whether there are 0, 1, or infinitely many solutions at a glance.Not practical for systems with very large or very small numbers.
Helps you estimate solutions even when exact answers are hard to find.Other methods (substitution, elimination) can find exact answers faster.

When graphing works well vs. when other methods may be better.

📊

WHEN TO USE GRAPHING

Think of graphing like using a map. A map is awesome when you want the big picture — which roads go where. But if you need the exact distance between two cities down to the foot, you'd use a calculator. Graphing gives you the big picture; algebraic methods give you exact precision.

SECTION 8

Connecting to More Advanced Methods

Graphing is the first method you learn for solving systems. In later math classes, you'll learn two faster methods called substitution and elimination. These methods solve systems using only algebra — no graph paper needed.

FeatureGraphing (This Lesson)Substitution / Elimination (Future)
What you doDraw both lines on a graph and find where they crossUse algebra to combine the equations and solve for x and y
Best forUnderstanding the big picture; estimating solutionsFinding exact answers quickly
Tools neededGraph paper, ruler, or a graphing appPencil and paper
Handles fractions?Hard to read from a graphYes — gives exact values

Graphing compared to algebraic methods you'll learn soon.

Even when you learn those other methods, graphing stays useful. It helps you visualize what the algebra is doing. You can always sketch a quick graph to check whether your algebraic answer makes sense.

SECTION 9

Practice Problems

Try these five problems. They start easy and get harder. For each one, think about what the solution means, not just what the numbers are.

Question 1: CONCEPTUAL

What does the point of intersection of two lines on a graph represent when you are solving a system of equations?
Show answer
The point of intersection is the solution to the system. It represents the one pair of values (x, y) that makes both equations true at the same time. If you plug the x-value and y-value from that point into each equation, both equations will be balanced. In a real-world context, it's the moment where two situations are equal — like two people having the same amount of money.

Question 2: BASIC CALCULATION

Solve this system by graphing: y = x + 2 and y = −x + 6. What is the solution?
Show answer
Graph the first line starting at the y-intercept (0, 2) with a slope of 1 (up 1, right 1). Graph the second line starting at (0, 6) with a slope of −1 (down 1, right 1). The lines cross at (2, 4). Check: y = 2 + 2 = 4 ✓ and y = −2 + 6 = 4 ✓. The solution is (2, 4).

Question 3: INTERMEDIATE

Solve by graphing: y = 3x − 1 and y = x + 3. Find the solution and verify it.
Show answer
First, graph y = 3x − 1: start at (0, −1) and use slope 3 (up 3, right 1) to find (1, 2). Next, graph y = x + 3: start at (0, 3) and use slope 1 (up 1, right 1) to find (1, 4). The lines cross at (2, 5). Check: y = 3(2) − 1 = 5 ✓ and y = 2 + 3 = 5 ✓. The solution is (2, 5).

Question 4: APPLIED

A movie streaming service charges $5 per month plus $2 per movie. A different service charges $11 per month with no per-movie fee. Write a system of equations where x = number of movies and y = total monthly cost. Graph it and explain when each service is the better deal.
Show answer
Service A: y = 2x + 5. Service B: y = 11. Graph Service A starting at (0, 5) with slope 2. Graph Service B as a horizontal line at y = 11. The lines cross at (3, 11). This means if you watch 3 movies, both services cost $11. If you watch fewer than 3 movies, Service A is cheaper. If you watch more than 3, Service B is cheaper because it has no per-movie charge.

Question 5: CRITICAL THINKING

A student graphs y = 2x + 1 and y = 2x − 4. They say there is no solution. Is the student correct? Explain why or why not, and describe what you'd see on the graph.
Show answer
Yes, the student is correct. Both equations have the same slope (m = 2), which means the lines are parallel. However, they have different y-intercepts (b = 1 and b = −4), so they are not the same line. Parallel lines never cross, so there is no intersection point. On the graph, you'd see two lines going in the same direction, always the same distance apart, like railroad tracks. Since there's no crossing point, no (x, y) pair satisfies both equations.

SUMMARY

Lesson Summary

Summary

A system of equations is two or more equations that share the same variables. To solve a system by graphing, you write each equation in slope-intercept form (y = mx + b), plot both lines on the same coordinate plane, and find the point of intersection. That crossing point is the solution — the one (x, y) pair that makes both equations true.

Two lines can cross once (one solution), be parallel (no solution), or overlap completely (infinitely many solutions). Always check your answer by plugging the x and y values back into both equations. In real-world problems, the intersection tells you when two situations — like two savings plans or two pricing options — are exactly equal.

Varsity Tutors • Pre-Algebra • Solving Systems by Graphing