Let's take a number, say, We can depict it on a number line as follows:
The distance between the number and is known as the absolute value of We write it as
Similarly, , the absolute value of the number , is the distance between and :
We write
So, the absolute value simply
removes the minus sign, if the number is negative, or
does nothing, if the number is non-negative.
Sometimes, we can be asked to evaluate an expression involving the absolute value function, like when In this case, we evaluate the expression inside the absolute value before simplifying the rest of the expression:
Evaluate for
We substitute and then evaluate the absolute value before we simplify the rest of the expression:
Evaluate $6-|x-9|$ for $x=-2.$
a
|
$-16$ |
b
|
$5$ |
c
|
$16$ |
d
|
$-5$ |
e
|
$-2$ |
If $p = 3,$ then $|3 - 5^{p-2}| + 7 = $
a
|
|
b
|
|
c
|
|
d
|
|
e
|
Evaluate for
We substitute and then evaluate the absolute values before we simplify the rest of the expression:
If $t=0,$ then $|t-2| - |t+3| = $
a
|
|
b
|
|
c
|
|
d
|
|
e
|
If $p = 1,$ then $|p|^4 - 4|p-3|^2 + 6 =$
a
|
|
b
|
|
c
|
|
d
|
|
e
|
If $y=0,$ then $2|1-3^y| - |2^y - 4| = $
a
|
|
b
|
|
c
|
|
d
|
|
e
|