Geometry

The Pythagorean Theorem with Worked Examples

By Math Solving Space · · 2 min read

On this page
  1. The theorem
  2. Worked example 1: find the hypotenuse
  3. Worked example 2: find a shorter side
  4. Worked example 3: an irrational answer
  5. Pythagorean triples
  6. Is it a right triangle? (the converse)
  7. Distance between two points
  8. Common mistakes
  9. Practice questions
  10. Frequently asked questions

In any right triangle, the square of the longest side (the hypotenuse) equals the sum of the squares of the other two sides: a2+b2=c2a^2 + b^2 = c^2. Use it to find a missing side, to test whether a triangle has a right angle, and to find the distance between two points.

The theorem

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

Here cc is always the hypotenuse, the side opposite the right angle. Getting this wrong is the most common mistake.

Worked example 1: find the hypotenuse

The shorter sides are 3 and 4.

c2=32+42=9+16=25⇒c=25=5c^2 = 3^2 + 4^2 = 9 + 16 = 25 \Rightarrow c = \sqrt{25} = 5

Worked example 2: find a shorter side

The hypotenuse is 13 and one side is 5. Rearrange:

b2=c2−a2=169−25=144⇒b=12b^2 = c^2 - a^2 = 169 - 25 = 144 \Rightarrow b = 12

Worked example 3: an irrational answer

Sides 5 and 7:

c=25+49=74≈8.602c = \sqrt{25 + 49} = \sqrt{74} \approx 8.602

74=2×3774 = 2 \times 37 has no square factors, so 74\sqrt{74} is already in simplest form.

Pythagorean triples

Whole-number solutions are called Pythagorean triples. Learning a few saves time:

Triple Multiples
3, 4, 5 6, 8, 10 · 9, 12, 15
5, 12, 13 10, 24, 26
8, 15, 17 16, 30, 34
7, 24, 25 14, 48, 50

Is it a right triangle? (the converse)

If a2+b2=c2a^2 + b^2 = c^2 for the longest side cc, the triangle has a right angle. If a2+b2>c2a^2 + b^2 > c^2 it is acute; if a2+b2<c2a^2 + b^2 < c^2 it is obtuse.

Example: sides 6, 8, 11. 36+64=100<12136 + 64 = 100 < 121, so the triangle is obtuse.

Distance between two points

The horizontal and vertical gaps between two points are the shorter sides of a right triangle. From (1,2)(1, 2) to (4,6)(4, 6) the gaps are 33 and 44:

d=32+42=5d = \sqrt{3^2 + 4^2} = 5

That is the distance formula d=(x2−x1)2+(y2−y1)2d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}.

Common mistakes

  • Using a shorter side as cc.
  • Adding the sides before squaring: (3+4)2≠32+42(3 + 4)^2 \ne 3^2 + 4^2.
  • Forgetting to take the square root at the end.

Practice questions

  1. Find the hypotenuse when the other sides are 8 and 15.
  2. Find the missing side when the hypotenuse is 25 and one side is 7.
  3. Is a triangle with sides 9, 12, 15 right-angled?

Answers: 1) 17 2) 24 3) Yes, 81+144=225=15281 + 144 = 225 = 15^2

Find any side with the Pythagorean theorem calculator, or the gap between two points with the distance calculator. For simplifying roots like 72\sqrt{72}, see how to simplify square roots.

Frequently asked questions

Does Pythagoras work for all triangles?

No, only right triangles. For other triangles use the law of cosines, c² = a² + b² − 2ab cos C.

Which side is the hypotenuse?

The side opposite the right angle. It is always the longest side.

Can the answer be a decimal?

Yes. Unless the sides form a Pythagorean triple, the answer is often a square root such as √74 ≈ 8.602.

Open the calculator →

#geometry#triangles#pythagoras