Solving equations with graphs

Some equations, like 2x = x + 3, cannot be solved with algebra. A graph shows how many solutions there are and roughly where they are.

Practise this lesson free (6 questions)

More tools

Intersections

The solutions of f(x) = g(x) are the x-coordinates of the points where y = f(x) and y = g(x) cross.
The number of crossings is the number of real solutions.

Using a graph you already have

You have the graph of y = x2 − 4x + 2. To solve x2 − 3x − 1 = 0:
x2 − 4x + 2 − (x2 − 3x − 1) = 3 − x, so when x2 − 3x − 1 = 0, x2 − 4x + 2 = 3 − x
So draw the line y = 3 − x and read off the x-coordinates where it crosses.

Transcendental equations

Equations mixing powers like 2x with x, or sin x with x, are solved graphically.
2x = x + 3: sketch y = 2x and y = x + 3. They cross twice, once between −3 and −2, once between 2 and 3.
A table of values can locate a root: f(x) = 2x − x − 3 changes sign between x = 2 (f = −1) and x = 3 (f = 2).
Worked example

The graph of y = x3 is drawn. Which line should be added to solve x3 − 2x − 1 = 0?

  1. Rearrange: x3 = 2x + 1
  2. The left side is the curve already drawn

Answer: Draw y = 2x + 1 and read the x-coordinates of the crossings

Key idea

Solutions of f(x) = g(x) are x-coordinates of intersections. Rearrange so one side is the graph you already have; the other side is the line to draw.

Quick check

Try two quick questions

See if it has sunk in. Answers are marked straight away.

Extra practice

2 more questions

Try each one, then tap to check.

  1. The graphs of y = f(x) and y = g(x) cross at (1, 4) and (3, 8). What are the solutions of f(x) = g(x)?

    1. x = 1 only
    2. x = 1 and x = 3
    3. x = 1, 3, 4 and 8
    4. x = 4 and x = 8
    Show the answer

    Answer: x = 1 and x = 3

    The solutions are the x-coordinates of the crossing points.

  2. The graph of y = x2 − 2x − 3 is drawn. Which line should be drawn to solve x2 − 5x + 1 = 0?

    1. y = 3x + 4
    2. y = 3x − 4
    3. y = 5x − 1
    4. y = −3x + 4
    Show the answer

    Answer: y = 3x − 4

    x2 − 2x − 3 − (x2 − 5x + 1) = 3x − 4, so draw y = 3x − 4.

Check you have got it

Answer 6 quick questions with instant marking. If you get one wrong, GCSE-ready shows you why and gives you another go. It is free, and you do not need an account.

Video for this lesson coming soon. Subscribe on YouTube

Sources and references

Facts checked against the sources below, 17 October 2026. Last updated 2 October 2026. Spotted a mistake? Tell us and we will fix it.