Solving by Graphing
A system of equations is two equations that must be true at the same time. Each equation graphs as a line, and the solution to the system is the point where the two lines cross — the one pair that sits on both lines at once.
Solving by graphing is exactly what it sounds like: graph both equations on the same coordinate plane, then read off the intersection point. It is the most visual of the three methods for solving systems, and it is the one that shows you what a solution actually means.
The solution is the intersection point
Graph the first equation as a line. Graph the second equation on the same axes. If the lines cross, the crossing point is the solution — write it as an ordered pair .
Why does this work? A line is a picture of every pair that makes its equation true. A point on both lines makes both equations true, and that is the definition of a solution to the system.
The graph below shows the system and . The lines cross at one point, , so that point is the solution.
Three possible outcomes
One solution: the lines have different slopes, so they cross at exactly one point. This is the usual case.
No solution: the lines are parallel — same slope, different -intercepts. Parallel lines never intersect, so no pair works in both equations.
Infinitely many solutions: the two equations are secretly the same line. Every point on the line satisfies both equations.
You can predict the outcome before you graph anything. Put both equations in form and compare: different slopes means one solution, same slope with different intercepts means no solution, and identical equations mean infinitely many.
Always check your point
Reading an intersection off a graph invites small errors, so substitute your point into both original equations. If either equation fails, the point is wrong. This also protects you when the true intersection is not on nice grid lines — if the check fails, switch to substitution or elimination for an exact answer.
Worked examples
Example 1: one solution
Solve the system by graphing: and .
Answer:
Example 2: parallel lines, no solution
Solve the system by graphing: and .
Answer: No solution
Example 3: same line, infinitely many
Solve the system by graphing: and .
Answer: Infinitely many solutions
Try one yourself
Common questions
How do I write the solution to a system?
As an ordered pair — both coordinates, in that order. If the lines cross at and , the solution is , not alone or alone.
What if the lines cross between grid lines?
Graphing only gives an exact answer when the intersection lands on clean coordinates. If it looks like the lines cross at something messy, use substitution or elimination instead — those methods give exact answers every time.
How can I tell how many solutions there are without graphing?
Write both equations as and compare. Different slopes: one solution. Same slope, different -intercepts: no solution. Same slope and same intercept: infinitely many, because the equations describe one line.
Does it matter which line I graph first?
No. The intersection point is the same either way. Graph whichever equation looks easier first, and take your time plotting at least two accurate points per line.
Want the video version?
Allday Everyday Math has video lessons, practice, and an AI tutor for every topic, Pre-Algebra through Algebra 2.