Algebra5 min read

Pythagorean Theorem

a² + b² = c²

What is the Pythagorean Theorem?

The Pythagorean theorem states that in any right triangle, the square of the hypotenuse equals the sum of the squares of the other two sides. It only applies to right triangles — triangles with one 90° angle.

Because it relates all three sides, it can be rearranged to find any one side once the other two are known: the hypotenuse directly, or a leg by subtracting before taking the square root.

What Each Variable Means

a, b
LegsThe two shorter sides of the right triangle, meeting at the right angle.
c
HypotenuseThe longest side, always opposite the right angle.

When to Use It

  • Finding a missing side length in a right triangle
  • Checking whether a triangle with three known side lengths actually has a right angle (if a² + b² = c², it does)
  • As the basis for the distance formula between two coordinate points
Advertisement

Step-by-Step Example

Problem: A right triangle has legs of length 3 and 4. Find the hypotenuse.

1
Identify the legs

a and b are the two shorter sides.

a = 3, b = 4
2
Square each leg and add

Compute a² + b².

3² + 4² = 9 + 16 = 25
3
Take the square root

c is the square root of that sum.

c = √25
Answer: c = 5

Interactive Calculator

Result will appear here

Solving for Other Variables

a = √(c² − b²)Solve for one leg when the hypotenuse and the other leg are known.

Common Mistakes

  • Mistake: Applying the theorem to a triangle that isn't a right triangle.

    Fix: a² + b² = c² only holds when the triangle has a 90° angle — verify that first, or use the Law of Cosines for a general triangle.

  • Mistake: Mixing up which side is the hypotenuse.

    Fix: The hypotenuse is always the longest side and always opposite the right angle — it's never one of the two legs being added.

Practice Questions

  1. A right triangle has legs of length 6 and 8. Find the hypotenuse.

    Hint: 6² + 8² = 36 + 64 = 100.

  2. A ladder 13 m long leans against a wall, its base 5 m from the wall. How high up the wall does it reach?

    Hint: Solve for the missing leg: √(13² − 5²).

Frequently Asked Questions

Does this work for any triangle?

No — only right triangles. For any other triangle, use the Law of Cosines, which reduces to the Pythagorean theorem when the included angle is 90°.

Can I use it to check if a triangle is a right triangle?

Yes — if the square of the longest side equals the sum of the squares of the other two, the triangle has a right angle opposite that longest side.