GEOMETRY WORKSHEETS

Recognizing a degenerate triangle boundary

Three lengths form a triangle only when each is shorter than the other two combined. When one equals the sum of the other two, the sides lie along a line and enclose no area.

The strict inequality

For lengths a, b and c to be the sides of a triangle, each must be less than the sum of the other two. In practice it is enough to test the longest side: if it is shorter than the sum of the two others, the other two inequalities hold automatically. The inequality is strict. Equality is not allowed. When the longest side equals the sum of the other two, the short sides laid end to end just reach the far end of the long side, and the figure collapses onto a straight line. Such a figure is called degenerate. It has three vertices, but they are collinear and the area is zero.

The 2, 3, 5 boundary case

The lengths 2, 3 and 5 fail the test because 2 plus 3 equals 5. Lay the 2 and the 3 along the 5 and they exactly cover it. There is no room for a corner, so there is no triangle. The Triangle Calculator rejects this input with a message that each side must exceed the difference of the other two, and it reports no area. That rejection is a result, not a malfunction. Heron's formula would give zero for these sides, since s is 5 and s minus c is 0, but a figure with zero area is not a triangle, so the tool declines to treat it as one.

A valid nearby triple

Reduce the longest side from 5 to 4 and the triple 2, 3, 4 works, because 2 plus 3 is 5, and 5 is greater than 4. The Triangle Perimeter Calculator returns 9, and the Triangle Calculator reports an area of about 2.905. The same pair of short sides can therefore enclose a real triangle for any third side strictly between their difference and their sum, here between 1 and 5. The value 4 is just one choice in that range. The range explains why 2, 3, 5 sits on the edge: the sum is the upper end of the allowed interval, which is not included.

Approaching the boundary

As the third side nears the upper end, the triangle flattens and the area shrinks toward zero. With sides 2 and 3, a third side of 4 gives an area of 2.905. A third side of 4.9 gives 1.193, and a third side of 4.99 gives 0.3863. At 5 the area would be zero. The perimeters over the same sequence are 9, 9.9 and 9.99, so the boundary length stays almost the same while the enclosed area almost vanishes. This is another reminder that perimeter and area are different measures. Close to the boundary, small errors in a side have large effects on the area. Moving the third side from 4.9 to 4.99, a change of 0.09, cuts the area from 1.193 to 0.3863, a drop of about two thirds, while the same change near a third side of 4 would move the area only slightly.

The lower end of the range

The inequality also bounds the third side from below. With sides 2 and 3, the third side must exceed 3 minus 2, which is 1. A triple such as 2, 3, 1 is degenerate for the same reason as 2, 3, 5, with the roles of the longest side exchanged: 1 plus 2 equals 3, so the three lengths again lie on a line. A triple like 2, 3, 6 is not near the boundary at all. The two short sides together measure only 5, so they cannot reach across a 6 unit gap. Any third side outside the open interval from 1 to 5 will be rejected.

Do not edit the measurement to get an answer

If a triple fails, the tempting fix is to nudge one length until the tool accepts it. That hides the problem. First check the units, because feet and inches mixed in one triple often violate the inequality. Next check whether the description matches a triangle at all: three collinear survey points, for example, are not a triangle. Only after that consider measurement uncertainty, which is a separate matter. A measured triple that sits right at the boundary may come from a nearly flat triangle, and its area is extremely sensitive to small errors in each side.

Where the test is used

The triangle inequality is the first check before computing anything from three side lengths. It matters in surveying, in checking that a set of struts can form a closed triangular truss, in cutting three pieces of trim to meet at corners, and in geometry problems where a given triple must be validated. It also underlies distance in general: the straight line is the shortest path, so going via a third point can never be shorter than the direct route, and equality happens only when the third point lies on the segment between the first two.

Reading the rejection message

The calculator rejects equality, and any side longer than the sum of the other two, with a message that the sides must satisfy the triangle condition. The wording refers to one side needing to exceed the third, which is the same strict inequality seen from the other direction: if c is less than a plus b, then a is greater than c minus b. A rejected input has no output at all, so no area, perimeter or angles are shown. Change one value and the outputs appear. The valid control on this page uses the perimeter calculator with 2, 3 and 4 to show the accepted case. Note that a perimeter tool might add three numbers without checking, so the more useful test is to confirm the triangle with the full calculator before relying on its perimeter for any purpose.

What the check does not cover

Passing the strict inequality only shows that a triangle with those sides exists, in a flat plane with exact lengths. It does not say whether the triangle is useful for a physical task, whether the measurements are accurate, or how much tolerance the sides can have. The exact side model used here treats the numbers as precise, and uncertainty in real measurements is a separate topic. Keep units consistent and record the source of each length so that a later reader can see where the numbers came from. If a rejected triple comes from a drawing, note whether each length was measured or computed, because a computed length carries the rounding of whatever it was derived from.

Reproduce the checks

Degenerate boundary

Open the Triangle Calculator and enter:

Side a
2
Side b
3
Side c
5

Expected rejection:

must exceed the third

Equality fails the strict triangle inequality.

Valid control

Open the Triangle Perimeter Calculator and enter:

Side a
2
Side b
3
Side c
4

Expected output:

perimeter

9

Every pair of sides sums to more than the remaining side.

References and implementation scope

The examples describe the behavior of the linked Computandum tools. A successful local check does not establish that another application accepts the same format or applies the same limits.

Sources

Related tasks