IB Maths AA HL Topic 2 — Functions Paper 2 ~6 min read

Solving Equations Graphically

Some equations just can’t be solved with algebra. Mix an exponential with a polynomial, or a log with a trig function, and there’s no rearrangement that gets you a clean answer. The fix is simple: plot both sides on your GDC and read off the intersection points. The x-coordinates are your solutions. This is the standard approach on Paper 2 (calculator paper) — fast, reliable, and worth full marks if you present it properly.

📘 What you need to know

The two graphical methods

Both methods give the same answers — pick whichever is easier to plot:

Method 1 — Plot both sides
y = f(x) and y = g(x)
solutions = x-coords of intersection points
Method 2 — Plot the difference
y = f(x) − g(x)
solutions = roots (where curve crosses x-axis)
Same solutions, two views
Method 1 — both curves f(x) g(x) x₁ x₂Method 2 — the difference f(x) − g(x) x₁ x₂
For most exam questions, Method 1 is the go-to — plot both sides and use the intersect function on your GDC. Method 2 helps when the difference simplifies into a recognisable curve, or when you want a single graph with clear x-axis crossings.

When to reach for graphical solving

Three classic signs that you should switch from algebra to graph:

Sign 1 — High-degree polynomial
x5 − 3x + 2 = 0
no general formula for degree ≥ 5
Sign 2 — Mixed function types
ex = x2
no rearrangement isolates x
Sign 3 — “How many solutions”
“how many roots does … have?”
just count intersection points
Paper 2 default
calculator allowed → use it
unless the question says “exact” or “algebraically”

The GDC recipe

🧭 Recipe — solving graphically with the GDC

  1. Rearrange (if helpful): get the equation into f(x) = g(x) form, with both sides easy to plot.
  2. Enter both functions on the GDC (typically Y₁ = LHS, Y₂ = RHS).
  3. Choose a sensible window: zoom out or pick wide x and y ranges so all intersections are visible.
  4. Use the intersect function for each intersection point. Read off the x-coordinates.
  5. Round appropriately — to 3 sf unless told otherwise.
  6. Sketch what you found — examiners expect to see the curves, intersections marked, and the x-values labelled.
“Exact” or “algebraically” → don’t use the graph. Those words rule out a GDC-only answer. If the question doesn’t say either, the graphical method is fair game on Paper 2.

Worked examples

WE 1

Solve a mixed exponential-polynomial equation

Find the solution to ex = 4 − x2, giving your answer to 3 sf.

Step 1: Plot both functions on the GDC y = eˣ — increasing exponential y = 4 − x² — downward parabola, vertex (0, 4), roots ±2 Step 2: Look for intersections curves cross at two points — one on each side of the y-axis Step 3: Use intersect function x ≈ −1.96 and x ≈ 1.06 x = −1.96 or x = 1.06 (3 sf) always check graphically that the number of intersections matches the number of solutions you give
WE 2

Solve a high-degree polynomial equation

Solve x5 + 2x2 − 6 = 0, giving your answer to 3 sf.

Method: plot y = x⁵ + 2x² − 6 and find x-axis crossings at x = 1: 1 + 2 − 6 = −3 (negative) at x = 2: 32 + 8 − 6 = 34 (positive) → a root between 1 and 2 Use GDC zero/root function x ≈ 1.20 Check whether other real roots exist curve is generally rising → only one real root x = 1.20 (3 sf) no general formula exists for degree-5 polynomials, so graphical (or numerical) is the only practical route
WE 3

Determine the number of real solutions

How many real solutions does ln x = x − 3 have?

Step 1: Plot both functions on the GDC y = ln x — slow growth, only defined for x > 0 y = x − 3 — straight line, intercept (3, 0) Step 2: Count intersection points visually: the line cuts the curve twice once where ln x grows past the line on the rising tail once where the line catches back up further along 2 real solutions no need to find the actual values — counting is enough when the question only asks “how many”
WE 4

Use the difference method

By plotting y = 2xx − 5, find the solutions of 2x = x + 5 to 3 sf.

Plot y = 2ˣ − x − 5 and find roots at x = 0: 1 − 0 − 5 = −4 (negative) at x = 3: 8 − 3 − 5 = 0 → x = 3 is an exact root! also a root for negative x where 2ˣ levels off near 0 and the line dips Use GDC zero function for the second root x ≈ −4.96 x = −4.96 or x = 3 (3 sf) the difference method gave a cleaner picture here than plotting two separate curves — the x-axis crossings are exactly the solutions
WE 5

Solve a trig-vs-linear equation

Solve cos x = x3   for −πxπ, to 3 sf.

Step 1: Set GDC to radian mode Step 2: Plot y = cos x and y = x/3 on [−π, π] cos x oscillates between −1 and 1; line y = x/3 is shallow, rising Step 3: Find intersection in the given window single intersection at x ≈ 1.17 x = 1.17 (3 sf) always check the angle mode (degrees vs radians) — wrong mode gives totally wrong answers
WE 6

Solve f(x) = k graphically

Given f(x) = x3 − 4x + 1, find the values of x for which f(x) = 2, to 3 sf.

Step 1: Plot y = x³ − 4x + 1 and the horizontal line y = 2 cubic has local max around (−1.15, 4.08) and local min around (1.15, −2.08) y = 2 sits between the local max and local min, so it crosses three times Step 2: Use intersect function for each crossing x ≈ −2.11,   x ≈ 0.254,   x ≈ 1.86 x = −2.11, 0.254, or 1.86 (3 sf) three intersections means three solutions — slide the line up or down on the GDC to see how many solutions exist for different k values

💡 Top tips

⚠ Common mistakes

Algebra and graphs are complementary tools — use algebra when the equation is clean, the GDC when it isn’t. The next note shifts to modelling with functions — the IB’s favourite type of applied question, where you’re given (or must choose) a function to describe a real situation, then use it to make predictions.

Need help with Solving Equations Graphically?

Get 1-on-1 help from an IB examiner who knows exactly what Paper 1 & 2 are looking for.

Book Free Session →