Last verified · v1.0
Calculator · math
Triangle Inequality Calculator
Check triangle validity or compute the allowable range for a missing side using the triangle inequality theorem — fast and accurate.
Inputs
Triangle Inequality Result
—
Explain my result
Get a plain-English breakdown of your result with practical next steps.
The formula
How the
result is
computed.
What Is the Triangle Inequality Theorem?
The Triangle Inequality Theorem is one of the most fundamental results in Euclidean geometry. It states that for any triangle with side lengths a, b, and c, the sum of any two sides must be strictly greater than the third side. This condition guarantees that three given lengths can actually close into a valid triangle rather than collapsing into a straight line or failing to meet at all.
The Core Formula
Three simultaneous inequalities must all hold true for a set of side lengths to form a valid triangle:
- a + b > c
- a + c > b
- b + c > a
An equivalent compact form combines all three conditions into a single range expression: |a − b| < c < a + b. This formulation is especially useful when computing the allowable range of an unknown third side given two known sides.
Deriving the Bounds for a Third Side
When two side lengths are known and the third is unknown, the theorem directly yields the allowable open interval. Given sides a = 5 and b = 8, the third side c must satisfy |5 − 8| < c < 5 + 8, which simplifies to 3 < c < 13. Any value of c strictly between 3 and 13 produces a valid triangle with those two known sides. Values at the endpoints — c = 3 or c = 13 — produce degenerate collinear configurations, not true triangles, because the three points lie on a single straight line.
Checking Triangle Validity
To verify that three given lengths form a valid triangle, all three inequalities must be satisfied simultaneously. For example, sides 7, 10, and 15 pass the test: 7 + 10 = 17 > 15, 7 + 15 = 22 > 10, and 10 + 15 = 25 > 7. By contrast, sides 2, 3, and 6 fail because 2 + 3 = 5, which is not strictly greater than 6, making a closed triangle geometrically impossible.
Calculator Modes Explained
This triangle inequality calculator supports three distinct computation modes:
- Validity Check: Enter all three sides a, b, and c to determine immediately whether they satisfy all three triangle inequality conditions.
- Third-Side Range: Enter two known sides to compute the open interval of valid values for the missing third side using the formula |a − b| < c < a + b.
- Comparison Values: Enter all three sides to display all pairwise sums and differences for direct numerical inspection and manual verification.
Real-World and Academic Applications
The triangle inequality appears throughout mathematics, physics, and engineering. In metric spaces, it serves as a defining axiom: the distance from point A to point C cannot exceed the distance from A to B plus the distance from B to C. This principle underlies GPS triangulation, network routing optimization, and computer graphics collision detection. In structural engineering, the theorem ensures that triangular braces and trusses close geometrically, preventing physically impossible configurations. Robotics path planning and machine learning nearest-neighbor search algorithms also rely on triangle inequality reasoning to prune candidate distances efficiently.
Special Cases and Edge Conditions
An equilateral triangle (a = b = c = s) trivially satisfies all conditions since s + s = 2s > s for any positive s. An isosceles triangle requires checking only the inequalities involving the unequal side. A degenerate triangle arises when one side equals exactly the sum of the other two — this lies on the strict boundary and does not qualify as a valid triangle. The classic right triangle with legs 3 and 4 and hypotenuse 5 satisfies 3 + 4 = 7 > 5, 3 + 5 = 8 > 4, and 4 + 5 = 9 > 3, confirming full validity.
Authoritative Sources
The formal secondary-level treatment of the triangle inequality is outlined in the Wisconsin Department of Public Instruction Performance Level Descriptors for Mathematics, which benchmarks student mastery of the theorem. Advanced generalizations linking the classical theorem to analytic inequalities are examined in Ceva's Triangle Inequalities from Western Washington University. Additional worked proofs and exam-level applications appear in the Rutgers University Math 250 Final Exam Review, and complex-analysis extensions are covered in the UNCW Complex Comprehensive Review.
Reference