Pythagorean triples arise from the Pythagorean theorem, which states that the sum of the squares of the two shorter sides of a right triangle equals the square of its hypotenuse. When all three side lengths are positive integers, they form a Pythagorean triple. The simplest and best-known example is (3, 4, 5), because 3² + 4² = 9 + 16 = 25 = 5². Other examples include (5, 12, 13), (8, 15, 17), and (7, 24, 25). Pythagorean triples can be generated systematically using Euclid's formula. For positive integers m and n with m > n, the expressions a = m² − n², b = 2mn, and c = m² + n² produce a Pythagorean triple. The generated triple may be primitive or non-primitive depending on the conditions satisfied by m and n. Pythagorean triples connect integer arithmetic, geometry, algebra, and number theory.
Pythagorean Triples
A Pythagorean triple is a set of three positive integers a, b, and c satisfying a² + b² = c². These triples represent the side lengths of right triangles with integer side lengths.
a² + b² = c²
Explanation
Variables
A
The first positive integer leg of the right triangle.
B
The second positive integer leg of the right triangle.
C
The positive integer hypotenuse.
M, n
Positive integers used in Euclid's formula, with m > n.
Example or application
Problem
Verify whether (5, 12, 13) is a Pythagorean triple.
Solution
Calculate the squares of the two shorter sides: 5² = 25 and 12² = 144. Their sum is 25 + 144 = 169. Since 13² = 169, the equation is satisfied.
Answer
(5, 12, 13) is a Pythagorean triple.
Text
A Pythagorean triple is an integer solution of the quadratic Diophantine equation a² + b² = c². The order of the two shorter sides is interchangeable, while c represents the hypotenuse and is conventionally the largest positive integer.
Key Points
A Pythagorean triple consists of three positive integers satisfying a² + b² = c².
The hypotenuse is the largest side of the corresponding right triangle.
The triple (3, 4, 5) is the smallest positive Pythagorean triple.
Multiplying every element of a Pythagorean triple by the same positive integer produces another Pythagorean triple.
Euclid's formula generates Pythagorean triples from two positive integers m and n with m > n.
Every primitive Pythagorean triple can be represented by Euclid's formula under appropriate coprimality and parity conditions.
Properties
At least one leg of a Pythagorean triple must be even.
A primitive Pythagorean triple has exactly one even leg.
The hypotenuse of a primitive Pythagorean triple is odd.
The two legs of a primitive triple are relatively prime.
The area of the corresponding right triangle is ab/2.
If (a, b, c) is a Pythagorean triple, then (ka, kb, kc) is also a triple for every positive integer k.
Formula Details
| Name | Formula | Description |
|---|---|---|
Euclid's Formula | a = m² − n², b = 2mn, c = m² + n² | Produces a Pythagorean triple when m > n > 0. |
Primitive Triple Conditions | gcd(m, n) = 1 and m − n is odd | These conditions ensure that Euclid's formula produces a primitive triple. |
Area | A = ab/2 | Calculates the area of the right triangle associated with the triple. |
Applications
Constructing right triangles with integer side lengths.
Solving geometry problems involving exact measurements.
Studying quadratic Diophantine equations.
Investigating integer patterns and number-theoretic identities.
Understanding relationships between algebra and geometry.
Learning Outcomes
Define a Pythagorean triple.
Verify whether three positive integers form a Pythagorean triple.
Apply the Pythagorean theorem to integer side lengths.
Generate triples using Euclid's formula.
Recognize the distinction between primitive and non-primitive triples.
Practice Questions
Verify whether (6, 8, 10) is a Pythagorean triple.
Determine whether (7, 24, 25) satisfies the Pythagorean equation.
Use Euclid's formula with m = 3 and n = 2.
Generate a triple using m = 4 and n = 1.
Find the missing hypotenuse if the legs are 9 and 12.
Explain why multiplying a Pythagorean triple by a positive integer produces another triple.
Related Concepts
Pythagorean Theorem
Diophantine Equations
Primitive Pythagorean Triples
Euclid's Formula
Greatest Common Divisor
Quadratic Equations
Common Mistakes
Using the hypotenuse as one of the two shorter sides.
Checking a + b = c instead of a² + b² = c².
Assuming every Pythagorean triple is primitive.
Forgetting the conditions required for Euclid's formula to produce a primitive triple.
Accepting non-integer side lengths as a Pythagorean triple.
Sources and verification
Sources are shown as provided in the project data. Not every source has yet been independently verified. Please report errors or missing citations.
- David M. Burton, Elementary Number Theory
- Euclid, Elements
- Titu Andreescu and Dorin Andrica, An Introduction to Diophantine Equations
Suggest a correction or source · More in Arithmetic & Number Theory