MathPath
Grades 1–13 Math Hub
Grades 8–10 · Geometry · Formula Deep Dive

Pythagorean Theorem: Geometric Proof & Examples

In any right triangle, the sum of the squares of the two legs ($a$ and $b$) equals the square of the hypotenuse ($c$, the longest side opposite the $90^\circ$ angle).

$$a^2 + b^2 = c^2$$

Variables: $a, b$ = legs of a right triangle; $c$ = hypotenuse (longest side).

When to use: Finding an unknown side of a right triangle or testing if a triangle is right-angled.

Right Triangle Geometry ($3$-$4$-$5$ Classic Triple)

a = 3b = 4c = 5

Legs $a = 3$ and $b = 4$ meet at the $90^\circ$ right angle; the hypotenuse opposite the right angle has length $c = \sqrt{3^2 + 4^2} = \sqrt{25} = 5$.

Classic Geometric Area Proof

Arrange four identical right triangles (legs $a, b$ and hypotenuse $c$) inside a large square of side length $a + b$.

  1. Total area of the large square: $(a + b)^2 = a^2 + 2ab + b^2$.
  2. The four corner right triangles have combined area $4 \times \left(\frac{1}{2}ab\right) = 2ab$.
  3. The tilted inner square formed by the four hypotenuses has side length $c$, so its area is $c^2$.
  4. Equating the two ways to measure total area: $a^2 + 2ab + b^2 = c^2 + 2ab$. Subtract $2ab$ from both sides to prove $a^2 + b^2 = c^2$.

Essential Variations & Pythagorean Triples

Finding the Hypotenuse ($c$)

$c = \sqrt{a^2 + b^2}$ — add the squares of the legs.

Finding a Missing Leg ($a$ or $b$)

$a = \sqrt{c^2 - b^2}$ — subtract the known leg squared from the hypotenuse squared.

Common Pythagorean Triples

$(3, 4, 5)$, $(5, 12, 13)$, $(8, 15, 17)$, $(7, 24, 25)$ and any integer multiples like $(6, 8, 10)$.

Converse (Testing a Right Angle)

If $a^2 + b^2 = c^2$, the triangle is right; if $a^2 + b^2 > c^2$, acute; if $a^2 + b^2 < c^2$, obtuse.

Step-by-Step Worked Examples

Example 1: Finding a Missing Leg (Ladder Against a Wall)

Problem: A $13\text{ ft}$ ladder leans against a wall with its base $5\text{ ft}$ from the wall. How high up the wall does it reach?
  1. Identify the hypotenuse: the slanted ladder is opposite the $90^\circ$ ground-wall corner, so $c = 13$ and $b = 5$.
  2. Set up $a^2 + 5^2 = 13^2 \Rightarrow a^2 + 25 = 169$.
  3. Subtract $25$: $a^2 = 144 \Rightarrow a = \sqrt{144} = 12\text{ ft}$.

Example 2: Testing Whether a Triangle Is Right-Angled

Problem: Is a triangle with sides $7\text{ cm}$, $9\text{ cm}$, and $12\text{ cm}$ a right triangle?
  1. Always assign the longest side to $c$: $a = 7, b = 9, c = 12$.
  2. Compare $a^2 + b^2 = 49 + 81 = 130$ against $c^2 = 144$.
  3. Since $130 \neq 144$ (in fact $130 < 144$), it is NOT a right triangle—it is an obtuse triangle.

Common Mistakes to Avoid

Mistake 1: Plugging the Unknown Leg into $c$

✗ Wrong: Given leg $b = 6$ and hypotenuse $c = 10$, computing $\sqrt{6^2 + 10^2} = \sqrt{136}$.
✓ Correct: $c$ is ALWAYS the hypotenuse (longest side). Compute $a = \sqrt{10^2 - 6^2} = \sqrt{64} = 8$.

Why: A leg can never be longer than the hypotenuse.

Mistake 2: Forgetting to Take the Square Root at the End

✗ Wrong: Stopping at $c^2 = 100$ and answering $c = 100$.
✓ Correct: Take the positive square root: $c = \sqrt{100} = 10$.

Why: $a^2 + b^2$ equals $c^2$, not $c$.

Frequently Asked Questions

Does the Pythagorean Theorem work on all triangles?

No, it only works on right triangles (triangles with one $90^\circ$ angle). For non-right triangles, use the Law of Cosines: $c^2 = a^2 + b^2 - 2ab\cos C$.

Does it matter which leg is $a$ and which leg is $b$?

No, addition is commutative ($a^2 + b^2 = b^2 + a^2$). Only $c$ is fixed as the hypotenuse opposite the $90^\circ$ angle.

How does the Pythagorean Theorem connect to the Distance Formula?

The Distance Formula $d = \sqrt{(x_2-x_1)^2 + (y_2-y_1)^2}$ is literally the Pythagorean Theorem applied to horizontal and vertical coordinate differences.

Practice & Related Resources

Apply Pythagorean Theorem on interactive problems, printable PDF worksheets, and calculators.

Worked Examples: Pythagorean Theorem →Distance & Midpoint Formulas →Grade 8 Pythagorean Theorem Quiz →Open Geometry Calculator → ← Back to Geometry Formulas Cheat Sheet