Modulus graphs and piecewise solutions
Introduced| English | Meaning |
|---|---|
| modulus/ˈmɒdjʊləs/ | The non-negative distance of a real or complex number from zero. |
A letter if inflation misses, since 1997
- Since 1997, the Bank of England has had a target of 2% inflation. If inflation $\pi$ is more than 1 percentage point away from the target in either direction — that is, if $|\pi - 2| > 1$ — the Governor must write an open letter to the Chancellor explaining why. In 2022, when inflation reached 11.1%, the Governor wrote several.
- The modulus 绝对值 $|x|$ measures distance from zero, whichever side. A-level questions graph it and solve equations and inequalities by cases.
For which inflation rates would $|\pi - 2| > 1$ trigger a letter?
Difficulty 2/5 · 140 coins + a small bonus on first completion today
$|1.4| > 1$ and $|-1.5| > 1$; 2.8 and 1.2 are within 1 of 2.
The definition
- $|x| = x$ when $x \ge 0$, and $|x| = -x$ when $x < 0$; so $|x| \ge 0$ always.
- $|x - a| < b$ means $x$ is within $b$ of $a$: $a - b < x < a + b$.
Solve $|x - 4| < 3$.
Difficulty 1/5 · 100 coins + a small bonus on first completion today
Within 3 of 4.
Graphs
- $y = |f(x)|$: reflect any part of $y = f(x)$ below the $x$-axis in the $x$-axis.
- $y = f(|x|)$: keep the part for $x \ge 0$ and reflect it in the $y$-axis.
The graph of $y = |x^2 - 4|$ has a local maximum at $(0, 4)$.
Difficulty 1/5 · 100 coins + a small bonus on first completion today
The part of $y = x^2 - 4$ between $-2$ and 2 is reflected up, giving a peak at $(0, 4)$.
Worked example: two cases, two checks
Solve $|3x - 4| = 2 - x$.
- Case $3x - 4 \ge 0$: $3x - 4 = 2 - x \Rightarrow x = 1.5$. Check: $|0.5| = 0.5$ and $2 - 1.5 = 0.5$ ✓.
- Case $3x - 4 < 0$: $-(3x - 4) = 2 - x \Rightarrow x = 1$. Check: $|-1| = 1$ and $2 - 1 = 1$ ✓.
- Answer: $x = 1$ or $x = 1.5$. Each root lies in its own branch and makes the right-hand side non-negative.
Modulus graphs and piecewise solutions
For a real expression u, |u|=u when u≥0 and |u|=−u when u<0
Connect graph shape to algebraic branches and allowed inputs.
Solve $|2x - 3| = x + 1$. Give the larger solution.
Difficulty 2/5 · 140 coins + a small bonus on first completion today
$2x - 3 = x + 1 \Rightarrow x = 4$; the other case gives $x = \tfrac{2}{3}$.
A case that fails
- Solve $|x - 1| = 2x + 3$. Case 1: $x - 1 = 2x + 3 \Rightarrow x = -4$, but then $2x + 3 = -5 < 0$ — reject.
- Case 2: $-(x - 1) = 2x + 3 \Rightarrow x = -\tfrac{2}{3}$; check $\left|-\tfrac{5}{3}\right| = \tfrac{5}{3}$ ✓. One solution only.
Solve $|x + 3| = 2x$. Give the only valid solution.
Difficulty 2/5 · 140 coins + a small bonus on first completion today
Case 1: $x + 3 = 2x \Rightarrow x = 3$ ✓. Case 2: $-x - 3 = 2x \Rightarrow x = -1$, but $2x = -2 < 0$, so reject.
Inequalities
- $|2x - 1| < 5 \Rightarrow -5 < 2x - 1 < 5 \Rightarrow -2 < x < 3$.
- $|x + 2| \ge 3 \Rightarrow x + 2 \le -3$ or $x + 2 \ge 3$, so $x \le -5$ or $x \ge 1$.
Solve $|x + 1| > 4$.
Difficulty 1/5 · 100 coins + a small bonus on first completion today
$x + 1 < -4$ or $x + 1 > 4$.
Not every modulus equation has two solutions. A root from one case may lie outside that case or make the other side negative. Always check each root in the original equation, as $x = -4$ failed above.
$|x|$ is a distance, so it is never negative. Graph $|f(x)|$ by reflecting the negative part up, and $f(|x|)$ by reflecting the right half. Solve by cases, then check every root in the original equation; $|x - a| < b$ becomes $a - b < x < a + b$.
Sketch $y = |2x - 5|$ and $y = 3 - x$ on the same axes, and solve $|2x - 5| < 3 - x$.
Cases plus a graph.