Learn

Pythagorean Theorem: Formula, Proof, and Applications

2026.04.24

by QANDA

Geometry
Geometry

The Pythagorean theorem describes the relationship between the three sides of a right triangle. It's one of the most famous results in all of mathematics and serves as the foundation for geometry, trigonometry, and coordinate math.

💡
The Pythagorean theorem is the backbone of nearly every geometry problem involving distances, heights, or diagonals. One formula unlocks them all.

Understanding the Pythagorean Theorem

The Formula

In a right triangle with legs aa and bb and hypotenuse cc:

a2+b2=c2a^2 + b^2 = c^2

The hypotenuse is always the longest side — the one opposite the right angle.

Key Terminology

TermDescriptionLabel
LegsThe two sides forming the right angleaa, bb
HypotenuseThe side opposite the right anglecc (always the longest)

Proof of the Pythagorean Theorem

Step 1: Area-Based Proof (Euclid's Method)

Arrange four identical right triangles inside a square with side length (a+b)(a + b):

Area of large square = 4 triangles + inner square

(a+b)2=4×12ab+c2(a + b)^2 = 4 \times \frac{1}{2}ab + c^2

Step 2: Expand and Simplify

a2+2ab+b2=2ab+c2a^2 + 2ab + b^2 = 2ab + c^2

Subtract 2ab2ab from both sides:

a2+b2=c2a^2 + b^2 = c^2

⚠️
The Pythagorean theorem applies only to right triangles. For acute or obtuse triangles, use the law of cosines instead. Always verify the right angle first!

Applications

Distance Between Two Points

The distance between points A(x1,y1)A(x_1, y_1) and B(x2,y2)B(x_2, y_2) on a coordinate plane:

d=(x2x1)2+(y2y1)2d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}

This formula is derived directly from the Pythagorean theorem.

Special Right Triangles

NameSide RatiosAngles
Pythagorean triple 3-4-53:4:53 : 4 : 5Right triangle
Isosceles right triangle1:1:21 : 1 : \sqrt{2}45°45°-45°45°-90°90°
Half equilateral triangle1:3:21 : \sqrt{3} : 230°30°-60°60°-90°90°

Practice Problems

Example 1: Finding the Hypotenuse

Problem: A right triangle has legs of 6 cm and 8 cm. Find the hypotenuse.

Show Solution

Apply the Pythagorean theorem:

c2=62+82=36+64=100c^2 = 6^2 + 8^2 = 36 + 64 = 100

c=100=10c = \sqrt{100} = 10

Answer: 1010 cm

Example 2: Identifying a Right Triangle

Problem: Determine whether a triangle with sides 5, 12, and 13 is a right triangle.

Show Solution

Check if a2+b2=c2a^2 + b^2 = c^2 using the longest side (13) as cc:

52+122=25+144=169=1325^2 + 12^2 = 25 + 144 = 169 = 13^2

Since a2+b2=c2a^2 + b^2 = c^2, it is a right triangle.

Answer: Yes, it is a right triangle.

📝
Memorize common Pythagorean triples (3-4-5, 5-12-13, 8-15-17) and their multiples (6-8-10, 9-12-15) to quickly identify right triangles.

Top 3 Common Mistakes

  1. Putting the hypotenuse on the wrong sidecc is always the longest side (opposite the right angle). Identify it first before substituting.
  2. Forgetting to take the square root — After finding c2=100c^2 = 100, the answer is c=10c = 10, not 100100. And since length is positive, c=10c = -10 is not valid.
  3. Applying to non-right triangles — The theorem only works for right triangles. Always confirm the right angle exists in the problem.

Related Concepts

  • Trigonometry — trig ratios
  • Vectors — coordinate geometry
  • Quadratic Equations — algebraic skills