Educerie · IB Diploma · Mathematics: analysis and approaches
Topic 2 Functions · 2.10 Solving equations graphically and analytically
What you must be able to do
| You must be able to | Level | What it looks like in the exam |
|---|---|---|
| Solve equations that become quadratics after a substitution, such as e²ˣ − 7eˣ + 10 = 0 | SL, HL | "Solve, giving exact answers" (5 marks), Paper 1 |
| Solve equations with the unknown in an exponent or inside a logarithm, and reject impossible solutions | SL, HL | "Solve log₂ x + log₂(x − 2) = 3" (4 marks) |
| Solve any equation graphically with technology, by intersecting two graphs or finding zeros | SL, HL | Paper 2: "Solve eˣ = x + 2" (2 to 3 marks) |
| Find every solution in a given domain, choosing a window and the correct angle mode | SL, HL | "Solve for −π ≤ x ≤ π" (3 marks) |
| Use a graph to decide how many solutions an equation has, including for a parameter k | SL, HL | "Find the values of k for which f(x) = k has three solutions" (3 marks) |
| Set up and solve equations that model real situations, and interpret the answers | SL, HL | Paper 2: "Find when the population of A exceeds that of B" (3 to 4 marks) |
Before you start
This subtopic collects the equation-solving skills of the whole of topic 2 and uses them together. You need quadratics and the discriminant (2.6, 2.7), the laws of logarithms and the identities ln(eˣ) = x and e^(ln x) = x (1.7, 2.9), the domain of a logarithm (x > 0), and the GDC skills of 2.3 and 2.4: graphing, window, zero and intersect. One example uses sin x; if you have not met trigonometric functions yet, the method still makes sense and you can come back to it after 3.5.
1The idea in one paragraph
There are two ways to solve an equation. Analytically means by algebra: a chain of steps, each one undoing something, ending with an exact answer such as x = ln 5. Graphically means by looking at graphs: the solutions of f(x) = g(x) are the x-coordinates where y = f(x) and y = g(x) cross, which technology finds to any accuracy you need. Algebra gives exact answers but only works for equations with the right shape. Graphs work for every equation but give decimals, and they show you something algebra hides: how many solutions there are. The skill is recognising which route a question wants, and using both together when that helps: the algebra for the answer, the graph to check you have them all.
2Two routes, and when each is expected
| Analytic | Graphical | |
|---|---|---|
| Method | substitute, factorise, take logs, rearrange | intersect two graphs, or find zeros of f(x) − g(x) |
| Answer | exact: ln 5, 2 ± √3, 1/3 | decimal, to 3 s.f. |
| Works for | equations with a recognisable form | every equation |
| Paper | Paper 1 (no calculator); Paper 2 when "exact" is asked | Paper 2 |
| Weakness | can create false solutions, or lose true ones | needs a good window; can miss a solution off screen |
The words of the question decide. "Find the exact value", "show that" and "hence" on Paper 1 all require algebra. On Paper 2, "solve" with no further instruction lets you use the GDC, and for many equations it is the only way.
3Equations that are quadratics in disguise
Many Paper 1 equations are quadratics wearing a costume. Spot the pattern "something squared, the same something, a constant", replace the something with a single letter, and solve the quadratic.
Exponentials. Since e²ˣ = (eˣ)², the equation e²ˣ − 7eˣ + 10 = 0 is a quadratic in eˣ.
Figure 1 shows the graph of y = e²ˣ − 7eˣ + 10 crossing the x-axis at exactly those two values, and nowhere else.
Rejecting an impossible root. The quadratic can produce a value of u that the original letter cannot take. In e²ˣ − eˣ − 6 = 0:
Writing "no solution since eˣ > 0" is not decoration: it is the reasoning mark.
Other bases. In 4ˣ − 6 × 2ˣ + 8 = 0, notice 4ˣ = (2²)ˣ = (2ˣ)². With u = 2ˣ: u² − 6u + 8 = 0, so u = 2 or u = 4, so 2ˣ = 2 or 2ˣ = 4, giving x = 1 or x = 2.
Even powers. x⁴ − 5x² + 4 = 0 is a quadratic in x². With u = x²: (u − 1)(u − 4) = 0, so x² = 1 or x² = 4, giving x = ±1, ±2: four solutions. If one of the values of u had been negative, x² = negative would have had no real solutions.
Fractions. x + 6/x = 5 becomes a quadratic when you multiply through by x (allowed, because x = 0 is not in the domain): x² + 6 = 5x, so x² − 5x + 6 = 0, giving x = 2 or x = 3.
4Exponential and logarithmic equations
The unknown in the exponent: take logs of both sides.
With the unknown on both sides, take logs and collect the x terms:
The unknown inside logarithms: combine the logs, then exponentiate. Use the laws of 1.7 to make a single logarithm, then undo it.
Now check the domain. The original equation contains log₂ x and log₂(x − 2), so it needs x > 0 and x > 2. The value x = −2 makes both logarithms undefined, so it is rejected. x = 4 is the only solution.
Every solution must be checked against the original equation's domain. Combining logarithms and squaring can create values that were never solutions.
The reason false roots appear: log₂(x(x − 2)) is defined for x = −2 (the product is 8), even though log₂ x and log₂(x − 2) separately are not. Combining the logarithms widened the domain, and the quadratic found a solution in the wider one.
5Solving with technology
Most equations met in real modelling have no algebraic method at all. There is no way to rearrange ln x = 3 − x to get x on its own; the same goes for eˣ = x + 2, 2 sin x = x, or a cubic like x³ − 4x + 1 = 0 that does not factorise. For these, Paper 2 expects the GDC, in one of two ways from 2.4:
- Intersect. Graph y = f(x) and y = g(x) and use the intersect tool at each crossing.
- Zeros. Rearrange to f(x) − g(x) = 0, graph y = f(x) − g(x), and use the zero tool at each crossing of the x-axis.
For ln x = 3 − x, Figure 2 shows the two graphs crossing once, at (2.21, 0.792). The solution is x = 2.21 (3 s.f.). Since ln x is increasing and 3 − x is decreasing, they can only cross once, so this is the only solution.
For x³ − 4x + 1 = 0, graph y = x³ − 4x + 1 and use the zero tool three times: x = −2.11, 0.254, 1.86. A cubic can have up to three real roots, so after finding one, keep looking.
For eˣ = x + 2, the intersections are at x = −1.84 and x = 1.15: the left-hand one is easy to miss, because the exponential there is nearly flat against the x-axis and the default window may not show the crossing clearly.
Trigonometric equations: set the mode. Figure 3 shows 2 sin x = x solved with the calculator in radians: three solutions, x = −1.90, 0, 1.90. In degree mode the calculator would be solving a different equation, since sin 1.90° is not sin 1.90. Unless the question gives angles in degrees, use radians.
Four habits make GDC answers score.
- Choose a window that shows every solution. Zoom out first, count the crossings, then zoom in. If the question gives a domain, such as −π ≤ x ≤ π, set the window to exactly that domain.
- Use the tool once per solution. Each use of zero or intersect gives one answer.
- Write the method. "Using GDC to intersect y = ln x and y = 3 − x" earns the method mark even if a value is miscopied.
- 3 significant figures, but store the full value if it is used again.
6How many solutions? Reading it from a graph
A graph answers a question algebra finds awkward: how many solutions does an equation have? The solutions of f(x) = k are where the horizontal line y = k meets the graph of f. Slide the line up and down and count.
Take f(x) = x³ − 3x. The GDC (or calculus later) gives a local maximum at (−1, 2) and a local minimum at (1, −2). Figure 4 shows three lines:
- For −2 < k < 2 the line cuts the curve three times: three solutions.
- For k = 2 or k = −2 it touches at a turning point and crosses once elsewhere: two solutions.
- For k > 2 or k < −2 it meets the curve once: one solution.
The turning values are the boundaries every time. This is the same reasoning as the discriminant in 2.7, which counted the meetings of a parabola with a line, now for any curve.
Counting also works with two curves. ln x = 3 − x has one solution because an increasing and a decreasing graph can cross at most once. An argument like that, in words, is what a question means by "explain why the equation has exactly one solution".
7Equations from real situations
The guide asks you to solve equations that arise from contexts: decay, population growth, compound interest, projectiles, braking distances. The pattern is always the same: translate the question into an equation, solve it by the route it allows, then translate the answer back, with units and a check that it makes sense.
Braking distance. A car's stopping distance in metres is modelled by d(v) = 0.2v + 0.005v², where v is its speed in km/h. What is the greatest speed at which it can stop within 40 m?
Speed is positive, so the greatest speed is 71.7 km/h. The negative root is a solution of the equation but not of the problem.
Two populations. Town A has 12 000 people and grows at a continuous 2.5% a year: A(t) = 12 000e^(0.025t). Town B has 15 000 people and grows by 200 people a year: B(t) = 15 000 + 200t. When does A overtake B?
The equation 12 000e^(0.025t) = 15 000 + 200t mixes an exponential with a linear term, so there is no algebraic method. Intersect the two graphs on the GDC (Figure 5): t = 17.2, when both towns have about 18 400 people. Town A overtakes town B after about 17.2 years. A percentage growth always beats a fixed yearly increase eventually, however far behind it starts.
Two last checks in any context. Is the answer inside the domain where the model makes sense (positive times, realistic sizes)? And did the question ask for an x-value, a point, or a quantity in the context's units?
8Choosing a method
Figure 6 puts the decisions of this page in one place.
Before anything else, rearrange: either one side zero or the form f(x) = g(x). Then ask whether the equation has a shape you recognise (a quadratic, a quadratic in eˣ or x², a single exponential or logarithm). If it does and the answer must be exact, use algebra, check every root against the domain, and on Paper 2 glance at the graph to be sure you have them all. If the equation mixes kinds of function, eˣ with x, ln x with x, sin x with x, it has no algebraic method on this syllabus: graph it, and find every crossing.
9Where marks are lost
Keeping an impossible root. eˣ = −2 has no solution, and log₂(−2) does not exist. Check every answer against the original equation's domain and say why a value is rejected.
Dividing by an expression that could be zero. From x eˣ = 3x, dividing by x loses x = 0. Rearrange to x(eˣ − 3) = 0 instead.
Missing a solution off the screen. Zoom out before you zoom in, and count the crossings in a window that covers the whole domain.
Solving in degrees when the question is in radians. Check the mode before any equation with sin, cos or tan.
Giving a decimal where an exact answer was asked. "Exact" means ln 5 or ln 2/(ln 3 − ln 2), not 1.61 or 1.71.
Rounding before the end. Use stored values in later steps; round only the final answer to 3 s.f.
Forgetting the second half of the substitution. Solving u² − 7u + 10 = 0 gives u = 2 and u = 5. The question wanted x: go back to eˣ = 2 and eˣ = 5.
No method shown for a GDC answer. One line naming the graphs and the tool protects the method mark.
10Work it right
- Rearrange: one side zero, or f(x) = g(x).
- Look for a quadratic in disguise: e²ˣ and eˣ, 4ˣ and 2ˣ, x⁴ and x². Substitute u, solve, then substitute back.
- Unknown in an exponent: take ln of both sides and collect the x terms. Unknown inside logs: combine into one log, then exponentiate.
- State the domain of the original equation and reject any root outside it, with a reason.
- No algebraic method: graph both sides and intersect, or graph the difference and find zeros; one tool use per solution.
- Set the window to the whole domain and the calculator to radians unless told otherwise; count the solutions before finding them.
- For "how many solutions", use a horizontal line y = k against the graph; the turning values are the boundaries.
- Answer exactly on Paper 1, to 3 s.f. on Paper 2, with units and a sense check in context.
11Try it
Marks in brackets. Q1 to Q3 are Paper 1 style, no calculator. Q4 to Q6 are Paper 2 style, with a GDC.
Q1. Solve the equation 2e²ˣ − 7eˣ + 3 = 0, giving your answers in exact form. 5 marks
Q2. Solve the equation log₃(x + 1) + log₃(x − 1) = 1. 5 marks
Q3. Solve the equation 5ˣ⁺¹ = 2ˣ, giving your answer in the form ln a / (ln b − ln c), where a, b, c ∈ ℤ⁺. 4 marks
Q4. (a) Solve the equation eˣ = 3x. 2 marks
(b) Hence solve the inequality eˣ < 3x. 2 marks
Q5. Let f(x) = x⁴ − 4x².
(a) Find the coordinates of the two local minimum points of the graph of f. 2 marks
(b) Find the values of k for which the equation f(x) = k has exactly four solutions. 2 marks
(c) Find the values of k for which the equation f(x) = k has exactly two solutions. 2 marks
Q6. Two samples of radioactive material are placed in a laboratory. The mass of the first, in grams, after t days is m₁(t) = 50e^(−0.0231t), and the mass of the second is m₂(t) = 80e^(−0.0462t).
(a) Find the half-life of the first sample. 2 marks
(b) Find the time at which the two samples have equal mass, and that mass. 4 marks
12In one breath
An equation can be solved analytically, by algebra, for an exact answer, or graphically, with technology, for a decimal; Paper 1 wants the first, Paper 2 allows the second. Look for quadratics in disguise, e²ˣ and eˣ, 4ˣ and 2ˣ, x⁴ and x²: substitute, solve, substitute back, and reject values like eˣ = −2 that cannot happen. Take logs to bring down an unknown exponent; combine logs and exponentiate to free an unknown inside them; then check every root against the original domain. When an equation mixes kinds of function, ln x with x, eˣ with x, sin x with x, there is no algebraic method: intersect the two graphs or find the zeros of their difference, one tool use per solution, in a window that shows them all and in radians. A horizontal line y = k against a graph counts the solutions of f(x) = k, with the turning values as boundaries. In context, translate, solve, then translate back with units and throw out answers the situation cannot have.
Answers
Q1.
x = −ln 2 or x = ln 3. M1 for recognising the quadratic in eˣ, M1 for factorising or the formula, A1 for u = ½ and u = 3, M1 for taking ln, A1 for both exact answers. ln ½ is accepted for −ln 2.
Q2.
The logarithms need x + 1 > 0 and x − 1 > 0, so x > 1. x = 2 only; x = −2 is rejected because log₃(−1) is undefined. M1 for combining the logarithms, M1 for undoing the log (x² − 1 = 3¹), A1 for x = ±2, R1 for rejecting −2 with a reason, A1 for x = 2 alone.
Q3.
x = ln 5 / (ln 2 − ln 5), so a = 5, b = 2, c = 5 (x ≈ −1.76). M1 for taking logs of both sides, M1 for expanding and collecting the x terms, M1 for factorising out x, A1 for the answer in the required form.
Q4. (a) Using the GDC to intersect y = eˣ and y = 3x: x = 0.619 or x = 1.51 (3 s.f.). A1 for each.
(b) The line y = 3x is above the curve y = eˣ between the two intersections, so 0.619 < x < 1.51. M1 for identifying the region between the solutions (from the graph), A1 for the strict inequality. Follow through from (a).
Q5. (a) Using the GDC: (−1.41, −4) and (1.41, −4); the exact x-values are ±√2. A1 for each point.
(b) The local maximum is at (0, 0). A horizontal line meets the graph four times when it lies strictly between the minimum value and the local maximum value: −4 < k < 0. M1 for using the turning values as boundaries, A1 for the strict inequality.
(c) Two solutions when the line touches both minimum points, or lies above the local maximum: k = −4 or k > 0. A1 for k = −4, A1 for k > 0. k = 0 gives three solutions (x = 0, ±2), so k ≥ 0 scores A0.
Q6. (a) 50e^(−0.0231t) = 25, so e^(−0.0231t) = ½ and t = ln 2 / 0.0231 = 30.0 days (3 s.f.). M1 for halving the initial mass, A1 for 30.0 days.
(b) Solve 50e^(−0.0231t) = 80e^(−0.0462t) with the GDC (intersect), or by algebra: e^(0.0231t) = 1.6, so t = ln 1.6 / 0.0231 = 20.3 days. The mass is then m₁ = 50e^(−0.0231 × 20.35) = 31.3 g (3 s.f.). M1 for setting m₁ = m₂, A1 for t = 20.3, M1 for substituting their t into either model, A1 for 31.3 g. Using the rounded t = 20.3 still gives 31.3.
Educerie · written from the published IB Diploma Programme Mathematics: analysis and approaches guide, first assessment 2021, section 2.10 Solving equations graphically and analytically. Original text, examples and questions. Diagrams drawn by Educerie. Last reviewed 25 September 2026.