Skip to main content

Modulus functions (SACE Stage 2 Specialist Mathematics)

Syllabus dot point

“Sketch graphs involving the modulus (absolute value) function and solve equations and inequalities containing modulus expressions.”

8 min read

Quick answer

The modulus ∣x∣|x| equals xx when x≥0x \ge 0 and −x-x when x<0x < 0, so it is never negative. To sketch y=∣f(x)∣y = |f(x)|, draw y=f(x)y = f(x) then reflect any part below the xx-axis up over it. Solve modulus equations and inequalities either by splitting into cases (≥0\ge 0 and <0< 0), or - for ∣A∣=∣B∣|A| = |B| type problems - by squaring both sides to remove the modulus.

Jump to a section
  1. What this dot point is asking
  2. Definition and key properties
  3. Sketching modulus graphs
  4. Solving modulus equations
  5. The triangle inequality
  6. Solving modulus inequalities
  7. Exam-style questions

What this dot point is asking

You need to sketch graphs involving the modulus function and to solve equations and inequalities that contain modulus expressions.

Definition and key properties

The modulus function

∣x∣={x,x≥0−x,x<0|x| = \begin{cases} x, & x \ge 0 \\ -x, & x < 0 \end{cases}

It returns the distance of xx from 00, so ∣x∣≥0|x| \ge 0 always. Useful facts: ∣x∣2=x2|x|^2 = x^2, ∣ab∣=∣a∣∣b∣|ab| = |a||b|, and ∣x∣=c|x| = c (for c>0c > 0) means x=cx = c or x=−cx = -c. Also ∣x−a∣|x - a| is the distance between xx and aa on the number line.

Sketching modulus graphs

Two distinct transformations get confused, so keep them separate:

  • y=∣f(x)∣y = |f(x)|: sketch y=f(x)y = f(x), then reflect every part that is below the xx-axis up to above it. Points already at or above the axis stay put. The result never dips below the xx-axis and typically has sharp corners where ff crossed the axis.
  • y=f(∣x∣)y = f(|x|): keep the graph for x≥0x \ge 0, then reflect it in the yy-axis to produce the x<0x < 0 side. The result is symmetric about the yy-axis and ignores the original left half.
Corners, not curves

The modulus produces sharp corners (non-differentiable points) wherever the inside expression equals zero. At those points the graph changes direction abruptly; a smooth curve there is a sketching error.

Solving modulus equations

The cleanest general method is to split at the points where each modulus argument changes sign, solve on each interval, and discard solutions that fall outside the interval assumed.

Solving a modulus equation by cases

Solve ∣x−3∣=2x−1|x - 3| = 2x - 1

Step 1: Identify the sign-change point and set up cases

The expression x−3x - 3 inside the modulus changes sign at x=3x = 3. This splits the number line into two regions where ∣x−3∣|x-3| has a different algebraic form, so we treat each region separately.

The modulus argument x−3x - 3 changes sign at x=3x = 3.

Step 2: Solve Case 1 and check

For x≥3x \ge 3, the expression x−3x-3 is non-negative, so ∣x−3∣=x−3|x-3|=x-3. Solve the resulting linear equation and verify the solution lies in this region.

Case 1 (x≥3x \ge 3): here ∣x−3∣=x−3|x - 3| = x - 3, so

x−3=2x−1  ⟹  −2=x.x - 3 = 2x - 1 \implies -2 = x.

But x=−2x = -2 does not satisfy x≥3x \ge 3, so reject it.

Step 3: Solve Case 2 and check

For x<3x < 3, the expression x−3x-3 is negative, so ∣x−3∣=−(x−3)=3−x|x-3|=-(x-3)=3-x. Solve the new equation, confirm the solution is in this region, and also verify that the right-hand side is non-negative (since a modulus cannot equal a negative number).

Case 2 (x<3x < 3): here ∣x−3∣=−(x−3)=3−x|x - 3| = -(x - 3) = 3 - x, so

3−x=2x−1  ⟹  4=3x  ⟹  x=43.3 - x = 2x - 1 \implies 4 = 3x \implies x = \tfrac{4}{3}.

Since 43<3\tfrac{4}{3} < 3, this is valid. Check the right side is non-negative: 2(43)−1=53>02(\tfrac{4}{3}) - 1 = \tfrac{5}{3} > 0. Good.

Final answer: x=43x = \dfrac{4}{3}.

For equations of the form ∣A∣=∣B∣|A| = |B|, squaring is often faster, since ∣A∣=∣B∣  ⟺  A2=B2  ⟺  A=±B|A| = |B| \iff A^2 = B^2 \iff A = \pm B.

Solving an equation with two moduli

Solve ∣x+1∣=∣2x−4∣|x + 1| = |2x - 4|

Step 1: Square both sides

When both sides of an equation are moduli (and hence non-negative), squaring is valid because ∣A∣=∣B∣|A|=|B| is equivalent to ∣A∣2=∣B∣2|A|^2=|B|^2, and squaring removes the modulus signs on both sides without introducing extraneous solutions from sign changes.

Both sides are moduli, so square: (x+1)2=(2x−4)2(x + 1)^2 = (2x - 4)^2.

Step 2: Expand and simplify

Expand each side using the standard binomial identity and collect all terms on one side.

Expanding gives x2+2x+1=4x2−16x+16x^2 + 2x + 1 = 4x^2 - 16x + 16, so 3x2−18x+15=03x^2 - 18x + 15 = 0, that is x2−6x+5=0x^2 - 6x + 5 = 0.

Step 3: Factorise, solve and verify

Factorise the quadratic to read off the solutions, then confirm each by substituting back into the original equation.

The equation factorises to (x−1)(x−5)=0(x - 1)(x - 5) = 0. The solutions are x=1x = 1 and x=5x = 5, both of which can be confirmed by substitution into the original equation.

Final answer: x=1x = 1 and x=5x = 5.

The triangle inequality

A property worth knowing is the triangle inequality, ∣a+b∣≤∣a∣+∣b∣|a + b| \le |a| + |b|, with equality only when aa and bb have the same sign. It captures the idea that the distance of a sum is never more than the sum of the distances, and it underlies many bounds in later mathematics. While SACE rarely asks you to prove it, recognising the modulus as a measure of distance - ∣x−a∣|x - a| being the gap between xx and aa on the number line - is the intuition that makes both the triangle inequality and the geometric reading of modulus equations natural.

Solving modulus inequalities

Two standard equivalences handle most cases, for c>0c > 0:

∣x∣<c  ⟺  −c<x<c,∣x∣>c  ⟺  x<−c or x>c.|x| < c \iff -c < x < c, \qquad |x| > c \iff x < -c \ \text{or} \ x > c.

For ∣f(x)∣<c|f(x)| < c, replace xx by f(x)f(x) and solve the resulting double inequality. A reliable alternative is to square (valid because both sides are non-negative) and solve the polynomial inequality, then sketch to read off the solution set.

A modulus inequality

Solve ∣2x+1∣≤5|2x + 1| \le 5

Step 1: Convert the modulus inequality to a double inequality

The rule ∣A∣≤c|A| \le c (for c>0c > 0) is equivalent to −c≤A≤c-c \le A \le c. This captures the idea that the expression AA must lie within distance cc of zero on the number line. Applying the rule to ∣2x+1∣≤5|2x+1| \le 5 gives a compound inequality with no modulus.

−5≤2x+1≤5.-5 \le 2x + 1 \le 5.

Step 2: Solve for xx

Perform the same arithmetic operation across all three parts of the compound inequality to isolate xx.

Subtract 11: −6≤2x≤4-6 \le 2x \le 4. Divide by 22: −3≤x≤2-3 \le x \le 2.

Final answer: −3≤x≤2-3 \le x \le 2.

Common errors
Confusing ∣f(x)∣|f(x)| with f(∣x∣)f(|x|)
The first reflects below-axis parts upward; the second reflects the right half across the yy-axis. They give different graphs.
Forgetting to check solutions against the case
A value found in the "x≥ax \ge a" case must actually satisfy x≥ax \ge a; otherwise discard it. This is the most common lost mark.
Dropping the negative branch
∣x∣=c|x| = c gives both x=cx = c and x=−cx = -c. Solving only the positive case loses half the answers.
Squaring when a side can be negative
Squaring is safe for ∣A∣=∣B∣|A| = |B|, but for ∣A∣=g(x)|A| = g(x) you must also require g(x)≥0g(x) \ge 0, or check each solution.

Exam-style questions

Questions in the style of SACE Board exam questions on this dot point, each with a worked answer. They are written by ExamExplained unless tagged "Past paper"; the year shows the paper a question is modelled on.

SACE 2022-style2 marks
Calculator-assumed. For f(x)=5(x−2)(x+3)f(x) = \dfrac{5}{(x-2)(x+3)}, describe how to obtain the graph of y=∣f(x)∣y = |f(x)| from the graph of y=f(x)y = f(x), and state the asymptotes.
Show worked answer →

Keep every part of y=f(x)y = f(x) that is already at or above the xx-axis, and reflect every part below the xx-axis up across it, since the modulus makes all outputs non-negative. [1 mark]

For f(x)=5(x−2)(x+3)f(x) = \dfrac{5}{(x-2)(x+3)} the curve has vertical asymptotes at x=2x = 2 and x=−3x = -3, and is negative on the middle branch −3<x<2-3 < x < 2. After the modulus, that middle branch flips above the axis, so y=∣f(x)∣y = |f(x)| lies at or above y=0y = 0, still with vertical asymptotes at x=−3x = -3 and x=2x = 2 and horizontal asymptote y=0y = 0. [1 mark]

SACE 2023-style3 marks
Calculator-free. Solve ∣2x−3∣=x+4|2x - 3| = x + 4.
Show worked answer →

The argument 2x−32x - 3 changes sign at x=32x = \tfrac{3}{2}.

Case 1 (x≥32x \ge \tfrac{3}{2}): 2x−3=x+42x - 3 = x + 4, so x=7x = 7. Since 7≥327 \ge \tfrac{3}{2}, valid. [1 mark]

Case 2 (x<32x < \tfrac{3}{2}): −(2x−3)=x+4-(2x - 3) = x + 4, so 3−2x=x+43 - 2x = x + 4, giving −1=3x-1 = 3x and x=−13x = -\tfrac{1}{3}. Since −13<32-\tfrac{1}{3} < \tfrac{3}{2}, valid. [1 mark]

Both make the right side x+4x + 4 non-negative, so the solutions are x=7x = 7 and x=−13x = -\tfrac{1}{3}. [1 mark]

SACE 2021-style2 marks
Calculator-free. Solve the inequality ∣3x+2∣<8|3x + 2| < 8.
Show worked answer →

Use ∣A∣<c  ⟺  −c<A<c|A| < c \iff -c < A < c:

−8<3x+2<8.-8 < 3x + 2 < 8.

Subtract 22: −10<3x<6-10 < 3x < 6. Divide by 33: −103<x<2-\tfrac{10}{3} < x < 2.

Marks: one for the double inequality, one for the solution −103<x<2-\tfrac{10}{3} < x < 2.

Practise this

Sources & how we know this

ExamExplained