Comparing each direct path with its roundabout path is the same as comparing each length with the sum of the other two. There are three comparisons.
Shortcut: the two smaller lengths are always less than the sum of the others, so only the longest needs checking: is it less than the sum of the two smaller ones?
When each length is less than the sum of the other two, the lengths satisfy the triangle inequality. 3, 4, 5 satisfies it (5 < 3 + 4); 10, 15, 30 does not.
| Lengths | Longest vs sum of others | Triangle? |
|---|---|---|
| 2, 2, 5 | 5 > 4 | no |
| 3, 4, 6 | 6 < 7 | yes |
| 2, 4, 8 | 8 > 6 | no |
| 5, 5, 8 | 8 < 10 | yes |
| 10, 20, 25 | 25 < 30 | yes |
| 10, 20, 35 | 35 > 30 | no |
| 24, 26, 28 | 28 < 50 | yes |
| 1, 100, 100 | 100 < 101 | yes |
| 3, 6, 9 | 9 = 9 | no |
| 1, 1, 5 | 5 > 2 | no |
| 5, 10, 12 | 12 < 15 | yes |
Possible third sides: with sides 1 and 100, the third side must be strictly between 99 and 101. With 5 and 5, between 0 and 10; with 3 and 7, between 4 and 10.
Tap the diagram to enlarge it
📌 Remember these
- Check the longest side
- 3, 6, 9 is flat: no triangle
- Sides 1 and 100: third between 99 and 101