Absolute Value

The absolute value of a number represents its distance from zero on the number line, without considering its sign.

Definition

The absolute value of a number represents its distance from zero on the number line, without considering its sign. It tells us how far a number is from zero, whether it’s positive or negative, and is always a non-negative quantity. The absolute value is written using vertical bars like this, $ x $, and is defined as follows:
\[| x | = \{ + x & \text{if} x \geq 0 \\ - x & \text{if} x < 0 \forall x \in \mathbb{R}\]
For example, $ 5 = 5$, and $ - 6 = - ( - 6 ) = 6$. This means the expression $f ( x ) := x $, with $x \in \mathbb{R}$, defines a function $f : \mathbb{R} \rightarrow \mathbb{R}$, whose image is $f ( \mathbb{R} ) = [ 0 , + \infty )$.

The absolute value function assigns to each real number its distance from zero on the real line. This means that negative numbers are mapped to their positive counterparts, while positive numbers remain unchanged, since distance is always non-negative.

Absolute value.

More generally, the absolute value expression $ x - a $ can be interpreted as the distance between the point $x$ and the point $a$ on the number line. We have:
\[| x - a | = | a - x |\]
For instance, the distance between $x = 3$ and $a = 7$ is $ 3 - 7 = - 4 = 4$, which equals $ 7 - 3 = 4 = 4$, confirming that distance is symmetric.

The absolute value of a number $ x $ can also be represented using the sign function $sgn ( x )$, as:
\[| x | = x \cdot sgn ( x )\]

Indeed, the sign function is defined as:

\[sgn ( x ) = \{ - 1 & \text{if} x < 0 \\ 0 & \text{if} x = 0 \\ 1 & \text{if} x > 0\]

Multiplying $x$ by $sgn ( x )$ ensures that the result is always non-negative, as required by the definition of the absolute value. Specifically:

  • If $x > 0$, then $sgn ( x ) = 1$ and $x \cdot sgn ( x ) = x$.
  • If $x < 0$, then $sgn ( x ) = - 1$ and $x \cdot sgn ( x ) = - x$.
  • If $x = 0$, then $sgn ( x ) = 0$ and $x \cdot sgn ( x ) = 0$.

Properties

The absolute value of a number equals the absolute value of its opposite. This follows directly from the definition: whether one starts from a positive or a negative value, the distance from the origin is the same. For instance, $ 3 = - 3 = 3$.
$$ x = - x \forall x \in \mathbb{R}$$

The absolute value of a product equals the product of the absolute values. This property extends naturally to any finite number of factors: $ x_{1} \cdot x_{2} \hdots x_{n} = x_{1} \cdot x_{2} \hdots x_{n} $. As a special case, taking $x = y$ gives $ x^{2} = x ^{2}$, which is consistent with the fact that squares are always non-negative.
$$ x \cdot y = x \cdot y \forall x , y \in \mathbb{R}$$            

Two real numbers have equal absolute values if and only if they are either equal or opposite. Geometrically, $ x = y $ means that $x$ and $y$ lie at the same distance from the origin on the real line, which is precisely the case when $x = y$ or $x = - y$.
$$ x = y \Longleftrightarrow x = \pm y \forall x , y \in \mathbb{R}$$

The comparison of absolute values is equivalent to the comparison of squares. This holds because both $ x $ and $ y $ are non-negative, and for non-negative numbers the squaring function is strictly increasing: $a \leq b \Longleftrightarrow a^{2} \leq b^{2}$ whenever $a , b \geq 0$. The equivalence $ x ^{2} = x^{2}$ then completes the argument.
$$ x \leq y \Longleftrightarrow x^{2} \leq y^{2} \forall x , y \in \mathbb{R}$$    

The absolute value of a quotient equals the quotient of the absolute values, provided the denominator is non-zero. This is a direct consequence of the multiplicative property: writing $x / y = x \cdot y^{- 1}$ and applying $ x \cdot y^{- 1} = x \cdot y^{- 1} = x / y $.
$$ \frac{x}{y} = \frac{ x }{ y } \forall x , y \in \mathbb{R} , y \neq 0$$        

The principal square root of $x^{2}$ is the absolute value of $x$, not $x$ itself. Since the square root symbol denotes the non-negative root, one has $\sqrt{x^{2}} = x$ only when $x \geq 0$, and $\sqrt{x^{2}} = - x$ when $x < 0$. Writing $\sqrt{x^{2}} = x$ without qualification is a common error, valid solely for non-negative values. \(\sqrt{x^{2}} = | x | \forall x \in \mathbb{R}\)

The properties listed here are the foundation for solving equations with absolute value and inequalities with absolute value.

Triangle inequality

The triangle inequality represents a fundamental property of the absolute value on the real line. For any numbers $a , b \in \mathbb{R}$, the following inequality holds:

\[| a + b | \leq | a | + | b |\]

The inequality states that the distance of the sum $a + b$ from zero cannot exceed the sum of the individual distances of $a$ and $b$. Equality holds when both numbers have the same sign or when at least one of them is zero. When their signs differ and both are nonzero, partial cancellation occurs, resulting in a strict inequality.


To prove the inequality, we consider all possible sign configurations of $a$ and $b$. We have:

\[( 1 ) & a \geq 0 b \geq 0 \\ ( 2 ) & a \leq 0 b \leq 0 \\ ( 3 ) & a \geq 0 b \leq 0 \\ ( 4 ) & a \leq 0 b \geq 0\]

In case $( 1 )$ we have $a + b \geq 0$: \(| a + b | = a + b = | a | + | b |\)

In case $( 2 )$ we have $a + b \leq 0$: \(| a + b | = - ( a + b ) = ( - a ) + ( - b ) = | a | + | b |\)

In case $( 3 )$, since $a \geq 0$ and $b \leq 0$, we have $ a = a$ and $ b = - b$, and therefore $ a + b = a - b$. We must show that $ a + b \leq a - b$
  • When $a + b \geq 0$, we have $ a + b = a + b \leq a - b$, since $b \leq 0$.
  • When $a + b \leq 0$, we obtain $ a + b = - ( a + b ) = - a - b \leq a - b$, which is equivalent to $- a \leq a$, a condition that holds because $a \geq 0$.

In case $( 4 )$, where $a \leq 0$ and $b \geq 0$, the argument is symmetric to case $( 3 )$ and leads to the same conclusion.


A consequence of the triangle inequality is the reverse triangle inequality. For any $a , b \in \mathbb{R}$:

\[| | a | - | b | | \leq | a - b |\]

This tells us that the difference between the distances of $a$ and $b$ from zero cannot exceed the distance between $a$ and $b$ themselves. To see why, apply the triangle inequality to the pair $a = ( a - b ) + b$:

\[| a | = | ( a - b ) + b | \leq | a - b | + | b |\]
which gives $ a - b \leq a - b $. By symmetry, swapping $a$ and $b$ yields $ b - a \leq a - b $. Since both $ a - b $ and its negative are bounded by $ a - b $, we conclude:
\[| | a | - | b | | \leq | a - b |\]

The graph of $y = | x |$

The graph of the absolute value function $ x $ is symmetric with respect to the y-axis. This symmetry implies that the function is even, meaning it satisfies the identity:
\[| - x | = | x | \text{for all} x \in \mathbb{R}\]

The graph of the absolute value function is symmetric with respect to the y-axis. This symmetry implies that the function is even.

Using absolute value in equations and inequalities

It is important to understand how absolute value is used in equations and inequalities. Solving these problems usually involves considering different cases depending on whether the expression inside the absolute value is positive or negative. This step is essential to transform absolute value relations into standard algebraic forms that can be solved more easily. For a deeper understanding of these applications, consult the following entries:

Interpreting absolute value inequalities

An inequality that involves an absolute value expresses a condition about distance on the number line. The notation $ A $ represents the distance of the quantity $A$ from zero, which is always non-negative. Consider first the inequality:
\[| A | < k\]

It tells us that the distance between $A$ and zero is smaller than $k$. As mentioned earlier, geometrically, all numbers that satisfy this inequality are located within an open interval centered at the origin, extending $k$ units to the left and $k$ units to the right. Algebraically, this condition can be rewritten as:

\[- k < A < k\]

If instead the inequality is:

\[| A | > k\]

the meaning changes completely. In this case, the distance of $A$ from zero exceeds $k$, so the admissible values of $A$ are those lying outside the interval $( - k , k )$. In algebraic terms, the inequality becomes:

\[A < - k \text{or} A > k\]

Transformations of this kind are particularly useful when solving inequalities that contain absolute values. By rewriting the condition without the absolute value symbol, the problem is converted into one or more standard inequalities that can be solved using familiar algebraic techniques, such as interval analysis or sign charts.

Absolute value as a norm

The absolute value is not merely a convenient notation for removing signs. It is, more precisely, a norm on $\mathbb{R}$, a function that assigns to each real number a non-negative length, in the same way that a norm on a vector space measures the size of a vector. A norm on a real vector space $V$ is a function $ \cdot : V \rightarrow [ 0 , + \infty )$ satisfying three conditions for all $x , y \in V$ and all $\lambda \in \mathbb{R}$:
$$ x = 0 \Longleftrightarrow x = 0$$        
$$ \lambda x = \lambda \cdot x $$
$$ x + y \leq x + y $$
The absolute value $ \cdot $ satisfies all three. The first condition holds by definition, since $ x = 0$ if and only if $x = 0$. The second follows directly from the multiplicative property $ x \cdot y = x \cdot y $, applied with $y = \lambda$. The third is precisely the triangle inequality proved above.

This observation places the absolute value within a broader mathematical structure and clarifies why its properties, in particular the triangle inequality, are not isolated facts but rather specific instances of general principles that reappear throughout analysis and linear algebra.

normeven functioninterval interpretationinequalitiesreverse triangletriangle inequalityidentitiessquare relationcomparisonpower relationquotientproductsymmetrydistance between pointssign functionabsolute value functionnotationpiecewise formdistance interpretationdefinitionstructuresoperationsfoundations