Pythagorean Theorem — Formula, Proof, and Examples
Grade: 8-9 | Topic: Geometry
What You Will Learn
By the end of this guide you will understand what the Pythagorean theorem says, why it is true, and how to use it. You will be able to find a missing side of any right triangle, check whether a triangle is a right triangle, and apply the theorem to real-world distance problems.
Theory
The theorem and its formula
The Pythagorean theorem is one of the most important results in all of mathematics. It describes the relationship between the three sides of a right triangle — a triangle that contains exactly one 90-degree angle.
In a right triangle the longest side, opposite the right angle, is called the hypotenuse (). The other two sides are called the legs ( and ). The theorem states:
In words: the sum of the squares of the legs equals the square of the hypotenuse.
For example, a right triangle with legs and has a hypotenuse of:
This is the famous 3-4-5 right triangle, the simplest example of a Pythagorean triple.
A visual proof (rearrangement proof)
Imagine a large square with side length . You can fill this square two different ways:
Way 1 — four triangles and a small square: Place four copies of the right triangle (each with legs and and hypotenuse ) inside the big square so that they form a tilted square in the center. The area of the big square is . The four triangles together have area , and the inner square has area . So:
Way 2 — expand the left side:
Setting the two expressions equal:
Subtract from both sides:
This elegant proof shows that the theorem is not just a formula to memorize — it is a geometric fact about how areas relate in a right triangle.
Finding a missing side
The formula can be rearranged depending on which side is unknown:
Finding the hypotenuse (when you know both legs):
Finding a leg (when you know the hypotenuse and one leg):
Always remember: the hypotenuse is the longest side. If you solve for a side and get a value larger than the hypotenuse, you have mixed up which side is which.
Checking if a triangle is a right triangle
Given three side lengths, you can verify whether they form a right triangle by testing the Pythagorean equation. Label the longest side as and check:
- If , the triangle is a right triangle.
- If , the triangle is acute (all angles less than 90 degrees).
- If , the triangle is obtuse (one angle greater than 90 degrees).
Worked Examples
Example 1: Finding the hypotenuse (easy)
Problem: A right triangle has legs of length 6 cm and 8 cm. Find the hypotenuse.
Step 1: Write the Pythagorean theorem.
Step 2: Substitute the known values.
Step 3: Take the square root of both sides.
Answer: The hypotenuse is 10 cm.
Example 2: Finding a missing leg (medium)
Problem: A right triangle has a hypotenuse of 13 m and one leg of 5 m. Find the other leg.
Step 1: Write the formula solved for the unknown leg.
Step 2: Substitute the known values.
Step 3: Simplify.
Answer: The missing leg is 12 m.
Example 3: Checking if a triangle is a right triangle (medium)
Problem: A triangle has sides of 7, 24, and 25. Is it a right triangle?
Step 1: Identify the longest side as the potential hypotenuse. , , .
Step 2: Check whether .
Step 3: Compare.
Answer: Yes, this is a right triangle because .
Example 4: Real-world ladder problem (challenging)
Problem: A 10-foot ladder leans against a wall. The base of the ladder is 6 feet from the wall. How high up the wall does the ladder reach?
Step 1: Visualize the right triangle. The ladder is the hypotenuse ( ft), the distance from the wall is one leg ( ft), and the height up the wall is the unknown leg ().
Step 2: Apply the formula.
Step 3: Simplify.
Answer: The ladder reaches 8 feet up the wall.
Example 5: Distance between two points (challenging)
Problem: Find the distance between the points and on a coordinate plane.
Step 1: The horizontal distance is the difference in -coordinates, and the vertical distance is the difference in -coordinates. These form the two legs of a right triangle.
Step 2: Apply the Pythagorean theorem (this is how the distance formula is derived).
Step 3: Simplify.
Answer: The distance between and is 5 units.
Common Mistakes
Mistake 1: Forgetting to take the square root as the final step
❌ (stopping here and claiming )
✅
Why this matters: The formula gives you , not . You must take the square root to get the actual side length. Forgetting this step gives an answer that is far too large and has incorrect units (square units instead of linear units).
Mistake 2: Using the formula on non-right triangles
❌ A triangle with sides 5, 7, and 9: assuming and "solving" for a missing angle.
✅ First check: , but . Since , this is not a right triangle. The Pythagorean theorem does not apply directly.
Why this matters: The theorem only works for right triangles. Applying it to other triangles gives incorrect results. Always confirm the triangle has a 90-degree angle before using .
Mistake 3: Subtracting when you should add (or vice versa)
❌ Finding the hypotenuse: (subtracting instead of adding)
✅ Finding the hypotenuse: . Only subtract when finding a leg: .
Why this matters: You add the squares of the two legs to find the hypotenuse, and you subtract a leg's square from the hypotenuse's square to find the other leg. Mixing these up gives a wrong (and sometimes impossible) answer.
Practice Problems
Try these on your own before checking the answers:
- A right triangle has legs of 9 cm and 12 cm. Find the hypotenuse.
- A right triangle has a hypotenuse of 17 m and one leg of 8 m. Find the other leg.
- Do the sides 11, 60, and 61 form a right triangle?
- A rectangular TV screen is 48 inches wide and 36 inches tall. What is the diagonal measurement (screen size)?
- Find the distance between points and .
Click to see answers
- cm.
- m.
- Check: . And . Yes, it is a right triangle.
- inches.
- units.
Summary
- The Pythagorean theorem states that in a right triangle, , where is the hypotenuse and , are the legs.
- To find the hypotenuse, add the squares of the legs and take the square root: .
- To find a missing leg, subtract and take the square root: .
- You can test whether three side lengths form a right triangle by checking if .
- The theorem is the foundation for the distance formula used in coordinate geometry.
Related Topics
- Pythagorean Theorem Examples with Step-by-Step Solutions
- Pythagorean Theorem Word Problems with Answers
- Distance Formula — How to Find Distance Between Two Points
- Pythagorean Triples — List, Formula, and How to Find Them
Need help with the Pythagorean theorem?
Take a photo of your math problem and MathPal will solve it step by step.