- Foundation
- About 16 min
- 5 practice questions
Solving a pair of linear equations graphically
Draw the lines for a pair of linear equations from tables of values, read the solution as the point where they meet, and recognise intersecting, parallel and coincident lines.
If something looks wrong, please tell us.
By the end of this lesson you can
- Make a table of at least two points for each equation and draw both lines.
- Read the solution of the pair as the point of intersection, and check it.
- Tell from the graph whether the pair has a unique solution, no solution or infinitely many solutions.
Each linear equation in two variables is a straight line, and every point on it is a solution of that equation. A solution of the pair must lie on both lines, so it is a point the lines share. Drawing the lines is therefore a direct way to see the solution, and also to see when there is none.
Drawing a line
Two points fix a line, and a third point is a good check. Rewrite the equation to give y in terms of x, choose easy values of x (0 is always easy), and work out y.
Worked example 1: x + y = 7 and x − y = 1
| x | 0 | 3 | 7 |
|---|---|---|---|
| y = 7 − x | 7 | 4 | 0 |
| x | 0 | 1 | 4 |
|---|---|---|---|
| y = x − 1 | −1 | 0 | 3 |
Plot (0, 7), (3, 4), (7, 0) and join them; plot (0, −1), (1, 0), (4, 3) and join them. The lines cross at (4, 3). Check: 4 + 3 = 7 and 4 − 3 = 1, both true. So x = 4, y = 3 is the unique solution.
Three possible pictures
What the two lines can do
-
Intersecting lines
- Meet at exactly one point
- Unique solution
- Pair is consistent
-
Parallel lines
- Never meet
- No solution
- Pair is inconsistent
-
Coincident lines
- Lie on top of each other
- Infinitely many solutions
- Pair is dependent (consistent)
Worked example 2: parallel lines
Solve 2x + y = 6 and 4x + 2y = 8 graphically. Working: the first gives y = 6 − 2x, with points (0, 6), (3, 0), (1, 4). The second gives 2y = 8 − 4x, so y = 4 − 2x, with points (0, 4), (2, 0), (1, 2). For every x, the first line is exactly 2 units above the second. The lines are parallel, they never meet, and the pair has no solution.
Worked example 3: coincident lines
Solve x − 2y = −2 and 3x − 6y = −6 graphically. Working: the second equation is 3 times the first, so both give y = (x + 2)/2, with points (0, 1), (2, 2), (4, 3). Both equations draw the same line, every point on it satisfies both, and the pair has infinitely many solutions.
Worked example 4: a triangle formed with the x-axis
Using the lines of example 1, find the vertices and area of the triangle they make with the x-axis. Working: x + y = 7 meets the x-axis (y = 0) at (7, 0); x − y = 1 meets it at (1, 0); the lines meet each other at (4, 3). The base along the x-axis is 7 − 1 = 6 units and the height is the y-value 3. Area = 1/2 × 6 × 3 = 9 square units.
The solution of a pair of linear equations is the point common to both lines: one point if they intersect, none if they are parallel, every point if they coincide.
Limits of the graphical method
Graphs are excellent for seeing what kind of solution exists, but reading coordinates such as (1.75, −0.6) or (4/13, 7/19) from paper is unreliable. That is why lessons 4 and 5 give algebraic methods that find exact answers.
Key takeaways: draw each line from a small table of values, then read the meeting point and check it in both equations. Intersecting lines give a unique solution, parallel lines give none, and coincident lines give infinitely many. Where a line meets an axis, one coordinate is 0.
Check your understanding
-
1. Where do the lines x + 2y = 8 and x − y = 2 intersect?
- (2, 4)
- (4, 2)
- (6, 1)
- (2, 3)
Show answer
Answer: B. From x − y = 2, x = y + 2. Then (y + 2) + 2y = 8, so 3y = 6, y = 2 and x = 4. Check (4, 2): 4 + 4 = 8 and 4 − 2 = 2. The point (6, 1) lies on the first line only, since 6 − 1 = 5.
-
2. The lines y = 3x + 1 and y = 3x − 4 are
- intersecting at one point
- coincident
- parallel
- perpendicular
Show answer
Answer: C. For every x, the first line is 5 units above the second (3x + 1 compared with 3x − 4), so they never meet: they are parallel and the pair has no solution.
-
3. Which point lies on the line 2x − 3y = 12?
- (6, 0)
- (0, 4)
- (3, 2)
- (0, 3)
Show answer
Answer: A. Test each point: (6, 0) gives 12 − 0 = 12, true. (0, 4) gives −12, (3, 2) gives 6 − 6 = 0, and (0, 3) gives −9, so they are not on the line.
-
4. If the two lines of a pair are coincident, the pair has
- infinitely many solutions
- no solution
- exactly one solution
- exactly two solutions
Show answer
Answer: A. Coincident lines are the same line, so every point on it satisfies both equations: infinitely many solutions.
-
5. Where do the lines x = 2 and y = −3 meet?
- (−3, 2)
- (2, 3)
- (2, −3)
- (0, 0)
Show answer
Answer: C. x = 2 is a vertical line and y = −3 is a horizontal line. The only point on both has x-coordinate 2 and y-coordinate −3.
Sign in to keep track of the lessons you finish.