Find a course

Module 2: Finding Missing SidesLesson 5 of 1110 min

Pythagorean Triples

Recognize 3-4-5, 5-12-13, 8-15-17 and their multiples, scale them to solve problems in seconds, and generate new triples with a simple formula.

Step 1 of 12Learn

Triangles with whole-number sides

Some right triangles have three whole-number sides. The set of three numbers is called a Pythagorean triple. You've already met several:

TripleCheck
3, 4, 59 + 16 = 25
5, 12, 1325 + 144 = 169
8, 15, 1764 + 225 = 289
7, 24, 2549 + 576 = 625
20, 21, 29400 + 441 = 841

Test writers love triples because they give clean answers. If you recognize one, you can skip the arithmetic entirely. A right triangle with legs 8 and 15? The hypotenuse is 17, no calculation needed.

Always list a triple with the hypotenuse last. The triple 3, 4, 5 means legs 3 and 4 with hypotenuse 5, not legs 4 and 5. If you mix up the order, you'll apply it to the wrong triangle.

A triple whose numbers share no common factor, like 3-4-5 or 5-12-13, is called a primitive triple. These are the "parents" of an endless family of others, as you'll see next.

Step 2 of 12Practice · Select all that apply

Which of these are Pythagorean triples (hypotenuse listed last)?

Select all that apply.

Step 3 of 12Learn

Scaling triples

Multiply every number in a triple by the same factor and you get another triple. Double 3-4-5 and you get 6-8-10. Triple it: 9-12-15. Multiply by 10: 30-40-50.

Why does it work? Scaling a triangle by k multiplies each side by k, so each square is multiplied by k2. If a2 + b2 = c2, then (ka)2 + (kb)2 = k2(a2 + b2) = k2c2 = (kc)2. The equation still balances. Geometrically, a scaled triangle is the same shape, just bigger, so its angles, including the right angle, don't change.

This is a huge time-saver. To find the hypotenuse of a triangle with legs 15 and 20, notice both are multiples of 5: 15 = 3 × 5 and 20 = 4 × 5. That's 3-4-5 scaled by 5, so the hypotenuse is 25. To find the leg of a triangle with hypotenuse 39 and leg 15, notice 15 = 5 × 3 and 39 = 13 × 3. That's 5-12-13 scaled by 3, so the missing leg is 36.

The method: divide the known sides by a common factor, see if you recognize a triple, then multiply back up. Scaling also works with decimals: a triangle with legs 0.3 and 0.4 has hypotenuse 0.5.

Step 4 of 12Practice · Match the pairs

Match each triangle to its missing side using a scaled triple.

Tap an answer, then tap the place where it belongs (or drag it there).

  1. Legs 30 and 40
  2. Legs 10 and 24
  3. Leg 16, hypotenuse 34
  4. Legs 14 and 48
  5. Leg 1.5, hypotenuse 2.5

Step 5 of 12Practice · Work it out

A right triangle has legs 24 and 32. Use a triple to find the hypotenuse.

Step 6 of 12Practice · Diagram

Primitive triples and their scaled families

A triangle has legs 16 and 30. Which parent triple does it come from?

Tap the shape that answers the question, then press Check.

Primitive triples and their scaled familiesHierarchy diagram: Primitive triples, 3-4-5, 5-12-13, 8-15-17, 7-24-25, 6-8-10 (×2), 9-12-15 (×3), 30-40-50 (×10), 10-24-26 (×2), 16-30-34 (×2), 14-48-50 (×2).Primitivetriples3-4-55-12-138-15-177-24-256-8-10(×2)9-12-15(×3)30-40-50(×10)10-24-26(×2)16-30-34(×2)14-48-50(×2)
Primitive triples
3-4-5
5-12-13
8-15-17
7-24-25
6-8-10 (×2)
9-12-15 (×3)
30-40-50 (×10)
10-24-26 (×2)
16-30-34 (×2)
14-48-50 (×2)

Step 7 of 12Tap to reveal

Making your own triples

  1. Pick two whole numbers

    Choose any whole numbers m and n with m larger than n. Try m = 2 and n = 1.

  2. Compute three expressions

    Side 1 = m2 − n2. Side 2 = 2mn. Hypotenuse = m2 + n2. With m = 2, n = 1 you get 3, 4 and 5.

  3. Try another pair

    With m = 3 and n = 2: 9 − 4 = 5, 2 × 3 × 2 = 12, 9 + 4 = 13. That is 5-12-13. With m = 4, n = 1: 15, 8, 17.

  4. Why it always works

    Expand: (m2 − n2)2 + (2mn)2 = m4 − 2m2n2 + n4 + 4m2n2 = m4 + 2m2n2 + n4 = (m2 + n2)2. The algebra balances for every choice of m and n, so you can generate as many triples as you like. This method appears in Euclid's Elements.

Step 8 of 12Practice · Fill in the blanks

Fill in the blanks

Using m = 5 and n = 2 in the triple formula: m2 − n2 = , 2mn = , and the hypotenuse m2 + n2 = .

Step 9 of 12Try the calculator

Triple generator

Pick whole numbers m and n with m larger than n. The last line checks a2 + b2 − c2, which should always be 0.

Leg 1 = m2 − n2
5
Leg 2 = 2mn
12
Hypotenuse = m2 + n2
13
Check: a2 + b2 − c2
0

Step 10 of 12Note

Step 11 of 12Practice · True or false

If 5, 12, 13 is a Pythagorean triple, then 6, 13, 14 (add 1 to each number) is also a triple.

Step 12 of 12Practice · Choose one

A ramp has a horizontal run of 36 inches and a slanted surface of 39 inches. How high does it rise?