ArticleslgStudy

mathematics

Integer triangle

Integer triangle 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 Integer triangle rather than just read about it. In short: An integer triangle or integral triangle is a triangle all of whose side lengths are integers. A rational triangle is one whose side lengths are rational numbers; any rational triangle can be rescaled by the lowest common denominator of the sides to obtain a similar integer triangle, so there is a close relationship between integer triangles and rational triangles.

Integer triangle — main illustration
Integer triangle — illustration

Key takeaways

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

Reference excerpt

An integer triangle or integral triangle is a triangle all of whose side lengths are integers. A rational triangle is one whose side lengths are rational numbers; any rational triangle can be rescaled by the lowest common denominator of the sides to obtain a similar integer triangle, so there is a close relationship between integer triangles and rational triangles. Sometimes other definitions of the term rational triangle are used: Carmichael (1914) and Dickson (1920) use the term to mean a Heronian triangle (a triangle with integral or rational side lengths and area); Conway and Guy (1996) define a rational triangle as one with rational sides and rational angles measured in degrees—the only such triangles are rational-sided equilateral triangles.

General properties for an integer triangle

Integer triangles with given perimeter Any triple of positive integers can serve as the side lengths of an integer triangle as long as it satisfies the triangle inequality: the longest side is shorter than the sum of the other two sides. Each such triple defines an integer triangle that is unique up to congruence. So the number of integer triangles (up to congruence) with perimeter p is the number of partitions of p into three positive parts that satisfy the triangle inequality. This is the integer closest to p2/48 when p is even and to (p+3)2/48 when p is odd. It also means that the number of integer triangles with even numbered perimeters p=2n is the same as the number of integer triangles with odd numbered perimeters p=2n−3. Thus there is no integer triangle with perimeter 1, 2 or 4, one with perimeter 3, 5, 6 or 8, and two with perimeter 7 or 10. The sequence of the number of integer triangles with perimeter p, starting at p=1, is:

0, 0, 1, 0, 1, 1, 2, 1, 3, 2, 4, 3, 5, 4, 7, 5, 8, 7, 10, 8 ... (sequence A005044 in the OEIS) This is called Alcuin's sequence.

Integer triangles with given largest side The number of integer triangles (up to congruence) with given largest side c and integer triple (a,b,c) is the number of integer triples such that a+b>c and a≤b≤c. This is the integer value ⌈12(c+1)⌉⋅⌊12(c+1)⌋. Alternatively, for c even it is the double triangular number 12c(12c+1) and for c odd it is the square 14(c+1)2. It also means that the number of integer triangles with greatest side c exceeds the number of integer triangles with greatest side c − 2 by c. The sequence of the number of non-congruent integer triangles with largest side c, starting at c = 1, is:

1, 2, 4, 6, 9, 12, 16, 20, 25, 30, 36, 42, 49, 56, 64, 72, 81, 90 ... (sequence A002620 in the OEIS) The number of integer triangles (up to congruence) with given largest side c and integer triple (a, b, c) that lie on or within a semicircle of diameter c is the number of integer triples such that a + b > c , a2 + b2 ≤ c2 and a ≤ b ≤ c. This is also the number of integer sided obtuse or right (non-acute) triangles with largest side c. The sequence starting at c = 1, is:

0, 0, 1, 1, 3, 4, 5, 7, 10, 13, 15, 17, 22, 25, 30, 33, 38, 42, 48 ... (sequence A236384 in the OEIS) Consequently, the difference between the two above sequences gives the number of acute integer sided triangles (up to congruence) with given largest side c. The sequence starting at c = 1, is:

1, 2, 3, 5, 6, 8, 11, 13, 15, 17, 21, 25, 27, 31, 34, 39, 43, 48, 52 ... (sequence A247588 in the OEIS)

Area of an integer triangle By Heron's formula, if T is the area of a triangle whose sides have lengths a, b, and c then

4T=(a+b+c)(a+b−c)(a−b+c)(−a+b+c). Since all the terms under the radical on the right side of the formula are integers it follows that all integer triangles must have 16T2 an integer and T2 will be rational.

Angles of an integer triangle By the law of cosines, every angle of an integer triangle has a rational cosine. Every angle of an integer right triangle also has rational sine (see Pythagorean triple). If the angles of any triangle form an arithmetic progression then one of its angles must be 60°. For integer triangles the remaining angles must also have rational cosines and a method of generating such triangles is given below. However, apart from the trivial case of an equilateral triangle, there are no integer triangles whose angles form either a geometric or harmonic progression. This is because such angles have to be rational angles of the form πp/q with rational 0<p/q<1. But all the angles of integer triangles must have rational cosines and this will occur only when p/q=1/3. i.e. the integer triangle is equilateral. The square of each internal angle bisector of an integer triangle is rational, because the general triangle formula for the internal angle bisector of angle A is 2bcs(s−a)/(b+c) where s is the semiperimeter (and likewise for the other angles' bisectors).

Side split by an altitude Any altitude dropped from a vertex onto an opposite side or its extension will split that side or its extension into rational lengths.

Medians The square of twice any median of an integer triangle is an integer, because the general formula for the squared median ma2 to side a is 14(2b2+2c2−a2), giving (2ma)2 = 2b2 + 2c2 − a2 (and likewise for the medians to the other sides).

Circumradius and inradius Because the square of the area of an integer triangle is rational, the square of its circumradius is also rational, as is the square of the inradius. The ratio of the inradius to the circumradius of an integer triangle is rational, equaling 4T2/sabc for semiperimeter s and area T. The product of the inradius and the circumradius of an integer triangle is rational, equaling abc/2(a+b+c). Thus the squared distance between the incenter and the circumcenter of an integer triangle, given by Euler's theorem as R2−2Rr is rational.

Heronian triangles

A Heronian triangle, also known as a Heron triangle or a Hero triangle, is a triangle with integer sides and integer area. All Heronian triangles can be placed on a lattice with each vertex at a lattice point. Furthermore, if an integer triangle can be place on a lattice with each vertex at a lattice point it must be Heronian.

General formula Every Heronian triangle has sides proportional to

a=n(m2+k2) b=m(n2+k2) c=(m+n)(mn−k2) Semiperimeter=mn(m+n) Area=mnk(m+n)(mn−k2) for integers m, n and k subject to the constraints:

gcd⁡(m,n,k)=1 mn>k2≥m2n/(2m+n) m≥n≥1. The proportionality factor is generally a rational p/q where q = gcd(a,b,c) reduces the generated Heronian triangle to its primitive and p scales up this primitive to the required size.

… excerpt ends here. Continue reading the full article.

Illustrations

Integer triangle: A Heronian triangle with sidelengths c, e and b + d, and height a, all integers.
A Heronian triangle with sidelengths c, e and b + d, and height a, all integers.

Worked examples

Example 1 — a first encounter with Integer triangle

Start with the simplest possible case. Write down what Integer triangle 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 Integer triangle 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 Integer triangle 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 Integer triangle

In research
Integer triangle 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 Integer triangle 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
Integer triangle is common in secondary-school and first-year university syllabi. It links to neighbouring topics Arithmetic problems of plane geometry, Discrete geometry, Squares in number theory, so understanding it makes those chapters shorter.
In everyday life
Look for Integer triangle 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 “Integer triangle” →

How to study Integer triangle in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Integer triangle 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 Integer triangle out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Integer triangle in simple terms?

An integer triangle or integral triangle is a triangle all of whose side lengths are integers. A rational triangle is one whose side lengths are rational numbers; any rational triangle can be rescaled by the lowest common denominator of the sides to obtain a similar integer triangle, so there is a…

Why does Integer triangle 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 Integer triangle?

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 Integer triangle.

Tags

  • Arithmetic problems of plane geometry
  • Discrete geometry
  • Squares in number theory
  • Types of triangles

Keep exploring