Websink Prep UKGCSE MathsTextbook contentsMaths textbooksYear 1Year 2Year 4Year 5Year 6GCSEBrowse allPast papersFind a tutorBecome a tutor
GCSE Maths · EdexcelChapter 14 · Quadratics and simultaneous equations
GCSE Maths · Quadratic and Simultaneous Equations · Foundation · Lesson 14.7

GCSE Maths: Solving equations with graphs (Foundation)

Part of the GCSE Maths quadratic and simultaneous equations chapter (Foundation). Chapter overview · Higher version of this lesson · whole chapter on one page · Download worksheet (PDF) · Answers (PDF)

Download worksheet (PDF)Answers (PDF)
14.7

Solving equations with graphs

Edexcel 1MA1: A18, A19
Grade 3-7

In Chapter 12 you learned that the equation of a straight line, such as y = 2x + 1, is a rule that every point on the line obeys. Now suppose we draw two lines on the same grid. A point that is on both lines obeys both equations at once. So the point where the lines cross is the solution of the simultaneous equations. This is the graphical method.

xy-1123456-1123456789y = x + 1y = -x + 7(3, 4)
The lines y = x + 1 and y = 7 − x cross at (3, 4). So the solution is x = 3, y = 4.

To draw a straight line make a table of values: choose three values of x, work out y for each, plot the points and join them with a ruler. If the equation is like x + y = 8, first rearrange it to y = 8 − x. Another quick way is to find where the line crosses the axes: put x = 0 to find where it crosses the y-axis, and y = 0 to find where it crosses the x-axis.

Graphs give approximate answers, because you can only read a graph to a certain accuracy. When the crossing point is at a grid corner, you can read it exactly, and you should always check by substituting into both equations. If two lines are parallel (same gradient) they never cross, so the simultaneous equations have no solution.

Solving quadratic equations with a graph. The solutions of x2 − 4x + 1 = 0 are the values of x where the curve y = x2 − 4x + 1 meets the line y = 0 (the x-axis). Read the x-values. These are usually not whole numbers, so give them to 1 decimal place. To solve x2 − 2x − 3 = 2, draw the line y = 2 on the same graph and read the x-values where it meets the curve. In general, to solve an equation with a graph, plot each side as a graph and find where they cross.

xy-112345-4-3-2-11234567
The curve y = x2 − 4x + 1 crosses the x-axis at about x = 0.3 and x = 3.7. These are approximate solutions of x2 − 4x + 1 = 0.

Key ideas

  • The solution of simultaneous equations is the point where their graphs cross: (x, y).
  • Draw a line using a table of values (or the axis crossings). Rearrange to y = … first if you need to.
  • Parallel lines never cross, so there is no solution.
  • To solve f(x) = 0 with a graph, read the x-values where the curve meets the x-axis (y = 0).
  • To solve f(x) = k, draw the line y = k and read the x-values where it meets the curve.
  • Graph answers are approximate: give them to 1 decimal place when they are not whole numbers, and check by substituting.
Worked example 14.7.1
The graph shows the lines y = x + 1 and y = 7 − x. Use it to solve the simultaneous equations y = x + 1 and y = 7 − x.

Key words. The solution of two simultaneous equations is the pair (x, y) that makes both true. On a graph it is where the two lines intersect (cross).

Method. The solution of two simultaneous equations is the point where their graphs cross.

  1. Find the point where the two lines cross. Every point on a line fits that line's equation. The one point that is on both lines fits both equations, so it is the solution of the simultaneous equations.
    Look for the crossing point of the two lines.
  2. Read the coordinates of the crossing point. The coordinates are written (x, y): read along the x-axis first, then up the y-axis.
    The lines cross at (3, 4).
  3. Write the solution. The x-coordinate is the value of x and the y-coordinate is the value of y.
    x = 3, y = 4

Check. Put x = 3 into both equations. y = x + 1: y = 3 + 1 = 4. y = 7 − x: y = −3 + 7 = 4. Both give y = 4. ✓

Watch out. Give both coordinates and say which is x and which is y. Graph answers are only as accurate as your reading, so check by substituting.

Worked example 14.7.2
By drawing graphs, solve y = 2x − 1 and x + y = 8.

Method. Draw both straight lines on the same grid. The solution is the point where they cross.

  1. Rearrange to the form y = mx + c (where necessary). It is much easier to find points when y is on its own.
    x + y = 8  →  subtract x from both sides  →  y = 8 − x
  2. Make a table of values for line 1: y = 2x − 1. Choose some easy values of x, put each one into the equation and work out y. Two points are enough to draw a straight line, but a third point checks your arithmetic.
    When x = 0: y = 2 × 0 − 1 = 0 − 1 = −1
    When x = 2: y = 2 × 2 − 1 = 4 − 1 = 3
    When x = 4: y = 2 × 4 − 1 = 8 − 1 = 7
    When x = 6: y = 2 × 6 − 1 = 12 − 1 = 11
  3. Make a table of values for line 2: x + y = 8. Choose some easy values of x, put each one into the equation and work out y. Two points are enough to draw a straight line, but a third point checks your arithmetic.
    When x = 0: y = −0 + 8 = 0 + 8 = 8
    When x = 2: y = −2 + 8 = 6
    When x = 4: y = −4 + 8 = 4
    When x = 6: y = −6 + 8 = 2
  4. Plot the points and draw both lines. Plot each pair (x, y), then join the points of each line with a ruler. Extend the lines so that they cross.
    xy-1123456-2-112345678910y = -x + 8(3, 5)
  5. Read off the crossing point. The point where the lines cross is on both lines, so it is the solution.
    The lines cross at (3, 5).
    x = 3, y = 5

Check. Check by substituting x = 3: line 1 gives y = 2 × 3 − 1 = 5 and line 2 gives y = −3 + 8 = 5. They agree. ✓

Watch out. Use a sharp pencil and a ruler, and extend the lines far enough to see where they cross.

Worked example 14.7.3
Explain why the simultaneous equations y = 2x + 1 and y = 2x + 4 have no solution.

Method. Compare the gradients. If two straight lines have the same gradient they are parallel.

  1. Write the gradient of each line. In y = mx + c, the number m in front of x is the gradient.
    y = 2x + 1 has gradient 2
    y = 2x + 4 has gradient 2
  2. Compare. The gradients are equal, so the lines slope the same way and stay the same distance apart. They never cross.
    The lines are parallel.
  3. Conclude. A solution would be a point on both lines, and there is no such point.
    There is no solution.

Check. Algebra agrees: if 2x + 1 = 2x + 4 then 1 = 4, which is false. ✓

Watch out. Parallel lines have the same m but different c.

Worked example 14.7.4
The graph of y = x2 − 4x + 1 is shown above. Use it to find estimates of the solutions of x2 − 4x + 1 = 0.

Method. The solutions of x2 − 4x + 1 = 0 are the x-values where the curve y = x2 − 4x + 1 crosses the x-axis.

  1. Find where the curve meets y = 0. The x-axis is the line y = 0, and an equation “expression = 0” asks where the expression is 0.
    The curve crosses the x-axis twice: just right of 0, and just left of 4.
  2. Read the x-values as accurately as you can. Each small square on the grid is 1 unit, so estimate the position between the grid lines. The first crossing is about a quarter of the way from 0 to 1. The second is about three-quarters of the way from 3 to 4.
    x ≈ 0.3 and x ≈ 3.7
  3. Write the answers to 1 decimal place. These are approximate answers because a graph cannot be read exactly.
    x = 0.3 or x = 3.7 (to 1 d.p.)

Check. Substitute x = 0.3: 0.32 − 4 × 0.3 + 1 = 0.09 − 1.2 + 1 = −0.11, close to 0. Substitute x = 3.7: 3.72 − 4 × 3.7 + 1 = 13.69 − 14.8 + 1 = −0.11, close to 0. ✓

Watch out. Graph readings are only approximate, so any answer within about 0.1 of the true value is acceptable.

Watch out

Always read both coordinates and write the answer as x = …, y = … (not just a point). And remember a graph gives an approximate answer unless the crossing is exactly at a grid corner: check by substituting your values into both equations.

Exercise 14G  Solving equations with graphs

Non-calculator
1
FUse the graph to solve the simultaneous equations
y = x + 1
y = 7 − x
xy-1123456-1123456789y = x + 1y = -x + 7
2
FUse the graph to solve the simultaneous equations
y = 2x
y = x + 3
xy-1123456-112345678y = x + 3
3
FUse the graph to solve the simultaneous equations
y = x − 1
y = 5 − x
xy-1123456-2-112345678y = x - 1y = -x + 5
4
FUse the graph to solve the simultaneous equations
y = 2x + 1
y = 11 − 3x
xy-1123456-112345678910111213y = 2x + 1
5
FDraw the graphs of y = 2x − 1 and x + y = 8 for values of x from 0 to 6. Use your graphs to solve the simultaneous equations.
6
FOn the same grid draw the graphs of y = x + 2 and y = 8 − x for x from 0 to 6. Write down the solution of the simultaneous equations.
7
FDraw the graphs of y = 3x and x + y = 8 for x from 0 to 4. Use your graph to solve the simultaneous equations.
8
FIs x = 2, y = 5 the solution of y = x + 3 and y = 2x + 1? Show how you decide.
9
RWithout drawing, explain how you know that y = 3x + 2 and y = 3x − 5 have no solution.
10
PSPlan A for a mobile phone costs a fixed £5 plus 10p per minute. Plan B costs a fixed £1 plus 20p per minute. The graph shows the cost of each plan for up to 60 minutes. For how many minutes do the two plans cost the same, and what is that cost?
minutes£1020304050602468101214Plan APlan B
11
PSThe graph of y = x2 − 4x + 1 is drawn. Use it to estimate the solutions of x2 − 4x + 1 = 0 to 1 decimal place.
xy-112345-4-3-2-11234567
12
PSThe graphs of y = x2 and y = 2x + 3 are drawn. Use them to solve x2 = 2x + 3.
xy-3-2-11234-2-11234567891011
13
PSThe graph of y = x2 − 2x − 3 is drawn. Use it to estimate the solutions of x2 − 2x − 3 = 2.
xy-3-2-112345-5-4-3-2-112345678
14
RSally draws the graphs of y = x + 1 and y = 2x − 3 and says they cross at (4, 5). Use algebra to show that she is correct.

Websink Prep UK is an independent site. It is not affiliated with, endorsed by or sponsored by AQA, Pearson Edexcel, OCR, WJEC, Eduqas, CCEA, SQA, GL Assessment, CEM or the Department for Education. All exam board names and trademarks belong to their owners. Past papers are linked from the exam boards' own websites and are not hosted here.

About Websink Prep UK · Find a tutor · Privacy · Terms · Cookie settings