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 side
  • b — Length of the second side
  • c — 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:

  1. 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.
  2. 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.
  3. 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.
  4. 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.

Frequently Asked Questions

Can a triangle have sides of length 4, 5, and 10?

No. Testing the triangle inequality: 4 + 5 = 9, which is not greater than 10. The two shorter sides cannot span the length of the longest side, so these three lengths cannot form a closed triangle. At least one of the three inequalities must be violated whenever the longest side is too long relative to the other two.

What is the longest possible third side if two sides are 5 and 5?

The third side must be strictly less than 10 feet. Here's why: applying the triangle inequality, 5 + 5 must be greater than the third side, giving c < 10. The other two conditions (5 + c > 5 and 5 + c > 5) are automatically satisfied for any positive c. Therefore, the third side can range from just above 0 to just below 10.

How do I verify three measurements form a triangle?

Write down all three triangle inequalities: a + b > c, a + c > b, and b + c > a. Substitute your three measurements into each inequality and evaluate. If all three conditions are true, your measurements form a valid triangle. If even one inequality is false, the three lengths cannot form a closed triangle.

Why must all three inequality conditions be checked?

Each inequality prevents a different geometric impossibility. If a + b ≤ c, the two shorter sides cannot close the loop on the longest side. Similarly, a + c ≤ b or b + c ≤ a would mean one side exceeds the combined length of the other two. A valid triangle requires all three sides to be properly proportioned, so checking only one or two conditions is insufficient.

Can a right triangle with legs 3 and 4 have a hypotenuse of 6?

No. For sides 3, 4, and 6: check 3 + 4 = 7 > 6 ✓, then 3 + 6 = 9 > 4 ✓, and 4 + 6 = 10 > 3 ✓. While the triangle inequality is satisfied, a right triangle with legs 3 and 4 has a hypotenuse of exactly 5 (from the Pythagorean theorem). A hypotenuse of 6 would create a valid triangle but not a right triangle.

Are there constraints on how different the three sides can be?

The only mathematical constraint is the triangle inequality itself. In theory, sides could be 0.001, 0.002, and 0.0029—very disparate in absolute terms but still forming a tiny triangle. Conversely, sides of 100, 100, and 100.1 form a nearly flat triangle. There is no upper or lower limit on disparity as long as the sum of the two shortest sides exceeds the longest side.

More math calculators (see all)