The modulus function and its graphs

About this lesson: The modulus function and its graphs

In short

|x| is the distance of x from 0, and |x − a| is the distance of x from a. So |x − 3| = 2 means x is 2 units from 3: x = 1 or x = 5.

What you'll explore

Distance: |x − a| is a distance
|x| is the distance of x from 0, and |x − a| is the distance of x from a. So |x − 3| = 2 means x is 2 units from 3: x = 1 or x = 5.
y = |f(x)|: Reflect the negative part
To draw y = |f(x)|, draw y = f(x) first, then reflect every part below the x-axis upwards. The graph never goes below the axis.
Explore: y = |ax + b|
Change a and b. The V of y = |ax + b| has its corner where ax + b = 0, at x = −b/a. Its two arms have gradients a and −a.
y = f(|x|): Mirror the right half
y = f(|x|) is different: keep the part of y = f(x) for x ≥ 0 and reflect it in the y-axis. The result is always an even function.
Check yourself: Modulus equation
Two cases: + and −.

Also in this lesson

  • The modulus in detail
  • Common mistakes

Key words

Modulus
|x|, the distance of x from 0.
V-shaped graph
The graph of y = |ax + b|.
Reflection in the x-axis
Turning negative y-values positive.
Reflection in the y-axis
Copying the right half to the left.
Triangle inequality
|x + y| ≤ |x| + |y|.
Case
One of the two possibilities, inside ≥ 0 or < 0.

Sources

  • NIE Sri Lanka, G.C.E. (A/L) Combined Mathematics syllabus, Grade 12 and 13, 2017 (competency level I 7.3).

An interactive lesson with a live experiment: move the sliders, press the buttons and answer quick questions. 5 short steps and a 30-question quiz. Part of the Family plan. Written and checked by Shalo Lab. Last updated 21 November 2026.

← Solving polynomial and rational inequalities with a sign table · Inequalities with the modulus →

All lessons in Unit 7 · Inequalities · A/L Combined Maths

A/L Combined Maths past papers 2019–2025: analysis and 10 model papers with answers

මේ පිටුව සිංහලෙන් කියවන්න