• Practice
  • About 16 min
  • 5 practice questions

Graphical method of solving simultaneous equations

Draw the graph of a linear equation from a table of ordered pairs, read the solution of two equations from the point where their lines cross, and tell from the coefficients when the lines coincide or are parallel.

If something looks wrong, please tell us.

By the end of this lesson you can

  • Make a table of ordered pairs and draw the graph of a linear equation.
  • Draw lines parallel to the axes, such as y = 3 and x = −2.
  • Solve two equations by reading the point of intersection of their graphs, and recognise the cases of no solution and infinitely many solutions.

Every ordered pair that satisfies a linear equation is a point on the coordinate plane, and all these points lie on one straight line. So two equations are two lines, and the pair (x, y) that satisfies both must be on both lines: the point where they meet. The graphical method lets you see a solution instead of only calculating it.

Drawing the graph of one equation

Steps for drawing the graph of a linear equation

  1. Find at least 4 ordered pairs Choose x values that give whole-number y values; x = 0 and y = 0 are often easiest.
  2. Draw the axes and choose a scale For example 1 cm = 1 unit on both axes.
  3. Plot the points Mark each ordered pair carefully.
  4. Check they are in one line If one point is off the line, recheck its calculation.
  5. Join with a ruler Extend the line beyond the points and label it with its equation.

Two points are enough to fix a line, but if one of them is wrong the whole line is wrong. A third point exposes a mistake, and with four points it is almost certain that three correct ones will line up and show you the odd one. Choose x values that make y a whole number: for 2x + 3y = 6, take x = 0, 3, −3, 6 rather than x = 1, which gives y = 4/3, a point that is hard to plot accurately.

Lines parallel to the axes

The equation y = 3 can be written 0x + y = 3. Whatever x is, y is 3, so the points (−2, 3), (0, 3), (5, 3) all lie on it: it is a line parallel to the X-axis. Similarly x = −2, that is x + 0y = −2, is a line parallel to the Y-axis through (−2, 0). The X-axis itself is y = 0 and the Y-axis is x = 0.

Solving two equations by graph

Worked example 1: x + y = 5 and x − 2y = −1

Ordered pairs for both lines
EquationPoint 1Point 2Point 3Point 4
x + y = 5(0, 5)(5, 0)(2, 3)(3, 2)
x − 2y = −1 (x = 2y − 1)(−1, 0)(1, 1)(3, 2)(5, 3)

Working: plot both sets of points on the same axes and draw the two lines. The pair (3, 2) appears in both tables, so the lines cross at (3, 2). Check by elimination: subtract the second equation from the first: (x + y) − (x − 2y) = 5 − (−1), so 3y = 6 and y = 2, then x = 3. The graph and the algebra agree.

When the lines do not cross at one point

Three ways two lines can sit

  • Intersecting lines
    • Meet at exactly one point
    • Exactly one solution
    • a₁/a₂ ≠ b₁/b₂
  • Coincident lines
    • The two graphs are the same line
    • Infinitely many solutions
    • a₁/a₂ = b₁/b₂ = c₁/c₂
  • Parallel lines
    • Never meet
    • No solution
    • a₁/a₂ = b₁/b₂ ≠ c₁/c₂
Write both equations as a₁x + b₁y = c₁ and a₂x + b₂y = c₂ before comparing the ratios.

Worked example 2: 2x + 4y = 8 and x + 2y = 4

Working: the first equation is exactly twice the second (2/1 = 4/2 = 8/4 = 2). Every point of one line, such as (0, 2), (4, 0) and (2, 1), is also on the other: the graphs coincide, and the equations have infinitely many solutions.

Worked example 3: x + y = 2 and x + y = 5

Working: the ratios are 1/1 = 1/1 but 2/5 is different. No pair of numbers can add up to both 2 and 5, so the lines are parallel and there is no solution. On a graph they run side by side and never meet.

The solution of two simultaneous equations is the point of intersection of their graphs. One point: one solution. Same line: infinitely many. Parallel lines: none.

— Graphical method

Key takeaways: plot at least four points for each line and choose values that give whole numbers. y = k is parallel to the X-axis and x = k is parallel to the Y-axis. Two lines meet once (one solution), coincide (infinitely many) or are parallel (none), and the coefficient ratios tell you which before you draw.

Check your understanding

  1. 1. Which point lies on the graph of 3x − y = 5?

    1. (1, 2)
    2. (0, 5)
    3. (2, 1)
    4. (3, 1)
    Show answer

    Answer: C. Test each point: (2, 1) gives 3(2) − 1 = 5, which matches. (1, 2) gives 1, (0, 5) gives −5 and (3, 1) gives 8.

  2. 2. What is the graph of y = −3?

    1. A line parallel to the Y-axis through (−3, 0)
    2. The X-axis
    3. A line through the origin
    4. A line parallel to the X-axis through (0, −3)
    Show answer

    Answer: D. y = −3 means 0x + y = −3: for every x the value of y is −3, so the points (0, −3), (1, −3), (5, −3) all lie on a horizontal line, parallel to the X-axis.

  3. 3. How many solutions do 2x − y = 3 and 4x − 2y = 6 have?

    1. Exactly one
    2. Infinitely many
    3. None
    4. Exactly two
    Show answer

    Answer: B. The second equation is twice the first: 4/2 = −2/−1 = 6/3 = 2. Both equations give the same line, so every point on it is a solution: infinitely many.

  4. 4. The graphs of two equations intersect at the point (−1, 4). What is their solution?

    1. x = −1, y = 4
    2. x = 4, y = −1
    3. x = 1, y = −4
    4. There is no solution
    Show answer

    Answer: A. The point of intersection lies on both lines, so its coordinates satisfy both equations: the x-coordinate −1 is the value of x and the y-coordinate 4 is the value of y.

  5. 5. What can you say about x + 2y = 3 and 2x + 4y = 10?

    1. The lines intersect at one point
    2. The lines coincide
    3. The lines are parallel, so there is no solution
    4. The lines are perpendicular
    Show answer

    Answer: C. a₁/a₂ = 1/2 and b₁/b₂ = 2/4 = 1/2, but c₁/c₂ = 3/10. Equal coefficient ratios with a different constant ratio mean parallel lines: no solution. (Doubling the first equation would give 2x + 4y = 6, not 10.)

Sign in to keep track of the lessons you finish.

Next lesson → Determinants and Cramer's rule

Privacy · Terms · Refunds · Delivery