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.
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.
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.
Right Triangle
Legs (a and b)
Hypotenuse (c)
Squaring a Number
Square Root
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!
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.
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:
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.
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.
| What You Know | What You Need | Formula to Use |
|---|---|---|
| Both legs (a and b) | Hypotenuse (c) | c = √(a² + b²) |
| Hypotenuse (c) and one leg | The other leg | a = √(c² − b²) |
Worked Example: Step by Step
Let's walk through a full problem together. Read each step carefully before moving to the next one.
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 Mistake | Why It's Wrong | What To Do Instead |
|---|---|---|
| Using the formula on any triangle | The 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 hypotenuse | If 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 leg | When 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 end | You'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. |
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 Now | What You'll Learn Later |
|---|---|
| Finding sides of right triangles with whole-number answers | Working with answers that are irrational numbers (like √2 ≈ 1.414) |
| Flat (2D) right triangles | Using the theorem in 3D space to find distances in boxes and rooms |
| a² + b² = c² with numbers | The distance formula in coordinate geometry: d = √((x₂ − x₁)² + (y₂ − y₁)²) |
| Right triangles only | Trigonometry (sine, cosine, tangent) — finding angles and sides in all kinds of triangles |
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!
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.
Lesson 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.