OneStopList

Gods and goddesses

Can These Side Lengths Form a Triangle?

Updated November 25, 2026

Yes, three side lengths can form a triangle if and only if the sum of the lengths of any two sides is greater than the length of the third side. This condition, known as the triangle inequality theorem, must hold for all three combinations of sides.

What Is the Triangle Inequality Theorem?

The triangle inequality theorem states that for any triangle, the sum of the lengths of any two sides must be greater than the length of the remaining side. In other words, if you have side lengths a, b, and c, then all three of these must be true:

  • a + b > c
  • a + c > b
  • b + c > a

If any one of these inequalities fails, the three lengths cannot form a triangle. For example, sides of 2, 3, and 6 fail because 2 + 3 = 5, which is not greater than 6. Geometrically, the two shorter segments cannot reach across the gap to meet the longest segment.

Why Does This Rule Exist?

The rule is a consequence of the most direct path between two points being a straight line. In a triangle, the side from vertex A to vertex C is a straight line. The path from A to B to C is not straight, so it must be longer than the direct side AC. This reasoning applies to every side, giving the three inequalities. The theorem was known to ancient Greek mathematicians; Euclid’s Elements (Book I, Proposition 20) states that in any triangle, the sum of any two sides is greater than the remaining one.

How to Check Three Lengths

You do not need to test all three inequalities if you first identify the longest side. Since the longest side is the most restrictive, you only need to check that the sum of the two shorter sides is greater than the longest side. If that holds, the other two inequalities automatically hold.

  1. Identify the longest side (call it c).
  2. Add the two shorter sides (a and b).
  3. Compare: if a + b > c, the lengths form a triangle; otherwise, they do not.

For example, with sides 5, 7, and 10, the longest is 10, and 5 + 7 = 12 > 10, so a triangle is possible. With 4, 5, and 10, 4 + 5 = 9 < 10, so no triangle can be formed.

Special Cases: Equality and Degenerate Triangles

If the sum of the two shorter sides exactly equals the longest side, the three points are collinear—they lie on a straight line. This is sometimes called a degenerate triangle. In strict geometric terms, it is not a triangle because it has no area. Most mathematical definitions require the sum to be strictly greater than the longest side. For instance, sides 3, 4, and 7 fail because 3 + 4 = 7, so they form a straight line, not a triangle.

Real-World Applications

The triangle inequality is not just a classroom exercise; it appears in many practical fields:

  • Construction and engineering: When designing trusses or frames, engineers must ensure that cut pieces can physically connect to form a triangular support.
  • Navigation and GPS: The concept of triangulation uses triangles to determine positions; the inequality ensures that measured distances are consistent.
  • Computer graphics: When rendering 3D models, algorithms often check whether three points form a valid triangle before drawing them.
  • Network routing: In communication networks, the triangle inequality helps find the shortest path; if a direct route is longer than an indirect one, the direct route is not used.

Common Misconceptions

One common mistake is thinking that any three positive numbers can form a triangle. That is false—the lengths must satisfy the inequality. Another misconception is that the longest side must be less than the sum of the other two, which is correct, but some people forget that the sum must be strictly greater, not equal. Also, some believe that the triangle inequality applies only to right triangles; in fact, it applies to all triangles, whether acute, obtuse, or right.

How to Choose Which Sides to Test

When given three lengths, you do not need to test all three sums if you sort them. Let the lengths be a ≤ b ≤ c. Then the only necessary check is a + b > c. If that is true, the other two inequalities are automatically satisfied because a + c is even larger than b + c, and b + c is larger than a + b.

Frequently Asked Questions

Can side lengths 2, 3, and 4 form a triangle? Yes. The longest side is 4, and 2 + 3 = 5 > 4, so the inequality holds. The triangle will be scalene (all sides different) and acute.

What if the sum of two sides equals the third? Then the three points are collinear, and no triangle is formed. It is a degenerate case with zero area.

Do side lengths have to be integers? No. Any positive real numbers can be side lengths as long as they satisfy the triangle inequality. For example, 2.5, 3.1, and 5.0 work because 2.5 + 3.1 = 5.6 > 5.0.

How does the triangle inequality relate to the Pythagorean theorem? The Pythagorean theorem applies only to right triangles and gives an exact relationship between the squares of the sides. The triangle inequality applies to all triangles and gives a necessary condition for any three lengths to form a triangle. They are different tools.

Can a triangle have sides of 1, 1, and 2? No, because 1 + 1 = 2, which is not strictly greater than 2. The two shorter sides would lie flat on the longest side.

Is there a quick mental check for three lengths? Yes: add the two smallest numbers and see if the sum is greater than the largest. If it is, you have a triangle; if not, you do not.

Related

How pages are sourced and corrected: Sources and editorial policy.