GEOMETRYTriangleMathematics Calculator
📐

Pythagorean Triples

Pythagorean triples are sets of three positive integers (a, b, c) satisfying a² + b² = c². Examples: 3-4-5, 5-12-13, 8-15-17. Euclid's formula generates primitive triples from coprime integers m, n.

Concept Fundamentals
3-4-5
Classic
a² + b² = c²
Formula
a=m²-n², b=2mn, c=m²+n²
Euclid
gcd(a,b,c)=1
Primitive
Pythagorean TriplesGenerate integer solutions to a² + b² = c² up to a maximum c value

Why This Mathematical Concept Matters

Why: Pythagorean triples have been used since ancient Egypt for right angles. Builders still use 3-4-5 to check corners. They appear in number theory and cryptography.

How: Euclid's formula: a = m²-n², b = 2mn, c = m²+n² with m>n>0, gcd(m,n)=1, one even. Scale primitive triples to get non-primitive ones (e.g., 6-8-10 from 3-4-5).

  • 3-4-5 is the smallest Pythagorean triple—used by ancient Egyptians for pyramids.
  • There are infinitely many primitive Pythagorean triples.
  • Every primitive triple has exactly one even side (a or b).

Generate Pythagorean Triples

Maximum hypotenuse value

Maximum number of triples to show

Pythagorean Triples

abcType
345Primitive
51213Primitive
81517Primitive
72425Primitive
202129Primitive
123537Primitive
94041Primitive
284553Primitive
116061Primitive
335665Primitive
166365Primitive
485573Primitive
138485Primitive
367785Primitive
398089Primitive
657297Primitive
Showing 16 triples

Triangle Visualization

Selected Triple: (3, 4, 5)

Pythagorean Theorem Verification:
32+42=523^2 + 4^2 = 5^2
9+16=259 + 16 = 25
25=2525 = 25 \checkmark
Pythagorean Triple (3, 4, 5)90°53°37°ABCa: 3b: 4c: 5

Properties:

  • Area: 6.0000 square units
  • Perimeter: 12.0000 units
  • Type: Primitive (has no common factor)

Understanding Pythagorean Triples

Pythagorean triples are sets of three positive integers (a, b, c) that satisfy the Pythagorean theorem: a² + b² = c². These triples represent the side lengths of right triangles with integer values.

Types of Pythagorean Triples

Primitive Triples

Primitive Pythagorean triples have no common factor among all three numbers. In other words, they are coprime (their greatest common divisor is 1). Examples include (3, 4, 5) and (5, 12, 13).

Non-Primitive Triples

Non-primitive Pythagorean triples have a common factor among all three numbers. They can be derived by multiplying a primitive triple by a constant. For example, (6, 8, 10) is 2 times the primitive triple (3, 4, 5).

Generating Pythagorean Triples

There are several methods to generate Pythagorean triples. The most common is Euclid's formula, which generates all primitive Pythagorean triples:

Euclid's Formula

For any two positive integers m and n with m > n, where m and n are coprime and not both odd:

a=m2n2a = m^2 - n^2
b=2mnb = 2mn
c=m2+n2c = m^2 + n^2

This generates all primitive Pythagorean triples, and by multiplying each value by an integer k, we can generate all non-primitive triples as well.

Example with m = 2, n = 1:

a = 2² - 1² = 4 - 1 = 3

b = 2(2)(1) = 4

c = 2² + 1² = 4 + 1 = 5

This gives us the famous (3, 4, 5) triple.

Well-Known Pythagorean Triples

Triple (a, b, c)VerificationTypeNotes
(3, 4, 5)3² + 4² = 9 + 16 = 25 = 5²PrimitiveThe simplest and most well-known triple
(5, 12, 13)5² + 12² = 25 + 144 = 169 = 13²PrimitiveGenerated with m=3, n=2
(8, 15, 17)8² + 15² = 64 + 225 = 289 = 17²PrimitiveGenerated with m=4, n=1
(7, 24, 25)7² + 24² = 49 + 576 = 625 = 25²PrimitiveGenerated with m=5, n=2
(6, 8, 10)6² + 8² = 36 + 64 = 100 = 10²Non-primitive2 × (3, 4, 5)

Applications of Pythagorean Triples

Mathematics and Education

  • Teaching the Pythagorean theorem in a concrete way
  • Demonstrating number theory principles
  • Understanding integer solutions to equations
  • Exploring properties of right triangles

Practical Applications

  • Construction (creating perfect right angles)
  • Computer graphics (grid-based calculations)
  • Digital image processing
  • Cryptography and computer science

The ancient Egyptians used the 3-4-5 triangle to create perfect right angles when building the pyramids. They used a rope with 12 equally spaced knots to form a triangle with sides of 3, 4, and 5 units, ensuring they had perfect 90-degree corners in their structures.

Historical Significance

Pythagorean triples have been known since ancient times. The Babylonians knew about them over a thousand years before Pythagoras, as evidenced by the Plimpton 322 clay tablet (around 1800 BCE), which contains lists of Pythagorean triples. The Greeks later formalized the concept, and it remains an important topic in number theory to this day.

The exploration of Pythagorean triples has led to important discoveries in number theory and has connections to Fermat's Last Theorem, which states that there are no positive integer solutions to an + bn = cn for any integer value of n greater than 2.

⚠️For educational and informational purposes only. Verify with a qualified professional.

🧮 Fascinating Math Facts

🏛️

Ancient Egyptians used 3-4-5 triangles to create perfect right angles.

— History

📐

Euclid's formula generates all primitive triples from coprime m, n.

— Wolfram MathWorld

👈 START HERE
⬅️Jump in and explore the concept!
AI