# Pythagorean Theorem: Statement, Proof, Formula and Examples
## Introduction
The Pythagorean theorem is one of the most widely used theorems in mathematics. It establishes a relationship between the lengths of the three sides of a right-angled triangle. This theorem is important in geometry, algebra, trigonometry, coordinate geometry, construction, engineering, architecture, physics, and many other fields.
The theorem states that the square of the hypotenuse of a right-angled triangle is equal to the sum of the squares of its other two sides. Its standard mathematical formula is:
**a² + b² = c²**
Here, a and b represent the two sides that form the right angle, while c represents the hypotenuse, which is the side opposite the right angle.
For example, consider a right-angled triangle with perpendicular sides of 3 units and 4 units. According to the theorem, the square of the hypotenuse is 3² + 4² = 9 + 16 = 25. Therefore, the hypotenuse is √25 = 5 units.
This relationship allows us to calculate an unknown side when the other two sides are known. It also helps determine whether a triangle is right-angled when all three side lengths are provided.
## 1. What Is the Pythagorean Theorem?
The Pythagorean theorem is a mathematical statement about right-angled triangles. A right-angled triangle is a triangle containing one angle measuring exactly 90 degrees.
The side opposite this 90-degree angle is called the hypotenuse. The other two sides are called the legs, or in school geometry, the perpendicular and the base.
If the two legs are represented by a and b and the hypotenuse is represented by c, the theorem is written as:
a² + b² = c²
The theorem applies specifically to right-angled triangles in ordinary Euclidean geometry. It should not be applied indiscriminately to every triangle.
### Understanding the three sides
**Leg a:** One of the two sides that form the right angle.
**Leg b:** The other side that forms the right angle.
**Hypotenuse c:** The side opposite the right angle. It is always the longest side of a non-degenerate right-angled triangle.
The labels a and b can be interchanged because their squares are added together. However, c must represent the hypotenuse when using the standard formula.
### Why are the sides squared?
The theorem involves squares because it expresses a relationship between the areas of squares constructed on the three sides of a right triangle.
A square built on a side of length a has area a². Similarly, squares on sides b and c have areas b² and c². The theorem states that the area of the square on the hypotenuse equals the combined areas of the squares on the two legs.
This area interpretation provides a geometric way to understand the formula rather than treating it as a rule that must simply be memorised.
## 2. Statement of the Pythagorean Theorem
The formal statement is:
**In a right-angled triangle, the square of the hypotenuse is equal to the sum of the squares of the other two sides.**
Mathematically:
a² + b² = c²
An equivalent form is:
c² = a² + b²
Both expressions communicate the same relationship.
### Conditions for applying the theorem
Before applying the theorem, check the following conditions:
1. The figure must be a right-angled triangle.
2. The side identified as c must be the hypotenuse.
3. All measurements must use compatible units.
4. The calculated side length must be positive.
5. If a side is being calculated from its square, use the positive square root because side lengths are positive.
These conditions help prevent incorrect results when solving geometry problems.
## 3. Formula of the Pythagorean Theorem
The theorem can be rearranged to calculate any one of the three sides.
### Formula to find the hypotenuse
When both legs are known:
c = √(a² + b²)
Example: If a = 6 cm and b = 8 cm, then:
c = √(6² + 8²)
c = √(36 + 64)
c = √100
Therefore, c = 10 cm.
### Formula to find the first leg
When the hypotenuse and the other leg are known:
a = √(c² − b²)
Example: Suppose c = 13 cm and b = 5 cm.
a = √(13² − 5²)
a = √(169 − 25)
a = √144
Therefore, a = 12 cm.
### Formula to find the second leg
Similarly:
b = √(c² − a²)
Example: Suppose c = 17 cm and a = 8 cm.
b = √(17² − 8²)
b = √(289 − 64)
b = √225
Therefore, b = 15 cm.
Notice that finding a leg requires subtraction, while finding the hypotenuse requires addition. This distinction is essential for accurate calculations.
## 4. Proof of the Pythagorean Theorem
A mathematical theorem must be supported by a logical proof. The Pythagorean theorem has many different proofs, including geometric, algebraic, and similarity-based proofs. The following area proof is a straightforward method of understanding why the formula works.
### Proof using a square and four triangles
Consider four identical right-angled triangles. Each triangle has legs of lengths a and b and a hypotenuse of length c.
Arrange these triangles inside a large square whose side length is a + b. The triangles can be positioned so that they surround a smaller central square with side length c.
The area of the large square is:
Area = (a + b)²
Expanding the expression gives:
Area = a² + 2ab + b²
Now calculate the area in a different way. The large square consists of four right-angled triangles and the smaller central square.
The area of one right-angled triangle is:
Area = ½ab
The combined area of four triangles is:
4 × ½ab = 2ab
The area of the central square is:
Area = c²
Therefore, the total area is also:
Area = 2ab + c²
Since both expressions represent the area of the same large square, they must be equal:
a² + 2ab + b² = 2ab + c²
Subtract 2ab from both sides:
a² + b² = c²
Hence, the Pythagorean theorem is proved.
### What does the proof demonstrate?
The proof shows that the theorem follows from the equality of two area calculations. We calculate the area of the same square in two ways and simplify the resulting equation.
The argument works for every right-angled triangle because it depends on the general side lengths a, b, and c rather than on one particular numerical example.
## 5. Proof Using Similar Triangles
Another important proof uses the properties of similar triangles.
Consider a right-angled triangle ABC in which angle C is 90 degrees. Let the hypotenuse AB have length c, and let the legs AC and BC have lengths b and a respectively.
Draw a perpendicular from C to the hypotenuse AB. Let this perpendicular meet AB at D.
The altitude divides the original triangle into two smaller right-angled triangles. Each smaller triangle is similar to the original triangle because they share corresponding angles.
Let AD = x and DB = y. Therefore:
x + y = c
From the similarity relationships, the square of one leg can be expressed as:
a² = cy
Similarly, for the other leg:
b² = cx
Adding these equations gives:
a² + b² = cy + cx
Factor out c:
a² + b² = c(x + y)
Since x + y = c:
a² + b² = c × c
Therefore:
a² + b² = c²
This proves the theorem using triangle similarity and algebra.
The similarity proof is particularly useful for students studying advanced geometry because it connects the theorem with proportional relationships, altitudes, and geometric similarity.
## 6. Solved Examples of the Pythagorean Theorem
Worked examples help demonstrate how the theorem is applied in different situations.
### Example 1: Find the hypotenuse
A right-angled triangle has legs measuring 3 cm and 4 cm. Find its hypotenuse.
**Step 1:** Write the formula.
c² = a² + b²
**Step 2:** Substitute the values.
c² = 3² + 4²
**Step 3:** Calculate the squares.
c² = 9 + 16 = 25
**Step 4:** Take the positive square root.
c = √25 = 5
**Answer: The hypotenuse is 5 cm.**
### Example 2: Find the hypotenuse when the legs are 5 and 12
Given:
a = 5, b = 12
Using the theorem:
c² = 5² + 12²
c² = 25 + 144
c² = 169
c = √169 = 13
**Answer: The hypotenuse is 13 units.**
### Example 3: Find a missing leg
A right-angled triangle has a hypotenuse of 10 cm and one leg of 6 cm. Find the other leg.
Let the unknown leg be b.
c² = a² + b²
Substitute the known values:
10² = 6² + b²
100 = 36 + b²
Subtract 36 from both sides:
b² = 64
Take the positive square root:
b = 8
**Answer: The missing leg is 8 cm.**
### Example 4: Find a missing side when the hypotenuse is 25
A right-angled triangle has a hypotenuse of 25 units and one leg of 7 units.
Let the missing leg be b.
b² = c² − a²
b² = 25² − 7²
b² = 625 − 49
b² = 576
b = √576
**Answer: b = 24 units.**
### Example 5: Calculate a rectangle's diagonal
A rectangle has a length of 12 cm and a width of 5 cm. Find the diagonal.
The diagonal divides the rectangle into two right-angled triangles. The rectangle's length and width become the legs, while the diagonal is the hypotenuse.
d² = 12² + 5²
d² = 144 + 25
d² = 169
d = 13
**Answer: The diagonal is 13 cm.**
### Example 6: Calculate the distance travelled diagonally
A person walks 9 metres east and then 12 metres north. What is the straight-line distance between the starting point and the final point?
The horizontal and vertical movements form the legs of a right-angled triangle.
d² = 9² + 12²
d² = 81 + 144
d² = 225
d = √225 = 15
**Answer: The straight-line distance is 15 metres.**
The total walking distance is 21 metres, but the straight-line distance is 15 metres. These are different measurements.
### Example 7: Find the height of a ladder against a wall
A ladder 13 metres long rests against a vertical wall. Its base is 5 metres from the wall. How high does the ladder reach?
The ladder is the hypotenuse. The distance from the wall is one leg, and the vertical height is the other leg.
Let the height be h.
13² = 5² + h²
169 = 25 + h²
h² = 144
h = 12
**Answer: The ladder reaches 12 metres high.**
This example assumes the ground and wall meet at a right angle and the ladder is straight.
### Example 8: Determine whether a triangle is right-angled
A triangle has side lengths 8, 15, and 17 units. Determine whether it is right-angled.
The largest side is 17, so test it as the hypotenuse.
8² + 15² = 64 + 225 = 289
17² = 289
Both expressions are equal. Therefore, the triangle is right-angled.
**Answer: Yes, the triangle is right-angled.**
## 7. Converse of the Pythagorean Theorem
The converse of a theorem reverses its logical direction. The converse of the Pythagorean theorem states:
**If the square of the longest side of a triangle equals the sum of the squares of the other two sides, then the triangle is right-angled.**
For side lengths a, b, and c, with c the longest side:
a² + b² = c²
If this equation holds, the triangle has a right angle opposite side c.
### Example of the converse
Consider a triangle with sides 7, 24, and 25.
The largest side is 25.
7² + 24² = 49 + 576 = 625
25² = 625
Since the values are equal, the triangle is right-angled.
### Why is the converse useful?
Sometimes the three side lengths of a triangle are known, but its angles are not. The converse provides a mathematical test to determine whether the triangle contains a right angle.
It is used in geometry exercises, construction layout, and checking dimensions where a right angle is required.
## 8. Pythagorean Triples
A Pythagorean triple is a set of three positive integers that satisfies the equation:
a² + b² = c²
Examples include:
- 3, 4, 5
- 5, 12, 13
- 8, 15, 17
- 7, 24, 25
- 20, 21, 29
For example, the triple 3, 4, 5 satisfies the theorem because:
3² + 4² = 9 + 16 = 25 = 5²
### Primitive and non-primitive triples
A primitive Pythagorean triple is one whose three numbers have no common integer factor greater than 1.
The triple 3, 4, 5 is primitive.
Multiplying each number by 2 gives 6, 8, 10. This is also a Pythagorean triple, but it is not primitive because all three numbers are divisible by 2.
Similarly, multiplying 3, 4, 5 by 3 gives 9, 12, 15.
The general scaling rule is:
(ka)² + (kb)² = (kc)²
for any positive scale factor k, provided the original triple satisfies the theorem.
### Generating Pythagorean triples
One standard method for generating integer triples uses positive integers m and n, with m greater than n:
a = m² − n²
b = 2mn
c = m² + n²
For example, choose m = 2 and n = 1.
a = 2² − 1² = 3
b = 2 × 2 × 1 = 4
c = 2² + 1² = 5
This generates the familiar triple 3, 4, 5.
For a primitive triple, m and n should be coprime and have opposite parity. These conditions are important when the goal is to generate primitive triples.
## 9. Applications of the Pythagorean Theorem
The Pythagorean theorem has many practical applications because perpendicular distances often form right-angled triangles.
### Construction and architecture
Builders may use the theorem to check right angles, estimate diagonal measurements, and determine lengths in rectangular layouts.
For example, a rectangular floor with a length of 6 metres and a width of 8 metres has a diagonal of:
d = √(6² + 8²) = √100 = 10 metres.
Measuring diagonals can help check whether a rectangular layout has been marked accurately, provided the other dimensions are known.
### Navigation and distance
When two movements occur at right angles, the theorem can calculate the direct distance between the starting and ending positions.
A vehicle moving 30 kilometres east and 40 kilometres north has a straight-line displacement of:
d = √(30² + 40²)
d = √(900 + 1600)
d = √2500 = 50 kilometres.
The actual route may be longer, depending on roads and obstacles.
### Engineering
Engineers use right-triangle relationships in structural calculations, equipment layouts, mechanical drawings, and geometric modelling.
The theorem can help determine diagonal braces and distances between points when the relevant measurements are perpendicular.
However, real engineering design also requires safety factors, material properties, and applicable standards. The theorem alone is not a complete engineering design method.
### Physics
The theorem is useful for calculating the magnitude of a two-dimensional vector when its perpendicular components are known.
For perpendicular velocity components vx and vy, the magnitude is:
v = √(vx² + vy²)
If vx = 6 metres per second and vy = 8 metres per second, the magnitude is 10 metres per second.
This particular calculation assumes that the components are perpendicular.
### Coordinate geometry
The distance between two points in a Cartesian coordinate plane is derived from the Pythagorean theorem.
For points (x₁, y₁) and (x₂, y₂), the horizontal difference is x₂ − x₁ and the vertical difference is y₂ − y₁.
The distance formula is:
d = √((x₂ − x₁)² + (y₂ − y₁)²)
For example, calculate the distance between (1, 2) and (4, 6).
d = √((4 − 1)² + (6 − 2)²)
d = √(3² + 4²)
d = √25 = 5 units.
### Computer graphics and game development
The theorem is used in two-dimensional geometry to calculate distances between points, determine movement magnitudes, and support collision or range calculations.
For example, a game may calculate the distance between a character and an object by comparing their horizontal and vertical coordinate differences. More advanced collision systems may need additional geometric rules.
### Education and problem-solving
The theorem develops algebraic reasoning, geometric visualisation, and the ability to translate a practical problem into a mathematical equation. It also provides a foundation for understanding distance formulas and many trigonometric relationships.
## 10. Relationship Between the Theorem and Coordinate Geometry
The Pythagorean theorem directly leads to the standard distance formula.
Suppose two points form a horizontal and vertical separation. Drawing a horizontal segment and a vertical segment between them produces a right-angled triangle. The straight-line distance is the hypotenuse.
If the horizontal separation is Δx and the vertical separation is Δy, then:
d² = (Δx)² + (Δy)²
Therefore:
d = √((Δx)² + (Δy)²)
This is the basis of the distance formula in the Cartesian coordinate plane.
In three-dimensional geometry, the same idea can be extended by applying the theorem to perpendicular components in three dimensions:
d = √((Δx)² + (Δy)² + (Δz)²)
This three-dimensional formula is obtained by applying the two-dimensional relationship successively.
## 11. Common Mistakes When Applying the Theorem
### Mistake 1: Using the formula for any triangle
The equation a² + b² = c² applies directly to right-angled triangles in Euclidean geometry. A triangle without a right angle generally does not satisfy this relationship.
### Mistake 2: Choosing the wrong hypotenuse
The hypotenuse is always opposite the right angle. It is not simply whichever side happens to be drawn diagonally on a page.
Identify the right angle first, then select the opposite side as the hypotenuse.
### Mistake 3: Adding when finding a missing leg
To find the hypotenuse, use:
c² = a² + b²
To find a missing leg, rearrange the equation:
a² = c² − b²
Using addition when subtraction is required can produce an incorrect result.
### Mistake 4: Forgetting the square root
If the calculation gives c² = 81, then c = 9 for a side length. The answer is not 81.
### Mistake 5: Mixing units
Do not combine one measurement in centimetres with another in metres without converting them to a common unit first.
### Mistake 6: Reporting the wrong unit
If the sides are measured in centimetres, the final side length is in centimetres. Squared quantities such as areas are expressed in square centimetres.
### Mistake 7: Rounding too early
When a result involves an irrational square root, retain the exact expression until the final step when possible. Early rounding can introduce unnecessary error.
### Mistake 8: Ignoring whether the triangle is possible
The hypotenuse must be longer than either leg. If a supposed hypotenuse is shorter than a known leg, the measurements or the setup need to be checked.
## 12. Practice Questions
Try the following problems before checking the answers.
1. A right-angled triangle has legs of 9 cm and 12 cm. Find the hypotenuse.
2. The hypotenuse is 15 cm and one leg is 9 cm. Find the other leg.
3. A triangle has sides 8, 15, and 17 units. Is it right-angled?
4. A rectangle is 9 metres long and 12 metres wide. Find its diagonal.
5. A ladder is 10 metres long and its base is 6 metres from a wall. How high does it reach?
6. Find the hypotenuse of a right-angled triangle whose legs are 20 and 21 units.
7. A triangle has sides 6, 8, and 11 units. Is it right-angled?
8. Find the distance between the coordinate points (2, 3) and (8, 11).
9. A right-angled triangle has a hypotenuse of 26 units and one leg of 10 units. Find the remaining leg.
10. Explain why the hypotenuse is the longest side in a right-angled triangle.
### Answers with brief explanations
**1.** c = √(9² + 12²) = √225 = 15 cm.
**2.** b = √(15² − 9²) = √144 = 12 cm.
**3.** Yes. 8² + 15² = 64 + 225 = 289 = 17².
**4.** d = √(9² + 12²) = √225 = 15 metres.
**5.** h = √(10² − 6²) = √64 = 8 metres.
**6.** c = √(20² + 21²) = √841 = 29 units.
**7.** No. 6² + 8² = 100, whereas 11² = 121. The equality does not hold.
**8.** d = √((8 − 2)² + (11 − 3)²) = √(36 + 64) = 10 units.
**9.** b = √(26² − 10²) = √576 = 24 units.
**10.** The hypotenuse is opposite the right angle and is the longest side of the right-angled triangle. This follows from the theorem because c² = a² + b² is greater than either a² or b² for positive leg lengths.
## 13. Frequently Asked Questions
### What is the Pythagorean theorem?
It is a theorem stating that in a right-angled triangle, the square of the hypotenuse equals the sum of the squares of the other two sides.
### What is the formula?
The formula is a² + b² = c², where a and b are the legs and c is the hypotenuse.
### Can the theorem be used for every triangle?
No. The standard theorem applies directly to right-angled triangles. For a general triangle, other relationships, such as the cosine rule, may be needed.
### How do I find the hypotenuse?
Square both legs, add the squares, and take the positive square root:
c = √(a² + b²).
### How do I find a missing leg?
Square the hypotenuse, subtract the square of the known leg, and take the positive square root:
a = √(c² − b²).
### What is a Pythagorean triple?
It is a set of three positive integers satisfying a² + b² = c², such as 3, 4, and 5.
### What is the converse of the Pythagorean theorem?
The converse says that if the square of the longest side equals the sum of the squares of the other two sides, the triangle is right-angled.
### Why is the theorem important?
It helps calculate distances and missing side lengths and supports concepts in coordinate geometry, engineering, physics, and trigonometry.
### Is the hypotenuse always the longest side?
Yes, in a non-degenerate right-angled triangle, the hypotenuse is the longest side.
### Who discovered the theorem?
The theorem is named after the ancient Greek mathematician Pythagoras. However, historical evidence indicates that knowledge of the relationship existed in earlier mathematical cultures as well. It is therefore not certain that Pythagoras was the first person to discover it.
## Conclusion
The Pythagorean theorem is a fundamental result in geometry that connects the three sides of a right-angled triangle. Its central formula, a² + b² = c², makes it possible to find a missing side when the other two sides are known.
The theorem can be proved through area relationships or similar triangles. Its converse can be used to test whether a triangle is right-angled, and Pythagorean triples provide useful integer examples of the relationship.
From calculating the diagonal of a rectangle to finding distances between points on a coordinate plane, the theorem has applications throughout mathematics and practical problem-solving. A strong understanding of its statement, proof, conditions, and rearranged formulas makes it easier to solve geometry problems accurately and prepares students for more advanced mathematical topics.