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 , is a nonnegative real number denoted by , and defined as follows
Geometrically the absolute value of a number is its distance from regardless of the direction.
In computer languages and mathematical packages, the absolute value of is often denoted by abs(x).
Example 1
Find
Solution
Because are nonnegative [, so ], we have but and are negative, so we have
Properties of the Absolute Value
By definition, we have
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 means or]
From the definition of the absolute value, it follows that for every real numbers and we have:
if and only if
(the absolute value of the absolute value of is the absolute value of because )
.
.
(provided )
If
is equivalent to
(i)
is equivalent to
or
(ii)
is equivalent to
or
(iii)
Geometrical interpretation
Let and The above relationship implies that is nearer to 0 than , and you can see from the following figure that this is possible if and only if lies between and : You can show the significance of the other two statements geometrically.
8. (known as triangle inequality)
more about triangular inequality
In particular, if and have the same signs (both are positive or negative) or at least one of them is zero, then ; otherwise . The proof of the triangular inequality is as follows: we know
and
Adding two inequalities we obtain
Let and . Because , it follows from (1) that or
This is what we were trying to prove.
If follows from the triangular property and (4) that
Therefore, always we have
Example 2
Prove that for every real number and
Solution
Using the triangular inequality and the fact that ,
Example 3
Prove that for every real number and
Solution
We add and subtract and then use the triangular inequality
Now if we subtract from both sides, we get
It follows from (4) that
9.
Distance Between Numbers
By distance between two numbers, we often mean the value of the larger less the smaller. Thus the distance between 4 and 10 is 6, and the distance between 10 and 4 is also 6 .
Let and be two real numbers. Then, the distance between the points and on the number line, denoted by , is
Because , the distance from to is the same as the distance from to
It follows from Equation (ii) that for any real number and any positive number ,
is equivalent to
or if we add to each side:
This means that the distance of from is less than if and only if is between and .
Example 4
Find the set , if it consists of all points whose distance from the point 2 is less than 0.6.
Solution
As discussed above
This set is graphed in the following figure.
Neighborhoods
Let be the set of all points whose distance from a fixed point is less than a number . Then
[For the second equation, we used the fact that is equivalent to and for the third equation, we added to each side]
Such a set is called a neighborhood (or more precisely the -neighborhood) of and is called the radius of the neighborhood. The -neighborhood of is shown in the following figure.
The δ-neighborhood of a is the set of all points whose distance from a is less than δ >0 . The radius of this neighborhood is δ.
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 for all ) , so
means
or equivalently
[Recall that if and only if ]. Therefore,
That is is the -neighborhood of with the midpoint removed. The set is called the deleted –neighborhood or punctured neighborhood of . The deleted -neighborhood of is shown in the following figure.
The deleted δ-neighborhood of a is the δ-neighborhood of minus the midpoint .