Pre-Algebra • Geometry & Measurement

Pythagorean Theorem: Right Triangles — I can apply the Pythagorean Theorem to find missing side lengths in right triangles.

Discover how a simple equation unlocks the secret relationship between the sides of every right triangle.

Middle School Math emblem with sigma notation, geometric shapes, and a ruler.
Inside this lesson 10 sections 5 questions 8 figures

SECTION 1

Where Did the Pythagorean Theorem Come From?

Have you ever wondered how builders make sure a corner is perfectly square? Or how your phone's GPS figures out how far away something is? The answer goes back thousands of years to a simple rule about right triangles (triangles that have one 90° angle). People all over the ancient world noticed a special pattern in these triangles.

Long before anyone wrote it as a formula, ancient civilizations used this pattern to build pyramids, lay out farms, and navigate the seas. Let's look at how this idea developed over time.

~1800 BCE • Babylonian Clay Tablets

Ancient Babylonians carved number patterns onto clay tablets. These show they already knew the relationship between the sides of a right triangle — over 1,000 years before Pythagoras!

~1100 BCE • Ancient Chinese Mathematics

Chinese mathematicians described the same rule in a book called the Zhoubi Suanjing. They used it to measure distances and build structures.

~530 BCE • Pythagoras & the Greeks

The Greek mathematician Pythagoras (or his followers) wrote the first known proof of the rule. That's why we call it the Pythagorean Theorem today.

~300 BCE • Euclid's Elements

The Greek scholar Euclid included a famous proof of the theorem in his textbook, Elements. This book was used for over 2,000 years!

Today • Everywhere Around Us

Engineers, architects, game designers, and scientists use the Pythagorean Theorem every single day. It is one of the most useful ideas in all of math.

So here is the big question this lesson answers: If you know two sides of a right triangle, how do you find the third side? The Pythagorean Theorem gives you the tool to do exactly that.

SECTION 2

Core Principles & Definitions

Before we jump into the formula, let's make sure we understand the key vocabulary. These are the building blocks you need.

1

Right Triangle

A triangle that has exactly one right angle (a 90° angle). You can spot it by the small square drawn in the corner.
2

Legs (a and b)

The two shorter sides that form the right angle. We label them a and b. It doesn't matter which leg is a and which is b.
3

Hypotenuse (c)

The longest side of a right triangle. It is always across from the right angle — never touching it. We label it c.
4

Squaring a Number

When you square a number, you multiply it by itself. For example, 5² = 5 × 5 = 25.
5

Square Root

The square root is the opposite of squaring. √25 = 5 because 5 × 5 = 25. You use it to "undo" a square.
✦

KEY TAKEAWAY

Think of a right triangle like a book propped open on a table. The two edges touching the table are the legs, and the slanted cover stretching between them is the hypotenuse. The hypotenuse is always the longest side because it stretches across the widest part of the triangle.

SECTION 3

Seeing the Theorem in Action

The best way to understand the Pythagorean Theorem is to see it. The diagram below shows a right triangle with a square built on each of its three sides. Notice something amazing: the areas of the two smaller squares add up to the area of the big square. That is the Pythagorean Theorem!

b² = 9(3 × 3)a² = 16(4 × 4)c² = 25(5 × 5)a = 4b = 3c = 5a² + b² = c² → 16 + 9 = 25 ✓
A 3-4-5 right triangle with squares drawn on each side. The cyan square (area 16) plus the violet square (area 9) equals the pink square (area 25). That's the Pythagorean Theorem!

In this diagram, the legs are 3 and 4 units long, and the hypotenuse is 5 units long. When you square each side, you get 9, 16, and 25. Check it: 9 + 16 = 25. It works! This is true for every right triangle ever, no matter how big or small.

SECTION 4

The Formula & How to Use It

Now let's write the rule as a formula you can use to solve problems. The Pythagorean Theorem says:

PYTHAGOREAN THEOREM

a2+b2=c2a² + b² = c²

a and b = the two legs (shorter sides touching the right angle). c = the hypotenuse (the longest side, across from the right angle).

You will run into two kinds of problems. Sometimes you need to find the hypotenuse. Other times you need to find a missing leg. Each one uses the same formula, just rearranged a little.

FINDING THE HYPOTENUSE

c=√(a2+b2)c = √(a² + b²)

Square both legs, add them together, then take the square root. This gives you the length of the hypotenuse.

FINDING A MISSING LEG

a=√(c2−b2)a = √(c² − b²)

Square the hypotenuse, subtract the square of the known leg, then take the square root. This gives you the missing leg.

💡

Quick Tip

Always identify which side is the hypotenuse first. It is the side across from the 90° angle. If the problem asks you to find the hypotenuse, you add the squared legs. If it asks you to find a leg, you subtract.

SECTION 5

Two Types of Problems You'll See

Every Pythagorean Theorem problem boils down to one of two types. The diagram below shows both side by side so you can see how the formula changes depending on what is missing.

TYPE 1: Find the Hypotenusea = 6b = 8c = ?c = √(6² + 8²) = √100 = 10TYPE 2: Find a Missing Lega = ?b = 5c = 13a = √(13² − 5²) = √144 = 12
Type 1 (left): You know both legs and need the hypotenuse — add then square root. Type 2 (right): You know the hypotenuse and one leg — subtract then square root.
What You KnowWhat You NeedFormula to Use
Both legs (a and b)Hypotenuse (c)c = √(a² + b²)
Hypotenuse (c) and one legThe other lega = √(c² − b²)

Quick reference: choosing the right formula

SECTION 6

Worked Example: Step by Step

Let's walk through a full problem together. Read each step carefully before moving to the next one.

ℹ

Problem

A ladder leans against a wall. The bottom of the ladder is 6 feet from the wall, and the ladder is 10 feet long. How high up the wall does the ladder reach?

Finding the Missing Leg

  1. 1

    Step 1 — Draw It Out

    Picture the wall, the ground, and the ladder forming a right triangle. The wall and ground meet at a 90° angle. The ladder is the hypotenuse (c = 10) because it's across from the right angle. The distance from the wall is a leg (b = 6). The height on the wall is the missing leg (a = ?).
  2. 2

    Step 2 — Write the Formula

    Since we are finding a missing leg, we use: a² + b² = c², which we rearrange to a² = c² − b².
    a² = c² − b²
  3. 3

    Step 3 — Plug In the Numbers

    Substitute the values we know. The hypotenuse c = 10 and the known leg b = 6.
    a² = 10² − 6² = 100 − 36 = 64
  4. 4

    Step 4 — Take the Square Root

    Find the square root of 64. Ask yourself: what number times itself gives 64? That's 8, because 8 × 8 = 64.
    a = √64 = 8 feet
  5. 5

    Step 5 — Check Your Answer

    Plug all three sides back into a² + b² = c² to verify. 8² + 6² = 64 + 36 = 100. And 10² = 100. ✓ It checks out! The ladder reaches 8 feet up the wall.

SECTION 7

Common Mistakes & Helpful Tips

The Pythagorean Theorem is straightforward, but there are a few traps students fall into. Let's go over them so you can avoid them.

Common MistakeWhy It's WrongWhat To Do Instead
Using the formula on any triangleThe theorem only works for right triangles — triangles with a 90° angle.Always check for the right-angle symbol (the little square) before using a² + b² = c².
Mixing up legs and hypotenuseIf you put the hypotenuse value in for a leg, your answer will be wrong.Remember: c is always the longest side and is opposite the right angle.
Adding instead of subtracting when finding a legWhen finding a leg, you need to subtract, not add.Finding hypotenuse → add. Finding a leg → subtract. Then take the square root.
Forgetting the square root at the endYou'd have the square of the side, not the actual side length.After adding or subtracting, always take the square root to get the actual length.

Watch out for these common errors!

🎯

REMEMBER THIS

Think of the Pythagorean Theorem like a recipe. Before you start cooking, you check which ingredients you already have. Identify your known sides first, then decide whether to add or subtract. The hypotenuse is always the "biggest ingredient" — it never gets subtracted from the other sides.

SECTION 8

Where Does This Lead Next?

The Pythagorean Theorem is one of the most important stepping stones in math. Once you master it, you will use it in many future topics. Here is a preview of what's ahead.

What You Learn NowWhat You'll Learn Later
Finding sides of right triangles with whole-number answersWorking with answers that are irrational numbers (like √2 ≈ 1.414)
Flat (2D) right trianglesUsing the theorem in 3D space to find distances in boxes and rooms
a² + b² = c² with numbersThe distance formula in coordinate geometry: d = √((x₂ − x₁)² + (y₂ − y₁)²)
Right triangles onlyTrigonometry (sine, cosine, tangent) — finding angles and sides in all kinds of triangles

How today's lesson connects to future math

One exciting connection is the distance formula. When you plot two points on a graph, you can draw a right triangle between them. The horizontal distance is one leg, the vertical distance is the other leg, and the straight-line distance between the points is the hypotenuse. So the distance formula is just the Pythagorean Theorem in disguise!

SECTION 9

Practice Problems

Time to test yourself! Try each problem on your own before looking at the answer. The problems start easy and get harder as you go.

Question 1: CONCEPTUAL

In a right triangle, one side is called the hypotenuse. How can you always identify which side is the hypotenuse?
Show answer
The hypotenuse is always the side that is across from (opposite) the right angle. It is also always the longest side of the triangle. If you see the little square symbol marking the 90° angle, look at the side that does NOT touch that corner — that's the hypotenuse. Labeling it correctly is the most important first step in any Pythagorean Theorem problem.

Question 2: BASIC CALCULATION

A right triangle has legs of length 5 and 12. What is the length of the hypotenuse?
Show answer
Use a² + b² = c². Substitute: 5² + 12² = c². That gives 25 + 144 = 169. Now take the square root: c = √169 = 13. You can check by verifying that 5² + 12² = 13², which is 25 + 144 = 169 ✓. The set (5, 12, 13) is a well-known Pythagorean triple — a group of three whole numbers that satisfy the theorem.

Question 3: INTERMEDIATE

A right triangle has a hypotenuse of 15 and one leg of 9. Find the length of the other leg.
Show answer
Since we need a leg, rearrange: a² = c² − b². Plug in: a² = 15² − 9² = 225 − 81 = 144. Take the square root: a = √144 = 12. Always remember to subtract when finding a missing leg, not add. Check: 12² + 9² = 144 + 81 = 225 = 15² ✓. The answer is 12 units.

Question 4: APPLIED

A baseball diamond is a square with sides of 90 feet. A catcher at home plate throws the ball to second base. How far is the throw? (Hint: the diagonal of a square cuts it into two right triangles.)
Show answer
The throw from home plate to second base goes diagonally across the square. This diagonal is the hypotenuse of a right triangle where both legs are 90 feet (one side of the square each). Use c = √(a² + b²) = √(90² + 90²) = √(8100 + 8100) = √16200 ≈ 127.3 feet. The catcher's throw is about 127.3 feet. This is a real-world example — announcers sometimes mention this distance during baseball games!

Question 5: CRITICAL THINKING

Can a triangle with sides 7, 10, and 12 be a right triangle? Use the Pythagorean Theorem to explain your answer.
Show answer
If it were a right triangle, the longest side (12) would be the hypotenuse. Check: does a² + b² = c²? Calculate: 7² + 10² = 49 + 100 = 149. Now check c²: 12² = 144. Since 149 ≠ 144, this is NOT a right triangle. The Pythagorean Theorem works in both directions — you can use it to test whether a triangle is a right triangle. If a² + b² = c², it's a right triangle. If not, it isn't. This is called the converse of the Pythagorean Theorem, and you'll study it more in geometry class.

SUMMARY

Lesson Summary

Summary

The Pythagorean Theorem states that in any right triangle, the sum of the squares of the two legs (a and b) equals the square of the hypotenuse (c). Written as a formula: a² + b² = c². The hypotenuse is always the longest side and sits across from the 90° angle.

To find the hypotenuse, square both legs, add them, and take the square root. To find a missing leg, square the hypotenuse, subtract the square of the known leg, and take the square root. Always identify the hypotenuse first, and remember: this formula only works for right triangles. You can also use the theorem in reverse to test whether a triangle is a right triangle.

Varsity Tutors • Pre-Algebra • Pythagorean Theorem: Right Triangles