Triangle inequality (for real numbers)
Statement
For all real numbers and , , where denotes absolute value; equality holds exactly when and have the same sign (or one is ).
Why is it true?
Absolute value measures distance from zero; adding two numbers of opposite sign causes cancellation, so the distance of the sum can only shrink compared to adding the distances separately.
Proof sketch
Every real number satisfies by definition of absolute value. Apply this to both and : and .
Add the two chains of inequalities term by term (allowed since adding preserves direction): .
The statement for is exactly equivalent to by definition of absolute value; here and , so , which is .
Equality requires both chained inequalities to be equalities simultaneously, which forces and to have the same sign (both nonnegative or both nonpositive), since only then does no cancellation occur between and .
Topics that use this theorem
Step-by-step proofs
No step-by-step proof yet for this theorem.