Triangle Inequality: Rule, Formula & Examples

#Geometry
TL;DR
The triangle inequality is the rule that in any triangle, the sum of the lengths of any two sides is greater than the length of the third side. For sides $a$, $b$, and $c$ this means $a + b > c$, $a + c > b$, and $b + c > a$ must all hold. A matching lower bound, the reverse triangle inequality, says the third side is longer than the difference of the other two: $|a - b| < c$. Together these give the range a side can take. This article explains the concept, why it is true, and how to test three lengths - the formal statement with proof lives in the triangle inequality theorem.
BT
Bhanzu TeamLast updated on July 31, 20269 min read

What Is the Triangle Inequality?

The triangle inequality is a condition on the three side lengths of a triangle. It states that if you pick any two sides and add their lengths, the total is always more than the remaining side. Written out for a triangle with sides $a$, $b$, and $c$:

$$a + b > c \qquad b + c > a \qquad a + c > b$$

All three must be true at once. If even one fails, the three lengths cannot close up into a triangle. This article treats the triangle inequality as a concept and a test - the difference between it and the triangle inequality theorem is that the theorem is the formal statement together with its geometric proof, while here the focus is on understanding the rule and using it quickly.

Why Does the Triangle Inequality Work?

The cleanest reason is a walking one: the shortest path between two points is a straight line. Picture the three vertices of a triangle as three towns. Going from town $A$ straight to town $B$ covers the side $c$. Going from $A$ to $B$ via town $C$ covers the sides $b$ and $a$. Taking the detour through $C$ can never be shorter than the direct road, so $a + b > c$.

The inequality is strict (greater than, not greater than or equal) because the only way the detour equals the direct route is if town $C$ sits exactly on the straight road between $A$ and $B$. In that case the three points are collinear and the "triangle" has flattened into a segment with no area - a degenerate case that is not a real triangle. That is why $a + b = c$ marks the boundary, not a valid triangle.

What Is the Reverse Triangle Inequality?

The triangle inequality gives an upper limit on a side. The reverse triangle inequality gives the lower limit: each side must be longer than the positive difference of the other two.

$$|a - b| < c$$

Combine the two bounds and any single side $c$ is boxed in:

$$|a - b| < c < a + b$$

So if two sides are $7$ and $4$, the third side must be greater than $|7 - 4| = 3$ and less than $7 + 4 = 11$. Any length strictly between $3$ and $11$ works; anything at or outside those limits does not. This "sandwich" is the single most useful form of the rule, because it instantly tells you the full range of a missing side.

How Do You Check If Three Lengths Form a Triangle?

You do not have to test all three sums. There is a shortcut:

  1. Find the longest of the three lengths.

  2. Add the other two.

  3. If that sum is greater than the longest, the three form a triangle. If it is equal or smaller, they do not.

The reason the shortcut works: if the two shorter sides already out-reach the longest side, then each of them (being shorter) is automatically out-reached by the longest plus the other. So one comparison settles it. For lengths $6$, $8$, $13$: the longest is $13$, and $6 + 8 = 14 > 13$, so yes, a triangle forms. For $4$, $5$, $10$: $4 + 5 = 9 < 10$, so no triangle is possible.

What Are the Properties of the Triangle Inequality?

The rule carries several consequences worth naming on their own:

  • Strict for genuine triangles. Equality ($a + b = c$) produces a degenerate, zero-area figure, so a real triangle always uses strict inequality.

  • It bounds every side both ways. Each side lies strictly between the difference and the sum of the other two: $|a - b| < c < a + b$.

  • The longest side faces the largest angle. The inequality underlies the fact that a triangle's sides and its opposite angles are ordered the same way.

  • Only one comparison is needed. Testing the two shortest sides against the longest is enough to confirm all three conditions.

  • It generalises far beyond geometry. The same idea holds for distances between any points and for vectors, where $|\vec{u} + \vec{v}| \le |\vec{u}| + |\vec{v}|$, a backbone of how "distance" is defined across mathematics.

Because these hold for every triangle regardless of type, the rule applies equally to the shapes covered under types of triangles.

Where Is the Triangle Inequality Used?

The rule is a practical filter, not just a classroom fact:

  • Checking whether a triangle is possible. Before solving a problem, the inequality tells you instantly if the given sides can even exist.

  • Finding the range of a missing side. Design and construction problems often need "how long can this member be?" - the sandwich $|a - b| < c < a + b$ answers it.

  • Distance and navigation. Any "is the detour worth it?" question reduces to the triangle inequality: the direct leg is never longer than the two-leg path.

  • Computer science and machine learning. Algorithms that measure similarity or shortest paths rely on the inequality holding for their distance function; it is what makes a "distance" trustworthy.

  • Optimisation and physics. Bounding the length of a resultant vector against its components is the vector form of the same rule.

Examples of the Triangle Inequality

Example 1

Can side lengths $5$, $9$, and $13$ form a triangle?

The longest side is $13$. Add the other two: $5 + 9 = 14$. Since $14 > 13$, the condition holds.

Final answer: yes, these lengths form a valid triangle.

Example 2

Two sides of a triangle are $8$ and $3$. Find the range of possible values for the third side $x$.

Use $|a - b| < x < a + b$ with $a = 8$, $b = 3$.

$$|8 - 3| < x < 8 + 3 \implies 5 < x < 11$$

Final answer: the third side must satisfy $5 < x < 11$.

Example 3

A student says lengths $2$, $2$, and $4$ form a valid triangle because $2 + 2 = 4$.

Wrong path. The student reads the rule as "the sum of two sides is at least the third," so an equal sum looks acceptable.

Why it breaks. The triangle inequality is strict: $a + b$ must be greater than $c$, not equal to it. When $2 + 2 = 4$ exactly, the two short sides lie flat along the long side and the figure collapses to a straight line - a degenerate case with no area, not a triangle.

The rescue. Require strict inequality. Since $2 + 2 = 4$ is not greater than $4$, no triangle exists; the three points are collinear.

Final answer: no - the lengths give a degenerate (flat) figure, not a triangle.

Example 4

Do the lengths $7$, $10$, and $5$ form a triangle?

Longest side is $10$. Add the other two: $7 + 5 = 12 > 10$. Condition holds.

Final answer: yes, a triangle forms.

Example 5

The sides of a triangle are $x$, $x + 4$, and $10$. If $x = 2$, is the triangle valid?

The sides become $2$, $6$, and $10$. Longest is $10$; the other two sum to $2 + 6 = 8$. Since $8 < 10$, the condition fails.

Final answer: no - with $x = 2$ the sides $2$, $6$, $10$ cannot form a triangle.

Example 6

An isosceles triangle has two equal sides of length $6$. What is the largest whole-number length the base can be?

The base $c$ must satisfy $c < 6 + 6 = 12$. The largest whole number strictly less than $12$ is $11$. (Check the lower bound too: $|6 - 6| = 0 < 11$, fine.)

Final answer: the base can be at most $11$.

Where Do Students Trip Up on the Triangle Inequality?

The most common error is reading "greater than" as "greater than or equal to" and accepting the degenerate case $a + b = c$. The second is testing only one pair of sides instead of the longest-against-the-other-two shortcut. Naming the longest side first, then insisting on strict inequality, avoids both.

Mistake 1: Accepting equality as a valid triangle

Where it slips in: Concluding that $3$, $4$, $7$ works because $3 + 4 = 7$.

Don't do this: Treating $a + b = c$ as passing the test.

The correct way: Equality collapses the triangle to a straight line. The sum must be strictly greater, so $3$, $4$, $7$ fails.

Mistake 2: Checking only one pair of sides

Where it slips in: Verifying $a + b > c$ and stopping there.

Don't do this: Confirming $5 + 8 > 4$ and declaring $4$, $5$, $8$ valid without checking the longest side.

The correct way: Compare the two shortest sides against the longest - that single check covers all three conditions. Here $4 + 5 = 9 > 8$, so it happens to be valid, but only the longest-side check proves it.

Mistake 3: Forgetting the lower bound on a missing side

Where it slips in: Finding only the upper limit for an unknown side.

Don't do this: Saying a third side with two sides $9$ and $4$ can be "anything less than $13$."

The correct way: Apply both bounds: $|9 - 4| < x < 9 + 4$, so $5 < x < 13$. The side must also exceed $5$.

Conclusion

  • The triangle inequality requires the sum of any two sides to exceed the third: $a + b > c$, and it must hold for all three pairings.

  • The reverse triangle inequality $|a - b| < c$ sets the lower limit, so every side is boxed into $|a - b| < c < a + b$.

  • The rule is strict; when the sum equals the third side the triangle degenerates into a straight line.

  • To test three lengths quickly, compare the two shortest against the longest - one comparison decides it.

To take triangle problems further with a teacher, explore Bhanzu's geometry tutor or middle school math tutor sessions, or browse math classes online for structured triangle practice.

Read More

Practice These to Solidify Your Understanding

Work through these problems in order:

  1. Can side lengths $4$, $6$, and $11$ form a triangle?

  2. Two sides of a triangle are $12$ and $5$. Find the range of the third side.

  3. A triangle has sides $x$, $x + 2$, and $9$. Find the smallest whole-number value of $x$ that makes a valid triangle.

Answer to Question 1: Longest is $11$; $4 + 6 = 10 < 11$, so no triangle forms. Answer to Question 2: $|12 - 5| < x < 12 + 5$, so $7 < x < 17$. Answer to Question 3: Need $x + (x + 2) > 9$, so $2x > 7$, $x > 3.5$; the smallest whole number is $x = 4$.

Want a live Bhanzu trainer to walk through more triangle problems with you? Book a free demo class.

Book a Free Demo

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

What is the triangle inequality in simple words?
It says the two shorter sides of a triangle must together be longer than the longest side, otherwise they cannot meet to close the shape.
What is the difference between the triangle inequality and the triangle inequality theorem?
They describe the same rule; the theorem is the formal statement with a geometric proof, while "triangle inequality" usually refers to the concept and the quick test for whether sides form a triangle.
Can two sides of a triangle add up to exactly the third side?
No. That is the degenerate case where the three points lie in a straight line, forming a flat figure with no area rather than a triangle.
How do I find the range of the third side of a triangle?
If two sides are $a$ and $b$, the third side $x$ satisfies $|a - b| < x < a + b$.
Does the triangle inequality apply to all triangles?
Yes - scalene, isosceles, equilateral, and right triangles all obey it, because it is what makes a set of three lengths a triangle in the first place.
✍️ Written By
BT
Bhanzu Team
Content Creator and Editor
Bhanzu’s editorial team, known as Team Bhanzu, is made up of experienced educators, curriculum experts, content strategists, and fact-checkers dedicated to making math simple and engaging for learners worldwide. Every article and resource is carefully researched, thoughtfully structured, and rigorously reviewed to ensure accuracy, clarity, and real-world relevance. We understand that building strong math foundations can raise questions for students and parents alike. That’s why Team Bhanzu focuses on delivering practical insights, concept-driven explanations, and trustworthy guidance-empowering learners to develop confidence, speed, and a lifelong love for mathematics.
Related Articles
Book a FREE Demo ClassBook Now →