Pythagorean triples
A Pythagorean triple is a set of three positive integers that satisfy . They are special because they form right triangles with all-integer sides , a coincidence that has fascinated mathematicians for thousands of years.
Concept
Primitive triples. A triple is primitive if share no common factor. The smallest few are:
Multiples. Multiplying every member of a triple by the same integer gives another triple. So , etc. Each represents the same right triangle, just at different scales.
A formula for triples. Choose any two positive integers with no common factor and not both odd. Then
is always a primitive Pythagorean triple.
Examples.
Quick check. For : . And . ✓
Why it works. Compute :
So the identity comes from a clean algebraic identity. Beautiful.
Where triples appear. Carpenters use the "--" rule to check that a corner is exactly : measure units along one wall, along the other, and if the diagonal is , the angle is square. This trick has been used in temple-building and bridge-building for thousands of years.
Worked examples
Example 1. Verify that is a triple.
- . ✓
Example 2. Find a triple using .
- , , . (The triple.)
Example 3. Is a triple? Generate it with .
- . ✓
- : . ✓
Example 4. Is primitive?
- GCD of is , so divide by : is the primitive form. So is not primitive.
Try it yourself
- Verify is a Pythagorean triple.
- Generate the triple from .
- Is a primitive triple?
- Find the next triple after from the table (try ).
- Show is a triple. With what ?
- Carpenter's check: how would you confirm a corner is using a tape measure?
- Generate a triple from .
- List all primitive triples with .
Activity / Insight
Corner check. Use a long ruler or measuring tape to verify the right angle at a corner of your classroom or kitchen. Measure ft along one wall, ft along the perpendicular wall, and check that the diagonal is exactly ft. If it is, the corner is perfectly . If not, the wall is slightly skewed. This is exactly how surveyors check building corners.