The Triangle Inequality Theorem
For any three line segments to form a closed triangle, they must satisfy a strict relationship. If you label the sides a, b, and c, then all three of these conditions must be true simultaneously:
- a + b > c
- a + c > b
- b + c > a
In plain language: the sum of the lengths of any two sides must be strictly greater than the length of the remaining side. If any inequality fails—even by a tiny amount—the three lengths cannot form a triangle. This principle emerges from the geometry of how angles and sides relate. When two sides are added together, their total length must exceed what the third side spans; otherwise, the three segments cannot close into a polygon.
Triangle Inequality Conditions
Given three side lengths, verify all three conditions below. A valid triangle requires every inequality to be satisfied:
a + b > c
a + c > b
b + c > a
a— Length of the first sideb— Length of the second sidec— Length of the third side
Practical Example: Building a Triangular Storage Box
Suppose you have four wooden planks measuring 3 ft, 4.5 ft, 6 ft, and 9 ft, and you want to build a triangular frame without cutting. Which combinations work?
Test: 3 ft, 4.5 ft, 6 ft
- 3 + 4.5 = 7.5 > 6 ✓
- 3 + 6 = 9 > 4.5 ✓
- 4.5 + 6 = 10.5 > 3 ✓
All three inequalities pass, so these planks form a valid triangle.
Test: 3 ft, 4.5 ft, 9 ft
- 3 + 4.5 = 7.5 > 9? ✗
The first inequality fails immediately. The two shorter planks cannot span the distance of the longest plank, so no triangle is possible.
Common Pitfalls to Avoid
When checking whether three lengths form a triangle, watch out for these frequent mistakes:
- Forgetting the strict inequality — The sum must be <strong>strictly greater than</strong>, not equal to, the third side. If two sides sum to exactly the third side's length, you get a degenerate triangle (a flat line), which is not a valid triangle.
- Testing only one condition — It's tempting to check just whether the two shorter sides exceed the longest. However, all three inequalities must hold. A length combination might pass one test and fail another—you must verify every condition.
- Using negative or zero lengths — Physical triangles require all sides to have positive length. Verify that each input is greater than zero before applying the inequality rules. Negative or zero lengths are geometrically meaningless.
- Rounding errors in measurements — If your measurements are close to the boundary (e.g., 5, 5, and 9.999), small rounding differences can change the result. Always round measurements consistently and test with exact values when precision matters.
Generalizations Beyond Basic Triangles
The triangle inequality theorem extends to advanced mathematics. In calculus and linear algebra, the triangle inequality with absolute values states that for any two real numbers a and b:
|a + b| ≤ |a| + |b|
This principle holds equality when both numbers share the same sign. The theorem further generalizes to the Minkowski inequality in higher dimensions, which underpins distance metrics in vector spaces and machine learning algorithms. These abstract forms preserve the core idea: combined magnitudes cannot exceed the sum of individual magnitudes.