The modulus \(\left|x\right|\) is the distance of \(x\) from \(0\) on the number line, so it is never negative. The points \(-5\) and \(5\) are each \(5\) units from \(0\), so \(\left|-5\right|=5=\left|5\right|\).
\(\left|x\right|=\begin{cases} x & \mathrm{for}\ x\ge 0, \\ -x & \mathrm{for}\ x<0. \end{cases}\)
When \(x<0\), its opposite \(-x\) is positive.
To evaluate a modulus, find the value inside the bars, then use its sign to choose the case.
The distance between \(a\) and \(b\) is \(\left|a-b\right|\). Shifting both points by \(-b\) along the number line keeps them the same distance apart and puts them at \(a-b\) and \(0\), so their distance is \(\left|a-b\right|\) by the definition above. For example, the distance between \(-7\) and \(9\) is \(\left|-7-9\right|=\left|-16\right|=16\) units.
Useful rules
Using \(\left|t\right|=\sqrt{t^2}\), we get \(\left|ab\right|=\sqrt{\left(ab\right)^2}=\sqrt{a^2}\sqrt{b^2}=\left|a\right|\left|b\right|\).
For \(b\ne0\), \(\left|\dfrac{a}{b}\right|=\sqrt{\dfrac{a^2}{b^2}}=\dfrac{\sqrt{a^2}}{\sqrt{b^2}}=\dfrac{\left|a\right|}{\left|b\right|}\).
\(\left|-a\right|=\left|a\right|\) because \(-a\) and \(a\) are the same distance from \(0\).
\(\left|a\right|^2=a^2\) because \(\left|a\right|\) is either \(a\) or \(-a\), and both have the same square.
The shortcut \(\left|a+b\right|=\left|a\right|+\left|b\right|\) fails in general. For example, \(\left|-7+9\right|=2\), whereas \(\left|-7\right|+\left|9\right|=16\).
The shortcut \(\left|a-b\right|=\left|a\right|-\left|b\right|\) also fails. For example, \(\left|-7-9\right|=16\), whereas \(\left|-7\right|-\left|9\right|=7-9=-2\).
\(-{\left|-5\right|}=5\) is wrong. The minus sign outside the bars stays outside, so \(-{\left|-5\right|}=-5\).
Create a free account to practise similar questions.
Need help? Join our IP Math tuition programme.
Learn more