Before going to learn about the formula for absolute value, let us recall what is absolute value. The absolute value of any given number is its distance from 0. The distance is always a non-negative quantity. Thus, the absolute value is always non-negative. The absolute value of any number, x is represented by |x|. Let us see the formula for absolute value using the above example. Let's recap the points that help in representing the absolute values:
The absolute value of x is represented by either |x| or abs(x).
The absolute value of any number always results in a non-negative value.
We pronounce |x| as 'mod x' or 'modulus of x.'
Break down tough concepts through simple visuals.
Math will no longer be a tough subject, especially when you understand the concepts through visualizations with Cuemath.
The formula for absolute value gives us the absolute value of any number which gives a result that is always positive. The formula for the absolute value can be well understood by the example. Let us see an example.
From the above example, |4| = 4. So we can say that |x| = x, for every x ≥ 0.
Also, we have |-4| = 4. It means, |-4| = -(-4) = 4. So we can say that: