Absolute Value
It is frequently desirable to measure how large a quantity is, regardless of its sign. In such cases, we use merely the absolute value of the quantity.
The absolute value (or modulus) of a real number
- Geometrically the absolute value of a number
is its distance from 0 regardless of the direction.
Find
Solution
Because- In computer languages and mathematical packages, the absolute value of
is often denoted byabs(x). - We have by definition:
because if , then and we have the sign of equality on the right and the sign of inequality on the left (a positive number is larger than a negative one). If , then , and we have the sign of equality on the left and the sign of inequality on the right.
[Note that
From the above definition, it follows that for every real numbers
if and only if (because ) . . (provided )- If
Geometric Interpretation
Let
(known as triangle inequality)
- If
and are either both positive, both negative, or at least one of them is zero, then . Otherwise, when and have opposite signs, .
Proof of the triangle inequality
We knowShow that
Solution
This result follows from the triangle inequality and the fact thatProve that for all real number
Solution
This follows directly from the triangle inequality and the fact thatProve that for all real numbers
Solution
We start by adding and subtractingIt follows from (4) that
Distance Between Points on the Real Line
Look at the following figure. The distance between
If
Since
It follows from Equation (ii) that for any real number
is equivalent to
or
This means that the distance of
Find the set
Solution
As discussed above
Neighborhoods
Let
Such a set is called a neighborhood (or more precisely the

Now let's consider the set of all points such that
or
Here we have two inequalities
Recall that the absolute value is always nonnegative (that is
means
or equivalently
[Recall that
That is
