Skip to content
Home

Pythagorean triple

A Pythagorean triple is a set of three positive integers (a, b, c) satisfying a^2 + b^2 = c^2. Covers definition, primitive triples, Euclid's formula, examples, history and common applications.

Overview

A Pythagorean triple is an ordered triple of positive whole numbers (a, b, c) for which the relation a^2 + b^2 = c^2 holds. Seen geometrically, such a triple gives the integer side lengths of a right triangle. In number theory the equation is treated as a Diophantine equation, meaning we seek integer solutions rather than arbitrary real numbers. A familiar example is (3, 4, 5) because 3^2 + 4^2 = 5^2.

Image gallery

3 Images

Definition and basic classification

Triples are classified as primitive or non-primitive. A primitive Pythagorean triple has entries that share no common divisor greater than 1 (gcd(a,b,c)=1). Non-primitive triples are integer multiples of primitive ones. In every primitive triple one leg is even, the other leg is odd, and the hypotenuse is odd. A triple made entirely of even numbers must therefore be non-primitive. For background on whole numbers used here see integers.

Euclid's formula and generation

All primitive Pythagorean triples can be generated by Euclid's formula: for positive integers m and n with m > n set a = m^2 - n^2, b = 2mn, c = m^2 + n^2. When m and n are coprime and not both odd this produces a primitive triple; multiplying a, b and c by a common factor yields every non-primitive triple. This parametrization also corresponds to rational parametrizations of the unit circle and to algebraic constructions using Gaussian integers. For a focused account see Euclid's formula.

Examples and infinite families

  • The smallest primitive triple is (3, 4, 5).
  • Other well known primitives: (5, 12, 13), (8, 15, 17), (7, 24, 25).
  • Scaling a primitive triple yields an infinite family: for example 2×(3,4,5) = (6,8,10), 3×(3,4,5) = (9,12,15), and so on.

There are infinitely many Pythagorean triples because Euclid's formula provides infinitely many choices of (m,n) that meet the requirements. Many systematic generation methods exist, including tree-based procedures that produce every primitive triple exactly once.

Arithmetical properties

Primitive triples satisfy simple parity and divisibility constraints: exactly one leg is even and the hypotenuse is odd. The legs and hypotenuse have algebraic relations coming from the parametrization; for instance c = m^2 + n^2 is the sum of two squares. There is a one-to-one correspondence between primitive triples (up to ordering of the legs) and reduced rational points on the unit circle x^2 + y^2 = 1, obtained by dividing a and b by c.

History and development

Integer right triangles were known well before classical Greece: practical examples appear in Mesopotamian clay tablets, and the triple (3,4,5) was used in ancient surveying. The association with Pythagoras reflects the geometric theorem about right triangles, and Euclid recorded a general construction in his Elements. The modern, algebraic study of these triples connects with quadratic forms, complex integers and modular arithmetic.

Applications and further reading

Pythagorean triples are useful in elementary geometry, construction, surveying and any application where integer approximations to right triangles are desired. They also serve as introductory examples in algebraic number theory and Diophantine analysis. For introductory accounts and further references consult standard encyclopedic entries and surveys of Diophantine equations at encyclopedic sources and treatments of Euclid's parametrization at Euclid's formula. Algorithms and computational approaches for listing triples are described in algorithmic literature and number theory texts; for a general discussion of the underlying integers see integers and for the Diophantine perspective see Diophantine equation.

Notes

Many variations and refinements exist: alternative parametrizations, matrix-based generation trees that enumerate primitives without repetition, and connections with Gaussian integers. These viewpoints provide different proofs and constructions but all agree on the basic classification and on the infinite nature of Pythagorean triples.

History

Pythagorean triples are already found on Babylonian clay tablets dated to the Hammurabi dynasty (1829 to 1530 BC). The Plimpton 322 cuneiform tablet contains 15 different Pythagorean triples, including (56,90,106), (119, 120, 169)and (12709, 13500, 18541), suggesting that a method for computing such triples was known more than 3500 years ago. For Egypt, explicit mention of Pythagorean triples is known only from a Demotic papyrus of the 3rd century BC, but the use in particular of the triples {\displaystyle (3,4,5)}and {\displaystyle (20,21,29)}for slope angles on some pyramids dating from about two thousand years before the papyrus mentioned has also been discussed.

The Indian Baudhayana Sulbasutra from the 6th century BC contains five Pythagorean triples.

Pythagorean triples were treated by Euclid among the Greeks, by Pythagoras and Plato after Proclus's commentary on Euclid 's Elements, and later by Diophant .

Examples

  • {\displaystyle (3,4,5)}is the smallest and best known Pythagorean triple. It is primitive because the three natural numbers have only 1 in common as a divisor. In the use of a twelve-knot cord, the proportions 3:4:5 for the side lengths can be used to span a right triangle and thus represent a right angle.
  • {\displaystyle (5,12,13)}and {\displaystyle (8,15,17)}are examples of other small primitive Pythagorean triples.
  • Examples of non-primitive Pythagorean triples are {\displaystyle (15,20,25)}with 5as a common divisor or {\displaystyle (15,36,39)}with common divisor 3.

Related articles

Author

AlegsaOnline.com Pythagorean triple

URL: https://en.alegsaonline.com/art/80256

Share