Why is the triangle inequality equivalent to
Consider the existential problem of a triangle with side lengths . Such a triangle exists if and only if the three triangle inequalities
are all satisfied.
Alternatively, if are the values of a,b and c ordered in ascending order, then the triangle exists iff .
Interestingly, the three triangle inequalities can be recast into a single quartic polynomial inequality. Let be the three vertices of the triangle, with and . Then
Therefore and
The RHS of (1) must be positive semidefinite because the LHS is a Gram matrix. Conversely, if the RHS is indeed PSD, it can be expressed as a Gram matrix. Hence we obtain x and y and the triangle exists.
As and are already nonnegative, the RHS of (1) is positive semidefinite if and only if , by Sylvester's criterion. That is, the triangle exists if and only if
This polynomial inequality can be derived by more elementary means. See circle-circle intersection on Wolfram MathWorld. The geometric explanation for the necessity of (2) is given by Heron's formula, which states that the square root of the LHS is four times the area of the triangle.
Since both (0) and (2) are necessary and sufficient conditions for the existence of the required triangle, the two sets of conditions must be equivalent to each other. Here are my questions. Is there any simple way to see why (0) and (2) are equivalent? Can we derive one from the other by some basic algebraic/arithmetic manipulations?