Pythagorean Theorem - Complete Guide
Master the Pythagorean theorem with this comprehensive guide. Learn the formula a² + b² = c², proofs, Pythagorean triples, and real-world applications.
What Is the Pythagorean Theorem?
The Pythagorean theorem states that in a right triangle, the square of the length of the hypotenuse (the side opposite the right angle) equals the sum of the squares of the other two sides. Written as a formula: a² + b² = c², where c is the hypotenuse and a and b are the two legs. This relationship has been known for over 2,500 years and is attributed to the Greek mathematician Pythagoras, although evidence suggests that Babylonian and Indian mathematicians knew it even earlier. It is arguably the most famous theorem in all of mathematics and forms the foundation for trigonometry, coordinate geometry, and much of physics.
Using the Theorem to Find a Side
The most common application is finding the length of an unknown side of a right triangle when the other two are known. To find the hypotenuse, compute c = sqrt(a² + b²). For example, if a = 3 and b = 4, then c = sqrt(9 + 16) = sqrt(25) = 5. To find a leg when you know the hypotenuse and the other leg, rearrange: a = sqrt(c² - b²). For instance, if c = 13 and b = 5, then a = sqrt(169 - 25) = sqrt(144) = 12. Always verify that c is the longest side; if it is not, the triangle is not a right triangle or you have labeled the sides incorrectly.
Pythagorean Triples
A Pythagorean triple is a set of three positive integers (a, b, c) that satisfy a² + b² = c². The most well-known triples are (3, 4, 5), (5, 12, 13), (8, 15, 17), and (7, 24, 25). Any multiple of a Pythagorean triple is also a triple: (6, 8, 10) is just (3, 4, 5) multiplied by 2. All primitive triples (those with no common factor) can be generated by the formula a = m² - n², b = 2mn, c = m² + n² where m and n are positive integers with m > n, m - n is odd, and gcd(m, n) = 1. Recognizing common triples can save significant calculation time on tests and in practical work.
Proofs of the Pythagorean Theorem
There are over 400 known proofs of the Pythagorean theorem, making it one of the most proven results in mathematics. The most intuitive proof uses area rearrangement: arrange four copies of the right triangle inside a large square of side (a + b), creating a smaller tilted square of side c in the center. The area of the large square is (a + b)², and it equals the area of the four triangles (4 x (1/2)ab = 2ab) plus the inner square (c²). Expanding: a² + 2ab + b² = 2ab + c², which simplifies to a² + b² = c². President James Garfield even published a proof using a trapezoid in 1876, making it one of the few mathematical results proven by a head of state.
The Distance Formula
The Pythagorean theorem is the basis for the distance formula in coordinate geometry. The distance between two points (x₁, y₁) and (x₂, y₂) is d = sqrt((x₂ - x₁)² + (y₂ - y₁)²). This works because the horizontal and vertical differences form the legs of a right triangle, and the distance between the points is the hypotenuse. For example, the distance from (1, 2) to (4, 6) is sqrt(9 + 16) = sqrt(25) = 5. This formula extends to three dimensions: d = sqrt((x₂ - x₁)² + (y₂ - y₁)² + (z₂ - z₁)²), and even to n dimensions in higher mathematics.
Converse of the Pythagorean Theorem
The converse of the Pythagorean theorem is also true: if a² + b² = c² for the three sides of a triangle (with c being the longest), then the triangle is a right triangle. This gives you a practical way to test whether an angle is 90 degrees. Furthermore, if a² + b² > c², the triangle is acute (all angles less than 90 degrees), and if a² + b² < c², the triangle is obtuse (one angle greater than 90 degrees). Builders and carpenters use the 3-4-5 rule to verify right angles: measure 3 feet along one edge and 4 feet along the adjacent edge; if the diagonal is exactly 5 feet, the corner is square.
Real-World Applications
The Pythagorean theorem is used constantly in construction, navigation, architecture, and computer graphics. Carpenters use it to ensure walls are square and to calculate rafter lengths for roofs. Surveyors use it to determine distances across obstacles like rivers. Navigation systems calculate straight-line distances between GPS coordinates using its extension. In computer graphics, it determines pixel distances for rendering circles, calculating collision detection, and measuring object separation. Even smartphone screens are measured diagonally using the Pythagorean theorem (a 16:9 screen that is 6.5 inches diagonal can be verified by checking that the width and height satisfy the theorem).
Try These Calculators
Put what you learned into practice with these free calculators.
Try It Yourself
Put what you learned into practice with our free graphing calculator.
Related Graphs
Related Guides
Trigonometry Basics - Complete Guide
Learn the fundamentals of trigonometry including sine, cosine, tangent, the unit circle, identities, and the laws of sines and cosines with practical examples.
How to Calculate Area of Shapes - Complete Guide
Learn how to calculate the area of common shapes including rectangles, triangles, circles, trapezoids, parallelograms, and ellipses with formulas and examples.
How to Simplify Radicals - Complete Guide
Learn how to simplify radical expressions step by step. Covers square roots, cube roots, rationalizing denominators, and operations with radicals.