ArticleslgStudy

mathematics

Triangle inequality

Triangle inequality is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Triangle inequality rather than just read about it. In short: In mathematics, the triangle inequality states that for any triangle in Euclidean space, the sum of the lengths of any two sides must be greater than or equal to the length of the third side. If a, b, and c are the lengths of the sides of a triangle then: c≤a+b.

Triangle inequality — main illustration
Triangle inequality — illustration

Key takeaways

  • Triangle inequality belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Triangle inequality to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Triangle inequality from memory before moving on to harder problems.

Reference excerpt

In mathematics, the triangle inequality states that for any triangle in Euclidean space, the sum of the lengths of any two sides must be greater than or equal to the length of the third side. If a, b, and c are the lengths of the sides of a triangle then: c≤a+b. The same inequality holds when the sides of the triangle are relabeled, so also ⁠b≤a+c⁠ and ⁠a≤b+c⁠. When one side length is equal to the sum of the other two, ⁠c=a+b⁠, the triangle is degenerate, with zero area. The triangle inequality implies a related statement for Euclidean vectors, also called the triangle inequality; if u and v are vectors (directed magnitudes, usually drawn as arrows), then u, v, and their sum u + v can be pictured as sides that are assembled into a triangle, with each vector's norm as the length of the corresponding side. Therefore ‖𝐮+𝐯‖≤‖𝐮‖+‖𝐯‖. The triangle inequality also holds in some contexts other than Euclidean space. For example, it holds for triangles on a sphere and in the hyperbolic plane. But it does not hold in some contexts, for example Minkowski spacetime. The triangle inequality is one of the defining properties of a distance function in a metric space; if X, Y, and Z are any three points, only a function d which satisfies the triangle inequality, d(X,Z)≤d(X,Y)+d(Y,Z), is considered to be a proper notion of distance. The analog of the triangle inequality for vectors is also a defining property of the norm in normed vector spaces.

Euclidean geometry

The triangle inequality theorem appears in Euclid's Elements as Proposition 20 of Book I:

Euclid proved it using the construction shown in the figure. Beginning with triangle ABC, the side AB is extended by the same length as BC to a new point D, forming an isosceles triangle CBD, which has two equal angles BDC and BCD, labeled ⁠α⁠. Angle ACD, labeled ⁠β⁠, contains angle BCD, so ⁠β>α⁠. Therefore side AD must be longer than side AC (by Proposition I.19, that an inequality between two angles of a triangle implies a corresponding inequality between their respective opposite sides). However: AD‾=AB‾+BD‾=AB‾+BC‾, so the sum of the lengths of sides AB and BC is larger than the length of AC.

Mathematical expression of the constraint on the sides of a triangle For a non-degenerate triangle with side lengths a, b, c, the triangle inequality states that a+b>c,b+c>a,c+a>b. This set of three inequalities can be succinctly summarized as |a−b|<c<a+b. Or, equivalently, as max⁡(a,b,c)<12(a+b+c) where max(a, b, c) is the length of the longest side. That is, the longest side of a triangle is always shorter than the semiperimeter, ⁠s=12(a+b+c)⁠. Another equivalent statement is that the area of a triangle with sides a, b, c and semiperimeter s must be a real number greater than zero. Heron's formula for the area is area=s(s−a)(s−b)(s−c)4⋅area=(a+b+c)(−a+b+c)(a−b+c)(a+b−c). In terms of either area expression, the triangle inequality imposed on all sides is equivalent to the condition that the expression under the square root sign be real and greater than zero (so that the area expression is real and greater than zero). The triangle inequality provides upper bounds for ratios of side lengths; with sides labeled in ascending length order 0 < a ≤ b ≤ c: 1<c+ab<3,1≤min⁡(cb,ba)<φ, where φ=12(1+5) is the golden ratio.

Right triangle

In the case of right triangles, the triangle inequality specializes to the statement that the hypotenuse is greater than either of the two sides and less than their sum. The second part of this theorem is already established above for any side of any triangle. The first part is established using the lower figure. In the figure, consider the right triangle ADC. An isosceles triangle ABC is constructed with equal sides AB = AC. From the triangle postulate, the angles in the right triangle ADC satisfy: α+γ=π/2 . Likewise, in the isosceles triangle ABC, the angles satisfy: 2β+γ=π . Therefore, α=π/2−γ, while β=π/2−γ/2 , and so, in particular, α<β . That means side AD, which is opposite to angle α, is shorter than side AB, which is opposite to the larger angle β. But AB = AC. Hence: AC‾>AD‾ . A similar construction shows AC > DC, establishing the theorem. An alternative proof (also based upon the triangle postulate) proceeds by considering three positions for point B: (i) as depicted (which is to be proved), or (ii) B coincident with D (which would mean the isosceles triangle had two right angles as base angles plus the vertex angle γ, which would violate the triangle postulate), or lastly, (iii) B interior to the right triangle between points A and D (in which case angle ABC is an exterior angle of a right triangle BDC and therefore larger than π/2, meaning the other base angle of the isosceles triangle also is greater than π/2 and their sum exceeds π in violation of the triangle postulate). This theorem establishing inequalities is sharpened by Pythagoras' theorem to the equality that the square of the length of the hypotenuse equals the sum of the squares of the other two sides.

Generalization to any polygon The triangle inequality can be extended by mathematical induction to arbitrary polygonal paths. This gives the generalized polygon inequality, which asserts that the total length of such a path is no less than the length of the straight line between its endpoints. Consequently, the length of any polygon side is always less than the sum of the other polygon side lengths.

Relationship with shortest paths

This generalization can be used to prove that the shortest curve between two points in Euclidean geometry is a straight line. No polygonal path between two points is shorter than the line between them. This implies that no curve can have an arc length less than the distance between its endpoints. By definition, the arc length of a curve is the least upper bound of the lengths of all polygonal approximations of the curve. The result for polygonal paths shows that the straight line between the endpoints is the shortest of all the polygonal approximations. Because the arc length of the curve is greater than or equal to the length of every polygonal approximation, the curve itself cannot be shorter than the straight line path.

… excerpt ends here. Continue reading the full article.

Illustrations

Triangle inequality: Three examples of the triangle inequality for triangles with sides of lengths .mw-parser-output .texhtml{font-family:"Nimbus Roman No9 L","Times New Roman",Times,serif;font-size:118%;line-height:1;font-variant-numeric:lining-nums tabular-nums;font-kerning:none}.mw-parser-output .texhtml .texhtml{font-size:100%}.mw-parser-output .texhtml-big{font-size:165%}.mw-parser-output .mvar{font-style:italic}@media(min-width:420px){.mw-parser-output .texhtml{white-space:nowrap}}x, y, z. The top example shows a case where z is much less than the sum x + y of the other two sides,  and the bottom example shows a case where the side z is only slightly less than x + y.
Three examples of the triangle inequality for triangles with sides of lengths .mw-parser-output .texhtml{font-family:"Nimbus Roman No9 L","Times New Roman",Times,serif;font-size:118%;line-height:1;font-variant-numeric:lining-nums tabular-nums;font-kerning:none}.mw-parser-output .texhtml .texhtml{font-size:100%}.mw-parser-output .texhtml-big{font-size:165%}.mw-parser-output .mvar{font-style:italic}@media(min-width:420px){.mw-parser-output .texhtml{white-space:nowrap}}x, y, z. The top example shows a case where z is much less than the sum x + y of the other two sides, and the bottom example shows a case where the side z is only slightly less than x + y.
Triangle inequality: Euclid's construction for proof of the triangle inequality for plane geometry.
Euclid's construction for proof of the triangle inequality for plane geometry.
Triangle inequality: Isosceles triangle with equal sides AB = AC divided into two right triangles by an altitude drawn from one of the two base angles.
Isosceles triangle with equal sides AB = AC divided into two right triangles by an altitude drawn from one of the two base angles.
Triangle inequality: The arc length of a curve is defined as the least upper bound of the lengths of polygonal approximations.
The arc length of a curve is defined as the least upper bound of the lengths of polygonal approximations.
Triangle inequality: Triangle with altitude h cutting base c into d + (c − d).
Triangle with altitude h cutting base c into d + (c − d).

Worked examples

Example 1 — a first encounter with Triangle inequality

Start with the simplest possible case. Write down what Triangle inequality claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Triangle inequality before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Triangle inequality ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Triangle inequality

In research
Triangle inequality appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Triangle inequality in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Triangle inequality is common in secondary-school and first-year university syllabi. It links to neighbouring topics Geometric inequalities, Linear algebra, Metric geometry, so understanding it makes those chapters shorter.
In everyday life
Look for Triangle inequality outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Triangle inequality” →

How to study Triangle inequality in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Triangle inequality means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Triangle inequality out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Triangle inequality in simple terms?

In mathematics, the triangle inequality states that for any triangle in Euclidean space, the sum of the lengths of any two sides must be greater than or equal to the length of the third side. If a, b, and c are the lengths of the sides of a triangle then: c≤a+b.

Why does Triangle inequality matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Triangle inequality?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Triangle inequality.

Tags

  • Geometric inequalities
  • Linear algebra
  • Metric geometry
  • Theorems in geometry

Keep exploring