Quadratics and inequalities
Introduced
8:19
Algebra and functions
Section B is the algebra every other topic leans on. The completed square reads off a vertex. The discriminant counts real roots before you solve anything. The…
English narration · English and 中文 subtitles you can switch
In this lesson
| English | Meaning |
|---|---|
| discriminant/dɪˈskrɪmɪnənt/ | The value b squared minus 4ac, which determines the nature of a quadratic equation's roots. |
| real roots/rɪəl ruːts/ | Real-number values that satisfy an equation, usually making a polynomial equal to zero. |
| minimum point/ˈmɪnɪməm pɔɪnt/ | |
| Inequality/ɪniːˈkwɒlɪti/ | |
| equal roots |
A rule for every quadratic, 628
- In 628, the Indian mathematician Brahmagupta wrote down a general rule for solving equations of the form $ax^2 + bx = c$, in words, in his book Brāhmasphuṭasiddhānta. He was among the first to accept negative numbers as answers. Today the same rule is the quadratic formula, and the part under the square root tells us how many real solutions there are before we solve.
- A-level questions use the discriminant 判别式, completing the square and quadratic inequalities.
The formula and the discriminant
- $ax^2 + bx + c = 0 \Rightarrow x = \dfrac{-b \pm \sqrt{b^2 - 4ac}}{2a}$.
- $b^2 - 4ac > 0$: two real roots 实根; $= 0$: one repeated root; $< 0$: no real roots.

Find the discriminant of $2x^2 - 5x + 4$.
Difficulty 2/5 · 140 coins + a small bonus on first completion today
$25 - 32 = -7$, so there are no real roots.
How many real roots does $4x^2 - 12x + 9 = 0$ have?
Difficulty 1/5 · 100 coins + a small bonus on first completion today
$144 - 144 = 0$.
Reading the graph
- The real roots are where $y = ax^2 + bx + c$ meets the $x$-axis; $a > 0$ gives a U shape.
- Completing the square, $x^2 - 6x + 11 = (x - 3)^2 + 2$, shows the minimum point 最低点 $(3, 2)$ — so no real roots.
Quadratics and inequalities
y=(x²-10x+21)/4
The graph rescales the vertical axis by a positive factor 1/4. Check why its roots remain 3 and 7.
Write $x^2 + 8x + 3$ in completed-square form.
Difficulty 1/5 · 100 coins + a small bonus on first completion today
$(x + 4)^2 = x^2 + 8x + 16$, and $16 - 13 = 3$.
Worked example: which widths are enough?
A rectangular garden has width $x$ m and length $(x + 3)$ m. Its area must be at least 40 m². Find the possible widths.
- Inequality 不等式: $x(x + 3) \ge 40 \Rightarrow x^2 + 3x - 40 \ge 0$.
- Roots: $(x + 8)(x - 5) = 0$, so $x = -8$ or $x = 5$; the U-shaped graph is $\ge 0$ outside the roots.
- Context: $x \le -8$ or $x \ge 5$, but a width is positive, so $x \ge 5$.
A rectangle has width $x$ and length $x + 2$, and its area is at least 48. Find the least width.
Difficulty 2/5 · 140 coins + a small bonus on first completion today
$x^2 + 2x - 48 \ge 0 \Rightarrow (x + 8)(x - 6) \ge 0$; widths are positive, so $x \ge 6$.
Conditions on a constant
- For $x^2 + kx + 9 = 0$ to have no real roots: $k^2 - 36 < 0 \Rightarrow -6 < k < 6$.
- For equal roots 重根: $k^2 - 36 = 0 \Rightarrow k = \pm 6$.
Find the values of $k$ for which $x^2 + kx + 4 = 0$ has two distinct real roots.
Difficulty 1/5 · 100 coins + a small bonus on first completion today
$k^2 - 16 > 0$.
Writing solution sets
- Between the roots: $\{x : -2 < x < 3\}$. Outside: $\{x : x < -2\} \cup \{x : x > 3\}$.
- Solve the equation first, sketch, then read the inequality 不等式 from the sketch.
Do not divide an inequality by a variable or square-root both sides. From $x^2 > 9$, writing $x > 3$ loses $x < -3$. Factorise to $(x - 3)(x + 3) > 0$ and read the sketch instead.
The solution of $x^2 > 25$ is $x > 5$.
Difficulty 1/5 · 100 coins + a small bonus on first completion today
It is $x < -5$ or $x > 5$.
The discriminant 判别式 $b^2 - 4ac$ decides the number of real roots; completing the square gives the turning point. For a quadratic inequality, find the roots, sketch, and read the solution set — between the roots or outside them — then apply any context.
Find the set of values of $k$ for which $kx^2 + 4x + k = 3$ has no real roots, where $k \ne 0$.
Discriminant plus inequality.
What went wrong? Only the site team sees this.