Triangle and reverse triangle inequalities in estimates

The triangle inequality says that the magnitude of a sum cannot exceed the sum of its terms' magnitudes: ∣x+y∣≤∣x∣+∣y∣|x+y|\leq |x|+|y|. It provides an upper bound even when the signs of the terms are unknown. Applying the same idea twice yields a bound on how much a magnitude can change.

Bounding sums

For real xx, the inequalities −∣x∣≤x≤∣x∣-|x|\leq x\leq |x| hold; the same is true for real yy. Adding the lower bounds and the upper bounds gives −(∣x∣+∣y∣)≤x+y≤∣x∣+∣y∣-(|x|+|y|)\leq x+y\leq |x|+|y|. A number between −B-B and BB, for B≥0B\geq 0, has absolute value at most BB, proving the triangle inequality.


Equality is possible when the terms reinforce one another, but cancellation can make the actual magnitude smaller. For example, x=8/3x=8/3 and y=−5/3y=-5/3 give ∣x+y∣=1|x+y|=1, whereas ∣x∣+∣y∣=13/3|x|+|y|=13/3. Thus the inequality bounds every allowed pair without claiming that every pair reaches the bound.

Bounding a change

Write x=(x−y)+yx=(x-y)+y and apply the triangle inequality to obtain ∣x∣−∣y∣≤∣x−y∣|x|-|y|\leq |x-y|. Interchanging xx and yy gives ∣y∣−∣x∣≤∣x−y∣|y|-|x|\leq |x-y|. These two directions combine into the reverse triangle inequality, ∣∣x∣−∣y∣∣≤∣x−y∣\bigl||x|-|y|\bigr|\leq |x-y|.


This is an error estimate: if two inputs differ by at most ε\varepsilon, their magnitudes differ by at most ε\varepsilon. The conclusion concerns a change in magnitude, not the magnitude of either input by itself. It also needs no assumption that the inputs have the same sign.

Worked example

Suppose ∣r−10∣≤1/4|r-10|\leq 1/4, with 1010 as the reference value. The reverse triangle inequality gives ∣∣r∣−10∣≤∣r−10∣≤1/4\bigl||r|-10\bigr|\leq |r-10|\leq 1/4. Consequently, 10−1/4≤∣r∣≤10+1/410-1/4\leq |r|\leq 10+1/4, or 9.75≤∣r∣≤10.259.75\leq |r|\leq 10.25.


The endpoints are possible: r=9.75r=9.75 and r=10.25r=10.25 each meet the original condition. Checking attainable cases distinguishes a sharp bound from a bound that merely happens to be valid. The calculation uses the distance from the reference value, then translates that distance into an interval for the magnitude.



Real numbers a and b satisfy |a| ≤ 3 and |b| ≤ 5. Which is the smallest universal upper bound for |a + b| among the choices?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Suppose |u| = 4.7 and |u − v| ≤ 0.2. What interval is guaranteed to contain |v|?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

For every positive integer n, |xn − 3| ≤ 2/n and |yn + 1| ≤ 5/n. Which estimate is guaranteed for the error of xn + yn from 2?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors