Try it with your numbers
Show every step
Graphing is slower than algebra for exact answers, but it is the one method that shows you the whole system at once: whether the lines cross, run parallel, or lie on top of each other, before any arithmetic. The sections below cover fast sketching, where the crossing formula comes from, the check that catches bad readings, and the point where substitution or elimination should take over.
How does solving systems by graphing work?
A line is a picture of every solution to one equation. Each point on makes that equation true, and nothing off the line does. Two equations draw two lines, so a point sitting on both lines makes both equations true at the same moment. That shared point is the intersection, and it is the solution.
This turns an algebra question into a geometry question: which points live on both lines? The answer can be one point, none, or all of them, and the graph shows which case you are in before you do any calculation.
The method has five moves:
- Rewrite each equation in a form that is easy to graph.
- Plot both lines on the same axes, using a ruler and one shared scale.
- Decide whether the lines cross, run parallel, or coincide.
- Read the crossing as an ordered pair, first, then .
- Substitute that pair into both original equations.
The last move is not optional. A point read from a sketch is a guess until it passes both equations.
How do you graph each line for a system?
If an equation reads , plot and step units up (or down) for every 1 unit right. That is the whole idea behind slope-intercept form. If you are handed a slope and a point instead, point-slope form gives you the same line in one step.
For standard form , skip the rearranging and use intercepts. Set to get the y-intercept , set to get the x-intercept , and draw through those two points. This avoids fraction slopes entirely. The one trap: when , both intercepts are the origin, so you must find a second point.
Example 1. Solve and by graphing.
Line one: if , then and . If , then and . It passes through and .
Line two: if , then and . If , then . It passes through and .
Draw both lines well past where they seem to meet. They cross at . Check in the original equations:
Both hold, so the solution is .
Quick check
Answer: (5, 0) and (0, 4)
Where does the crossing-point formula come from?
At the crossing, both lines have the same and the same . So their -values must be equal there, which means you can set the two right-hand sides equal and solve for :
Then substitute that into either line to get . The formula fails exactly when , because the denominator becomes zero. Equal slopes mean the lines are parallel or identical, so there is no single crossing to find.
The line with the larger slope sits lower than the other line to the left of the crossing and higher to the right. If your sketch disagrees, a slope sign is wrong.
Example 2. Solve and .
The slope difference is , and the intercept difference is :
The solution is . On paper, line one runs through , , and line two through , , . At line one is above; at it is below. That flip tells you the crossing lies between them, and is the midpoint. Check in line two: .
How many solutions can a graphed system have?
Two lines can relate in only three ways, and the slopes and intercepts tell you which before you draw anything.
| Slopes | y-intercepts | Result |
|---|---|---|
| Different | Any | Cross once: one solution |
| Same | Different | Parallel: no solution |
| Same | Same | Same line: infinitely many |
The deeper story of the last two rows lives in no solution vs infinitely many solutions. Here the practical point is that disguised equations fool the eye. The equations and look different, yet one is double the other, so they draw a single line.
For two equations in standard form, and , there is a fast test. Compute , which is a 2×2 determinant. If it is not zero, the lines have different slopes and cross exactly once. For Example 1 it gives , so a single crossing was guaranteed. If it is zero, the slopes match, and the intercepts decide between parallel and identical.
Try this: Without drawing anything, decide how many solutions and have. Rewrite the first equation as and compare.
How do you check a solution after graphing a system?

Substitute the point into both original equations, not the rewritten versions. If you made an error while rearranging, checking the rewritten form hides it.
The trap that costs the most points is checking only one equation. Suppose a sketch of and seems to cross near . Test it:
The point lies on the first line, which is why it looked plausible near the crossing, but it fails the second. The true solution is : and .
A second, faster check works on any sketch: read the point’s coordinates, then ask whether the numbers fit the slope you drew. If a line has slope and passes through , then the point at must have . A reading that breaks this relationship means the line was drawn crookedly, not that the solution is odd.
Quick check
Answer:
Solving systems by graphing when the answer is not a whole number

Many crossings fall between grid lines. Graphing then gives an estimate, and the algebra gives the exact value. Use the graph to see where the answer lives, then compute.
Example 3. Solve and .
Compare heights at whole numbers. At , line one is at and line two at , so line two is above. At , line one is at and line two at , so line one is above. The order flips between and , so the crossing is there. Now use the formula:
The solution is , or . A tempting guess is , but , not . Check the exact answer in line two: .
Technology removes the estimating. In Desmos, type both equations and click the crossing to see its coordinates. On a TI-84, graph both, then press 2nd, CALC, and choose intersect. One warning: lines with nearly equal slopes can cross far outside your window. The lines and look parallel on a standard screen, yet they meet at .
Can you solve nonlinear systems by graphing?
Yes, and graphing is often the clearest way to see how many solutions exist. Graph each curve and mark every crossing. A line and a parabola can meet twice, once, or never.
For and , the curves cross at and . Algebra confirms it: gives , which factors as . Both points check: and .
If a line only touches a parabola, the system has exactly one solution. For and , the equation gives only , so the single solution is .
When the crossings are not tidy, the graph is only a map. With and , you get , so , about and . No hand-drawn graph reads those cleanly, but the quadratic formula does.
Where does graphing a system show up in real life?
Whenever two quantities change at steady rates and you want to know when they match, you are solving a system. The slope is the rate, the y-intercept is the starting amount, and the crossing is the break-even moment.
Say Plan A charges a $20 membership plus $5 per visit, so , and Plan B charges $10 per visit with no fee, so . Setting them equal gives , so and . At 4 visits both cost $40. Check: and .
The graph tells you more than the number does. Left of the crossing, Plan B’s line is lower, so it is cheaper. Right of the crossing, Plan A wins. The same structure appears in supply and demand (the crossing is the market price), in two travelers moving at different speeds (the crossing is where they meet), and in mixture problems. In real problems, choose axes from the context: negative visits make no sense, so the graph starts at zero.
Quick check
Answer: 5 visits (both cost $30)
When should you switch to substitution or elimination?
Switch whenever you need an exact answer and the crossing is not clearly on a grid point. Graphing builds understanding and catches structure; algebra delivers precision. The best habit is to use both: solve algebraically, then sketch quickly to confirm the answer is in the right neighborhood.
- Fractional or decimal coordinates: use substitution practice problems or elimination practice problems to build speed.
- A formula for any 2×2 system: Cramer’s rule gives . For Example 1 this is .
- Three variables: each equation is a plane, which is hard to draw, so move to a system of three equations.
- Regions instead of points: systems of linear inequalities use the same graphs, with shading.
Graphing never goes away, though. Every algebraic method is an exact way of locating the same crossing point you can see on the graph.
Practice problems
0 of 5 solved
- Solve by graphing: and .
Answer:
Line one starts at with slope . Line two starts at with slope . They meet where , so and , . Check: and . - Solve by graphing: and .
Answer:
Line one: start at , rise 3 for every run of 4. Line two: start at , fall 1 for every run of 2. Setting them equal gives , so and . Check: and . - Solve by graphing: and .
Answer:
Line one has intercepts and . Line two has intercepts and . The lines cross at . Check: and . - How many solutions does and have?
Answer: No solution
Rewrite the first as , so . Both lines have slope but y-intercepts and . The lines are parallel and never meet. - Find the exact solution of and .
Answer:
Rewrite as and . Setting them equal: , so and . Then . Check: and .
Common questions
How do you solve a system of equations by graphing?
Graph both equations on the same axes, find the point where the lines cross, and write it as an ordered pair . Then substitute that pair into both original equations to confirm it works in each.
What does it mean if the two lines are parallel?
Parallel lines have the same slope and different y-intercepts, so they never meet. No point satisfies both equations, which means the system has no solution.
What if both equations graph as the same line?
Every point on the line satisfies both equations, so the system has infinitely many solutions. Such a system is called dependent, and the answer is described by the line itself, such as .
Is solving systems by graphing accurate?
It is exact only when the crossing point lands on grid points you can verify. When the intersection falls between grid lines, treat the graph as an estimate and finish with substitution, elimination, or a formula.
How do you graph an equation in standard form for a system?
Find the intercepts: set to get the y-intercept and to get the x-intercept, then draw a line through those two points. If the constant term is , both intercepts are the origin, so pick one more point.
Can a graphing calculator or Desmos solve a system?
Yes. Enter both equations as in terms of , graph them, and use the intersect feature (or click the crossing point in Desmos) to read the coordinates. Still check the result in both original equations.