How to Calculate Absolute Value
The absolute value of a number is its distance from zero on the number line, always expressed as a non-negative value. The absolute value of a positive number is itself; the absolute value of a negative number is its positive counterpart.
The Formula
|x| = x if x โฅ 0
|x| = โx if x < 0
Examples
- |5| = 5
- |โ5| = 5
- |0| = 0
- |โ3.7| = 3.7
- |โ2| = โ2 (since โ2 > 0)
Absolute Value in Equations
To solve |x| = 7:
- Case 1: x = 7
- Case 2: x = โ7
Both solutions work: |7| = 7 โ and |โ7| = 7 โ
To solve |2x โ 3| = 11:
- Case 1: 2x โ 3 = 11 โ 2x = 14 โ x = 7
- Case 2: 2x โ 3 = โ11 โ 2x = โ8 โ x = โ4
Absolute Value Inequalities
|x| < 5 means โ5 < x < 5 (x is within 5 units of zero) |x| > 5 means x < โ5 or x > 5 (x is more than 5 units from zero)
Applications
- Error calculation: |measured โ actual| gives the absolute error
- Statistics: Mean absolute deviation uses |xแตข โ xฬ|
- Physics: Magnitude of velocity (speed) is |velocity|
- Distance: Distance between two points on a number line is |a โ b|
Use our absolute value calculator for any expression.