Enter any positive, negative, or zero value to instantly get its absolute value.
The absolute value of a number represents its distance from zero on a number line. Since distance is always non-negative, the absolute value is always a non-negative number. Whether the input is positive, negative, or zero, the absolute value simplifies the way numbers are represented and used in calculations.
If the input number is \( x \), its absolute value is defined as: \( |x| = \begin{cases} x, & x \geq 0 \\ -x, & x < 0 \end{cases} \) Explanation:
Solution:
\( |5| = 5 \)
Result: The absolute value of 5 is 5.
Solution:
\( |-8| = 8 \)
Result: The absolute value of -8 is 8.
Solution:
\( |0| = 0 \)
Result: The absolute value of 0 is 0.