Graphing Method for Systems and Its Limits
Solve a system by graphing, read the three possible outcomes, and learn where pictures mislead and algebra has to take over.
Key takeaways
- The solutions of a system are the intersection points of the graphs.
- Crossing lines give one solution, parallel lines give none, and identical lines give infinitely many.
- A point read from a graph is an estimate until you substitute it into both equations.
- Nearly parallel lines and fractional answers are hard to read accurately.
- Graphs are excellent for counting solutions and for equations that algebra cannot solve neatly.
To solve a system by graphing, draw the graph of each equation on the same axes and find the points where the graphs meet. Every point on a graph satisfies its equation, so a shared point satisfies both.
The method shows at a glance how many solutions there are and roughly where they lie. Its weakness is precision: a drawing can only suggest coordinates, and it can hide a solution altogether if the window is poorly chosen.
A first picture
Take y = x + 1 and y = -2x + 7. The first line starts at height 1 on the y-axis and rises 1 for each step right. The second starts at 7 and falls 2 for each step right.
| x | y = x + 1 | y = -2x + 7 |
|---|---|---|
| 0 | 1 | 7 |
| 1 | 2 | 5 |
| 2 | 3 | 3 |
| 3 | 4 | 1 |
The two lines reach the same height when x = 2. They cross at (2, 3), which is the solution. Before the crossing the second line is higher, and after it the first line is.
A table like this is a graph in numerical form. A change in which column is larger tells you that a crossing happened between those rows.
The steps
The final step is not optional. It turns a visual guess into a confirmed solution.
Graphing with intercepts
When an equation is written as ax + by = c, the intercepts are often the quickest two points. Take this system.
2x + 3y = 12
x - y = 1 For the first line, setting x = 0 gives y = 4, and setting y = 0 gives x = 6. For the second, x = 0 gives y = -1, and y = 0 gives x = 1. Draw a line through (0, 4) and (6, 0), and another through (0, -1) and (1, 0). They meet at (3, 2).
Check: 6 + 6 = 12, and 3 - 2 = 1.
If you prefer to rewrite as y = mx + b, the first becomes y = -(2/3)x + 4 and the second y = x - 1. The review in slope-intercept form covers that route, and standard form and intercepts covers the other.
Drawing so that the answer can be read
Small habits make a hand-drawn graph far more trustworthy.
- Use the same ruler and a sharp pencil, and extend each line across the whole grid.
- Choose two plotting points that are far apart. A small error in nearby points tilts the line badly.
- Plot a third point as a test. If the three do not line up, one of them is wrong.
- Label each line with its equation so that you substitute into the right one later.
- Pick a scale that spreads the interesting region over most of the page.
For a slope such as 3/4, move 4 squares right and 3 up, then repeat. Counting a larger step, 8 right and 6 up, gives a steadier line.
It helps to estimate the answer before drawing. For y = x + 1 and y = -2x + 7, one line starts below the other and rises while the other falls, so they must cross to the right of the y-axis. If your drawing says otherwise, recheck a slope.
Three outcomes
Slopes and intercepts predict the result before you draw anything.
| Slopes | y-intercepts | Picture | Solutions |
|---|---|---|---|
| different | any | lines cross | exactly one |
| equal | different | parallel lines | none |
| equal | equal | one line drawn twice | infinitely many |
For example, y = 3x + 2 and y = 3x - 5 never meet. Meanwhile 2y = 6x + 4 simplifies to y = 3x + 2, so it coincides with the first. Vertical lines such as x = 4 have no slope. Two different vertical lines are parallel, and a vertical line crosses every non-vertical line exactly once.
Limit one: answers that are not whole numbers
Try y = 3x - 1 and y = -4x + 4. On grid paper, the crossing looks to be near x = 0.7 and y = 1.1. Algebra gives the exact values.
3x - 1 = -4x + 4
7x = 5
x = 5/7
y = 3(5/7) - 1 = 8/7 No ruler will tell you that x is 5/7 rather than 0.7 or 0.72. If a problem wants an exact answer, use the graph to know what to expect and then solve by substitution or elimination.
Limit two: nearly parallel lines
Now consider y = 0.5x + 1 and y = 0.49x + 1.5. Near the origin these look parallel. They are not. Their slopes differ by 0.01, and they must cross somewhere.
0.5x + 1 = 0.49x + 1.5
0.01x = 0.5
x = 50, y = 26 A window from -10 to 10 would never show the crossing. Notice how sensitive the answer is too. Changing the slope 0.49 to 0.48 moves the solution to x = 25. A tiny change in the data, or a slightly tilted pencil line, shifts the intersection enormously.
This sensitivity is a property of the system itself, not only of drawing. Numerical methods struggle with it as well, as described in ill-conditioned systems.
Limit three: scale and window
Large or very different numbers force awkward scales. A system about income of tens of thousands of dollars and a rate of a few percent needs axes with very different units. If one square stands for 5,000, you cannot read to the nearest dollar.
Graphing software helps, but it draws only the window you ask for. Before trusting the screen, find the intercepts, think about how large the variables could be, and zoom out once to look for crossings off the edge. Advice on that appears in setting a graphing window.
Zooming in repeatedly improves an estimate. It still produces a decimal approximation, and the calculator's rounded display can make 0.714285 look final when the true value continues forever.
Where graphs beat algebra
Some equations resist exact solution by elementary steps. Consider y = 2ˣ and y = x + 3. There is no way to isolate x with the usual moves. A graph shows two crossings, one with a positive x and one with a negative x.
You can narrow the positive one by testing. At x = 2, 2ˣ is 4 and x + 3 is 5, so the line is higher. At x = 3, 2ˣ is 8 and x + 3 is 6, so the curve is higher. The crossing lies between. At x = 2.5, 2ˣ ≈ 5.66 against 5.5, so the curve is already higher and the crossing is below 2.5. Continuing gives x ≈ 2.44. The other crossing is near x = -2.86.
The picture also guards against missed answers. Because the exponential curve bends upward, a straight line can cut it at most twice, and both cuts are visible here.
A line and a parabola
Graphing also shows how a curved system behaves. Take y = x² - 2x and y = x - 2. The first is an upward parabola crossing the x-axis at 0 and 2. The second is a line through (0, -2) and (2, 0).
A sketch suggests two meeting points, near x = 1 and x = 2. Setting the expressions equal confirms it.
x² - 2x = x - 2
x² - 3x + 2 = 0
(x - 1)(x - 2) = 0 The points are (1, -1) and (2, 0). Now slide the line down to y = x - 3. The equation becomes x² - 3x + 3 = 0, whose discriminant is 9 - 12 = -3. There are no real solutions, and the graph shows the line passing below the parabola without touching it. In between, one particular line, y = x - 9/4, just grazes the curve at a single point. A hand drawing can hardly tell that grazing line from one that cuts twice very close together, or misses by a hair. The discriminant can.
Turning one equation into a system
The graphing method also solves single equations. To solve 4 - x = 2x - 5, graph each side as its own line, y = 4 - x and y = 2x - 5. They meet at (3, 1). The x-coordinate, 3, is the solution of the equation, and the y-coordinate, 1, is the common value of the two sides.
Be careful about which part of the answer was asked for. A system wants the pair (3, 1). A single equation in x wants only x = 3.
Using the picture to check algebra
Even when you solve algebraically, a quick sketch catches errors. If your answer has a negative x but the lines clearly cross to the right of the y-axis, something is wrong. If the algebra says "no solution," the two slopes should match.
Graphs also carry meaning in applications. When two lines show the costs of two plans, the crossing is the point where they cost the same, and the region on each side shows which is cheaper. A single pair of numbers does not show that.
Common questions
Is a graphical answer ever acceptable on its own?
It depends on the instructions and the purpose. For an estimate, yes. For an exact value, confirm by substitution. If the pair read from the graph satisfies both equations exactly, it is the exact solution.
What if my lines meet off the paper?
Change the scale or shift the window. If the slopes differ, a crossing exists somewhere. Solving algebraically will tell you where to look.
Can two lines meet twice?
No. Two distinct points determine only one line, so two lines sharing two points are the same line, and then they share all their points.