Educerie · IB Diploma · Mathematics: analysis and approaches
Topic 2 Functions · 2.7 Quadratic equations and inequalities, and the discriminant
What you must be able to do
| You must be able to | Level | What it looks like in the exam |
|---|---|---|
| Know that roots, zeros and solutions name the same numbers, the x-intercepts of the graph | SL, HL | "Find the zeros of f" means solve f(x) = 0 |
| Solve a quadratic equation by factorising | SL, HL | "Solve 6x² + x − 2 = 0" (3 marks) |
| Solve by completing the square, giving exact answers | SL, HL | "Find the exact solutions of x² + 6x − 3 = 0" (3 marks) |
| Solve with the quadratic formula (in the formula booklet) | SL, HL | "Solve 2x² − 3x − 4 = 0, giving your answers in the form (p ± √q)/r" (3 marks) |
| Use the discriminant Δ = b² − 4ac to state the nature of the roots | SL, HL | "Find the value of the discriminant and hence state the number of real roots" (2 to 3 marks) |
| Find the values of a parameter k that give two distinct, two equal or no real roots | SL, HL | "Find the values of k for which the equation has no real roots" (5 to 6 marks) |
| Solve a quadratic inequality, by sketch or with technology | SL, HL | "Solve x² − x − 12 > 0" (3 to 4 marks); Paper 2: "Find the range of values of t for which h > 10" |
| Use quadratic equations and inequalities in context | SL, HL | Paper 2: "Find for how long the ball is above 10 m" (3 marks) |
Before you start
You need the three forms of a quadratic from 2.6, especially completing the square, and the idea that the x-intercepts of y = f(x) are the solutions of f(x) = 0 (2.4). You should be able to simplify surds such as √12 = 2√3 (1.5 and earlier). An inequality flips when you multiply or divide both sides by a negative number; that rule appears again here.
1The idea in one paragraph
To solve ax² + bx + c = 0 is to find where the parabola y = ax² + bx + c meets the x-axis. There are three methods. Factorising is fastest when it works. Completing the square always works and gives exact answers. The quadratic formula is completing the square done once and for all, so it always works too. Before you solve anything, the discriminant, Δ = b² − 4ac, tells you how many real roots there are: two if Δ > 0, one repeated root if Δ = 0, none if Δ < 0. That makes it the tool for questions with an unknown coefficient k. A quadratic inequality is solved by finding the roots first and then reading from a sketch where the parabola is above or below the axis.
2Roots, zeros and solutions
The guide uses three words for the same numbers. The roots or solutions of the equation ax² + bx + c = 0 are the values of x that make it true. The zeros of the function f(x) = ax² + bx + c are the inputs that give output zero. On the graph, both are the x-coordinates of the x-intercepts. A quadratic has at most two of them, because a parabola can cross a horizontal line at most twice.
Every method below starts from the same place: get zero on one side. The equation x² = 3x + 10 must become x² − 3x − 10 = 0 before you do anything else.
3Solving by factorising
If a product of two numbers is zero, one of them must be zero. That fact, the zero product rule, turns a factorised quadratic into two linear equations.
When a ≠ 1, look for the pair of numbers with product ac and sum b, and split the middle term.
A trap to avoid: from x² = 3x, dividing both sides by x gives x = 3 and loses a root. Rearrange instead: x² − 3x = 0, so x(x − 3) = 0, and x = 0 or x = 3. Never divide by an expression that could be zero.
Factorising only works when the roots are rational, which is less often than exam practice makes it seem. If you cannot find the factors in half a minute, switch method.
4Solving by completing the square
The vertex form of 2.6 turns any quadratic equation into "something squared equals a number", which you undo with a square root, remembering both signs.
These are the exact roots. As decimals they are 0.464 and −6.46, but a Paper 1 question that says "exact" wants −3 ± 2√3, and a decimal loses the accuracy mark.
Figure 1 shows why the method has its name. The expression x² + 6x is a square of side x plus two strips of 3 by x. Add the missing 3-by-3 corner, 9, and you have a complete square of side x + 3.
5The quadratic formula
Completing the square on the general equation ax² + bx + c = 0 gives a formula for the roots of every quadratic. It is in the formula booklet:
x = (−b ± √(b² − 4ac)) / 2a, for ax² + bx + c = 0, a ≠ 0.
Use it by writing a, b and c down first, with their signs, and then substituting.
The two sign errors that cost the most marks are both in that second line: −b when b is already negative (−(−3) = +3), and −4ac when c is negative (−4 × 2 × (−4) = +32). Brackets around every substituted value prevent both.
Where the formula comes from. The guide lists this as enrichment, and seeing it once makes the formula easier to trust. Divide by a, complete the square, and solve:
The formula also shows why the axis of symmetry is x = −b/2a (2.6): the two roots are −b/2a plus and minus the same amount, so they sit symmetrically about it. People have solved quadratic problems for a very long time; the guide mentions methods in Babylonian mathematics and in the ancient Indian Sulba Sutras and Bakhshali manuscript.
Which method? Look before you choose.
| The equation | Best method |
|---|---|
| factorises quickly (small whole-number coefficients) | factorising |
| asks for "exact" answers, or a = 1 with an even b | completing the square, or the formula |
| anything else on Paper 1 | the formula |
| any quadratic on Paper 2 | the GDC's polynomial solver or the zero tool, with a line of method |
6The discriminant and the nature of the roots
The part of the formula under the square root, b² − 4ac, is called the discriminant and written Δ. It decides everything about the roots, because you can only take the square root of a number that is not negative.
- Δ > 0: two distinct real roots. The ± gives two different values. The parabola crosses the x-axis twice.
- Δ = 0: two equal real roots (one repeated root, x = −b/2a). The ± adds and subtracts zero. The parabola touches the x-axis at its vertex.
- Δ < 0: no real roots. There is no real square root of a negative number. The parabola misses the x-axis entirely.
Figure 2 shows all three for parabolas that differ only in c. For y = x² − 4x + 1, Δ = 16 − 4 = 12. For y = x² − 4x + 4, Δ = 16 − 16 = 0. For y = x² − 4x + 7, Δ = 16 − 28 = −12.
Two more facts are useful. If Δ is a perfect square (0, 1, 4, 9, 25, 49 …) and a, b, c are whole numbers, the roots are rational and the quadratic factorises; for 6x² + x − 2, Δ = 1 + 48 = 49 = 7², which is why section 3 found factors. And if a > 0 and Δ < 0, the parabola sits entirely above the x-axis, so the quadratic is positive for every x. That is how you show, for example, that x² − 2x + 5 > 0 for all x: a = 1 > 0 and Δ = 4 − 20 = −16 < 0.
The phrase "real roots" matters. When Δ < 0 there are roots that are complex numbers, which HL students meet in 1.12. At standard level, "no real roots" is the whole answer.
7Quadratic inequalities
A quadratic inequality such as x² − x − 12 > 0 asks for every x where the parabola is above the x-axis. The method is always the same three steps:
- Rearrange so that one side is zero.
- Solve the equation to find the critical values, the roots.
- Sketch the parabola through them and read off the part you want.
Take x² − x − 12 > 0. The roots of (x − 4)(x + 3) = 0 are x = −3 and x = 4. The parabola opens upwards, so it is below the axis between the roots and above it outside them. Figure 3(a) shows it. The answer is x < −3 or x > 4.
Now 2x² + 5x ≤ 3. Rearrange: 2x² + 5x − 3 ≤ 0, which factorises as (2x − 1)(x + 3) ≤ 0, with roots −3 and ½. We want on or below the axis, which is between the roots: −3 ≤ x ≤ ½, as Figure 3(b) shows.
Three rules keep these answers right.
Inside or outside. For a > 0, "< 0" is always between the roots (one interval) and "> 0" is always outside them (two pieces). For a < 0 it is the other way round. The sketch tells you which, so always draw it, even small.
Two pieces are joined by "or". Write x < −3 or x > 4. Never write −3 > x > 4, which says x is less than −3 and greater than 4 at once, and is true for no number.
Strict or not. A strict inequality (> or <) excludes the roots; a non-strict one (≥ or ≤) includes them. The difference is one mark.
On Paper 2 the roots may be ugly. For 0.4x² − 3x + 2 < 0, the GDC gives the zeros of y = 0.4x² − 3x + 2 as x = 0.740 and x = 6.76, and the parabola opens upwards, so the answer is 0.740 < x < 6.76. The method is the same; only the root-finding changes.
8Questions with an unknown coefficient
The most characteristic Paper 1 question in this subtopic gives a quadratic with a letter in it and asks for the values of that letter which produce a certain kind of root. The discriminant answers it, and the answer often needs the inequality skills of section 7.
Example. For the equation kx² + 4x + (k − 3) = 0, find the values of k for which it has (a) two equal real roots, (b) two distinct real roots, (c) no real roots.
Write a, b and c down, then form Δ and simplify it.
(a) Equal roots: Δ = 0, so k = 4 or k = −1.
(b) Two distinct real roots: Δ > 0, so −4(k − 4)(k + 1) > 0, which means (k − 4)(k + 1) < 0 (dividing by −4 flips the sign). That is between the roots: −1 < k < 4. But k = 0 is in that interval, and at k = 0 the equation is 4x − 3 = 0, which is linear with only one root. So the answer is −1 < k < 4, k ≠ 0.
(c) No real roots: Δ < 0, so (k − 4)(k + 1) > 0, which is outside the roots: k < −1 or k > 4.
Figure 4 shows both sides of the story: in (a), three members of the family of parabolas, one for each case; in (b), the discriminant itself drawn as a function of k, positive only between −1 and 4.
Tangents are the same question. A line meets a curve where their equations are equal. If that gives a quadratic, the line is a tangent, touching the curve at one point, exactly when Δ = 0. For which gradients m is y = mx + 1 a tangent to y = x² + 4?
Figure 5 shows the two tangents from the point (0, 1), and the line with m = 4, for which Δ = 4 > 0: it meets the curve twice, at x = 1 and x = 3.
9Quadratics in context
A ball is kicked upwards so that its height after t seconds is h(t) = −4.9t² + 18t + 2 metres. For how long is it at least 10 m above the ground?
This is a quadratic inequality: −4.9t² + 18t + 2 ≥ 10, or −4.9t² + 18t − 8 ≥ 0. On Paper 2, find where the graph of h meets the line h = 10 with the GDC (or use the formula):
Figure 6 shows the arc above the line. Notice the last line: subtract the unrounded values, not 3.16 − 0.517 = 2.643, which happens to round the same here but will not always. And in any context, check that every root is in the domain; a negative time is thrown away.
10Where marks are lost
Not getting zero on one side first. x² = 3x + 10 cannot be factorised or put into the formula as it stands. Rearrange to x² − 3x − 10 = 0.
Dividing by x and losing a root. From x² = 3x, dividing by x throws away x = 0. Factorise x(x − 3) = 0 instead.
Sign errors in the formula. With b = −3, −b is +3; with c = −4, −4ac is +32. Put brackets round every value you substitute.
Forgetting the ± when square-rooting. (x + 3)² = 12 gives x + 3 = ±2√3, two answers, not one.
Writing a two-piece inequality as one. "−3 > x > 4" is true for no number. Write x < −3 or x > 4.
Solving an inequality like an equation. From (x − 4)(x + 3) > 0, writing "x > 4 and x > −3" is wrong. Sketch the parabola and read off where it is above the axis.
Forgetting that k = 0 stops it being quadratic. If the x² coefficient contains k, check k = 0 separately; the discriminant method only applies to a genuine quadratic.
Forgetting to flip the inequality when dividing by a negative. −4(k − 4)(k + 1) > 0 becomes (k − 4)(k + 1) < 0.
11Work it right
- Rearrange to ax² + bx + c = 0 (or > 0, ≤ 0 …) before anything else.
- Write down a, b and c with their signs.
- Choose the method: factorise if it is quick, complete the square or use the formula for exact answers, the GDC on Paper 2.
- Take both square roots (±) and simplify surds; give exact answers where asked, 3 s.f. otherwise.
- For the nature of roots, compute Δ = b² − 4ac and compare with 0: > 0 two distinct, = 0 two equal, < 0 none.
- For a parameter k, form Δ in terms of k, factorise it, and solve Δ = 0, Δ > 0 or Δ < 0 as asked; check whether k = 0 must be excluded.
- For an inequality, find the roots, sketch the parabola, and read off inside or outside; "or" for two pieces, and watch strict versus non-strict.
- In context, reject roots outside the domain and answer in the context's units.
12Try it
Marks in brackets. Q1 to Q4 are Paper 1 style, no calculator. Q5 is Paper 2 style, with a GDC.
Q1. Solve the following equations.
(a) 2x² − 7x + 3 = 0 2 marks
(b) x² − 4x − 1 = 0, giving your answers in the form p ± √q, where p, q ∈ ℤ. 3 marks
Q2. Solve the inequality 3x² − 2 > 5x. 4 marks
Q3. Consider the equation kx² − 6x + (k + 8) = 0, where k ≠ 0.
(a) Show that the discriminant is −4(k² + 8k − 9). 2 marks
(b) Find the values of k for which the equation has two equal real roots. 2 marks
(c) Find the set of values of k for which the equation has no real roots. 2 marks
Q4. The line y = 2x + c is a tangent to the curve y = x² − 4x + 10. Find the value of c and the coordinates of the point where the line touches the curve. 5 marks
Q5. A stone is thrown from the top of a cliff. Its height above the sea after t seconds is modelled by h(t) = 25 + 12t − 4.9t² metres, for t ≥ 0.
(a) Find the time at which the stone reaches the sea. 2 marks
(b) Find the length of time for which the stone is more than 20 m above the sea. 3 marks
13In one breath
Get zero on one side, then solve ax² + bx + c = 0 one of three ways: factorise and use the zero product rule; complete the square and take both square roots; or use the formula x = (−b ± √(b² − 4ac))/2a from the booklet, with brackets round every value. The roots, zeros and solutions are the same numbers, the x-intercepts of the parabola. The discriminant Δ = b² − 4ac tells you what to expect: positive, two distinct real roots; zero, two equal roots at the vertex; negative, no real roots. With an unknown k, form Δ in k, factorise it and solve Δ = 0, > 0 or < 0, remembering that k = 0 may not be a quadratic at all; a line is a tangent when its meeting equation has Δ = 0. For an inequality, find the roots, sketch, and read inside or outside, joining two pieces with "or". In context, reject the roots the situation cannot have.
Answers
Q1. (a) (2x − 1)(x − 3) = 0, so x = ½ or x = 3. M1 for correct factorisation or correct substitution into the formula, A1 for both roots.
(b)
x = 2 ± √5. M1 for completing the square or for substituting into the formula, M1 for (x − 2)² = 5 or for (4 ± √20)/2, A1 for 2 ± √5. Leaving (4 ± √20)/2 unsimplified scores A0, since the form p ± √q was asked for.
Q2. Rearrange: 3x² − 5x − 2 > 0. Factorise: (3x + 1)(x − 2) > 0, with roots −⅓ and 2. The parabola opens upwards, so it is above the axis outside the roots: x < −⅓ or x > 2. M1 for rearranging to one side zero, A1 for both critical values, M1 for choosing the outside region (a sketch or sign table), A1 for the correct inequalities. "−⅓ > x > 2" scores the final A0.
Q3. (a) a = k, b = −6, c = k + 8, so Δ = 36 − 4k(k + 8) = 36 − 4k² − 32k = −4(k² + 8k − 9). M1 for substituting into b² − 4ac, A1 for the given result with the expansion shown. A "show that" earns nothing for writing the answer alone.
(b) Δ = 0: k² + 8k − 9 = 0, so (k + 9)(k − 1) = 0, giving k = −9 or k = 1. M1 for setting Δ = 0 and factorising, A1 for both values.
(c) Δ < 0: −4(k + 9)(k − 1) < 0, so (k + 9)(k − 1) > 0 (dividing by −4 flips the sign). This is outside the roots: k < −9 or k > 1. M1 for the correct inequality in k with the sign flipped, A1 for the answer. Giving −9 < k < 1, the region for two distinct roots, scores M0 A0.
Q4. Set the equations equal: x² − 4x + 10 = 2x + c, so x² − 6x + (10 − c) = 0. For a tangent, Δ = 0: 36 − 4(10 − c) = 0, so 36 − 40 + 4c = 0 and c = 1. Then x² − 6x + 9 = 0, so (x − 3)² = 0 and x = 3, with y = 2(3) + 1 = 7. The point of contact is (3, 7). M1 for equating and rearranging to one side zero, M1 for using Δ = 0, A1 for c = 1, M1 for solving the repeated-root equation, A1 for (3, 7).
Q5. (a) Solve 25 + 12t − 4.9t² = 0 on the GDC: t = −1.34 or t = 3.79. Since t ≥ 0, the stone reaches the sea after 3.79 s (3 s.f.). A1 for 3.79, R1 for rejecting the negative root with a reason.
(b) Solve 25 + 12t − 4.9t² > 20, that is −4.9t² + 12t + 5 > 0. The GDC gives the roots t = −0.363 and t = 2.81, and the parabola opens downwards, so h > 20 for −0.363 < t < 2.81. With t ≥ 0 this is 0 ≤ t < 2.81, so the stone is above 20 m for 2.81 s. M1 for setting up the inequality or equation with 20, A1 for t = 2.81, A1 for 2.81 s with the domain applied. Answering 2.81 − (−0.363) = 3.17 s, counting time before the throw, scores M1 A1 A0.
Educerie · written from the published IB Diploma Programme Mathematics: analysis and approaches guide, first assessment 2021, section 2.7 Quadratic equations and inequalities, and the discriminant. Original text, examples and questions. Diagrams drawn by Educerie. Last reviewed 25 September 2026.