For a real number $x$, the absolute value $|x|$ is its distance from $0$ on the number line.
Absolute value is also called the modulus or numerical value.
Because it represents a distance, it is never negative.
Note
A distance can be $0$ (when you are at the point), but it cannot be negative.
This is why $|x|\ge 0$ for every real number $x$.
Two Equivalent Definitions Give You Two Ways to Work
One standard definition is piecewise (it depends on whether $x$ is negative or not): $$|x|=\begin{cases} -x, & x<0 \\ \phantom{-}x, & x\ge 0 \end{cases}$$
A second equivalent definition is: $$|x|=\sqrt{x^2}$$
These two definitions agree because squaring makes any real number non-negative, and then the square root returns the non-negative value.
Common Mistake
Do not confuse $|x|$ with $-x$.
They are only the same when $x\le 0$.
For example, if $x=5$, then $|x|=5$ but $-x=-5$.
What Numbers Can Be Absolute Values?
Since $|x|\ge 0$, any non-negative real number could be an absolute value.
$\sqrt{25}=5$ can be an absolute value.
$\sqrt{17}$ can be an absolute value (it is positive).
$-\sqrt{2}$ cannot be an absolute value (it is negative).
This leads to an important property: $$|x|\ge 0\text{ for all real }x,\quad \text{and }|x|=0\text{ only when }x=0.$$
Active recall
Can $0$ be an absolute value?
Can $-0.1$ be an absolute value? Explain using the "distance" idea.
Absolute Value Works Predictably with Multiplication and Division
Absolute value interacts nicely with multiplication and division.
Multiplication Property
For any real numbers $a$ and $b$, $$|ab|=|a|\,|b|$$
This is true whether $a$ and $b$ are positive, negative, or zero.
Example
Let $a=-6$ and $b=4$.
$ab=-24$, so $|ab|=|-24|=24$
$|a||b|=|-6|\cdot|4|=6\cdot4=24$
They match, so $|ab|=|a||b|$ in this case.
Division Property
For any real numbers $a$ and $b$ with $b\ne 0$, $$\left|\frac{a}{b}\right|=\frac{|a|}{|b|}$$
Tip
If you are simplifying expressions, you can often "push" absolute values inside products and quotients using these properties.
Powers: Even Exponents Remove Signs, Odd Exponents Keep Them
Because absolute value removes sign, it has a clear relationship with powers.
Squaring (and Any Even Power)
For any real $a$, $$|a^2|=|a|^2=a^2$$
The key idea is that $a^2\ge 0$ already, so the absolute value does nothing.
If $n$ is even, then $a^n\ge 0$ and $|a^n|=|a|^n=a^n.$
If $n$ is odd, then $|a^n|=|a|^n,$ but $a^n$ may be negative (it has the same sign as $a$).
Analogy
Think of an even power like "folding" the number line so that both $+a$ and $-a$ land on the same non-negative value.
An odd power does not completely fold the line, so negatives can stay negative.
Common Mistake
Be careful with expressions like $|-4^3|$.
The exponent applies before the negation.
$-4^3=-(4^3)=-64$, so $|-4^3|=|-64|=64$
$(-4)^3=-64$, so $|(-4)^3|=|-64|=64$
While the results match here, the intermediate values depend on notation.
For even powers, $-4^2=-16$ while $(-4)^2=16$.
Always follow the order of operations.
Absolute Value Measures Error and "How Far Apart" Two Values Are
Absolute value is especially useful in approximation and measurement, because it measures size of an error without caring whether you were above or below the true value.
Definition
Absolute error
If a quantity has true value $T$ and an estimate (or measured value) $A$, the absolute error is $|A-T|$.
The expression $|A-T|$ is the distance between $A$ and $T$ on the number line.
Example
Highway Safety as a Difference Problem
A common way to use absolute value is to limit how different two values can be.
Suppose cars should differ in speed by no more than $20\text{ km/h}$. If one car is at $97$ km/h and another at $113$ km/h, compare their speeds: $$|113-97|=|16|=16\le 20$$
So they are driving safely relative to each other.
If the average speed is $110$ km/h and Louis drives exactly at $110$, then others are safe when: $$|v-110|\le 20$$
Solving this gives: $$-20\le v-110\le 20$$
which leads to: $$90\le v\le 130$$
So the minimum safe speed is $90$ km/h and the maximum is $130$ km/h.
Exam technique
When you see wording like "no more than", "within", "at most", or "difference between", consider writing an inequalitywith absolute value, such as $|x-a|\le b$.
Square Roots and Absolute Value: What Is Always Allowed?
Square roots and absolute values are related, but they have different domain rules.