The modulus (absolute value) of x is its distance from zero — always non-negative.
\[|x| = \begin{cases} x & \text{if } x \geq 0 \\ -x & \text{if } x < 0 \end{cases}\]
y = |f(x)| — Draw f(x). Reflect any part below the x-axis upward. Parts above stay unchanged. No graph exists below the x-axis.
y = −|f(x)| — Entire graph flips below the x-axis. Vertex becomes a maximum. The equation −|f(x)| = k has no solutions when k > 0.
INTERACTIVE — Y = A·|X + B| + C (DRAG A NEGATIVE TO SEE −|X|)
a = 1 (neg = flip)
b = 0 (h. shift)
c = 0 (v. shift)
y = | x |
a > 0 — normal V
Opens upward. Vertex = minimum. Try a = 2.
a < 0 — inverted V
Opens downward. Vertex = maximum. Try a = −1.
Solving |f(x)| = k
1
Split into two cases: \(f(x) = k\) and \(f(x) = -k\)
2
Solve each equation separately
3
Check solutions satisfy the original equation
Note: If k < 0, there are no solutions — modulus is always ≥ 0.
Solving |f(x)| = g(x)
1
Case 1: \(f(x) = g(x)\) and check \(f(x) \geq 0\)
2
Case 2: \(-f(x) = g(x)\) and check \(f(x) < 0\)
3
Or: square both sides — \([f(x)]^2 = [g(x)]^2\) — then check all solutions
Squaring tip: Squaring both sides avoids cases but may introduce extraneous solutions — always check.
Worked example — solve |2x − 3| = 5
Case 1: \(2x - 3 = 5\) \(2x = 8 \Rightarrow x = 4\)
Case 2: \(2x - 3 = -5\) \(2x = -2 \Rightarrow x = -1\)
Check: \(|2(4)-3|=5\) ✓ \(|2(-1)-3|=5\) ✓
Answer: \(x = 4\) or \(x = -1\)
GRAPHICAL INTERPRETATION
Draw \(y=|2x-3|\) and \(y=5\). Intersections give the solutions. The horizontal line cuts the V twice → two solutions.
For \(-|f(x)| = k\) where k > 0 → no solutions since −|f(x)| ≤ 0 always.
Graph Sketching
High mark topic — f(x) · |f(x)| · f(|x|) · −f(x) · transformations
The four key graph types from f(x)
y = f(x) — the original
Draw as given. This is your reference — all other transformations start here.
y = |f(x)| — reflect below x-axis up
Any part of f(x) below the x-axis gets reflected upward. Parts above stay the same. No graph below x-axis.
y = f(|x|) — reflect right half to left
Keep the right half (x ≥ 0) of f(x). Reflect it to the left. The result is always symmetric about the y-axis.
y = −f(x) — reflect in x-axis
Flip the entire graph upside down. Every y-value becomes −y. Maxima become minima and vice versa.
Interactive — see all four transformations live
y = f(x)
y = |f(x)| — reflect below up
y = f(|x|) — reflect right to left
y = −f(x) — flip in x-axis
Exam technique — how to sketch for marks
Always sketch f(x) first — even if not asked
Label all intercepts with coordinates — x-intercepts and y-intercept
Label turning points / vertex if present
Show asymptotes as dashed lines and label them
For |f(x)|: mark where the reflection happens (where f(x) = 0)
For f(|x|): show the y-axis as a line of symmetry
COMMON EXAM MISTAKES
✗ Forgetting to reflect — just copying f(x)
✗ Wrong reflection for f(|x|) — some reflect left to right instead
✗ Missing coordinates on axes
✗ Not showing cusp/corner at the reflection point for |f(x)|
MARK ALLOCATION GUIDE
Correct shape — 1 mark
Correct position/translation — 1 mark
Key coordinates labelled — 1–2 marks
Asymptotes correct — 1 mark
Practice Questions
3 Easy · 3 Medium · 3 Hard — Cambridge 0606 Functions
Easy 1
[2]
The function \(f(x) = 2x - 5\). Find \(f(3)\) and \(f^{-1}(x)\).
SOLUTION
f(3)
\(f(3)=2(3)-5=\boldsymbol{1}\)
Inverse
Let \(y=2x-5 \Rightarrow x=\frac{y+5}{2}\) \(\boldsymbol{f^{-1}(x)=\dfrac{x+5}{2}}\)
Easy 2
[2]
Given \(f:x\mapsto x^2+1\) for \(x\geq0\), state the range of \(f\).
SOLUTION
Minimum
When \(x=0\): \(f(0)=0+1=1\) (minimum value)
Range
\(x\geq0\) means \(x^2\geq0\), so \(f(x)\geq1\) \(\boldsymbol{f(x)\geq1}\) or \(\boldsymbol{[1,\infty)}\)
Easy 3
[2]
\(f(x)=3x+1\) and \(g(x)=x^2\). Find \(fg(x)\).
(a) State the range of \(h\). [2] (b) Find \(h^{-1}(x)\) and state its domain. [4] (c) On the same axes sketch \(y=h(x)\) and \(y=h^{-1}(x)\), showing the line of symmetry. [3]
FULL WORKED SOLUTION
(a) Range
At \(x=1\): \(h(1)=3\) (maximum). As \(x\to-\infty\), \(h\to-\infty\). Range: \(\boldsymbol{h\leq3}\)