Resources For Teachers For Tutors For Students & Parents AI New Pricing
Year 9 Maths Core Pythagoras Theorem

Pythagoras Theorem

20 practice questions 1 video lesson Theory + worked examples

Pythagoras' theorem links the three sides of any right-angled triangle: \(c^2 = a^2 + b^2\), where \(c\) is the hypotenuse. This NSW Year 9 Core maths subtopic revises the Stage 4 work behind NESA outcome MA4‑PYT‑C‑01, with a sharper focus on naming the sides and stating the rule correctly.

You will pick out the hypotenuse as the longest side, opposite the right angle, even when the triangle is turned or only its vertices are named. You will write the theorem for a lettered triangle, such as \(p^2 + q^2 = r^2\), rearrange it to \(a = \sqrt{c^2 - b^2}\), and see why it says nothing about a triangle with no right angle. Squares drawn on the three sides show why the rule works, and builders and surveyors rely on it every day. It is part of Year 9 Core Pythagoras Theorem.

Practice 20 questions
Practice questions

Every question with a fully worked solution.

Start practising
Watch 1 video(s)
  • Pythagoras Theorem - Video - Maths Made Easy! Pythagoras theorem Watch
Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

Pythagoras' theorem links the three sides of a right-angled triangle: the square of the hypotenuse equals the sum of the squares of the other two sides. This Year 9 maths page revises the theorem you first met in earlier years. It shows how to find the hypotenuse, write the rule in symbols and in words, rearrange it for a shorter side and test whether a triangle is right-angled.

A right-angled triangle has one angle of \(90^\circ\). The side opposite the right angle is the hypotenuse. It is always the longest side. The other two sides are the shorter sides.

To find the hypotenuse, find the right angle first. The hypotenuse is the one side that does not touch the right angle. This works however the triangle is turned on the page.

Pythagoras' theorem says that in a right-angled triangle, the square of the hypotenuse equals the sum of the squares of the other two sides. With \(c\) as the hypotenuse, that is \(c^2 = a^2 + b^2\).

You can see it with areas. Draw a square on each side. The two smaller squares together have the same area as the square on the hypotenuse.

The theorem only works in right-angled triangles. It also works backwards: if the squares of the two shorter sides add up to the square of the longest side, the triangle is right-angled.

Squares drawn on the three sides of a right-angled triangleA right-angled triangle with short sides a and b and hypotenuse c. A square is drawn on each side; the squares on a and b are shaded blue and the square on the hypotenuse is shaded red. a² b² c² a b c
The two blue squares on the shorter sides have the same total area as the red square on the hypotenuse: \(a^2 + b^2 = c^2\).
The hypotenuse in three different orientationsThree right-angled triangles turned different ways. In each one the side opposite the right angle, the hypotenuse, is drawn in red. hyp hyp hyp
However the triangle is turned, the hypotenuse (red) is the side opposite the right angle. It is always the longest side.

With \(c\) the hypotenuse and \(a\) and \(b\) the shorter sides:

\[c^2 = a^2 + b^2\]
c2=a2+b2

In words: the square of the hypotenuse equals the sum of the squares of the other two sides.

For a shorter side, subtract from the square of the hypotenuse:

\[a^2 = c^2 - b^2 \qquad b^2 = c^2 - a^2\]
a2=c2−b2

Take the square root to get the side itself:

\[a = \sqrt{c^2 - b^2}\]
a=c2−b2
Naming sides by vertices. In \(\triangle KLM\) with the right angle at \(L\), the hypotenuse is \(KM\), so \(KM^2 = KL^2 + LM^2\). When sides are named with small letters, side \(k\) faces vertex \(K\), side \(l\) faces \(L\), and so on.
Testing for a right angle. Square the two shorter sides and add. If the total equals the square of the longest side, the triangle is right-angled, and the right angle is opposite the longest side. If not, the triangle is not right-angled.

How to use Pythagoras' theorem

  1. Find the right angle. With no diagram, sketch one, or use the longest side.
  2. Name the hypotenuse: the side opposite the right angle. The other two are the shorter sides.
  3. Write the theorem with the hypotenuse on its own: hypotenuse\(^2\) = shorter\(^2\) + shorter\(^2\).
  4. Work out the squares. For the hypotenuse, add them. For a shorter side, subtract from the hypotenuse squared.
  5. Check that the hypotenuse is the longest side.
Example 1 — Naming the hypotenuse
In \(\triangle XYZ\), \(\angle XZY = 90^\circ\). Which side is the hypotenuse?
Solution

The middle letter of \(\angle XZY\) is where the angle is, so the right angle is at \(Z\).

Triangle XYZ with the right angle at ZTriangle XYZ drawn with the right angle at the top vertex Z. The side XY, opposite Z, is the hypotenuse and is drawn in red. X Y Z hypotenuse
\(\text{right angle}\)\(=\)\(\text{at } Z\)
\(\text{hypotenuse}\)\(=\)\(\text{side opposite } Z\)
\(\therefore\ \text{hypotenuse}\)\(=\)\(\boldsymbol{XY}\)
hypotenuse=XY

The triangle is turned, so the hypotenuse is at the bottom here. What matters is that it faces the right angle.

Example 2 — Writing and rearranging the theorem
Triangle \(DEF\) has its right angle at \(D\). Each side is named with the small letter of the vertex it faces.
(i) Write Pythagoras' theorem for the triangle.
(ii) Make \(e\) the subject.
Solution

The right angle is at \(D\), so the hypotenuse is \(d\), the side facing \(D\). The shorter sides are \(e\) and \(f\).

Triangle DEF with the right angle at DRight-angled triangle DEF with the right angle at D. Side d (red) is opposite D and is the hypotenuse; sides e and f are the shorter sides. D E F f e d

(i) The square of the hypotenuse goes on its own:

\(d^2\)\(=\)\(e^2 + f^2\)

(ii) Subtract \(f^2\) from both sides, then take the square root:

\(d^2 - f^2\)\(=\)\(e^2\)
\(e^2\)\(=\)\(d^2 - f^2\)
\(\therefore\ e\)\(=\)\(\boldsymbol{\sqrt{d^2 - f^2}}\)
e=d2−f2

A shorter side comes from a subtraction, because it is smaller than the hypotenuse.

Example 3 — Working out the squares

(i) A right-angled triangle has shorter sides of \(8\) cm and \(15\) cm. Find \(c^2\), where \(c\) is the hypotenuse.
(ii) Another right-angled triangle has a hypotenuse of \(41\) m and a shorter side of \(9\) m. The other shorter side is \(x\). Find \(x^2\).
Solution
Two right-angled trianglesLeft: a right-angled triangle with shorter sides 8 cm and 15 cm and hypotenuse c. Right: a right-angled triangle with hypotenuse 41 m, one shorter side 9 m and the other shorter side x. (i) 8 cm 15 cm c (ii) 9 m x 41 m

(i) The hypotenuse is unknown, so add the two squares:

\(c^2\)\(=\)\(8^2 + 15^2\)
\(\)\(=\)\(64 + 225\)
\(\)\(=\)\(\mathbf{289}\)
c2=289

(ii) \(41\) m is the longest side, so it is the hypotenuse and goes on its own. Then subtract:

\(41^2\)\(=\)\(9^2 + x^2\)
\(x^2\)\(=\)\(41^2 - 9^2\)
\(\)\(=\)\(1681 - 81\)
\(\)\(=\)\(\mathbf{1600}\)
x2=1600

Taking the square root gives the side itself, \(x = 40\) m. That step is covered in Finding the Shorter Side.

Example 4 — Is it right-angled?
Are these triangles right-angled?
(i) Sides of \(20\) cm, \(21\) cm and \(29\) cm.
(ii) Sides of \(7\) m, \(9\) m and \(12\) m.
Solution

Square the two shorter sides and add. Compare the total with the square of the longest side.

(i)

\(20^2 + 21^2\)\(=\)\(400 + 441\)
\(\)\(=\)\(841\)
\(29^2\)\(=\)\(841\)
202+212=292

They are equal, so the triangle is right-angled. The right angle is opposite the \(29\) cm side.

Triangle with sides 20 cm, 21 cm and 29 cmA triangle with sides 20 cm, 21 cm and 29 cm. The right angle, marked in red, is opposite the 29 cm side. 20 cm 21 cm 29 cm

(ii)

\(7^2 + 9^2\)\(=\)\(49 + 81\)
\(\)\(=\)\(130\)
\(12^2\)\(=\)\(144\)
130≠144

\(130 \ne 144\), so the triangle is not right-angled.

Common pitfalls

Watch out for turned triangles. The hypotenuse is not always the side at the bottom or the sloping side. It is the side opposite the right angle.
Square first, then add. The rule is \(c^2 = a^2 + b^2\), not \(c = a + b\). Adding the side lengths themselves gives the wrong answer.
Keep the hypotenuse on its own. Writing \(a^2 = b^2 + c^2\) treats a shorter side as the hypotenuse. For a shorter side you subtract: \(a^2 = c^2 - b^2\).
Right-angled triangles only. An equilateral triangle has no right angle, so the theorem does not apply to it. A triangle whose hypotenuse is shorter than another side is impossible, because the hypotenuse is always the longest side.

Frequently asked questions

What is Pythagoras' theorem?

In a right-angled triangle, the square of the hypotenuse equals the sum of the squares of the other two sides. With \(c\) as the hypotenuse, \(c^2 = a^2 + b^2\).

How do you find the hypotenuse of a right-angled triangle?

Find the right angle first. The hypotenuse is the side opposite it, the one side that does not touch the right angle. It is also the longest side.

Is the hypotenuse always the longest side?

Yes. Because \(c^2 = a^2 + b^2\), \(c^2\) is bigger than each of the other squares, so the hypotenuse is longer than each shorter side.

How do you know if a triangle is right-angled?

Square the two shorter sides and add them. If the total equals the square of the longest side, the triangle is right-angled. For sides \(20\), \(21\) and \(29\): \(400 + 441 = 841 = 29^2\), so it is right-angled.

Does Pythagoras' theorem work for all triangles?

No. It only works in right-angled triangles. A triangle with no right angle, such as an equilateral triangle, has no hypotenuse, so the rule does not apply.