Skip to main content

Modulus (absolute value) functions and graphs (WACE Year 12 Mathematics Specialist Unit 3)

Syllabus dot point

“Sketch graphs of the modulus functions y equals the absolute value of f of x and y equals f of the absolute value of x, and solve modulus equations”

7 min read

Quick answer

y=∣f(x)∣y = |f(x)| reflects any part of y=f(x)y = f(x) below the xx-axis up above it, leaving the rest unchanged. y=f(∣x∣)y = f(|x|) takes the graph for x≥0x \ge 0 and mirrors it into x<0x < 0, making the result symmetric in the yy-axis. Solve modulus equations by splitting into cases on the sign inside the bars.

Jump to a section
  1. What this dot point is asking
  2. The transformation y equals the absolute value of f of x
  3. The transformation y equals f of the absolute value of x
  4. The piecewise definition behind the bars
  5. Solving modulus equations graphically and algebraically
  6. Inequalities and the positive-right-side condition
  7. Squaring as an alternative for equations
  8. Solving modulus equations and inequalities
  9. Exam-style questions

What this dot point is asking

SCSA wants you to apply the two distinct modulus transformations to a known graph and to solve equations and inequalities involving absolute values.

The transformation y equals the absolute value of f of x

The absolute value forces the output to be non-negative. So y=∣f(x)∣y = |f(x)| leaves the graph of ff unchanged wherever f≥0f \ge 0, and reflects the parts where f<0f < 0 up across the xx-axis. The xx-intercepts of ff become sharp corners (the curve touches the axis and bounces back up).

The transformation y equals f of the absolute value of x

Here the input is made non-negative before applying ff. For x≥0x \ge 0, ∣x∣=x|x| = x so the graph is identical to ff. For x<0x < 0, f(∣x∣)=f(−x)f(|x|) = f(-x), which is the mirror image of the right-hand part across the yy-axis. The result is always symmetric about the yy-axis, and the behaviour for x<0x < 0 in the original ff is discarded.

The two modulus transformations differ

y=∣f(x)∣y = |f(x)| acts on the output (reflect below-axis parts upward). y=f(∣x∣)y = f(|x|) acts on the input (mirror the right half into the left). Never confuse the two.

The piecewise definition behind the bars

Every modulus expression can be written piecewise, and this is what makes the casework rigorous. By definition ∣u∣=u|u| = u when u≥0u \ge 0 and ∣u∣=−u|u| = -u when u<0u < 0. So y=∣2x−6∣y = |2x - 6| is 2x−62x - 6 for x≥3x \ge 3 and 6−2x6 - 2x for x<3x < 3, the change of rule happening exactly where the inside expression is zero. Writing the piecewise form first, then sketching each linear or curved piece on its own interval, prevents the most common sketching errors and makes the V-shaped vertices land in the right place.

Solving modulus equations graphically and algebraically

There are two reliable strategies. Algebraically, split on the sign of each expression inside bars and solve a separate equation on each interval, discarding any solution that violates its interval condition. Graphically, sketch each side of the equation and read off the xx-coordinates of the intersections; this is especially useful when one side is itself a modulus. The two approaches agree, and using both is a strong way to check an answer in the exam.

Inequalities and the positive-right-side condition

A modulus inequality such as ∣g(x)∣<h(x)|g(x)| < h(x) is only solvable where h(x)>0h(x) > 0, because a modulus is never negative. After imposing that, rewrite ∣g(x)∣<h(x)|g(x)| < h(x) as the double inequality −h(x)<g(x)<h(x)-h(x) < g(x) < h(x) and solve both parts, intersecting all the conditions. For ∣g(x)∣>h(x)|g(x)| > h(x) the solution is g(x)>h(x)g(x) > h(x) or g(x)<−h(x)g(x) < -h(x), a union rather than an intersection. Keeping the logical connective (and versus or) correct is where most marks are lost.

Squaring as an alternative for equations

For an equation of the form ∣g(x)∣=∣h(x)∣|g(x)| = |h(x)|, where both sides are moduli, squaring is often cleaner than casework, because ∣u∣=∣v∣|u| = |v| is equivalent to u2=v2u^2 = v^2. Squaring gives g(x)2=h(x)2g(x)^2 = h(x)^2, a polynomial equation with no modulus signs, and g2−h2=0g^2 - h^2 = 0 factors as (g−h)(g+h)=0(g - h)(g + h) = 0, recovering the two cases automatically. Squaring is only safe when both sides are known to be non-negative or when both are inside modulus bars; squaring an equation such as ∣g(x)∣=x−1|g(x)| = x - 1 can introduce extraneous roots where x−1<0x - 1 < 0, so every candidate must still be checked.

Solving modulus equations and inequalities

Split on the sign of the expression inside the bars. For ∣g(x)∣=c|g(x)| = c with c≥0c \ge 0, solve g(x)=cg(x) = c and g(x)=−cg(x) = -c. For inequalities, ∣g(x)∣<c|g(x)| < c means −c<g(x)<c-c < g(x) < c, while ∣g(x)∣>c|g(x)| > c means g(x)>cg(x) > c or g(x)<−cg(x) < -c. Always check candidate solutions against the original equation, since squaring or casing can introduce extraneous roots.

Worked example

Sketch y=∣x2−4∣y = |x^2 - 4| and solve ∣x2−4∣=3|x^2 - 4| = 3

Step 1: Sketch the base parabola and apply the modulus transformation.

Start with the parabola f(x)=x2−4f(x) = x^2 - 4, which has zeros at x=±2x = \pm 2 and a minimum of −4-4 at x=0x = 0. For y=∣f(x)∣y = |f(x)|, any portion of the graph below the xx-axis is reflected upward, while portions above the axis stay unchanged.

For ∣x2−4∣|x^2 - 4|, the part between x=−2x = -2 and x=2x = 2 (where f<0f < 0) reflects upward, so the dip becomes a hump peaking at y=4y = 4 at x=0x = 0, with corners at (±2,0)(\pm 2, 0). Outside [−2,2][-2, 2] the graph is unchanged.

Step 2: Solve Case 1, where x2−4≥0x^2 - 4 \geq 0.

The absolute value equation ∣x2−4∣=3|x^2 - 4| = 3 splits into two cases depending on the sign of the expression inside the bars. When the inside is non-negative, the bars have no effect and the equation becomes:

x2−4=3x^2 - 4 = 3 gives x2=7x^2 = 7, so x=±7x = \pm\sqrt{7}.

Step 3: Solve Case 2, where x2−4<0x^2 - 4 < 0.

When the expression inside the bars is negative, the absolute value negates it. The equation then becomes:

x2−4=−3x^2 - 4 = -3 gives x2=1x^2 = 1, so x=±1x = \pm 1.

All four values satisfy the original equation, giving x=±1,±7x = \pm 1, \pm\sqrt{7}.

Common traps
Swapping the two transformations
Reflecting upward is ∣f(x)∣|f(x)|; mirroring the right half is f(∣x∣)f(|x|). Read which one is asked.
Dropping a case
∣g∣=c|g| = c has two cases; missing g=−cg = -c loses solutions.
Keeping extraneous roots
After casing or squaring, substitute back; not every candidate satisfies the original.

Exam-style questions

Questions in the style of SCSA 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.

WACE 2022-style6 marks
Calculator-free. (a) Sketch y=∣2x−6∣y = |2x - 6| and y=x+1y = x + 1 on the same axes. (b) Hence solve ∣2x−6∣=x+1|2x - 6| = x + 1.
Show worked answer →

A graph-then-solve modulus question.

(a) y=∣2x−6∣y = |2x - 6| is a V-shape with vertex at (3,0)(3, 0), slope −2-2 for x<3x < 3 and slope 22 for x>3x > 3. The line y=x+1y = x + 1 has yy-intercept 11 and slope 11.

(b) Split into cases. For x≥3x \ge 3: 2x−6=x+12x - 6 = x + 1 gives x=7x = 7, which satisfies x≥3x \ge 3. For x<3x < 3: −(2x−6)=x+1-(2x - 6) = x + 1, so 6−2x=x+16 - 2x = x + 1, giving 3x=53x = 5, x=53x = \dfrac{5}{3}, which satisfies x<3x < 3. Both solutions are valid: x=7x = 7 and x=53x = \dfrac{5}{3}.

Markers reward the correct V-shape with vertex (3,0)(3, 0), the two cases, and checking each solution against its case condition.

WACE 2024-style4 marks
Calculator-assumed. Solve the inequality ∣x−2∣<3x−4|x - 2| < 3x - 4.
Show worked answer →

A modulus inequality.

∣x−2∣<3x−4|x - 2| < 3x - 4 requires the right side positive, so 3x−4>03x - 4 > 0, that is x>43x > \dfrac{4}{3}. Then square or split: ∣x−2∣<3x−4|x - 2| < 3x - 4 means −(3x−4)<x−2<3x−4-(3x - 4) < x - 2 < 3x - 4.

Left part: −(3x−4)<x−2-(3x - 4) < x - 2, so −3x+4<x−2-3x + 4 < x - 2, giving 6<4x6 < 4x, x>32x > \dfrac{3}{2}. Right part: x−2<3x−4x - 2 < 3x - 4, so 2<2x2 < 2x, x>1x > 1.

Combining with x>43x > \dfrac{4}{3}, the binding condition is x>32x > \dfrac{3}{2}. Markers reward requiring the right side positive, both split inequalities, and the final intersection x>32x > \dfrac{3}{2}.

Practise this

Sources & how we know this

ExamExplained