, as you scroll — highermaths.org highermaths.org read instead ›

Modulus

A modulus folds a graph. Where it goes decides which way.

Put the modulus round the whole function, or round the xx inside it, and you get two different pictures. Then the fold explains why modulus equations throw up answers that don't work.

scroll ↓

The modulus outside

In ∣f(x)∣|f(x)| the modulus acts on the output. Every negative yy-value becomes positive, so each part of the curve below the xx-axis folds up over it. Nothing is left below the axis.

The modulus inside

In f(∣x∣)f(|x|) the modulus acts on the input: xx and −x-x give the same output. So the right half is kept and copied onto the left, and the graph is symmetrical about the yy-axis.

An equation

Solve ∣x−2∣=2x+1|x - 2| = 2x + 1. The modulus means x−2x - 2 is either 2x+12x + 1 or −(2x+1)-(2x + 1), so there are two cases to solve. The graph says to expect one answer: the line meets the V once, at x=13x = \tfrac{1}{3}.

One answer rejected

The other case gives x=−3x = -3, but there 2x+1=−52x + 1 = -5, and a modulus is never negative. On the graph, the line meets the part of y=x−2y = x - 2 that was folded away, below the axis. Reject it.

Inequalities for free

The same picture answers inequalities. The V is below the line everywhere to the right of x=13x = \tfrac{1}{3}, so

∣x−2∣<2x+1  ⟺  x>13|x - 2| < 2x + 1 \iff x > \tfrac{1}{3}

Chapter 4

Fold the output, mirror the input, check every answer.

Modulus inequalities, combining transformations, and twelve graded exam questions with full worked solutions are waiting.