The Pythagorean theorem is one of the most important results in all of mathematics. It connects the three sides of every right-angled triangle through a single elegant equation, and once you understand it, you will see it everywhere: in construction, navigation, trigonometry, and every geometry course from Grade 8 onwards.
This guide covers everything you need to know:
- what the Pythagorean theorem states
- how the formula works
- where it came from
- how to prove it
- how to apply it step by step with worked examples
- and how it is used in the real world.
What Is the Pythagorean Theorem?
The Pythagorean theorem, also called Pythagoras theorem, is based on the following concept: in any right-angled triangle, the square of the hypotenuse is equal to the sum of the squares of the other two sides.
The Pythagorean theorem equation (the core Pythagoras theorem formula) is:
a² + b² = c²
This is the foundational relationship in Euclidean geometry for any right triangle. In other words: if you draw a square on each of the three sides of a right triangle, the area of the largest square (on the hypotenuse) equals the combined area of the two smaller squares.
One critical point: the Pythagorean theorem only applies to right-angled triangles. If the triangle does not have a 90-degree angle, the equation does not hold. This is one of the most common misconceptions students encounter when first learning the theorem.
Who Discovered the Pythagorean Theorem?
While the name “Pythagoras” is closely linked to this mathematical concept, its origins stretch back further than you might think.
Around 2000 BCE, Babylonian mathematicians recorded a version of the theorem on clay tablets. These ancient geometry principles laid the groundwork for future developments. Remarkably, the Babylonians already worked with what we now call Pythagorean triples (sets of three integers such as 3-4-5 that satisfy a² + b² = c²) more than a thousand years before Pythagoras was born.
Pythagoras of Samos was a Greek philosopher and mathematician who lived around 570-495 BCE, born on the island of Samos. He founded the Pythagorean school, a community devoted to studying mathematics, music, and philosophy. His school studied the relationship between numbers and geometry, laying the groundwork for further exploration in the history of mathematics.
In 300 BCE, Euclid’s Elements (one of the most influential mathematical texts in history) compiled and formalized existing mathematical knowledge, including the right-angled triangle theorem we now call the Pythagorean theorem. Euclid’s Elements established a framework for proofs in Euclidean geometry that has lasted for centuries.
Thus, it is more accurate to describe the Pythagorean theorem as a collaborative discovery in the mathematical community rather than attributing it to a single individual. The 4,000-year-old story of its proof spans multiple cultures and time periods.
Pythagorean Theorem Formula
The Pythagorean theorem formula has two main forms, depending on which side you need to find.
Finding the hypotenuse
How to find the hypotenuse:
c = √(a² + b²)
When the result under the square root is a perfect square (like 25, 100, 169), you get a clean whole number answer. When it is not, you will need to simplify the square root or use a calculator.
Finding a shorter leg (a or b)
Finding the unknown side:
a = √(c² – b²)
b = √(c² – a²)
Here is how to label the sides of a right-angled triangle correctly before applying the formula:
- Hypotenuse (c): Always the longest side. Always opposite the right angle (90°). Never one of the adjacent sides.
- Legs (a and b): The two shorter sides that form the right angle. Also called the base and perpendicular in some textbooks. Either can be labelled a or b — the formula works either way.
- Base: One of the two legs, typically the horizontal side of the triangle.
A useful way to remember which side is which: the hypotenuse is the one that does not touch the right angle. The two legs are the ones that do.
Pythagorean Triples
A Pythagorean triple is a set of three positive integers (a, b, c) with integer sides that satisfy the equation a² + b² = c² exactly, making them the side lengths of a right triangle with no decimals.
The most well-known Pythagorean triple is the 3-4-5 triangle: 3² + 4² = 9 + 16 = 25 = 5².
The relationship can also be understood visually: the area of a square built on the hypotenuse (side 5) equals 25, which is the same as the area of a square on side 3 (area = 9) plus the area of a square on side 4 (area = 16). Any multiple of a known triple is also a triple (6-8-10, 9-12-15, etc.).
Here are the most common Pythagorean triples students encounter:
| a | b | c | Verification |
|---|---|---|---|
| 3 | 4 | 5 | 9 + 16 = 25 ✓ |
| 5 | 12 | 13 | 25 + 144 = 169 ✓ |
| 8 | 15 | 17 | 64 + 225 = 289 ✓ |
| 7 | 24 | 25 | 49 + 576 = 625 ✓ |
Pythagorean triples are useful because they let you work with right triangles without needing a calculator or a square root, as all three sides are clean integers. Recognizing a 3-4-5 or 5-12-13 triangle on sight is a genuine time-saver in exams.
Proof of the Pythagorean Theorem
Over the centuries, mathematicians have found more than 300 ways to prove the Pythagorean theorem. Here is the most visually intuitive Pythagorean theorem proof: the algebraic proof by rearrangement.
The Algebraic proof or rearrangement
Setup
Take four congruent triangles (congruent right-angled triangles), each with legs a and b and hypotenuse c. Arrange them inside a large square whose side length is (a + b).
Step by step
- The four triangles are arranged so their hypotenuses form a tilted inner square with side c.
- The area of the large outer square is (a + b)² = a² + 2ab + b².
- The area of the four triangles together is 4 × (½ × a × b) = 2ab.
- The area of the inner tilted square is (a + b)² – 2ab = a² + b².
- But the inner square has side c, so its area is also c².
- Therefore: c² = a² + b².
Hence, the Pythagorean theorem is proved.
The similar triangles proof
Draw a perpendicular from the right-angle vertex to the hypotenuse. This creates two smaller triangles, each similar to the original. Since corresponding sides of similar triangles are proportional, you can show that AB² + BC² = AC². Same result, different route.
If the proof feels complex, working through it step by step with private tutoring is one of the most effective ways to build genuine understanding rather than memorising the formula.
How to Use the Pythagorean Theorem: 3 Worked Examples
Knowing the theorem is one thing. Knowing how to use Pythagoras’ theorem to solve problems confidently is another.
These Pythagoras theorem examples cover the main question types that appear on exams: finding the missing side in each direction and checking if a triangle is right-angled.
Example 1: Find the Hypotenuse
A right triangle has legs of 6 cm and 8 cm. Determine the hypotenuse.
Given: a = 6, b = 8. Find: c (the unknown side).
- Write the formula: c² = a² + b²
- Plug in the values: c² = 6² + 8² = 36 + 64 = 100
- Find the unknown: c = √100 = 10 cm
Hence, the hypotenuse is 10 cm, a 3-4-5 triple scaled by 2. Recognising and calculating square roots quickly is essential for solving these problems efficiently.
Example 2: Find a shorter side
A right triangle has a hypotenuse of 17 cm and one leg of 15 cm. Find the unknown shorter side.
Given: c = 17, a = 15. Find: b.
- Write the formula: a² + b² = c²
- Substitute the values: 15² + b² = 17²
- Simplify: 225 + b² = 289
- Rearrange: b² = 289 – 225 = 64
- Solve: b = √64 = 8 cm
Example 3: Check whether a triangle is right-angled
A triangle has sides of 10 cm, 24 cm, and 26 cm. Determine whether it is a right-angled triangle.
Given: three sides. Check: does a² + b² = c²?
- The longest side is 26 cm, so let c = 26, a = 10, b = 24.
- Calculate LHS: a² + b² = 100 + 576 = 676
- Calculate RHS: c² = 26² = 676
- Since LHS = RHS, the triangle is a right-angled triangle. ✓
This is an application of the converse of the Pythagorean theorem: if a² + b² = c², then the angle opposite c is exactly 90°. Check if a triangle is right-angled using this method whenever three side lengths are given.
The Converse of the Pythagorean Theorem
The converse of the Pythagorean theorem works in reverse: if the three sides of a triangle satisfy a² + b² = c², then that triangle must be right-angled, with a 90-degree angle opposite the longest side.
This is useful when you have three side lengths and need to verify whether a triangle contains a right angle without measuring. For example, builders use the 3-4-5 triple to check whether a corner is perfectly square: if a wall 3 metres long, a wall 4 metres long, and a diagonal of 5 metres form a triangle, the corner is a right angle by the converse of the Pythagorean theorem.
The converse also tells you what a triangle is NOT. If a² + b² is less than c², the triangle is obtuse (the angle opposite c is greater than 90°). If a² + b² is greater than c², the triangle is acute.
Real-World Applications of the Pythagorean Theorem
The Pythagorean theorem applications extend across science, engineering, and everyday life. Here are the most common:
- Construction and architecture: Builders use the 3-4-5 triple to set right angles on site. Architects apply the theorem to calculate roof spans, staircase lengths, and diagonal bracing for structural stability.
- Navigation and GPS: Finding the shortest distance between two points in a plane is a direct application of the theorem. GPS systems use a three-dimensional version (extended to three dimensions using c = √(a² + b² + d²)) to calculate distances between satellites and receivers.
- The distance formula: In coordinate geometry, the distance between two points (x₁, y₁) and (x₂, y₂) is √[(x₂-x₁)² + (y₂-y₁)²], which is simply the Pythagorean theorem applied to a coordinate grid.
- Diagonal of a square: The diagonal of a square with side s has length s√2, derived directly from the theorem (s² + s² = 2s²).
- Trigonometry: The fundamental trigonometric identity sin²θ + cos²θ = 1 is a restatement of the Pythagorean theorem applied to the unit circle. For more on what trigonometry is and how the theorem connects to sine and cosine, see our dedicated guide.
- Surveying and engineering: Land surveyors calculate distances across terrain that cannot be measured directly. For students interested in STEM tutoring that connects classroom maths to real-world applications, these are exactly the kinds of problems that appear in physics and engineering coursework.
Struggling With the Pythagorean Theorem? Tutorax Can Help
The Pythagorean theorem is foundational; it appears in geometry, trigonometry, physics, and engineering. Getting it wrong early creates gaps that compound over time. If your child is struggling with geometry or simply needs more practice to apply the theorem confidently under exam conditions, personalized support makes all the difference.
At Tutorax, 95% of our students see measurable improvement in academic performance. We have helped more than 20,000 students across Canada improve math skills and build confidence in geometry, algebra, trigonometry, and beyond.
Here is what working with a Tutorax tutor looks like:
- One-on-one sessions targeting your child’s specific gaps: formula application, proof understanding, or working through Pythagorean theorem problems under timed conditions
- Available as in-home tutoring or online tutoring, 7 days a week, with flexible scheduling
- No contract required: pay as you go with no minimum hours
- Tutor placement guaranteed in less than 7 days for in-home sessions, or within 24-48 hours online
Whether you are looking for tutoring in Toronto, math tutors in Montreal, or anywhere else across Canada, we’ll help you find a math tutor near you today.
Frequently Asked Questions About the Pythagorean Theorem
What does the Pythagorean theorem state?
The Pythagorean theorem states that in a right-angled triangle, the square of the hypotenuse is equal to the sum of the squares of the other two sides. In equation form: c² = a² + b², where c is the hypotenuse and a and b are the two legs.
It is one of the fundamental results in Euclidean geometry and applies exclusively to right-angled triangles.
Can the Pythagorean theorem be used on any triangle?
No. The Pythagorean theorem only applies to right-angled triangles (triangles that have one angle of exactly 90 degrees). For other triangles, the law of cosines is the generalized equivalent.
However, the converse works too: if a² + b² = c² for a triangle’s three sides, then that triangle is necessarily right-angled.
What are Pythagorean triples?
Pythagorean triples are sets of three positive integers (a, b, c) that satisfy the equation a² + b² = c², making them the exact side lengths of a right triangle with no decimal values. The most common examples are 3-4-5 and 5-12-13.
They were known to Babylonian mathematicians as early as 2000 BCE and remain useful today for quickly identifying right triangles without calculation.
What is the Pythagorean theorem used for in real life?
The Pythagorean theorem is commonly used in:
- construction and architecture to set right angles
- navigation and GPS to calculate distances
- coordinate geometry as the basis of the distance formula
- trigonometry, where it underpins the identity sin²θ + cos²θ = 1
Surveyors, engineers, architects, and programmers all rely on it regularly.


