Pure · Algebra & functions
1 / 12
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.
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
The modulus is the size of a number — its distance from , always : So and . (The "" isn't negative — when is negative, is positive.) Its graph is a V: is with the part below the axis flipped up.Sketching . Draw , then reflect every part that is below the -axis up above it (the modulus can't be negative). The parts already above stay put. So is the line with its negative part flipped, giving a V with its vertex on the -axis at .Solving equations. (with ) means or — both, because two values are the same distance from . So gives or . When the modulus is on both sides, , square both sides (safe, as both are ) — equivalently solve and .
Solving inequalities. means is within of zero: . And means is further than : or .
The trap — check your answers. When the other side contains (e.g. ), splitting into cases can throw up a value that makes the right-hand side negative — impossible, since a modulus is never negative. Always substitute candidate solutions back and discard any that don't actually work.
Graphs of and counting roots. This is a V (opening up when ) with its vertex at , so its range is . Asking how many solutions has is just sliding a horizontal line up the picture: it misses the V (: no roots), touches the vertex (: one root), or cuts both arms (: two roots). A restricted domain (like ) chops one arm short, so above some value of that arm runs out and you drop back to one root — which is what makes "find the values of for two distinct roots" a real question rather than just "".