Distance rather than sign
The value is nonnegative on either side of a.[1]
When x≥a the difference is already nonnegative. When x<a, multiply the difference by −1 to obtain a positive distance. The graph of |x−a| is therefore V-shaped with its vertex at (a,0). It has no ordinary derivative at that corner.[1]
For |x−a|=r with r>0, solutions lie equally far left and right of a. If r=0 only x=a remains; if r<0 there is no real solution. The plus-minus rule therefore cannot be applied to every right-hand side blindly.[1]
Tolerance intervals and transformed graphs
The absolute-value inequality describes a two-sided tolerance interval.[1]
The graph y=k|x−a|+b has vertex (a,b). It opens upward for k>0 and downward for k<0. Its distance from the horizontal line y=b grows by |k| per horizontal unit. If k=0 it is constant rather than V-shaped.[1]
Linear inequalities require care when dividing by a negative value. Absolute-value inequalities additionally require the correct case split. Absolute-value bars cannot simply be dropped as parentheses, nor do they automatically reverse every term’s sign.[1]
Rules, the triangle inequality and distances greater than r
A square root is never negative, so is not x but |x|: . The triangle inequality says that the absolute value of a sum is at most the sum of the absolute values. Equality holds when a · b ≥ 0, that is, both have the same sign or one of them is zero. With opposite signs parts cancel: |3 + (−5)| = 2, but |3| + |−5| = 8. From below, , here |3 − (−5)| = 8 ≥ 2.[2][3]
Two rays outside the interval from a − r to a + r; for r < 0 every real number x satisfies the inequality.[4]
Example: |x − 1| > 3 holds for x < −2 or x > 4, that is, for all numbers more than 3 away from 1. Check: x = 0 gives |−1| = 1, which is not greater than 3; x = 5 gives 4 > 3. The endpoints −2 and 4 are excluded; with ≥ they would be included. A typical mistake is writing −2 > x > 4: it describes the empty set, since no number is both less than −2 and greater than 4.[4]
If an equation contains several absolute values, split the number line where an expression inside the bars becomes zero and solve each region without bars. Example |x − 1| + |x + 2| = 5 with the split points −2 and 1: for x < −2 it reads −2x − 1 = 5, so x = −3; for −2 ≤ x < 1 the left side is the constant 3, so there is no solution; for x ≥ 1 it reads 2x + 1 = 5, so x = 2. The solutions are −3 and 2. Read as distances: the sum of the distances to 1 and to −2 equals 3 between the two points and grows outside.[4][2]
Two symmetric applications
Two equally distant points
- Given
- |x−3|=5
- Find
- Find all real solutions.
Allow both directions for the difference.
Solve the two cases.
Result: The solutions are −2 and 8.
Check: Both lie exactly 5 units from 3.
A length tolerance
- Given
- Nominal length 20 mm, maximum deviation 0.4 mm.
- Find
- State the acceptable interval.
Write the deviation as an absolute value.
Calculate both limits.
Result: Lengths from 19.6 to 20.4 mm, inclusive, are acceptable.
Check: Both endpoints have the allowed deviation of 0.4 mm.
Recall the method later with the formula’s flashcards.
10 flashcards · English materials
Already have an account? Sign in for flashcardsAvailable from Essential. A ready-made formula set, no AI credits required. Article exercises are not all included.
Five absolute-value exercises
Calculate · Foundation
Evaluate |−7−2|.
Show hint
Calculate the difference first.
Learning goal: Evaluate a difference before taking its absolute value.
Show solution and calculation
|−9|=9.
Calculate · Application
Solve |x+1|=4.
Show hint
The centre is −1.
Learning goal: Find both directions of a distance equation.
Show solution and calculation
x+1=4 or x+1=−4, giving x=3 or x=−5.
Interpret · Foundation
Can |x−2|=−3 hold?
Show hint
A distance is nonnegative.
Learning goal: Recognise an impossible negative distance.
Show solution and calculation
No; the real solution set is empty.
Error analysis · Application
Why is |x−2|=x−2 false when x=0?
Show hint
The case split depends on x−2.
Learning goal: Find an omitted case split.
Show solution and calculation
The left side is 2 and the right side −2.
For x<2, |x−2|=2−x.
Transfer · Application
Express 95≤x≤105 as an absolute-value inequality.
Show hint
Find the midpoint and half-width.
Learning goal: Translate an interval into a tolerance condition.
Show solution and calculation
The midpoint is 100 and the largest deviation is 5.
Check your understanding with the formula’s reference test.
8 test questions · English materials
Already have an account? Sign in for the testAvailable from Essential. A ready-made formula set, no AI credits required. Article exercises are not all included.
Sources for this explanation
Quanta · Updated November 5, 2026
- OpenStax, College Algebra 2e, 3.6 Absolute Value Functions
- Wikibooks (German): Maths for non-freaks: absolute value, maximum and minimum (multiplicativity, triangle inequality, lower bound for the distance, absolute value of a quotient)
- OpenStax, Intermediate Algebra 2e, 8.1 Simplify Expressions with Roots (even roots need absolute value signs)
- OpenStax, College Algebra 2e, 2.7 Linear Inequalities and Absolute Value Inequalities
Editorial responsibility: Quanta Study editorial team
Review scope
This explanation, 2 worked examples and 5 exercises are available in German and English. Structure, source references and mathematical notation undergo automated checks. Calculations, model assumptions and both language versions receive a separate AI review.
An independent, named human subject review has not yet been documented. Our exercise numbers are worked examples, rather than measurements published by the cited sources.
Editorial responsibility, sources and methodsChange history
- Added a school-oriented German-English article with original examples, varied solved exercises and subject-specific references.
Cite this reference page
Quanta. Absolute value function and distance. Updated November 5, 2026. https://quanta-study.de/en/formula-sheet/betragsfunktion-abstand
When citing a specific scientific statement, also cite the specialist source linked to that statement.