• Foundation
  • About 15 min
  • 5 practice questions

The triangle inequality: which lengths make a triangle?

Explain with the idea of a direct path why some sets of lengths cannot form a triangle, test any three lengths quickly, and find the possible range for a third side.

If something looks wrong, please tell us.

By the end of this lesson you can

  • Explain why a side of a triangle must be shorter than the other two sides put together.
  • Test three lengths for a triangle by comparing the longest with the sum of the other two.
  • Find all possible lengths of the third side when two sides are known.

Try to construct a triangle with sides 2 cm, 4 cm and 7 cm. The arcs never meet! Some sets of lengths simply cannot be the sides of a triangle. Can we tell which ones without trying to draw them?

The direct path is shortest

Imagine a field with a well, a tree and a gate. Walking straight from the well to the tree is shorter than walking from the well to the gate and then to the tree. A straight path between two points is the shortest path, so it is always shorter than a roundabout path through a third point not on that line.

In a triangle, each side is the direct path between two vertices, and the other two sides form a roundabout path through the third vertex. So each side must be shorter than the sum of the other two. This is the triangle inequality.

Worked example 1: 8 cm, 12 cm and 25 cm

Checking all three comparisons
Side (direct)Other two (roundabout)Direct shorter?
812 + 25 = 37yes
128 + 25 = 33yes
258 + 12 = 20no: 25 > 20

The third comparison fails, so no triangle has these sides. Notice that the two shorter lengths always pass; only the longest needs checking.

Triangle inequality: three lengths can be the sides of a triangle exactly when each length is less than the sum of the other two. In practice, check only that the longest is less than the sum of the two shorter ones.

Why passing the test guarantees a triangle

Draw the longest side as base AB and full circles from A and B with the two shorter lengths as radii. Three things can happen.

Circles drawn with the two shorter lengths

  • Sum of shorter < longest
    • The circles do not meet
    • No triangle
    • Example: 2, 4, 7
  • Sum of shorter = longest
    • The circles just touch on AB
    • The 'triangle' is flat: no triangle
    • Example: 3, 5, 8
  • Sum of shorter > longest
    • The circles cross at two points
    • A triangle exists
    • Example: 5, 6, 9

For 5 cm, 6 cm and 9 cm: 9 < 5 + 6 = 11, so the circles overlap. For instance, the circle of radius 5 about A reaches a point 5 cm along AB, which is 9 − 5 = 4 cm from B, inside the 6 cm circle about B. So the circles cross, and the triangle exists.

Worked example 2: quick tests

  • 5, 7, 11: 5 + 7 = 12 > 11, so a triangle exists.
  • 4, 7, 11: 4 + 7 = 11, not more than 11, so no triangle (the circles only touch).
  • 6, 6, 6: 6 + 6 = 12 > 6, so an equilateral triangle exists. In fact equilateral triangles of every side length exist, since s + s > s always.

Worked example 3: range of the third side

Two sides are 4 cm and 9 cm. If the third side x is the longest, we need x < 4 + 9 = 13. If 9 is the longest, we need 9 < 4 + x, so x > 5. Together, x must be more than 5 cm and less than 13 cm: for example 6, 8.5 or 12 cm, but not 5 or 13. In general the third side lies strictly between the difference and the sum of the other two.

Key takeaways

Key takeaways: A straight path is the shortest, so each side of a triangle is less than the sum of the other two. To test three lengths, compare the longest with the sum of the two shorter ones: if it is less, a triangle exists; if it is equal or more, it does not. The third side always lies between the difference and the sum of the other two.

Check your understanding

  1. 1. Which set of lengths can be the sides of a triangle?

    1. 2, 3, 7
    2. 4, 4, 9
    3. 5, 7, 11
    4. 4, 7, 11
    Show answer

    Answer: C. Check the longest against the sum of the others: 11 < 5 + 7 = 12, so 5, 7, 11 works. The others fail: 7 > 5, 9 > 8, and 11 = 11.

  2. 2. To test whether three lengths form a triangle, what is the least you need to check?

    1. That the longest length is less than the sum of the other two
    2. That all three lengths are equal
    3. That the shortest length is more than the sum of the other two
    4. That the lengths are whole numbers
    Show answer

    Answer: A. The two shorter lengths are automatically less than the sum of the others, because each is at most the longest. So only the longest needs checking.

  3. 3. Two sides of a triangle are 4 cm and 9 cm. Which could be the third side?

    1. 5 cm
    2. 13 cm
    3. 4 cm
    4. 8 cm
    Show answer

    Answer: D. The third side must be more than 9 − 4 = 5 cm and less than 9 + 4 = 13 cm. Only 8 cm is in that range.

  4. 4. For the lengths 3 cm, 4 cm and 7 cm, the 7 cm side is drawn as the base and circles of radius 3 cm and 4 cm are drawn from its ends. What happens?

    1. The circles cross at two points and a triangle forms
    2. The circles just touch at one point on the base, so no triangle forms
    3. The circles do not meet at all
    4. The circles are identical
    Show answer

    Answer: B. 3 + 4 = 7 exactly equals the base, so the circles meet only at one point on the base itself. The 'triangle' would be flat, so there is no triangle.

  5. 5. Home to school is 2 km and school to the library is 3 km (straight-line distances). Which CANNOT be the straight-line distance from home to the library?

    1. 1.5 km
    2. 4 km
    3. 6 km
    4. 2.5 km
    Show answer

    Answer: C. The direct distance cannot be more than the roundabout path 2 + 3 = 5 km, nor less than 3 − 2 = 1 km. 6 km is more than 5 km, so it is impossible.

Privacy · Terms · Refunds · Delivery