Math Core

Module 4.2 · Geometry

Triangles and the Pythagorean theorem

The Pythagorean theorem is the most-used tool in contest geometry. Any time a problem has a right angle, or you can create one by drawing an altitude, a missing length is usually one a2+b2=c2a^2 + b^2 = c^2 away. Strong competitors also recognize the common right triangles on sight, which turns many problems into mental math.

The Pythagorean theorem

In a right triangle with legs aa and bb and hypotenuse cc (the side across from the right angle),

a2+b2=c2.a^2 + b^2 = c^2.

It also works backward: if the sides of a triangle satisfy a2+b2=c2a^2 + b^2 = c^2, the triangle has a right angle opposite cc.

Pythagorean triples

Whole-number solutions show up constantly. Memorize these, along with their multiples:

TripleCommon multiples
3,4,53, 4, 56,8,106, 8, 10; 9,12,159, 12, 15; 15,20,2515, 20, 25
5,12,135, 12, 1310,24,2610, 24, 26
8,15,178, 15, 1716,30,3416, 30, 34
7,24,257, 24, 2514,48,5014, 48, 50
20,21,2920, 21, 29

If a right triangle has legs 1212 and 1616, notice that it is 44 times a 3,4,53, 4, 5 triangle, so the hypotenuse is 2020. No squaring needed.

Special right triangles

Two right triangles have fixed shapes, so their side ratios never change.

Special right triangles

  • 45∘45^\circ-45∘45^\circ-90∘90^\circ: sides in the ratio 1:1:21 : 1 : \sqrt{2}. The hypotenuse is 2\sqrt{2} times a leg. This is half of a square cut along its diagonal.
  • 30∘30^\circ-60∘60^\circ-90∘90^\circ: sides in the ratio 1:3:21 : \sqrt{3} : 2. The hypotenuse is twice the shortest leg, and the longer leg is 3\sqrt{3} times the shortest leg. This is half of an equilateral triangle.

An equilateral triangle with side ss has height 32s\dfrac{\sqrt{3}}{2}s and area 34s2\dfrac{\sqrt{3}}{4}s^2.

Both come straight from the Pythagorean theorem. For example, cut an equilateral triangle with side 22 in half: the halves have hypotenuse 22 and short leg 11, so the other leg is 4−1=3\sqrt{4 - 1} = \sqrt{3}.

The triangle inequality

Three lengths form a triangle only if each one is less than the sum of the other two. In practice, check that the longest side is less than the sum of the other two. So if two sides are aa and bb, the third side xx must satisfy ∣a−b∣<x<a+b|a - b| < x < a + b.

Worked example: The sliding ladder

A 2525-foot ladder leans against a vertical wall with its foot 77 feet from the wall. The top slides down 44 feet. How far does the foot slide out?

The ladder before (top at 24, foot at 7) and after sliding.

At first the top is 252−72=576=24\sqrt{25^2 - 7^2} = \sqrt{576} = 24 feet high (a 7,24,257, 24, 25 triangle). After sliding, it is 2020 feet high. The foot is now 252−202=15\sqrt{25^2 - 20^2} = 15 feet from the wall (a 15,20,2515, 20, 25 triangle). The foot slid 15−7=815 - 7 = 8 feet.

Worked example: Area of an isosceles triangle

Find the area of a triangle with sides 1313, 1313 and 1010.

The altitude to the base splits the triangle into two right triangles.

The altitude to the side of length 1010 cuts it into two halves of 55, since the triangle is isosceles. Each half is a right triangle with hypotenuse 1313 and leg 55, so the altitude is 1212. The area is 12⋅10⋅12=60\dfrac{1}{2} \cdot 10 \cdot 12 = 60.

Worked example: An equilateral triangle

An equilateral triangle has side length 66. Find its height and its area.

The height splits an equilateral triangle into two 30-60-90 triangles.

The height splits it into two 30∘30^\circ-60∘60^\circ-90∘90^\circ triangles with hypotenuse 66 and short leg 33. The height is the long leg, 333\sqrt{3}. The area is 12⋅6⋅33=93\dfrac{1}{2} \cdot 6 \cdot 3\sqrt{3} = 9\sqrt{3}, which matches 34⋅62=93\dfrac{\sqrt{3}}{4} \cdot 6^2 = 9\sqrt{3}.

Worked example: Counting possible third sides

A triangle has sides of length 55 and 99. How many whole-number lengths are possible for the third side?

The third side xx must satisfy 9−5<x<9+59 - 5 < x < 9 + 5, so 4<x<144 < x < 14. The possible values are 5,6,…,135, 6, \dots, 13: that's 99 lengths.

Common mistake

The hypotenuse is always the longest side, across from the right angle. If a problem gives two sides of a right triangle, check which one is the hypotenuse before you add or subtract squares. Legs 55 and 1212 give hypotenuse 1313, but leg 55 and hypotenuse 1212 give other leg 119\sqrt{119}.

Tip

Before squaring big numbers, divide out a common factor. For legs 3636 and 4848, divide by 1212 to get 33 and 44. The hypotenuse is 12⋅5=6012 \cdot 5 = 60.

Practice

Practice 1

A right triangle has legs 99 and 4040. How long is its hypotenuse?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 2

A right triangle has hypotenuse 2626 and one leg 1010. What is its area?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 3

Maya walks 77 blocks north, 99 blocks east, then 55 more blocks north. How many blocks is she from her starting point, in a straight line?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 4

Two sides of a triangle have lengths 77 and 1212. How many whole-number lengths are possible for the third side?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 5

The diagonal of a square is 1010. What is the area of the square?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 6

A 30∘30^\circ-60∘60^\circ-90∘90^\circ triangle has hypotenuse 1414. What is its perimeter?

Practice 7

An equilateral triangle has area 16316\sqrt{3}. What is its side length?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 8

A right triangle has legs 1515 and 2020. How long is the altitude from the right angle to the hypotenuse?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 9

How many different right triangles with whole-number side lengths have a leg of length 1212?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Real contest practice