Graphing System of Equations

#Graphing System of Equations
TL;DR
Graphing a system of equations means drawing each equation as a line; the point where the lines cross is the solution. Lines can cross once, never, or everywhere.
Ashish Chauhan·reviewed byShikha SharmaLast updated on December 2, 202612 min read

Key Points

  • Every point on a line solves that line's equation, so a point on both lines solves both equations.
  • Two lines in a plane meet once, never, or everywhere: one solution, no solution, or infinitely many.
  • Different slopes guarantee exactly one crossing; equal slopes mean parallel or identical lines.
  • A graph gives an estimate, so check the answer in both equations and solve algebraically when the crossing falls between grid lines.

How Do Two Prices Meet at a Single Fair Number?

The exact price where supply matches demand is the one point where two lines cross. Economists draw a demand line and a supply line, and the equilibrium price is the only price where the quantities agree.

That is graphing a system of equations: draw the lines, and their crossing is the one pair of values that makes every equation true. Take the system S, x+y=7x + y = 7 and 2x−y=22x - y = 2. Drawn on one grid, the lines cross at (3,4)(3, 4).

graphing system of equations, where the solution is the point at which the two lines cross
The lines x + y = 7 (blue) and 2x − y = 2 (orange) crossing at (3, 4), with dashed guides down to 3 on the x-axis and across to 4 on the y-axis.

What Is a System of Equations?

A system of equations is two or more equations in the same variables, solved together so that every equation is satisfied at once. A linear system of equations in two variables is usually two lines, each a straight line on a grid. Substitution and elimination solve it exactly; graphing shows why the answer is the answer.

What Does Graphing a System of Equations Mean?

To graph a system, plot each equation as a line on the same coordinate plane and look for a point on both.

Each line is a list of solutions

The line for x+y=7x + y = 7 is every pair adding to 77: (0,7)(0, 7), (1,6)(1, 6), (2,5)(2, 5), (3,4)(3, 4) and so on. The line for 2x−y=22x - y = 2 lists (0,−2)(0, -2), (1,0)(1, 0), (2,2)(2, 2), (3,4)(3, 4). Only one pair is on both lists.

each line is a list of solutions and the crossing point is on both lists
A table of pairs that fit x + y = 7 and pairs that fit 2x − y = 2, for x from 0 to 5, beside a graph of both lines with those points plotted; only (3, 4) appears in both columns and on both lines.

Why Is the Solution the Intersection Point?

Because the intersection is the only point that belongs to both lines. A point on just the first line satisfies just the first equation: (2,5)(2, 5) gives 2(2)−5=−12(2) - 5 = -1, not 22. The solution must sit on both, so it must be the shared point of the two intersecting lines. And two different lines cannot share two points, because through two points there is exactly one line.

How Do You Solve a System by Graphing?

Draw both lines accurately, read the crossing, and check it in both equations.

  1. Find two points per line. Intercepts (where a line crosses the axes) are quick: x+y=7x + y = 7 gives (0,7)(0, 7) and (7,0)(7, 0). Or use y=mx+cy = mx + c.
  2. Plot a third point as a check.
  3. Draw both lines on the same axes and scale.
  4. Read the crossing: (3,4)(3, 4) for S.
  5. Check it in both equations: 3+4=73 + 4 = 7 ✓ and 2(3)−4=22(3) - 4 = 2 ✓.

A hand-drawn graph is only as accurate as the pencil; step 5 turns a reading into an answer.

What Are the Three Possible Outcomes?

Two lines can cross once, run parallel or coincide, so a linear system has one solution, none, or infinitely many.

What the lines do Solutions Name
Cross once Exactly one Consistent and independent
Run parallel None Inconsistent
Lie on top of each other Infinitely many Consistent and dependent
a system of two linear equations has one solution, no solution or infinitely many solutions
Three panels: y = −x + 3 and y = x + 1 crossing once at (1, 2); y = 3x + 2 and y = 3x − 4 running parallel with equal slopes; and y = ½x + 1 drawn over 2y = x + 2, the same line.

Read the outcome before you draw

Write both as y=mx+cy = mx + c, where mm is the slope and cc the y-intercept.

  • Different slopes: one solution.
  • Same slope, different intercepts: parallel lines, none.
  • Same slope and intercept: one line twice, infinitely many.

In general form the same test compares ratios: a1a2≠b1b2\frac{a_1}{a_2} \neq \frac{b_1}{b_2} gives one solution; a1a2=b1b2≠c1c2\frac{a_1}{a_2} = \frac{b_1}{b_2} \neq \frac{c_1}{c_2} none; all three ratios equal, infinitely many (when no denominator is zero).

Try It Yourself

In the tool, put the blue handles on (1,0)(1, 0) and (3,4)(3, 4) and the orange on (4,3)(4, 3) and (6,1)(6, 1): the verdict reports (3,4)(3, 4). Press "Parallel" for the no-solution case and "Coincident" for infinitely many.

When the Graph Can't Give the Exact Answer

A graph can only show what its grid shows. y=2xy = 2x and x+y=4x + y = 4 seem to cross near (1.3,2.7)(1.3, 2.7). The substitution method settles it:

x+2x=4x + 2x = 4
x=43,y=83x = \frac{4}{3}, \qquad y = \frac{8}{3}
a graph estimates the solution of a system and algebra makes it exact
A zoomed grid in half-units where y = 2x and x + y = 4 cross between the grid lines, with the reading "about (1.3, 2.7)?", beside the exact working x + 2x = 4, 3x = 4, x = 4/3, y = 8/3.

The graph says where to look; algebra (substitution or the elimination method) pins it down. The reverse trap: y=0.5x+1y = 0.5x + 1 and y=0.6x−2y = 0.6x - 2 look parallel on a small grid but cross at (30,16)(30, 16), off the page.

A piece of history: systems before graphs

Chapter 8 of the Chinese Nine Chapters on the Mathematical Art, already old when Liu Hui commented on it in 263 CE, solves 18 problems of simultaneous linear equations, some with six unknowns, by arranging coefficients in a table. The crossing-point picture waited for coordinate geometry in the 1600s, on the coordinate plane.

Examples of Graphing System of Equations

Example 1

Solve by graphing: y = x + 1 and y = −x + 3.

  1. Line 1 passes through (0,1)(0, 1) and (2,3)(2, 3).
  2. Line 2 passes through (0,3)(0, 3) and (3,0)(3, 0).
  3. The lines cross at (1,2)(1, 2).
  4. Check: 1+1=21 + 1 = 2 ✓ and −1+3=2-1 + 3 = 2 ✓.

Answer: (1,2)(1, 2).

Example 2

Solve by graphing: y = 2x − 1 and y = −x + 5.

  1. On the first line, (3,5)(3, 5) stands out. Test it in the second equation before trusting it.
  2. −3+5=2-3 + 5 = 2, not 55, so it solves only half the system.
  3. Draw the second line through (0,5)(0, 5) and (5,0)(5, 0): the lines cross at (2,3)(2, 3).
  4. Check: 2(2)−1=32(2) - 1 = 3 ✓ and −2+5=3-2 + 5 = 3 ✓.
a point on one line only is not a solution of the system
The lines y = 2x − 1 and y = −x + 5 crossing at (2, 3), which fits both, while the point (3, 5) lies on the first line only and gives 2, not 5, in the second equation.

Answer: (2,3)(2, 3).

Example 3

Solve: y = 3x + 2 and y = 3x − 4.

  1. Both slopes are 33; the intercepts are 22 and −4-4.
  2. Equal slopes with different intercepts means parallel lines.

Answer: no solution.

Example 4

Solve: y = ½x + 1 and 2y = x + 2.

  1. Halve the second equation: y=12x+1y = \frac{1}{2}x + 1.
  2. It is the same line as the first.

Answer: infinitely many solutions, such as (0,1)(0, 1) and (2,2)(2, 2).

Example 5

Solve by graphing: 2x + y = 8 and x − y = 1.

  1. Intercepts of the first line: (0,8)(0, 8) and (4,0)(4, 0).
  2. Intercepts of the second: (0,−1)(0, -1) and (1,0)(1, 0).
  3. The lines cross at (3,2)(3, 2). Check: 2(3)+2=82(3) + 2 = 8 ✓ and 3−2=13 - 2 = 1 ✓.

Answer: (3,2)(3, 2).

Example 6

A stall's daily cost is y = 2x + 30 and its revenue is y = 5x, where x is items sold. Find the break-even point.

  1. Cost starts at 30 and rises 2 per item; revenue rises 5 per item.
  2. They meet where 2x+30=5x2x + 30 = 5x, so 3x=303x = 30 and x=10x = 10.
  3. Then y=5×10=50y = 5 \times 10 = 50.
the break-even point is the solution of a system of two equations
The cost line y = 2x + 30 and the revenue line y = 5x crossing at (10, 50), with the loss region shaded orange to the left of the crossing and the profit region shaded green to the right.

Answer: (10,50)(10, 50): a loss to the left of it, a profit to the right.

Where Do Students Trip Up on Graphing Systems?

Mistake 1: Calling a point on one line the solution

Where it slips in: A tidy point on the first line looks tempting.

Don't do this: Report (3,5)(3, 5) in Example 2, or check only the equation you graphed last.

The correct way: Substitute into both equations. The last line always passes, because the point is on it by construction.

Mistake 2: Reading the slope off the general form

Where it slips in: Graphing 2x+y=82x + y = 8 directly.

Don't do this: Take the slope as 22.

The correct way: Rearrange to y=−2x+8y = -2x + 8, or plot the intercepts. A student who memorised "the number before xx is the slope" carries it into the wrong form.

Mistake 3: Judging parallel lines by eye

Where it slips in: Lines that look close, or look parallel.

Don't do this: Guess a crossing, or write "no solution" because none is visible.

The correct way: Compare slopes. Equal slopes and different intercepts mean no solution; different slopes always cross, sometimes far away.

Mistake 4: Trusting a rough reading

Where it slips in: A crossing between grid lines.

Don't do this: Round (1.3,2.7)(1.3, 2.7) and stop.

The correct way: Test it: 2.7≠2(1.3)2.7 \neq 2(1.3), so solve algebraically for (43,83)\left(\frac{4}{3}, \frac{8}{3}\right).

Where Is Graphing Systems of Equations Used?

"The single point where two conditions agree."

Whenever two steadily changing quantities must match, a system is solved.

  • Supply and demand: the market price, the question this page opened with.
  • Break-even and plans: where cost meets revenue, or where two price plans cost the same.
  • Meeting points: riders 30 km apart at 10 km/h and 20 km/h follow d=10td = 10t and d=30−20td = 30 - 20t and meet at (1,10)(1, 10).
two journeys drawn as lines meet where the system of equations is solved
A distance–time graph with rider A on d = 10t rising from 0 and rider B on d = 30 − 20t falling from 30 km, crossing at (1, 10), where the riders meet after 1 hour, 10 km from A.

With three unknowns each equation is a plane and the solution is where planes meet; systems of inequalities shade whole regions.

Conclusion

  • Graphing a system of equations finds the solution as the crossing point, the only pair on both lines.
  • A point counts only if it satisfies both equations.
  • One solution, none or infinitely many: the slopes predict which before you draw.
  • Graphs estimate; finish with algebra when the crossing is off the grid points.

A Practical Next Step

Practise these to solidify your understanding. Graph each, read the answer, then check it in both equations:

  1. x+y=6x + y = 6 and x−y=2x - y = 2.
  2. y=2x+1y = 2x + 1 and 4x−2y=64x - 2y = 6.
  3. x+2y=5x + 2y = 5 and 3x−y=13x - y = 1.

Answer to Question 1: (4,2)(4, 2).

Answer to Question 2: no solution; the second line is y=2x−3y = 2x - 3, parallel to the first.

Answer to Question 3: (1,2)(1, 2).

Then re-check each example above by substitution. If a reading disagrees with the check, go back to the section on exact answers.

To take systems further with a teacher, explore Bhanzu's algebra tutor, geometry tutor or math classes online.

Want a live Bhanzu trainer to walk your child through systems of equations? Book a free demo class, online globally, or in person at our McKinney, TX center.

Read More

Research Behind This Article

  1. OpenStax, Principles of Economics 3e, Section 3.1: Demand, Supply, and Equilibrium in Markets for Goods and Services (2022). openstax.org
  2. OpenStax, Elementary Algebra 2e, Section 5.1: Solve Systems of Equations by Graphing (2020). openstax.org
  3. OpenStax, Elementary Algebra 2e, Section 5.2: Solving Systems of Equations by Substitution (2020). openstax.org
  4. J. J. O'Connor and E. F. Robertson, Nine Chapters on the Mathematical Art, MacTutor History of Mathematics, University of St Andrews. mathshistory.st-andrews.ac.uk

Quick Quiz: Check Yourself

Three levels, questions with figures, instant feedback with the reason.

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

How do you check a graphing system of equations answer?
Substitute the point into both original equations; it must make both true.
Can two linear equations have exactly two solutions?
No. Lines sharing two points are the same line.
What is the difference between consistent and inconsistent systems?
Consistent systems have at least one solution (the lines cross or coincide); inconsistent ones have none (parallel lines).
How do you graph an equation like 3x + 2y = 12?
Use the intercepts (0,6)(0, 6) and (4,0)(4, 0) and join them.
Is graphing always the best method?
It is the best way to see a system. For exact answers, especially fractions, finish a graphing system of equations problem with substitution or elimination.
✍️ Written By
Ashish Chauhan
Ashish Chauhan
Math Curriculum Developer
Ashish Chauhan is a Mathematics and Science educator and curriculum developer with 6+ years of experience teaching students from Grades 3–12. He specializes in simplifying complex concepts through conceptual, student-centered learning and has worked across CBSE, PSEB, and international curricula. Beyond teaching, Ashish develops K–12 educational content, lesson plans, and assessments aligned with US learning standards. He holds a BS in PCM and an MS in Chemistry, bringing a strong STEM foundation to education and curriculum design.
🔬 Reviewed By
Shikha Sharma
Subject Matter Expert
Book a FREE Demo ClassBook Now →