Home › Chapter 18 › Solving with graphs

3. Solving equations with graphs

A graph can solve an equation when algebra is difficult. The answers you read from a graph are approximate, so give them to a sensible accuracy (usually 1 decimal place).

Prior knowledge Intercepts · parabolas · rearranging equations · simultaneous equations · solving quadratics · points of intersection

The big idea

To solve f(x) = k, draw the graph of y = f(x) and the line y = k. The x-coordinates of the points where they cross are the solutions.

Case 1: equation = 0 (the x-axis)

The x-axis is the line y = 0, so the solutions of x² − 2x − 3 = 0 are the x-intercepts of y = x² − 2x − 3: here x = −1 and x = 3.

Case 2: equation = a number

To solve x² − 2x − 3 = 5, draw the horizontal line y = 5 on the same graph and read the x-values where it meets the curve.

The line y = 5 meets the curve at x = −2 and x = 4. Check: (−2)² − 2(−2) − 3 = 4 + 4 − 3 = 5 ✓.

Case 3: a different equation

Often the equation to solve is not the one you drew. Rearrange it so that one side matches the equation on the graph. Whatever remains on the other side is the line to draw.

Worked example The graph of y = x² − 2x − 3 is drawn. What line do you draw to solve x² − 3x − 1 = 0?
Start with x² − 3x − 1 = 0. Add x to both sides: x² − 2x − 1 = x. Subtract 2 from both sides: x² − 2x − 3 = x − 2. The left side now matches the graph.
So draw y = x − 2. The x-coordinates of the intersections (about −0.3 and 3.3) solve the equation.
  1. Write the equation of the curve that is drawn: y = (that expression).
  2. Rearrange the equation you must solve until the curve’s expression is on one side by itself.
  3. The other side is the line. Draw it and read off the x-values.

How many solutions?

Where a line meets a curve

This is a pair of simultaneous equations, one linear and one non-linear. The solutions are the coordinates of the points of intersection. Remember: give x and y for each point, pairing them correctly.

From the graph

Draw both graphs. Read the coordinates of each intersection point.

By algebra (exact answers)

Worked example Solve y = x² and y = x + 2 simultaneously.
  1. Both equal y, so set them equal: x² = x + 2.
  2. Rearrange: x² − x − 2 = 0.
  3. Factorise: (x − 2)(x + 1) = 0, so x = 2 or x = −1.
  4. Substitute each into the linear equation: x = 2 gives y = 4; x = −1 gives y = 1.
Points: (2, 4) and (−1, 1).

If the quadratic does not factorise, use the quadratic formula. Questions may ask for answers in exact form (with surds) or to 2 decimal places. A line that is a tangent to the curve gives a quadratic with exactly one solution.

Common mistake Stopping after finding the x-values. If the question asks for the points of intersection, you must also find the y-value for each.
← Other curvesNext: Gradients and differentiation →