How do we measure the size of a number without its sign? That measure is the absolute value.
On the number line it is the distance from 0. Positive numbers stay as they are; negative numbers shed their sign. The rules of distance come with it. A length is never negative, and a combined walk never exceeds the sum of its parts. That is the triangle inequality.
For example, 🌡 −3 degrees and +3 degrees are the same distance from 0 degrees. The sign is the direction; the absolute value is the distance.
∣x∣={x−xx≥0x<0
∣x+y∣≤∣x∣+∣y∣
∣xy∣=∣x∣∣y∣
Examples & Exercises
Prove completely that for all real x,y, the triangle inequality ∣x+y∣≤∣x∣+∣y∣ holds.
∣x+y∣≤∣x∣+∣y∣
Opposite signs — the sum cancels in part, leaving slack.Show proof
Both sides are non-negative, so compare their squares. ∣x+y∣2=(x+y)2=x2+2xy+y2.
Trap the middle term: xy≤∣xy∣=∣x∣∣y∣, so ∣x+y∣2≤∣x∣2+2∣x∣∣y∣+∣y∣2=(∣x∣+∣y∣)2.
On non-negative numbers the square root preserves order. Taking square roots of both sides gives ∣x+y∣≤∣x∣+∣y∣. The proof is complete.
Prove completely that for all real x,y, ∣x∣−∣y∣≤∣x−y∣ holds.
∣x∣−∣y∣≤∣x−y∣
Two points in the same direction — the difference of lengths never exceeds the distance.Show proof
Since x=(x−y)+y, the triangle inequality gives ∣x∣≤∣x−y∣+∣y∣. Rearranging, ∣x∣−∣y∣≤∣x−y∣.
Swapping the roles of x and y gives ∣y∣−∣x∣≤∣y−x∣. But ∣y−x∣=∣x−y∣, so ∣y∣−∣x∣≤∣x−y∣ holds too.
Combining the two, ∣x∣−∣y∣=max(∣x∣−∣y∣,∣y∣−∣x∣)≤∣x−y∣. The proof is complete.
Find all real x satisfying ∣x−1∣<2, and prove the equivalence completely.
∣x−1∣<2⟺−1<x<3
x=1 — at the center the distance is 0.Show proof
By the definition, for r>0, ∣a∣<r is equivalent to −r<a<r. Check by sign: if a≥0 then ∣a∣=a, so a<r and −r<0≤a; if a<0 then ∣a∣=−a, so −a<r, i.e. −r<a, and a<0<r.
Applying this with a=x−1 and r=2, ∣x−1∣<2 is equivalent to −2<x−1<2. Adding 1 throughout gives −1<x<3.
So the solution set is the open interval (−1,3): exactly the points whose distance from 1 is less than 2.