Skip to content
RMIT University Library - Learning Lab

T1 Pythagoras’ theorem

 

Pythagoras’ Theorem shows the relationship between the sides of a right-angled triangle. Knowing the length of two sides of a right-angled triangle, the length of the third side can be calculated.

This mathematical formula is fundamental for finding lengths and distances that are difficult to physically measure.

This is a short video on Pythagoras’ Theorem. Let’s start with the definition of a right angled triangle first. It’s a triangle with one angle that’s 90 degrees, the longer side is opposite the right angle and is called the hypotenuse. Now let’s state Pythagoras’ Theorem. It states that for any right angled triangle the square on the hypotenuse, h, is equal to the sum of the squares on the two shorter sides, a and b. In other words, h2 equals a2 plus b2.

Let’s do an example. Let’s find the length of the hypotenuse of this particular triangle. We’re given the two shorter sides, a and b, so write the formula first a the top, h2 equals a2 plus b2 and substitute in for a and b, four and three. So we have 42 plus 32. Notice 42 is four times four, not four times two. So four time four is 16, 32 is three times three which is nine. So h2 equals 25. So if h2 is 25, then h is the square root of 25, which is five. In other words, the length of the hypotenuse is five.

Now let’s find the length of one of the shorter sides of the triangle. Here we want to find the length of a. We’re given the hypotenuse. So as before we substitute into the formula, but notice I’ve turned the formula around this time and you’ll see why in a moment. In other words, I’ve got a2 plus b2 equals h2. Substituting b is six, h is 10, so a2 plus 36 equals 100. Now I want to remove 36 from the left hand side to isolate a. And that’s why I’ve turned the formula around this time, to make it easier, ‘cause I’m leaving a on the left hand side. So I’m subtracting 36, but remember we must subtract from both sides. So 36 minus 36 on the left hand side, 100 minus 36 on the right hand side. Therefore a2 equals 64, from which a is the square root of 64, which is eight. So the length of side a is 8.

Now let’s look at the last triangle and we want to find the length of b, which is sometimes called the perpendicular side, because it’s at right angles to another side, in this case, a. a will be the horizontal line, b will be the perpendicular line, and the angle between the two will be 90 degrees. So substituting into the formula as before, we have a equals 24, and h is 25. The numbers are a bit larger but it still doesn’t change the method by which we’re doing the problem. So 242 plus b2 equals 252. 576 is 24 times 24, plus b2 equals 625, which is 25 times 25. And as before we remove the number from the left hand side to isolate the b. So we subtract 576 from the right hand side. 625 minus 576 gives us 49. If b2 equals 49 b is now the square root of 49 which is seven. In other words. The length of side b is seven.

Right Angled Triangles

Triangles are plane shapes with three straight sides. A right angled triangle contains an angle of \(90^{\circ}\) as shown below.1 A right angle is an angle of \(90^{\circ}\).

a right angled triangle with the hypotenuse labelled

In a right angled triangle, the longest side is opposite the right angle and is called the hypotenuse.

Pythagoras’ Theorem

The theorem states that, in a right angled triangle,2 Pythagoras’ Theorem does not apply to any triangle - only right angled triangles. the square of the length of the hypotenuse is equal to the sum of the squares of the other two sides. In symbols:

a right angled triangle with the sides labelled a, b and h for hypotenuse

\[ h^{2}=a^{2}+b^{2}. \]

Pythagoras’ Theorem my be used to find the length of the third side of a triangle if you know the length of the other two sides.

Example 1

Find the length of the hypotenuse in the triangle below:

a right angled triangle with the shorter sides equal to 6 and 8 centimetres respectively

Solution: Using Pythagoras’ Theorem we have: \[\begin{align*} h^{2} & =a^{2}+b^{2}\\ & =6^{2}+8^{2}\\ & =36+64\\ & =100. \end{align*}\] So the hypotenuse \[\begin{align*} h & =\sqrt{100}\\ & =10\,. \end{align*}\] The length of the hypotenuse is \(10\,cm.\)3 Don’t forget to include the unit of measurement in your answer.

Example 2

Find the length of the side \(x\) to two decimal places in the triangle below:

a right angled triangle with the hypotenuse 20 centimetres long, one of the other sides 15 centimetres and the third side labelled x

Solution: In the case the hypotenuse \(h=20\:m\) and one of the shorter sides is \(15\,m\). Using Pythagoras’ Theorem we get: \[\begin{align*} 20^{2} & =15^{2}+x^{2}. \end{align*}\] Rearranging to make \(x^{2}\) the subject we have: \[\begin{align*} x^{2} & =20^{2}-15^{2}\\ & =400-225\\ & =175.\\ \textrm{Taking the square root of both sides gives:$\quad$ }\\ x & =\sqrt{175}\\ & =13.23\,. \end{align*}\] The length of the side \(x\) is \(13.23\,m\).

Example 3

Find the length of the unknown side in the triangle below to two decimal places:

a right angled triangle with the hypotenuse 12.5 centimetres, one of the shorter sides is 10.7 centimetres

Solution: In this case the hypotenuse \(h=12.5\,cm\) and one of the shorter sides is \(10.7\:cm\). Let the unknown side have length \(x\) then using Pythagoras’ Theorem: \[\begin{align*} 12.5^{2} & =10.7^{2}+x^{2}. \end{align*}\] Rearranging to make \(x^{2}\) the subject we have: \[\begin{align*} x^{2} & =12.5^{2}-10.7^{2}\\ & =156.25-114.49\\ & =41.76\,.\\ \textrm{Taking the square root of both sides gives:$\quad$ }\\ x & =\sqrt{41.76}\\ & =6.46\,. \end{align*}\] The length of the side is \(6.46\,cm.\)

Pythagorean Triples

In some right angled triangles, the length of all three sides is an integer.4 The integers is the set of whole numbers and is denoted by \[ \mathbb{Z}=\left\{ \cdots,-2,-1,0,1,2,\cdots\right\} . \] In this case the three side lengths are called a Pythagorean Triple. Some examples are \(\left(3,4,5\right)\), \(\left(5,12,13\right),\) \(\left(7,24,25\right)\) and \(\left(8,15,17\right)\). Multiples of these numbers are also Pythagorean triples. Multiplying the triple \(\left(3,4,5\right)\) by \(2\) gives a new triple \(\left(6,8,10\right)\) as we saw in Example 1 above.

Exercises

Find the missing side length in the following triangles.

a right angled triangle with the hypotenuse labelled as h and the other two sides of length 13 centimetres and 8 centimetres.

a right angled triangle with hypotenuse 35 millimetres, another side 20 millimetres and the third side is labelled x.

1. 15.26 centimetres
2. 28.72 millimetres

Download this page, T1 Pythagoras’ theorem (PDF 253KB)

What's next... T2 Right triangle trigonometry