Skip to main content
SingaporeMathsSyllabus dot point

How does the modulus function behave, and how do we solve equations and sketch graphs that involve it?

Define the modulus function, sketch graphs involving the modulus of a function, and solve equations and inequalities involving the modulus

A focused answer to the H2 Mathematics outcome on the modulus function. The definition, sketching the modulus of a linear and a curved function, and solving modulus equations and inequalities by cases and by squaring.

Generated by Claude Opus 4.89 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this dot point is asking
  2. The answer
  3. Examples in context
  4. Try this

What this dot point is asking

SEAB wants you to define the modulus (absolute value) function, sketch graphs involving f(x)|\mathrm{f}(x)|, and solve equations and inequalities containing a modulus, either by considering cases or by squaring both sides when both are non-negative.

The answer

Definition

The modulus of xx is its size ignoring sign:

x={xx0xx<0|x| = \begin{cases} x & x \geq 0 \\ -x & x < 0 \end{cases}

Equivalently x=x2|x| = \sqrt{x^2}, and x0|x| \geq 0 always. Geometrically ab|a - b| is the distance between aa and bb on the number line.

Sketching the modulus of a function

To sketch y=f(x)y = |\mathrm{f}(x)|, first sketch y=f(x)y = \mathrm{f}(x), then reflect any part below the xx-axis up to above it. Parts already at or above the axis are unchanged. The result is never negative and has a sharp corner wherever the original graph crossed the axis.

This is different from y=f(x)y = \mathrm{f}(|x|), where you keep the right half (x0x \geq 0) and reflect it in the yy-axis to produce an even (symmetric) graph.

Solving modulus equations

Two reliable methods:

  • Cases. Split at the point where the inside changes sign, solve each linear or quadratic equation, then check each solution lies in the correct case.
  • Squaring. If both sides are non-negative, A=B|A| = B is equivalent to A2=B2A^2 = B^2. Always check the right side is non-negative first.

Solving modulus inequalities

The key facts:

x<a    a<x<a,x>a    x<a or x>a|x| < a \iff -a < x < a, \qquad |x| > a \iff x < -a \text{ or } x > a

For more complex inequalities, square both sides only when both are non-negative, or split into cases. Always sketch to confirm the solution set.

Examples in context

Example 1. Tolerance in measurement. A component is acceptable if its length LL is within 0.20.2 mm of 5050 mm, written L500.2|L - 50| \leq 0.2. This unfolds to 49.8L50.249.8 \leq L \leq 50.2, the allowed range. The modulus captures "within a distance" cleanly.

Example 2. A graph with two corners. The graph of y=x24y = |x^2 - 4| is the parabola y=x24y = x^2 - 4 with the dipped middle section (between x=2x = -2 and x=2x = 2, where it was negative) reflected upward, producing a W-like shape with corners at x=±2x = \pm 2 on the xx-axis.

Try this

Q1. Sketch y=3xy = |3 - x|, marking the corner and intercepts. [2 marks]

  • Cue. A V with corner at (3,0)(3, 0), yy-intercept 33, slopes of 1-1 then +1+1.

Q2. Solve 2x+1=7|2x + 1| = 7. [2 marks]

  • Cue. 2x+1=72x + 1 = 7 gives x=3x = 3; 2x+1=72x + 1 = -7 gives x=4x = -4.

Q3. Solve the inequality x32|x - 3| \leq 2. [2 marks]

  • Cue. 2x32-2 \leq x - 3 \leq 2, so 1x51 \leq x \leq 5.

Exam-style practice questions

Practice questions written in the style of SEAB exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

Original4 marksSolve the equation 2x3=x+1|2x - 3| = x + 1.
Show worked answer →

Split into cases on the sign of 2x32x - 3.

Case 1 (2x302x - 3 \geq 0, that is x1.5x \geq 1.5): 2x3=x+12x - 3 = x + 1, so x=4x = 4. Check x=41.5x = 4 \geq 1.5, valid.

Case 2 (2x3<02x - 3 < 0, that is x<1.5x < 1.5): (2x3)=x+1-(2x - 3) = x + 1, so 2x+3=x+1-2x + 3 = x + 1, giving 3x=23x = 2, x=23x = \tfrac{2}{3}. Check 23<1.5\tfrac{2}{3} < 1.5, valid.

Both must satisfy x+10x + 1 \geq 0 (the right side is a modulus output and is non-negative); both do. Solutions: x=4x = 4 and x=23x = \tfrac{2}{3}.

Markers reward splitting on the correct boundary, solving each case, and checking each solution against its case condition and the non-negativity of the right side.

Original4 marksSolve the inequality x2<3x|x - 2| < 3x.
Show worked answer →

Since the left side is non-negative, we need 3x>03x > 0, that is x>0x > 0. On x>0x > 0 both sides are non-negative, so squaring is valid.

(x2)2<9x2(x - 2)^2 < 9x^2, so x24x+4<9x2x^2 - 4x + 4 < 9x^2, giving 0<8x2+4x40 < 8x^2 + 4x - 4, that is 2x2+x1>02x^2 + x - 1 > 0, so (2x1)(x+1)>0(2x - 1)(x + 1) > 0.

This holds for x<1x < -1 or x>12x > \tfrac{1}{2}. Combined with x>0x > 0, the solution is x>12x > \tfrac{1}{2}.

Markers reward establishing x>0x > 0, valid squaring, factorising the quadratic, and intersecting with the domain restriction.

Related dot points