Solving Linear Systems by Graphing
A linear system is two (or more) linear equations that are true at the same time. Solving it means finding the point that works for both, which is where their lines cross. You met this in Grade 9; here you’ll review the graphing method, learn to predict how many solutions a system has without drawing anything, and see why you’ll soon want algebraic methods as well.
Key ideas
Section titled “Key ideas”What a solution is
Section titled “What a solution is”A solution of a system of two equations in and is an ordered pair that makes both equations true. On a graph, every point on a line satisfies that line’s equation, so a point on both lines is where they intersect.
For example, is a solution of the system
because ✓ and ✓. A point that works in only one equation is not a solution.
Solving by graphing
Section titled “Solving by graphing”- Graph both lines on the same grid. Use (start at , then use the slope), or plot the two intercepts.
- Read the coordinates of the point where the lines cross.
- Check the point in both original equations.
- State the solution as an ordered pair.
One, none, or infinitely many
Section titled “One, none, or infinitely many”Two lines in a plane can meet in only three ways:
| The lines are… | Slopes and intercepts | Number of solutions |
|---|---|---|
| intersecting | different slopes | exactly one |
| parallel and distinct | same slope, different -intercepts | none |
| the same line (coincident) | same slope, same -intercept | infinitely many |
So you can predict the number of solutions by writing both equations in the form and comparing and , without graphing at all. When there are infinitely many solutions, every point on the line is a solution.
The limits of graphing
Section titled “The limits of graphing”Graphing shows the whole picture, but it is only as accurate as your drawing. If the lines cross at a point like , you can only estimate it from a grid. To get exact answers every time, use the algebraic methods: substitution and elimination. Graphing technology such as Desmos can find intersections accurately, and it’s a great way to check your algebra.
Worked examples
Section titled “Worked examples”Example 1: Two lines in slope–intercept form
Section titled “Example 1: Two lines in slope–intercept form”Solve the system by graphing.
Solution. Graph each line from its -intercept:
- : start at , then go up and right , to , , .
- : start at , then go down and right , to , , .
Both lists contain , so the lines cross there.
Check in the first equation: ✓. Check in the second: ✓.
The solution is .
Example 2: Graphing with intercepts
Section titled “Example 2: Graphing with intercepts”Solve the system by graphing.
Solution. Both equations are in the form , so intercepts are the quickest way to graph them.
- : when , ; when , . Plot and .
- : when , , so ; when , , so . Plot and .
The lines appear to cross at .
Check: ✓ and ✓. The solution is .
Example 3: How many solutions?
Section titled “Example 3: How many solutions?”Without graphing, find the number of solutions of each system.
- (a) and
- (b) and
- (c) and
Solution. Write each equation in the form , then compare.
(a) gives , so . That’s the same slope and the same intercept as the first equation: the same line, so infinitely many solutions.
(b) gives . Both slopes are , but the intercepts are and . The lines are parallel: no solution.
(c) gives . The slopes are and , which are different, so the lines cross once: exactly one solution.
Example 4: When graphing can only estimate
Section titled “Example 4: When graphing can only estimate”Solve the system and by graphing, and check your answer.
Solution. Graph both lines. They cross between grid lines, at roughly .
Check the estimate. In the first equation: ✓. In the second: , not . The estimate is close but not exact.
Since both equations are solved for , set the right sides equal (the comparison method from Grade 9):
Then . The exact solution is , about . The graph got you close; the algebra got you the exact answer.
Common mistakes
Section titled “Common mistakes”Checking the point in only one equation. A solution must satisfy both equations. A point that’s on one line only isn’t a solution, so always check both.
Trusting an estimate as exact. When the lines cross between grid lines, your reading is approximate. If the check doesn’t work exactly, solve algebraically, or say clearly that the answer is an estimate.
Saying “no solution” when the lines are the same. If both equations simplify to the same , every point on the line works: there are infinitely many solutions, not none.
Comparing coefficients instead of slopes. In the slope is , not . Rewrite both equations as before you compare.
Sloppy graphs. A small error in a slope or an intercept moves the intersection a lot. Use a ruler, plot at least two points per line (three is safer), and label each line.
Practice
Section titled “Practice”1. (Warm-up) Decide whether each point is a solution of the system.
- (a) for and
- (b) for and
Solution
(a) ✓ and ✓. Yes, is a solution.
(b) ✓, but ✗. No: the point is on the first line only.
2. (Warm-up) Solve by graphing: and .
Solution
Points on : , , . Points on : , , . The lines cross at .
Check: ✓ and ✓. The solution is .
3. (Core) Solve by graphing, using intercepts: and .
Solution
has intercepts and . has intercepts and . The lines cross at .
Check: ✓ and ✓. The solution is .
4. (Core) Without graphing, state the number of solutions of each system. Explain.
- (a) and
- (b) and
- (c) and
Solution
(a) gives , so . Same line: infinitely many solutions.
(b) gives . Both slopes are , with intercepts and . Parallel lines: no solution.
(c) A vertical line and a horizontal line always cross once: exactly one solution, .
5. (Core) Solve the system and .
Solution
Every point on has -coordinate . On the second line, when , . The lines cross at .
6. (Core) Gym A charges a $40 sign-up fee plus $15 a month. Gym B has no sign-up fee and charges $25 a month.
- (a) Write an equation for the total cost (in dollars) of each gym after months.
- (b) Graph both equations and find where they cross. What does that point mean?
- (c) Which gym is cheaper for a full year?
Solution
(a) Gym A: . Gym B: .
(b) Gym A’s line starts at and rises per month; Gym B’s starts at and rises per month. They cross at .
Check: ✓ and ✓. After months, both gyms have cost $100 in total.
(c) After months, Gym B’s line is above Gym A’s, because it rises faster. For months, Gym A costs dollars and Gym B costs dollars, so Gym A is cheaper.
7. (Core) The lines and cross between grid lines.
- (a) Estimate the solution from a graph.
- (b) Find the exact solution by substituting into the second equation.
Solution
(a) The lines cross at roughly .
(b) Replace with : , so and . Then .
The exact solution is . Check: ✓.
8. (Challenge) For what value of does the system and have no solution? Is there any value of that gives infinitely many solutions?
Solution
gives , so .
No solution means parallel lines: equal slopes and different intercepts. The intercepts are and , which are always different, so gives no solution.
Infinitely many solutions would need the same intercept too, but . So no value of gives infinitely many solutions.
9. (Challenge) Find the values of and that make the system and have infinitely many solutions.
Solution
Solve both equations for :
For the same line, the slopes must match and the -intercepts must match:
Check: with the first equation is ; dividing by gives , exactly the second equation. ✓