Functions and Graphs · Topic 2 of 7
2. The Modulus Function
Theory
The modulus (or absolute value) of is its size, ignoring sign. Formally it is defined piecewise:
The second line often looks wrong at first glance, but is positive precisely when is negative — so both branches return a non-negative value.
Graphically, takes the graph of and reflects every part below the -axis up into the first and second quadrants. Anything already above the axis is unchanged. The result never dips below , and typically has sharp corners where the original graph crossed the axis.
Be careful to distinguish this from , which is a different transformation: it keeps the graph for and reflects that in the -axis, discarding the original left-hand side.
To solve an equation or inequality containing a modulus, split it into cases at the points where the expression inside changes sign, solve each case separately, and then check each solution back in the original.
The Golden Rule: means or — always two cases. Solve both, then verify each answer in the original equation, because the case analysis can introduce solutions that do not actually work.
⚠️ Common Examiner Traps
- Only taking the positive case: forgetting loses half the solutions.
- Not checking back: squaring or splitting cases can produce values that fail the original equation. Substitute every candidate.
- Confusing the two graph transformations: reflects the parts below the -axis upwards; reflects the right-hand side across the -axis.
- Assuming the graph is smooth: has a sharp corner wherever , so it is not differentiable at those points.
Worked examples
Example 1
Solve .
Step 1: The expression inside the modulus could be either or , so split into two cases:
Step 2: Solve each separately:
Step 3: Check both in the original equation:
Both solutions are valid: and .
Example 2
Solve the inequality .
Step 1: Read the inequality as a statement about distance: is the distance from to , so we need every point less than away.
Step 2: That gives a double inequality — for a “less than” modulus the solution is always a single interval:
Step 3: Add throughout:
Check: at we get ✓, while at we get ✓ — the endpoint behaves as expected.
Note that would instead give two separate intervals, or .
Example 3
Describe how to sketch from the graph of , and state the coordinates of any sharp corners.
Step 1: Start with , a parabola with minimum at , crossing the -axis where:
Step 2: The parabola lies below the -axis between and . That is exactly the section the modulus reflects upwards.
Step 3: Outside that interval the graph is already at or above zero, so it is unchanged.
Step 4: The reflected section turns the minimum at into a maximum at , giving a shape like a hump between the two roots.
Step 5: The sharp corners occur where the original graph met the axis — at and . The curve is not differentiable at either point, since the gradient jumps sign there.