Skip to main content
Mathematics LibreTexts

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}}}\)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

    Videos

    Lecture: Absolute Value - The Concepts

    Definitions and Theorems

    Definition: Absolute Value (of a number)

    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

    Theorem: Fundamental 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.

    Theorem: Additional Properties of the Absolute Value

    \[ \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 \]

    Theorem: Radical Form

    For every real number \(x\),\[|x| = \sqrt{x^2}.\nonumber\]

    Caution: The Bars Do Not Simply Delete Minus Signs

    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 

    Example \(\PageIndex{1}\): Absolute Values of Numbers

    Evaluate each of the following.

    1. \(|-3|\)
    2. \(|7|\)
    3. \(|0|\)
    Solutions
    1. Since \(-3 < 0\), the definition gives \(|-3| = -(-3) = 3\).
    2. Since \(7 \geq 0\), the definition gives \(|7| = 7\).
    3. Since \(0 \geq 0\), the definition gives \(|0| = 0\).
    Example \(\PageIndex{2}\): Simplify Inside First

    Evaluate each of the following.

    1. \(|8 - 15|\)
    2. \(|15 - 8|\)
    Solutions
    1. First evaluate the expression inside the bars: \(8 - 15 = -7\). Then \(|8 - 15| = |-7| = 7\).
    2. 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\).
    Example \(\PageIndex{3}\): A Sign Outside the Bars

    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\).
    Example \(\PageIndex{4}\): Order of Operations

    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\).
    Example \(\PageIndex{5}\): A Product of Absolute Values

    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\).)
    Example \(\PageIndex{6}\): Distance Between Two Numbers

    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:

    This source is released under the Creative Commons Attribution-Share-Alike License 4.0.


    This page titled 2.10: The Absolute Value of a Number was last modified on Mon, 14 Sep 2026 23:22:48 GMT and is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by Roy Simpson, Cosumnes River College.