The Pythagorean Theorem

Learn the relationship between the sides of a right triangle.

beginnergeometrypythagoreantrianglesUpdated 2026-02-02

For Elementary Students

What Is the Pythagorean Theorem?

The Pythagorean Theorem is a special rule about right triangles!

Think about it like this: If you have a triangle with one square corner (90° angle), there's a magical relationship between the three sides!

    |\
    | \
  a |  \ c (hypotenuse)
    |   \
    |____\
      b

The magic formula:

a² + b² = c²

The Three Parts of a Right Triangle

The two legs (a and b): The two sides that make the right angle (the square corner)

    |
    | ← leg a
    |___
      leg b →

The hypotenuse (c): The longest side, across from the right angle

    |\
    | \
    |  \ ← hypotenuse (always the longest!)
    |___\

Remember: The hypotenuse is ALWAYS opposite the right angle and ALWAYS the longest side!

Understanding Squares

When you see , it means "a squared" or "a × a"

Example:

3² = 3 × 3 = 9
4² = 4 × 4 = 16
5² = 5 × 5 = 25

Visual way to think about it: If a side is 3, imagine a square with sides of 3:

┌─────┐
│     │ 3
│  9  │
│     │
└─────┘
  3
Area = 3² = 9

The 3-4-5 Triangle (The Most Famous!)

The 3-4-5 triangle is the easiest Pythagorean triple to remember!

    |\
  3 | \ 5
    |__\
     4

Check the formula:

3² + 4² = c²
9 + 16 = 25
25 = 25 ✓

And 25 = 5², so c = 5!

Example 1: Finding the Hypotenuse

Problem: The two legs are 6 and 8. Find the hypotenuse!

    |\
  6 | \ ?
    |__\
     8

Step 1: Write the formula

a² + b² = c²

Step 2: Plug in the numbers

6² + 8² = c²

Step 3: Calculate the squares

36 + 64 = c²
100 = c²

Step 4: Find the square root

c = √100 = 10

Answer: The hypotenuse is 10!

Example 2: Finding a Leg

Problem: The hypotenuse is 13 and one leg is 5. Find the other leg!

    |\
  ? | \ 13
    |__\
     5

Step 1: Write the formula

5² + b² = 13²

Step 2: Calculate the squares

25 + b² = 169

Step 3: Subtract to find b²

b² = 169 − 25
b² = 144

Step 4: Find the square root

b = √144 = 12

Answer: The missing leg is 12!

Pythagorean Triples (Special Number Sets!)

These are sets of whole numbers that work perfectly in the theorem!

Common triples:

  • 3, 4, 5 ← The most famous!
  • 5, 12, 13
  • 8, 15, 17
  • 7, 24, 25

Bonus: You can multiply all three numbers by the same amount!

  • 3-4-5 works
  • 6-8-10 works (multiply by 2)
  • 9-12-15 works (multiply by 3)

The Memory Trick

"Right triangle? Check! Use a² + b² = c²!"

Remember:

  1. Must have a right angle (square corner)
  2. c is always the hypotenuse (longest side)
  3. a and b are the two legs

Real-Life Example: The Ladder Problem

Problem: A ladder is 10 feet long. The bottom is 6 feet from the wall. How high up does it reach?

  wall
    |  /
    | / 10 ft (ladder)
  h |/
    •─────
     6 ft

Solution:

6² + h² = 10²
36 + h² = 100
h² = 64
h = 8 feet

Answer: The ladder reaches 8 feet high!

When Does It Work?

Only for RIGHT triangles!

✓ This works:        ✗ This doesn't work:
    |\                  /\
    | \                /  \
    |__\              /____\
  (right angle)    (no right angle)

Quick Check

If you have a triangle with sides 3, 4, and 5, is it a right triangle?

Test it:

3² + 4² = 5²?
9 + 16 = 25?
25 = 25 ✓

YES! It's a right triangle!

For Junior High Students

Understanding the Pythagorean Theorem

The Pythagorean Theorem is a fundamental relationship in geometry that applies to all right triangles.

Theorem statement: For a right triangle with legs of length a and b, and hypotenuse of length c:

a² + b² = c²

Components:

  • Legs (a, b): The two sides that form the right angle
  • Hypotenuse (c): The side opposite the right angle, always the longest side

Historical note: Named after the Greek mathematician Pythagoras (c. 570–495 BCE), though the relationship was known to earlier civilizations.

Deriving the Formula

Geometric proof (one of many):

Consider a large square with side length (a + b). Inside, arrange four identical right triangles.

The area can be calculated two ways:

  1. Outer square: (a + b)²
  2. Inner square + 4 triangles: c² + 4(½ab)

Setting them equal:

(a + b)² = c² + 4(½ab)
a² + 2ab + b² = c² + 2ab
a² + b² = c²  ✓

Finding the Hypotenuse

Given: Both legs (a and b) Find: Hypotenuse (c)

Formula: c = √(a² + b²)

Example 1: Legs are 9 and 12

c² = 9² + 12²
c² = 81 + 144
c² = 225
c = √225 = 15

Example 2: Legs are 5 and 7

c² = 5² + 7²
c² = 25 + 49
c² = 74
c = √74 ≈ 8.60

Note: Not all results are integers; many produce irrational numbers.

Finding a Leg

Given: Hypotenuse (c) and one leg (a) Find: Other leg (b)

Formula: b = √(c² − a²)

Example 1: Hypotenuse 17, one leg 8

8² + b² = 17²
64 + b² = 289
b² = 225
b = 15

Example 2: Hypotenuse 20, one leg 12

12² + b² = 20²
144 + b² = 400
b² = 256
b = 16

Pythagorean Triples

Definition: A set of three positive integers (a, b, c) that satisfy a² + b² = c².

Common primitive triples:

  • (3, 4, 5)
  • (5, 12, 13)
  • (8, 15, 17)
  • (7, 24, 25)
  • (20, 21, 29)

Generating multiples: If (a, b, c) is a Pythagorean triple, then (ka, kb, kc) is also a triple for any positive integer k.

Example: From 3-4-5:

  • 6-8-10 (k = 2)
  • 9-12-15 (k = 3)
  • 12-16-20 (k = 4)

Verifying Right Triangles

Converse of Pythagorean Theorem: If a² + b² = c² for a triangle with sides a, b, c (where c is longest), then the triangle is a right triangle.

Example 1: Verify triangle with sides 5, 12, 13

5² + 12² = 13²?
25 + 144 = 169?
169 = 169 ✓

It IS a right triangle

Example 2: Verify triangle with sides 5, 11, 12

5² + 11² = 12²?
25 + 121 = 144?
146 ≠ 144 ✗

It is NOT a right triangle

Applications in Coordinate Geometry

Distance formula connection: The distance between points (x₁, y₁) and (x₂, y₂) is derived from the Pythagorean Theorem:

d = √[(x₂ − x₁)² + (y₂ − y₁)²]

This creates a right triangle where:

  • Horizontal leg: |x₂ − x₁|
  • Vertical leg: |y₂ − y₁|
  • Hypotenuse: distance d

Real-World Applications

1. Construction and carpentry: Checking if corners are square using the 3-4-5 rule

2. Navigation: Finding shortest distance (as the crow flies)

3. Screen dimensions: TV/monitor sizes refer to diagonal measurement

Example: 50-inch TV with width 44 inches

44² + h² = 50²
1936 + h² = 2500
h² = 564
h ≈ 23.7 inches

4. Ladder safety: Determining safe placement distance from wall

Example: 20-foot ladder, want to reach 16 feet high

d² + 16² = 20²
d² + 256 = 400
d² = 144
d = 12 feet from wall

Three-Dimensional Applications

Space diagonal of a rectangular prism: Finding the diagonal through a box with dimensions l, w, h

Formula: d = √(l² + w² + h²)

Derivation: Apply theorem twice:

  1. Floor diagonal: √(l² + w²)
  2. Space diagonal: √[(√(l² + w²))² + h²] = √(l² + w² + h²)

Example: Box 3 × 4 × 12 cm

d = √(3² + 4² + 12²)
  = √(9 + 16 + 144)
  = √169
  = 13 cm

Inequalities and Triangle Classification

For triangle with sides a b ≤ c:

  • If a² + b² = c², it's a right triangle
  • If a² + b² > c², it's an acute triangle (all angles < 90°)
  • If a² + b² < c², it's an obtuse triangle (one angle > 90°)

Example: Triangle with sides 6, 7, 8

6² + 7² = 85
8² = 64
85 > 64

This is an acute triangle

Common Mistakes

Mistake 1: Forgetting which side is the hypotenuse

❌ Treating any side as c ✓ c must be the longest side, opposite the right angle

Mistake 2: Not squaring correctly

❌ 2 × 3 instead of 3² ✓ 3² = 3 × 3 = 9

Mistake 3: Forgetting the square root at the end

❌ Leaving answer as c² = 25 ✓ Taking square root: c = 5

Mistake 4: Using the theorem on non-right triangles

Only applies to triangles with a 90° angle

Mistake 5: Wrong algebraic manipulation

When finding a leg: ❌ a = c² − b² ✓ a² = c² − b², so a = √(c² − b²)

Tips for Success

Tip 1: Always identify which side is the hypotenuse first (longest side)

Tip 2: Memorize common Pythagorean triples for quick recognition

Tip 3: Check your answer: hypotenuse should be longer than either leg

Tip 4: Verify the triangle has a right angle before applying the theorem

Tip 5: Keep track of whether you're squaring or taking square roots

Tip 6: For non-integer results, express as exact radicals when possible (√74 vs. 8.60)

Tip 7: Draw a diagram to visualize the problem

Extension: Pythagorean Theorem in Other Contexts

Vector magnitude: For vector ⟨a, b⟩, magnitude = √(a² + b²)

Complex numbers: For z = a + bi, |z| = √(a² + b²)

Trigonometry: Foundation for the identity sin²θ + cos²θ = 1

Practice

A right triangle has legs of 6 and 8. What is the hypotenuse?

A right triangle has hypotenuse 10 and one leg of 6. What is the other leg?

Is a triangle with sides 5, 11, and 12 a right triangle?

A ladder 25 feet long leans against a wall. The base is 7 feet from the wall. How high does the ladder reach?