2.10: The Absolute Value of a Number
- Page ID
- 176512
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\( \newcommand{\dsum}{\displaystyle\sum\limits} \)
\( \newcommand{\dint}{\displaystyle\int\limits} \)
\( \newcommand{\dlim}{\displaystyle\lim\limits} \)
\( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)
( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\id}{\mathrm{id}}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\kernel}{\mathrm{null}\,}\)
\( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\)
\( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\)
\( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)
\( \newcommand{\vectorA}[1]{\vec{#1}} % arrow\)
\( \newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow\)
\( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vectorC}[1]{\textbf{#1}} \)
\( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)
\( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)
\( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\(\newcommand{\longvect}{\overrightarrow}\)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\(\newcommand{\ket}[1]{\left| #1 \right>}\)
\(\newcommand{\bra}[1]{\left< #1 \right|}\)
\(\newcommand{\braket}[2]{\left< #1 \vphantom{#2} \right| \left. #2 \vphantom{#1} \right>}\)
\(\newcommand{\braopket}[3]{\left< #1 \vphantom{#2}\vphantom{#3} \right| #2 \vphantom{#1}\vphantom{#3} \left| #3 \vphantom{#1}\vphantom{#2} \right>}\)
\(\newcommand{\qmvec}[1]{\mathbf{\vec{#1}}}\)
\(\newcommand{\op}[1]{\hat{\mathbf{#1}}}\)
\(\newcommand{\expect}[1]{\langle #1 \rangle}\)
\(\newcommand{\dfn}[1]{\emph{\textbf{#1}}}\)
Videos
Lecture: Absolute Value - The Concepts
Definitions and Theorems
The absolute value (also known as the modulus) of a real number \(x\), denoted \(|x|\), is the (non-negative) magnitude of \(x\) measured without regard to its sign. Namely, \(|x|=x\) if \(x\) is a positive number, and \( |x|=-x\) if \( x \) is negative (in which case negating \(x\) makes \(-x\) positive), and \(|0|=0\).
The absolute value of \(x\) is thus always either a positive number or zero, but never negative.
For example, the absolute value of \(3\) is \(3\), and the absolute value of \(-3\) is also \(3\).
Absolute Values as Distances from Zero
The absolute value of a real number is that number's distance from zero along the real number line, and more generally, the absolute value of the difference of two real numbers (their absolute difference) is the distance between them.
For example, the distance on the real number line between \(-2\) and \(10\) is \(|-2 - 10| = |-12| = 12\) (this could have also been computed as \(|10 - (-2)| = |10 + 2| = |12| = 12\)).
Properties of the Absolute Value
\[ \begin{array}{rclcl}
& & |a| \geq 0 & \quad & \text{Non-negativity} \\
|a| = 0 & \iff & a = 0 & \quad & \text{Positive-definiteness} \\
& & |ab| = |a| \, |b| & \quad & \text{Multiplicativity} \\
& & |a + b| \leq |a| + |b| & \quad & \text{Triangle Inequality} \\
\end{array} \nonumber \]
Some additional useful properties are given below. These are either immediate consequences of the definition or implied by the four fundamental properties above.
\[ \begin{array}{rclcl}
& & \left| |a| \right| = |a| & & \\
& & |-a| = |a| & & \\
|a - b| = 0 & \iff & a = b & & \\
& & \left| \dfrac{a}{b} \right| = \dfrac{|a|}{|b|} & \quad & \left(\text{if } b \neq 0 \right) \\
|a| \leq b & \iff & -b \leq a \leq b & & \\
\end{array} \nonumber \]
That last property is useful when solving inequalities involving absolute values. For example:\[ |x - 3| \leq 9 \iff -9 \leq x - 3 \leq 9 \iff -6 \leq x \leq 12 \nonumber \]
For every real number \(x\),\[|x| = \sqrt{x^2}.\nonumber\]
The absolute value acts only on the quantity enclosed by the bars, so any expression inside must be evaluated completely before the absolute value is applied. A negative sign written outside the bars is not removed; for example, \(-|-6| = -6\). Likewise, \(|a+b|\) is generally not equal to \(|a|+|b|\).
Examples
Evaluate each of the following.
- \(|-3|\)
- \(|7|\)
- \(|0|\)
- Solutions
-
- Since \(-3 < 0\), the definition gives \(|-3| = -(-3) = 3\).
- Since \(7 \geq 0\), the definition gives \(|7| = 7\).
- Since \(0 \geq 0\), the definition gives \(|0| = 0\).
Evaluate each of the following.
- \(|8 - 15|\)
- \(|15 - 8|\)
- Solutions
-
- First evaluate the expression inside the bars: \(8 - 15 = -7\). Then \(|8 - 15| = |-7| = 7\).
- First evaluate the expression inside the bars: \(15 - 8 = 7\). Then \(|15 - 8| = |7| = 7\). The two results agree, since each equals the distance between \(8\) and \(15\).
Evaluate \(-|-6|\).
- Solution
- Apply the absolute value first: since \(-6 < 0\), we have \(|-6| = 6\). The negative sign outside the bars then remains, giving \(-|-6| = -6\).
Evaluate \(3 - 2|4 - 9|\).
- Solution
- Work from the innermost grouping outward. Inside the bars, \(4 - 9 = -5\), so \(|4 - 9| = |-5| = 5\). Multiplying, \(2 \cdot 5 = 10\). Finally, \(3 - 10 = -7\).
Evaluate \(|-3| \cdot |2 - 7|\).
- Solution
- Evaluate each factor separately. Since \(-3 < 0\), \(|-3| = 3\). Inside the second pair of bars, \(2 - 7 = -5\), so \(|2 - 7| = |-5| = 5\). Therefore \(|-3| \cdot |2 - 7| = 3 \cdot 5 = 15\). (As a check, multiplicativity gives \(|(-3)(-5)| = |15| = 15\).)
Use absolute value to find the distance between \(-4\) and \(3\) on the number line.
- Solution
- The distance between two numbers is the absolute value of their difference. Taking the difference in either order yields the same result:\[|-4 - 3| = |-7| = 7 \qquad \text{and} \qquad |3 - (-4)| = |7| = 7.\nonumber\]The distance is \(7\).
MyOpenMath Practice
Sources
Several parts of this text use modifications from the following source:
- Wikipedia article: "Absolute Value"
This source is released under the Creative Commons Attribution-Share-Alike License 4.0.


