#### CHECK OUT SHMOOP'S FREE STUDY TOOLS: Essay Lab | Math Shack | Videos

# Right Triangles and Trigonometry

# The Pythagorean Theorem

Sure, we could cut triangles in two until the cows come home, but there's an even simpler way to calculate the sides of a right triangle.

Mr. Pythagoras has once again come back to haunt us, doing what he's always done: finding distances. Just picture him, in all his ancient wisdom, enlightening us about the wonders of right triangles and how to find their side lengths.

"I do say, my dear chap. Methinks I've come up with a theorem: if a triangle is a right triangle, the sum of the square of its two legs equals the square of its hypotenuse. Indubitably so."

What Mr. Pythagoras is trying to say is that for any right triangle, *a*^{2} + *b*^{2} = *c*^{2}, where *a* and *b* are the lengths of the two sides and *c* is the hypotenuse. This is called the **Pythagorean theorem**.

Mr. Pythagoras is probably telling us the truth. After all, it's hard to doubt a gentleman in a top hat. Just to be sure, though, we should double-check his work and prove his theorem using this triangle.

We can make two geometric means if we compare the hypotenuse to the long and the short legs of the big triangle.

1. Comparing the hypotenuse to the short leg gives us

2. Comparing the hypotenuse to the long leg gives us

If we cross-multiply each of them, we get *a*^{2} = *cx* and *b*^{2} = *cy*. Adding the two equations gives us the first half of Mr. Pythagoras's claim.

*a*^{2}+ *b*^{2} = *cx* + *cy*

Almost done. If we factor the right side, we get:

*a*^{2}+ *b*^{2} = *c*(*x* + *y*)

Looking at our original triangle, *x* + *y* = *c*. Plug in the last piece of the puzzle, and we have our final equation.

*a*^{2} + *b*^{2} = *c*^{2}

Way to go. Now we can sleep soundly at night, knowing Mr. Pythagoras wasn't bluffing. Or, instead of sleeping, we can use his theorem to figure out some side lengths.

### Sample Problem

What is the length of the hypotenuse of this triangle?

We just proved the Pythagorean Theorem. That's a good place to start.

*a*^{2} + *b*^{2} = *c*^{2}

The only values we have are the lengths of the legs. We can substitute those in.

(3)^{2} + (4)^{2} = *c*^{2}

Now we'll simplify as much as we can.

9 + 16 = *c*^{2}

25 = *c*^{2}

Taking the square root of both sides gives us the answer. Even though we know that square roots have two answers (a positive and a negative answer), lengths can't be negative. That's why we only care about the positive answer.

*c* = 5

We've found the length of the hypotenuse. It's 5, by the way.

The hypotenuse is only one side, though. The other two sides of a right triangle are the legs. That means that there's a two out of three chance that we'll have to calculate the length of one of the legs and not just the hypotenuse.

Don't worry. It's not that much different.

### Sample Problem

What is the length of the missing leg of this triangle?

Starting with the Pythagorean theorem again, we have *a*^{2} + *b*^{2} = *c*^{2}. If we substitute in the lengths of the sides we already know, we'll get *a*^{2} + (1.5)^{2} = (3)^{2}. Let's simplify what we can.

*a*^{2} + 2.25 = 9*a* ≈ 2.6

We've gotten the hang of it by now. All right triangles follow the Pythagorean Theorem. What happens if we don't know whether or not it's a right triangle? If the three sides satisfy the Pythagorean theorem, then the triangle must be a right triangle. That's called the Converse Pythagorean Theorem.

Easy enough.

A square root sign turns most numbers from nice, whole numbers into long decimals. After Mr. Pythagoras came up with his theorem, he noticed how rare it was for a right triangle to have sides that were only whole numbers.

He decided set up a special resort called the Pythagorean Triple Club, complete with squash courts and a hot tub. A triangle that's a **Pythagorean triple** must have sides lengths of three whole numbers and satisfy his *a*^{2} + *b*^{2} = *c*^{2} equation. That means any right triangle with three whole-numbered sides has access to this Pythagorean Triple Club.