Roots: where the curve meets the x-axis
A graph is a picture of every solution at once. The graph of y = f(x) is the set of all points whose coordinates satisfy the equation — so any question about f(x) can be answered by looking at the graph, provided you know where to look. The most important place is the x-axis.
y = x² − 2x − 3 crosses the x-axis at x = −1 and x = 3
Reading the diagram: the curve cuts the x-axis at (−1, 0) and (3, 0), so the equation x² − 2x − 3 = 0 has solutions x = −1 and x = 3. The green point (0, −3) is the y-intercept — useful for sketching, but it is not a root.
Example 1The graph of y = x² − 2x − 3 is drawn above. (a) Use the graph to solve x² − 2x − 3 = 0. (b) Check your answer by factorising.
Where a curve meets a line
Roots are just the special case where the “other graph” is the x-axis. In general, to solve f(x) = g(x) you draw both graphs on the same axes and find their points of intersection. At an intersection point the two graphs share the same x and the same y — so that value of x makes f(x) and g(x) equal.
Intersection explorer
The curve y = x² − 2x is fixed. Choose a line y = mx + c and watch which equation the crossing points solve. Try m = 1, c = 4 (two solutions), m = 2, c = −4 (a tangent) and m = 0, c = −3 (no solutions).
The rearrangement trick: one graph, many equations
This is the skill Paper 4 loves. You have carefully plotted y = f(x) — and then part (c) asks you to solve a different equation, one you have not drawn. You are not expected to plot a new curve. Instead, rearrange the new equation until your drawn curve appears on one side; whatever is left on the other side is the straight line you add to your grid.
Suppose the curve y = x² − 3x is already drawn.
Solve x² − 3x − 2 = 0
Add 2 to both sides so the left side becomes the drawn curve:
x² − 3x = 2
Draw the horizontal line y = 2 and read the x-values where it crosses the curve.
Solve x² − 4x + 1 = 0
Add x and subtract 1 on both sides to rebuild x² − 3x:
x² − 3x = x − 1
Draw the line y = x − 1 and read off the crossing x-values.
Both lines drawn on the graph of y = x² − 3x
Example 2The graph of y = x² − 3x is drawn for −1 ≤ x ≤ 4. By drawing a suitable straight line, solve (a) x² − 3x − 2 = 0 and (b) x² − 4x + 1 = 0.
x² − 3x + 1 = x (added x)
x² − 3x = x − 1 (subtracted 1)
Line meets curve: graphically and algebraically
A straight line and a quadratic curve form a pair of simultaneous equations — one linear, one non-linear. The graph shows you the solutions; algebra confirms them exactly. You should be able to run both methods and check one against the other.
Graphically
- Draw the curve and the line on the same grid.
- Mark every intersection point.
- Read off the coordinates — for simultaneous equations you give both x and y for each point.
Algebraically (substitution)
- Substitute the line into the curve: set curve = line.
- Rearrange to … = 0 and solve the quadratic (factorise or use the formula).
- Substitute each x back into the linear equation to find its y.
How many solutions? Count the crossings
| Picture | Intersections | Solutions of curve = line | Discriminant of the quadratic |
|---|---|---|---|
| Line cuts the curve | 2 points | 2 solutions | b² − 4ac > 0 |
| Line just touches the curve (tangent) | 1 point | 1 repeated solution | b² − 4ac = 0 |
| Line misses the curve | 0 points | no real solutions | b² − 4ac < 0 |
More worked examples
Example 3The graph of y = x² + 2x has been drawn. Find the equation of the straight line that should be drawn to solve x² + x − 5 = 0.
Example 4Solve the simultaneous equations y = x² − 2x and y = x + 4 algebraically, and interpret the answer graphically.
(x − 4)(x + 1) = 0
x = 4 or x = −1
Example 5Show that the line y = 2x − 1 is a tangent to the curve y = x², and state the coordinates of the point of contact.
Your turn
Practice set
- The graph of y = x² − x − 6 crosses the x-axis at x = −2 and x = 3. Write down the solutions of x² − x − 6 = 0.
- The curve y = x² − 2x and the line y = 3 intersect at x = −1 and x = 3. Write down, in the form x² + bx + c = 0, the equation whose solutions these are.
- The graph of y = x² + x is drawn. Which straight line should be drawn to solve x² − 6 = 0?
- Solve the simultaneous equations y = x² + 1 and y = 2x + 9 algebraically.
- Find the value of c for which the line y = 2x + c is a tangent to the curve y = x².
- The roots are the crossing x-values: x = −2 or x = 3
- At the intersections x² − 2x = 3, so x² − 2x − 3 = 0 — check: (x − 3)(x + 1) = 0 gives x = −1, 3 ✓ x² − 2x − 3 = 0
- x² − 6 = 0 → x² + x = x + 6, so draw y = x + 6 (the crossings are at x = ±6 ≈ ±2.4).
- x² + 1 = 2x + 9 → x² − 2x − 8 = 0 → (x − 4)(x + 2) = 0, then use y = 2x + 9: (4, 17) and (−2, 5)
- x² = 2x + c → x² − 2x − c = 0; tangent means b² − 4ac = 0: 4 + 4c = 0 → c = −1 (touching at (1, 1)).
Key points to remember
- The solutions of f(x) = 0 are the x-coordinates where the graph of y = f(x) meets the x-axis.
- The solutions of f(x) = g(x) are the x-coordinates of the intersection points of the two graphs — the y-values are not the answer.
- To solve a new equation with a graph you already have, rearrange until the drawn curve stands alone; what remains on the other side is the straight line to draw.
- Always write down the line you drew (e.g. “y = x − 1”) — that is where the method mark lives.
- Line and curve as simultaneous equations: substitute, rearrange to zero, solve, then find each y from the linear equation.
- Count crossings: 2 points, 1 point (tangent), or 0 points match discriminant > 0, = 0, < 0.
- Graphical answers are read to about 1 decimal place — mark schemes allow a small tolerance on readings from your graph.
Where next?
🎥 Take the interactive module
Simultaneous & Non-linear Graphs — the full teaching module for this topic, with real past-paper questions and mark schemes.
✏️ Practise exam questions
Graphical Solution of Equations — 25 exam-style questions worth 97 marks, with full answers and the mark scheme.
Progress is saved on this device only and appears on the notes home page.