This topic solves harder equations and inequalities: modulus equations and inequalities, equations that become quadratics after a substitution, and cubic graphs, their moduli and cubic inequalities.
4.1 Solve modulus equations using algebraic or graphical methods
The modulus 模 $|X|$ is the size of $X$ without its sign. So $|X| = c$ has two cases: $X = c$ or $X = -c$. Every modulus equation is solved by splitting it into cases like these.
$|ax + b| = c$, where $c \geqslant 0$
Get the modulus alone on one side first. Then write $ax + b = c$ or $ax + b = -c$.
Worked example 1. Solve $3|2x - 1| + 4 = 19$.
- $3|2x - 1| = 15$, so $|2x - 1| = 5$.
- $2x - 1 = 5$ gives $x = 3$. $2x - 1 = -5$ gives $x = -2$.
$|ax + b| = cx + d$: check every answer
A modulus is never negative, so the right-hand side must be $\geqslant 0$. Solve both cases, then check 检验 each answer in the original equation and reject 拒绝 any that fails.
Worked example 2. Solve $|x + 4| = 2x - 1$.
- $x + 4 = 2x - 1$ gives $x = 5$. Check: $|9| = 9$ and $2(5) - 1 = 9$. ✓
- $x + 4 = -(2x - 1)$ gives $3x = -3$, so $x = -1$. Check: $2(-1) - 1 = -3 < 0$. Reject.
- The only solution is $x = 5$.

The graphs meet only once. The rejected value $x = -1$ lies on the dashed line $y = -(x + 4)$, which is not part of the graph of $y = |x + 4|$.
$|ax + b| = |cx + d|$
Either the two insides are equal, or one is minus the other: $ax + b = cx + d$ or $ax + b = -(cx + d)$. No check is needed, because both sides are moduli.
Worked example 3. Solve $|x + 1| = |2x - 4|$.
- $x + 1 = 2x - 4$ gives $x = 5$.
- $x + 1 = -(2x - 4)$ gives $3x = 3$, so $x = 1$.
A quadratic inside the modulus
$|ax^2 + bx + c| = d$ gives two quadratic equations. Solve both. One of them may have no real roots.
Worked example 4. Solve $|x^2 - 5x| = 6$.
- $x^2 - 5x = 6$: $(x - 6)(x + 1) = 0$, so $x = 6$ or $x = -1$.
- $x^2 - 5x = -6$: $(x - 2)(x - 3) = 0$, so $x = 2$ or $x = 3$.
- Four solutions: $x = -1, 2, 3, 6$.
Working backwards
If $|ax + b| = c$ has solutions $x = p$ and $x = q$, then $ap + b$ and $aq + b$ are $c$ and $-c$, in either order. Each order gives a pair of simultaneous equations for $a$ and $b$.
4.2 Solve modulus inequalities graphically or algebraically
A modulus inequality 不平等 asks where a V-shaped graph is below or above a line. You can solve it with algebra, or read it from a sketch.
$|X| < c$ and $|X| > c$, where $c > 0$
- $|X| < c$ means $-c < X < c$: the values between.
- $|X| > c$ means $X < -c$ or $X > c$: the values outside.
Worked example 1. Solve $|2x - 3| < 5$.
- $-5 < 2x - 3 < 5$.
- Add 3, then divide by 2: $-2 < 2x < 8$, so $-1 < x < 4$.
Worked example 2. Solve $|4x + 1| \geqslant 7$.
- $4x + 1 \geqslant 7$ gives $x \geqslant 1.5$.
- $4x + 1 \leqslant -7$ gives $x \leqslant -2$.
- $x \leqslant -2$ or $x \geqslant 1.5$.
$|X| \leqslant |Y|$: square both sides
Both sides are $\geqslant 0$, so squaring keeps the inequality: $X^2 \leqslant Y^2$. Collect terms to get a quadratic inequality, then solve it as in sheet 2.5.
Worked example 3. Solve $|x - 1| \leqslant |2x + 4|$.
- $(x - 1)^2 \leqslant (2x + 4)^2$, so $x^2 - 2x + 1 \leqslant 4x^2 + 16x + 16$.
- $0 \leqslant 3x^2 + 18x + 15$, so $x^2 + 6x + 5 \geqslant 0$ and $(x + 1)(x + 5) \geqslant 0$.
- Outside the critical values 临界值: $x \leqslant -5$ or $x \geqslant -1$.
A modulus and a line: use the graphs
- Solve the equation (the meeting points), checking each answer.
- Sketch both graphs and read off where the V is below (or above) the line.
Worked example 4. Solve $|x + 2| < 2x - 1$.
- $x + 2 = 2x - 1$ gives $x = 3$ ($2x - 1 = 5 > 0$ ✓). $x + 2 = -(2x - 1)$ gives $x = -\frac{1}{3}$, but then $2x - 1 < 0$: reject.
- The graphs meet only at $(3, 5)$. The line is above the V to the right of it: $x > 3$.

The thick parts of the $x$-axis are the solutions of Worked examples 1 and 4.
A quadratic inside the modulus
$|q(x)| < d$ means $-d < q(x) < d$: solve $q(x) < d$ and $q(x) > -d$, and keep the values that satisfy both. $|q(x)| > d$ means $q(x) > d$ or $q(x) < -d$.
Worked example 5. Solve $|x^2 - 2x| \leqslant 3$.
- $x^2 - 2x \leqslant 3$: $(x - 3)(x + 1) \leqslant 0$, so $-1 \leqslant x \leqslant 3$.
- $x^2 - 2x \geqslant -3$: $x^2 - 2x + 3 \geqslant 0$ is true for all $x$ (discriminant $4 - 12 < 0$).
- Both: $-1 \leqslant x \leqslant 3$.
4.3 Substitution to form and solve a quadratic equation
Some equations are quadratics in disguise. If one term is the square of another, a substitution 替换 turns the equation into a quadratic that you can solve.
Spotting the hidden quadratic
| the equation has | let | because |
|---|---|---|
| $x^4$ and $x^2$ | $u = x^2$ | $x^4 = (x^2)^2$ |
| $x$ and $\sqrt{x}$ | $u = \sqrt{x}$ | $x = (\sqrt{x})^2$ |
| $x^{\frac{2}{3}}$ and $x^{\frac{1}{3}}$ | $u = x^{\frac{1}{3}}$ | $x^{\frac{2}{3}} = (x^{\frac{1}{3}})^2$ |
| $4^x$ and $2^x$ | $u = 2^x$ | $4^x = (2^2)^x = (2^x)^2$ |
Useful index 索引 rules: $3^{2x+1} = 3 \times (3^x)^2$ and $2^{3-x} = \dfrac{2^3}{2^x}$.
The method
- Choose $u$ and rewrite the equation as $au^2 + bu + c = 0$.
- Solve for $u$.
- Go back to $x$. Reject impossible values: $\sqrt{x}$ and $a^x$ are never negative. (A cube root $x^{\frac{1}{3}}$ can be negative.)

Each arrow is one step of the method. The value $u = -3$ is rejected because $\sqrt{x}$ is never negative.
Worked example 1. Solve $x^4 - 5x^2 + 4 = 0$.
- Let $u = x^2$: $u^2 - 5u + 4 = 0$, so $(u - 1)(u - 4) = 0$.
- $x^2 = 1$ or $x^2 = 4$, so $x = \pm 1$ or $x = \pm 2$.
Worked example 2. Solve $x^{\frac{2}{3}} - 5x^{\frac{1}{3}} + 4 = 0$.
- Let $u = x^{\frac{1}{3}}$: $(u - 1)(u - 4) = 0$.
- $x^{\frac{1}{3}} = 1$ gives $x = 1$. $x^{\frac{1}{3}} = 4$ gives $x = 4^3 = 64$.
Worked example 3. Solve $3^{2x+1} - 10(3^x) + 3 = 0$.
- Let $u = 3^x$: $3u^2 - 10u + 3 = 0$, so $(3u - 1)(u - 3) = 0$.
- $3^x = \dfrac{1}{3}$ gives $x = -1$. $3^x = 3$ gives $x = 1$.
A negative index: multiply through first
Worked example 4. Solve $2^x + 2^{3-x} = 9$.
- $2^{3-x} = \dfrac{8}{2^x}$. Multiply every term by $2^x$: $(2^x)^2 + 8 = 9(2^x)$.
- Let $u = 2^x$: $u^2 - 9u + 8 = 0$, so $(u - 1)(u - 8) = 0$.
- $2^x = 1$ gives $x = 0$. $2^x = 8$ gives $x = 3$.
4.4 Graphs of cubic polynomials and their moduli
A cubic 三次函数 given as three linear factors can be sketched without plotting points: the factors give the roots, $x = 0$ gives the $y$-intercept 截距, and the sign of the $x^3$ term gives the shape.
Four steps for a sketch
- Roots: set each factor equal to zero. $(2x - 1)$ gives $x = \frac{1}{2}$.
- $y$-intercept: put $x = 0$ and multiply the numbers.
- Shape: multiply the $x$-terms of the factors to get the $x^3$ term. If it is positive, the curve rises from bottom left to top right. If it is negative, it falls from top left to bottom right.
- Repeated factor 重因式: a squared factor $(x - a)^2$ means the curve touches the $x$-axis at $x = a$ and turns back.

Each sketch labels every point where the curve meets an axis, as the exam requires.
Worked example 1. Sketch $y = (x + 2)(x - 1)(x - 4)$.
- Roots: $x = -2$, $1$, $4$.
- $y$-intercept: $(2)(-1)(-4) = 8$.
- $x^3$ term: $x \times x \times x = x^3$, positive: bottom left to top right (first graph).
Worked example 2. Sketch $y = (3 - x)(x + 1)^2$.
- Roots: $x = 3$, and $x = -1$ from the squared factor: the curve touches the axis there.
- $y$-intercept: $(3)(1)^2 = 3$.
- $x^3$ term: $(-x)(x)(x) = -x^3$, negative: top left to bottom right (second graph).
The modulus of a cubic
$y = |f(x)|$ is never negative. Draw $y = f(x)$, then reflect 翻转 every part below the $x$-axis in the axis (third graph). The roots stay the same; a negative $y$-intercept becomes positive.
Finding a cubic from its graph
- Each crossing point $x = a$ gives a factor $(x - a)$; a touching point gives $(x - a)^2$.
- Write $f(x) = k(\ldots)(\ldots)(\ldots)$ and find $k$ from the $y$-intercept.
Worked example 3. A cubic crosses the $x$-axis at $-3$, $-1$ and $2$, and meets the $y$-axis at $-12$. Find $f(x)$.
- $f(x) = k(x + 3)(x + 1)(x - 2)$.
- $f(0) = k(3)(1)(-2) = -6k = -12$, so $k = 2$ and $f(x) = 2(x + 3)(x + 1)(x - 2)$.
4.5 Solve cubic inequalities graphically
A cubic inequality such as $f(x) > 0$ asks where the curve $y = f(x)$ is above the $x$-axis. Sketch the curve first (sheet 4.4), then read the answer from the sketch.
$f(x) > 0$ and $f(x) < 0$
- Sketch $y = f(x)$ and mark the roots.
- $f(x) > 0$: the parts of the curve above the $x$-axis. $f(x) < 0$: the parts below it.
- Write each part as an interval 区间. With $\geqslant$ or $\leqslant$, include the roots.
Worked example 1. Solve $(x + 2)(x - 1)(x - 4) > 0$.
- Roots $-2$, $1$, $4$; positive $x^3$ term, so the curve rises from bottom left (left graph).
- The curve is above the axis between $-2$ and $1$, and to the right of $4$.
- $-2 < x < 1$ or $x > 4$.
$f(x) > d$ and $f(x) \leqslant d$: draw the line $y = d$
- Draw the horizontal line $y = d$ on the graph.
- Read the $x$-coordinates where the curve meets the line (to 1 decimal place from a grid).
- $f(x) > d$: where the curve is above the line. $f(x) \leqslant d$: where it is on or below the line.
Worked example 2. The right graph shows $y = f(x)$, where $f(x) = (x + 1)(x - 1)(x - 3)$. Use it to solve $f(x) \leqslant 1$.
- Draw $y = 1$. It meets the curve at $x \approx -0.9$, $0.8$ and $3.1$.
- The curve is on or below the line to the left of $-0.9$, and between $0.8$ and $3.1$.
- $x \leqslant -0.9$ or $0.8 \leqslant x \leqslant 3.1$.

The thick parts of the $x$-axis are the answers to Worked examples 1 and 2.
A repeated root
At a touching point (a repeated root 重根) the curve does not cross the axis. $x(x - 3)^2 \geqslant 0$ gives $x \geqslant 0$ (the point $x = 3$ is included). $x(x - 3)^2 > 0$ gives $0 < x < 3$ or $x > 3$.