Read · 1 min
The triangle inequality states that the sum of the lengths of two sides of a triangle is greater than the length of the third side. Equality holds if the triangle is degenerate; that is, the three vertices are collinear.
The triangle inequality is sometimes expressed in terms of vectors as follows: It is also sometimes expressed in terms of the absolute values of real or complex numbers. This version of the triangle inequality is the same as the vector version, both in appearance and function:
This is equivalent to the triangle inequality, since one can obviously create a triangle with side lengths , , and . The triangle is degenerate if , and indeed, if and point in the same direction, equality holds.
So how do we prove the triangle inequality?
Suppose that is the longest side of , which may or may not be degenerate.
Drop a perpendicular from to . Call the foot of the perpendicular .
By the Pythagorean Theorem, Since perfect squares are nonnegative, We know that all distances are nonnegative. Therefore, One could also have just used the result that the length of the altitude from a point to a line is the shortest distance to the line. This would have yielded the same result, but it's better to just prove it again.
Since is the longest side, we know that . Thus, we get our result: Since the triangle inequality holds for the longest side of the triangle, it obviously holds for the shorter sides.
One can see that if the triangle is degenerate, then . Then, equality holds since and .
Thus, we have proven the triangle inequality.


