Euler Hall — free maths guides

Decide whether three lengths can be the sides of a triangle

Decide whether three given lengths can be the sides of a triangle. The idea in plain words, a worked example, and a check with the answers shown — part of the free Geometry guides.

The two shortest must reach across the longest

Take a stick of length88 and two of lengths33 and44. Put the short ones end to end and you have77 — not enough to span the88. The ends never meet, so there is no triangle.

That is the triangle inequality:

a+b>c,a+c>b,b+c>aa + b > c, \qquad a + c > b, \qquad b + c > a

for every assignment of the three lengths to the three sides. In practice you only have to check the worst case: add the two shortest and see whether the sum exceeds the longest. If that holds, the other two inequalities hold automatically, because adding a larger number on the left can only help.

Strictly greater, not "greater or equal". If the two short sides add to exactly the longest, the three points lie on one line with the middle one on the segment — a degenerate triangle, which is a segment, not a triangle.

This gives a range for a missing side rather than a single value. With two sides of lengthsaa andbb, the third sidecc satisfies

∣a−b∣<c<a+b|a - b| < c < a + b

which is one of the most useful facts in geometry, because it converts "is this possible?" into "does this number lie in this interval?".

Why it must be true

The shortest path between two points is the straight one. That single fact — an axiom of every geometry — is the whole proof.

Take the triangleABCABC with the sideABAB as the "straight path" and the routeA→C→BA \to C \to B as the alternative. The alternative cannot be shorter:

AC+CB>ABAC + CB > AB

and that isb+a>cb + a > c. The other two inequalities come from taking a different pair as the straight path.

Why strict. SupposeAC+CB=ABAC + CB = AB exactly. Then the route throughCC is precisely as long as the straight path, which happens only whenCC lies on the segmentABAB. Three collinear points are not a triangle.

Why the range form matters. From∣a−b∣<c<a+b|a - b| < c < a + b, everything else follows. Two sides of a triangle must be within a factor of each other in a very concrete sense: you cannot have one side nearly as long as the sum of the other two, and you cannot have one side just barely longer than the other. Both failures are the same inequality, read from different ends.

A worked example: two bounds, one answer

Two sides of a triangle have lengths77 and1111.

(a) What is the largest whole number the third side could be? (b) What is the smallest? (c) How many whole numbers are possible?

(a) The third side is less than7+11=187 + 11 = 18, so the largest whole number is1717.

(b) It is greater than11−7=411 - 7 = 4, so the smallest whole number is55.

(c) From55 to1717 inclusive is17−5+1=1317 - 5 + 1 = 13 values.

The check. Substitute1717: is7+11=18>177 + 11 = 18 > 17? Yes. Is7+17=24>117 + 17 = 24 > 11? Yes. Substitute1818:7+11=187 + 11 = 18, not greater, so no triangle. The bound is doing exactly what it should.

By the end you can
  • Decide whether three given lengths can be the sides of a triangle
  • Bound a missing side from the other two
  • Explain the inequality from the shortest-path axiom
  • Recognise the degenerate case where the inequality becomes an equality
Check yourself
  1. 1. Can44,77 and1111 be the sides of a triangle?
  2. 2. With sides88 and1313, what is the largest whole number the third side can be?
  3. 3. What is the smallest?
  4. 4. Why is the inequality strict?
Answers

1. No:4+7=114 + 7 = 11 exactly, which is degenerate. 2.2020, since it must be below8+13=218 + 13 = 21. 3.66, since it must be above13−8=513 - 8 = 5. 4. Because equality puts all three points on one line, which is a segment rather than a triangle.

Work out where to start — free, no accountAnswer six real questions — free, no account