The Pythagorean Theorem: Step-by-Step Examples and Interactive Exercises
Understanding the relationship between the sides of a right triangle

Learning objectives
- Solve real-world problems involving right triangles
Understanding the relationship between the sides of a right triangle
This lesson introduces the Pythagorean theorem, explains how it connects the lengths of the sides of a right triangle, and provides step‑by‑step examples and interactive exercises suitable for middle‑school learners.
Introduction
The Pythagorean theorem is a fundamental result in geometry that relates the three sides of a right‑angled triangle. Mastering it gives students a powerful tool for solving many practical problems, from construction to sports.
Learning Objectives
- State the Pythagorean theorem.
- Identify the hypotenuse in a right triangle.
- Calculate a missing side using the theorem.
- Solve real‑world problems involving right triangles.
Definitions
| Term | Definition |
|---|---|
| Right triangle | A triangle that has one angle equal to 90°. |
| Hypotenuse | The side opposite the right angle; the longest side of a right triangle. |
| Leg | Either of the two sides that form the right angle in a right triangle. |
Formula
The Pythagorean theorem states that for a right triangle with legs and and hypotenuse :
c is the hypotenuse, a and b are the other two sides.
Worked Examples
Example 1: Finding the hypotenuse
Statement: A right triangle has legs of lengths 3 cm and 4 cm. Find the length of the hypotenuse.
Solution:
- Apply the theorem: .
- Take the square root: cm.
Therefore the hypotenuse is 5 cm.
Answer and explanation
The side opposite the right angle is the longest; 5 cm is the hypotenuse.
Example 2: Finding a missing leg
Statement: A right triangle has a hypotenuse of 13 cm and one leg of 5 cm. Find the length of the other leg.
Solution:
- Rewrite the theorem to solve for the unknown leg : .
- Substitute the known values: .
- Take the square root: cm.
Thus the missing leg measures 12 cm.
A right triangle has a hypotenuse of 13 cm and one leg of 5 cm. What is the length of the other leg (in cm)?
Answer and explanation
Using c² = a² + b² → b = √(13²−5²) = √144 = 12.
Interactive Exercises
Exercise 1
Prompt: In a right triangle, the legs are 6 cm and 8 cm. What is the length of the hypotenuse?
Hint: Use and then take the square root.
Exercise 2
Prompt: A right triangle has a hypotenuse of 10 cm and one leg of 6 cm. Find the length of the other leg.
Hint: Isolate the unknown leg: and take the square root.
Common Mistakes
- Squaring the hypotenuse instead of the legs.
- Forgetting to take the square root after subtraction.
- Mixing up which side is the hypotenuse.
Key Points
- The longest side opposite the right angle is always the hypotenuse.
- The theorem only applies to right triangles.
- Always solve for the unknown side by isolating it and taking the square root.
Key formulas
Pythagorean theorem
c is the hypotenuse, a and b are the other two sides.
Worked examples
Finding the hypotenuse
A right triangle has legs of lengths 3 cm and 4 cm. Find the length of the hypotenuse.
Apply the theorem: c^{2}=3^{2}+4^{2}=9+16=25. Take the square root: c=√25=5 cm. Therefore the hypotenuse is 5 cm.
Finding a missing leg
A right triangle has a hypotenuse of 13 cm and one leg of 5 cm. Find the length of the other leg.
Rewrite as b^{2}=c^{2}-a^{2}. Substitute: b^{2}=13^{2}-5^{2}=169-25=144. Take the square root: b=√144=12 cm. Thus the missing leg measures 12 cm.
Practice exercises
Exercise 1
In a right triangle, the legs are 6 cm and 8 cm. What is the length of the hypotenuse?
Hint: Use c^{2}=a^{2}+b^{2} and then take the square root.
Show solution
c^{2}=6^{2}+8^{2}=36+64=100, so c=√100=10 cm.
Exercise 2
A right triangle has a hypotenuse of 10 cm and one leg of 6 cm. Find the length of the other leg.
Hint: Isolate the unknown leg: b^{2}=c^{2}-a^{2} and take the square root.
Show solution
b^{2}=10^{2}-6^{2}=100-36=64, so b=√64=8 cm.