Leave lesson

Pure · Algebra & functions

Chapter 1 · 4

The idea

The modulus function

What |x| means, how to sketch y = |f(x)|, and how to solve modulus equations and inequalities — including why some "solutions" must be thrown out.

A full journey — read it, play with it, work it, then earn real exam marks. Everything stays on the timeline below.

In this lesson — start anywhere

Pure · Algebra & functions

The modulus function

What |x| means, how to sketch y = |f(x)|, and how to solve modulus equations and inequalities — including why some "solutions" must be thrown out.

Why it works

Distance from zero

The modulus ∣x∣|x| is the size of a number — its distance from 00, always ≥0\ge 0: ∣x∣={xx≥0−xx<0|x| = \begin{cases} x & x \ge 0 \\ -x & x < 0 \end{cases} So ∣5∣=5|5| = 5 and ∣−5∣=5|-5| = 5. (The "−x-x" isn't negative — when xx is negative, −x-x is positive.) Its graph is a V: y=∣x∣y = |x| is y=xy = x with the part below the axis flipped up.

Sketching y = |f(x)|

Draw y=f(x)y = f(x), then reflect every part that is below the xx-axis up above it (the modulus can't be negative). The parts already above stay put. So y=∣2x−4∣y = |2x - 4| is the line y=2x−4y = 2x - 4 with its negative part flipped, giving a V with its vertex on the xx-axis at x=2x = 2.

Keep reading — free

The rest of the explanation, plus 4 worked examples you step through move by move.

Start free

Takes a minute — no card.