The triangle inequality |a + b| ≤ |a| + |b|
Need a hint?
Both sides are non-negative, so you may compare their squares.
|a + b| ≤ |a| + |b|: for example |3 + (−5)| = 2 ≤ 8. The name comes from the geometry: one side of a triangle is at most the sum of the other two.
How to work it out
Square the left side and use ; compare with the square of the right side:
(1)This uses . Taking square roots of the non-negative sides gives . Example: .
LaTeX source of the formulas on this page
\[ |a+b|\le|a|+|b| \] \[ |a+b|^2=a^2+2ab+b^2\le a^2+2|a||b|+b^2=(|a|+|b|)^2 \]
Questions
What is the answer to: The triangle inequality |a + b| ≤ |a| + |b|?
|a + b| ≤ |a| + |b|: for example |3 + (−5)| = 2 ≤ 8. The name comes from the geometry: one side of a triangle is at most the sum of the other two.
What is the key idea?
Squaring removes the absolute values; the cross term ab is at most |a||b|.
Is there a hint?
Both sides are non-negative, so you may compare their squares.