O Level Maths 4024 · Area 6 · Trigonometry

Pythagoras Theorem

Pythagoras' theorem links the three sides of a right-angled triangle: the square on the hypotenuse equals the sum of the squares on the other two sides. You use it to find a missing side, to test whether a triangle is right-angled, and to work inside rectangles, isosceles triangles and coordinate grids. The two operations are easy to mix up, so the page separates them and shows when the answer should stay as a surd.

Not started

Syllabus coverage

  • Know and use Pythagoras' theorem
  • Identify the hypotenuse as the side opposite the right angle, and the longest side of the triangle
  • Find the length of the hypotenuse from the two shorter sides, and find a shorter side from the hypotenuse and the other shorter side
  • Use the converse to decide whether a triangle is right-angled
  • Apply the theorem in two dimensions, including rectangles, isosceles triangles and the distance between two points

Part of the O Level Maths syllabus 4024.

The squares on the sides of a right-angled triangleb²a²c²abca² + b² = c²The two smaller squarestogether cover exactly thesame area as the squareon the hypotenuse.Here a = 3, b = 4, c = 5:9 + 16 = 25The square on a has area a²,the square on b has area b²,the square on c has area c².The squares are drawn on the two shorter sides and on the hypotenuse.
Squares drawn on the three sides of a right-angled triangle, with the area on the hypotenuse equal to the sum of the areas on the two shorter sides.

The theorem, and the side it names

A right-angled triangle has two shorter sides that meet at the right angle, and one long side opposite the right angle. That long side is the hypotenuse, and it is always the longest side of the triangle. Pythagoras' theorem says that the square on the hypotenuse equals the sum of the squares on the other two sides. In symbols, if c is the hypotenuse and a and b are the other two sides, then a2+b2=c2.

The theorem is a statement about areas. Draw a square on each side of a right-angled triangle: the area of the square on the hypotenuse is exactly the total area of the squares on the two shorter sides. In a 3-4-5 triangle the squares have areas 9, 16 and 25, and 9+16=25. That picture is worth keeping in your head, because it explains why the rule adds for the long side and subtracts when the long side is already known.

The rule only works when the triangle really has a right angle. A triangle with sides 4, 5 and 6 gives 16+25=41, which is not 36, so it is not right-angled and Pythagoras' theorem does not apply to it. Never assume a right angle from the look of a diagram: it is either marked with a small square, or stated in the question, or you have to prove it with the converse.

Trianglea2+b2c2Right-angled?
3, 4, 59+16=2525yes
5, 12, 1325+144=169169yes
8, 15, 1764+225=289289yes
4, 5, 616+25=4136no
The hypotenuse is the side opposite the right angle, not the side that looks longest. In a tilted triangle the hypotenuse is often drawn at an angle, and the right angle sits between the two shorter sides.

Finding the hypotenuse: add the squares

When the two shorter sides are known and the hypotenuse is missing, square both shorter sides, add, then take the square root. For sides 9 cm and 12 cm: 92+122=81+144=225, and 225=15, so the hypotenuse is 15 cm. Write the squares line down, because that is where the method mark sits.

The arithmetic is the same whatever the numbers. For sides 7 m and 24 m, 49+576=625 and the hypotenuse is 25 m. With decimals, keep the full value until the last step: sides 4.6 cm and 6.2 cm give 21.16+38.44=59.6, and 59.6=7.7201, which is 7.72 cm to 3 significant figures.

A useful check: the hypotenuse must be longer than either shorter side but shorter than their sum. An answer of 15 cm from sides 9 cm and 12 cm passes both tests; an answer of 8 cm does not, and tells you that you subtracted instead of adding.

  • 62+82=36+64=100, so the hypotenuse is 10
  • 52+122=25+144=169, so the hypotenuse is 13
  • 82+152=64+225=289, so the hypotenuse is 17
  • 1.52+22=2.25+4=6.25, so the hypotenuse is 2.5

Finding a shorter side: subtract the squares

When the hypotenuse and one shorter side are known, the missing shorter side is found by subtracting: b2=c2−a2. With a hypotenuse of 13 cm and one side of 5 cm, 132−52=169−25=144, so the missing side is 12 cm.

Subtraction is the step students lose marks on, because the habit from the previous section is to add. Decide which side is the hypotenuse before you touch the calculator: if the side you want is opposite the right angle, add; if it is one of the two sides forming the right angle, subtract.

The result must be shorter than the hypotenuse. If a subtraction gives a number bigger than the hypotenuse, the squares were added by mistake. If it gives a negative number, the side you called the hypotenuse was not the longest side, so the labelling is wrong.

HypotenuseKnown sideSubtractionMissing side
135169−25=14412
41401681−1600=819
257625−49=57624
178289−64=22515
Subtract the squares, never the sides. 13−5=8 is not the missing side of a 5-12-13 triangle; 132−52=12 is.

Triples, and the converse

Some whole-number triples satisfy the theorem exactly, and recognising them saves time in a non-calculator paper. The common ones are 3-4-5, 5-12-13, 8-15-17, 7-24-25 and 20-21-29. Any whole-number multiple of a triple also works: 6-8-10, 9-12-15 and 30-40-50 are all 3-4-5 triangles enlarged.

The converse runs the theorem backwards. If the square of the longest side equals the sum of the squares of the other two sides, then the angle opposite the longest side is a right angle. Testing sides 20, 21 and 29: 202+212=400+441=841 and 292=841, so the triangle is right-angled.

The converse also classifies triangles that are not right-angled. If c2 is larger than a2+b2, the angle opposite c is obtuse; if c2 is smaller, the triangle is acute. Always square the longest side on its own first, then compare.

  • 3, 4, 5 and every multiple: 6, 8, 10 and 15, 20, 25
  • 5, 12, 13 and every multiple: 10, 24, 26
  • 8, 15, 17 and 7, 24, 25
  • 20, 21, 29 is a triple that is easy to miss
In a 'show that this triangle is right-angled' question, the longest side must be the one you square by itself. Squaring the wrong side is the commonest way to lose the mark.

Pythagoras in two dimensions: rectangles and isosceles triangles

A rectangle has a right angle at every corner, so its diagonal is the hypotenuse of a right-angled triangle made from its length and width. A rectangle 8 cm by 5 cm has a diagonal of 82+52=89 cm, which is 9.43 cm to 3 significant figures. The same triangle appears when a ladder leans across a rectangular frame or a television is measured across its screen.

An isosceles triangle has no right angle until you draw one. Drop a line from the apex to the midpoint of the base: it meets the base at 90 degrees and splits the triangle into two congruent right-angled triangles. Each has hypotenuse equal to the equal side, one shorter side equal to half the base, and the other equal to the height. An isosceles triangle with equal sides 13 cm and base 10 cm has height 132−52=12 cm, and its area is 12×10×12=60 cm2.

The same splitting trick handles a rhombus (its diagonals cross at right angles and bisect each other), a kite, and any compound shape built from rectangles and right-angled triangles. Look for the right angle, draw the triangle that contains the length you want, and mark which side is the hypotenuse before substituting.

ShapeRight-angled triangle inside itPythagoras statement
Rectangle l×whalf the rectangle, cut by a diagonaldiagonal =l2+w2
Isosceles triangle, equal sides s, base bhalf the triangle, cut by the heightheight =s2−(b/2)2
Rhombus, diagonals d1 and d2quarter of the rhombusside =(d1/2)2+(d2/2)2
Ladder on a wallwall, ground and ladderladder2 = height2 + distance2

The distance between two points

On a coordinate grid, the distance between two points is the hypotenuse of a right-angled triangle whose shorter sides are the horizontal and vertical gaps. For A(2,3) and B(7,15), the horizontal gap is 7−2=5 and the vertical gap is 15−3=12, so AB=52+122=13.

Subtract the coordinates in the same order for both gaps, then ignore the signs: a distance is never negative. For P(−2,1) and Q(6,7) the gaps are 8 and 6, so PQ=10. For P(−2,1) and Q(2,4) the gaps are 4 and 3, so PQ=5.

This is the same calculation as the length of a line segment in coordinate geometry. If the question asks for the length in surd form, stop at 89; if it asks for a decimal, round only at the end.

  • (2,3) to (7,15): gaps 5 and 12, distance 13
  • (−2,1) to (6,7): gaps 8 and 6, distance 10
  • (1,−4) to (7,4): gaps 6 and 8, distance 10
  • (0,0) to (5,12): gaps 5 and 12, distance 13

Exact answers and surds

Most square roots in this topic are not whole numbers, and the exact answer is the square root itself. A rectangle 8 cm by 5 cm has diagonal 89 cm; 89 has no square factor, so that is the simplest exact form. Write 89, not 9.43, when the question asks for an exact answer or a surd.

Some roots simplify. 72=36×2=62, and 50=52. Look for the largest square factor: 4, 9, 16, 25, 36, 49, 64, 81, 100 and 121 are the ones that turn up most often. 89 has no such factor because 89 is prime, so it stays as it is.

If the question wants a decimal, give 3 significant figures unless it says otherwise, and keep the full calculator value in any later part of the question. Rounding 89 to 9.4 too early can shift a final answer enough to lose the accuracy mark.

An exact answer and a rounded answer are different answers. Read the instruction line: 'give your answer in surd form' means 89; 'correct to 3 significant figures' means 9.43.

Checking the answer, the units and the size

Three checks catch nearly every error. First, is the answer the right size: the hypotenuse is longer than each shorter side, and a shorter side is shorter than the hypotenuse. Second, are the units right: a length is in cm or m, and an area is in cm2 or m2. Third, did you square before adding or subtracting, or did you add the sides and square once? (9+12)2 is not 92+122.

In a word problem, sketch the triangle and write the lengths on the correct sides before substituting. A ladder 6.5 m long with its foot 2.5 m from a wall reaches 6.52−2.52=42.25−6.25=36=6 m up the wall. The ladder is the hypotenuse because it is opposite the right angle between the wall and the ground.

If the answer comes out as a whole number in a question that gave whole numbers, that is a good sign, not a coincidence to distrust. If it comes out as 0.4 when the diagram is metres wide, go back and check which side you called the hypotenuse.

  • Hypotenuse: add the squares, then take the square root
  • Shorter side: subtract the squares, then take the square root
  • Check the answer is on the correct side of the hypotenuse in size
  • Keep exact surds until the final rounding

Key terms you must be able to define

Hypotenuse
The side of a right-angled triangle opposite the right angle. It is always the longest side, and it is the c in a2+b2=c2.
Pythagoras' theorem
In a right-angled triangle, the square of the hypotenuse equals the sum of the squares of the other two sides: a2+b2=c2.
Converse of Pythagoras' theorem
If the square of the longest side of a triangle equals the sum of the squares of the other two sides, the triangle is right-angled.
Pythagorean triple
Three whole numbers that satisfy the theorem, such as 3, 4, 5 or 5, 12, 13, and any whole-number multiple of them.
Right angle
An angle of 90 degrees, marked with a small square. Pythagoras' theorem applies only when this angle is present.
Surd
A root that cannot be simplified to a whole number or fraction, such as 89. It is an exact value.
Diagonal
A straight line joining two opposite corners of a rectangle or other quadrilateral. In a rectangle it is the hypotenuse of the triangle formed by the length and width.
Isosceles triangle
A triangle with two equal sides. The height drawn to the base bisects the base and creates two congruent right-angled triangles.
Line segment
The part of a line between two points. Its length on a coordinate grid is found with Pythagoras' theorem.
Square root
The number that, multiplied by itself, gives the value under the root. 225=15 because 15×15=225.

In context

Cambridge sets 4024 in real situations - a recipe, a bank statement, a map, a garden, a graph of a car's journey. These show how the mathematics appears in a question, then you write your own working for the numbers you are given.

Hypotenuse from two shorter sides

A right-angled triangle has shorter sides 9 cm and 12 cm. 92+122=81+144=225, and 225=15. The hypotenuse is 15 cm. Check: 15 is longer than 12 but shorter than 9+12=21, so the size is sensible.

A shorter side from the hypotenuse

A right-angled triangle has hypotenuse 41 cm and one shorter side 40 cm. 412−402=1681−1600=81, so the missing side is 81=9 cm. The subtraction is the whole method: adding would have given 3281=57.3, which is longer than the hypotenuse and therefore impossible.

The height of an isosceles triangle

An isosceles triangle has equal sides 13 cm and base 10 cm. The height from the apex bisects the base, giving a right-angled triangle with hypotenuse 13 cm and one shorter side 5 cm. The height is 132−52=169−25=12 cm, and the area is 12×10×12=60 cm2.

A diagonal left as a surd

A rectangle is 8 cm long and 5 cm wide. The diagonal is 82+52=64+25=89 cm. Since 89 is prime there is no square factor to take out, so 89 is the exact answer. As a decimal it is 9.43 cm to 3 significant figures.

Distance between two points

Find the distance between A(−2,1) and B(6,7). The horizontal gap is 6−(−2)=8 and the vertical gap is 7−1=6. Then AB=82+62=64+36=10. Drawing the right-angled triangle on a sketch makes the two gaps obvious.

Flashcards

Click a card to flip it. Mark honestly — the tracker uses this.

Q1State Pythagoras' theorem.
In a right-angled triangle, a2+b2=c2, where c is the hypotenuse.
Q2Which side is the hypotenuse?
The side opposite the right angle. It is always the longest side.
Q3How do you find the hypotenuse from sides 6 cm and 8 cm?
62+82=100=10 cm.
Q4How do you find a shorter side from hypotenuse 13 cm and side 5 cm?
132−52=144=12 cm.
Q5Why do you subtract for a shorter side?
The hypotenuse squared is the total, so one shorter side squared is the total minus the other.
Q6What is the 3-4-5 triple multiplied by 4?
12-16-20, which is also right-angled.
Q7State the converse of Pythagoras' theorem.
If the square of the longest side equals the sum of the squares of the other two, the triangle is right-angled.
Q8Is a triangle with sides 5, 6 and 8 right-angled?
No: 25+36=61 but 82=64, so the angle opposite the 8 is obtuse.
Q9What is the diagonal of an 8 cm by 5 cm rectangle, exactly?
89 cm, because 64+25=89.
Q10How do you find the height of an isosceles triangle?
Split it down the middle, then use s2−(b/2)2 with equal side s and base b.
Q11How do you find the distance between (2,3) and (7,15)?
Gaps are 5 and 12, so the distance is 25+144=13.
Q12Simplify 72.
62, because 72=36×2.
Q13What check tells you a hypotenuse answer is wrong?
It must be longer than each shorter side but shorter than their sum.
0 of 13 marked as known

Exam-style questions

7 questions, 23 marks. Write your answer and press Mark my answer — it is marked against the scheme and tells you which points you made and what would gain the next mark. You can still reveal the scheme and mark it yourself instead.

WriteAO11 mark
A right-angled triangle has shorter sides 9 cm and 40 cm. Write the length of its hypotenuse.
Write a number, a fraction such as 3/4, or an expression such as 3x+2. Include the unit (cm).

Mark scheme — tick each point you actually made

  • B192+402=1681=41 cmnot checked yet
Examiner tip: One mark. The hypotenuse is always the side found by adding the squares, so 81+1600=1681 and the root is 41.
Work outAO13 marks
A right-angled triangle has hypotenuse 13 cm and one shorter side 5 cm. Work out the length of the other shorter side.
Write a number, a fraction such as 3/4, or an expression such as 3x+2. Include the unit (cm).

Mark scheme — tick each point you actually made

  • B1
  • M1
  • A1144=12 cmnot checked yet
Examiner tip: Subtract, because the side you want is one of the two that form the right angle. The answer must be shorter than 13 cm.
CalculateAO23 marks
A ladder 6.5 m long leans against a vertical wall. The foot of the ladder is 2.5 m from the base of the wall. Calculate how far up the wall the ladder reaches.
Write a number, a fraction such as 3/4, or an expression such as 3x+2. Include the unit (m).

Mark scheme — tick each point you actually made

  • M1
  • M1
  • A136=6 mnot checked yet
Examiner tip: The ladder is opposite the right angle between wall and ground, so it is the hypotenuse and the squares are subtracted.
Show (that)AO23 marks
A triangle has sides of length 20 cm, 21 cm and 29 cm. Show that the triangle is right-angled.

Mark scheme — tick each point you actually made

  • M1
  • M1
  • A1
Examiner tip: Square the longest side on its own line, then compare. The conclusion needs the words 'converse of Pythagoras' theorem' to be complete.
Work outAO14 marks
A rectangle is 8 cm long and 5 cm wide. Work out the length of a diagonal. Give your answer in surd form.
Write a number, a fraction such as 3/4, or an expression such as 3x+2.

Mark scheme — tick each point you actually made

  • M1
  • M1
  • M1
  • A189 cmnot checked yet
Examiner tip: The diagonal is the hypotenuse of the triangle formed by the length and the width. 89 is prime, so the surd cannot be simplified.
CalculateAO14 marks
The points A(−2,1) and B(6,7) are marked on a coordinate grid. Calculate the length of AB.
Write a number, a fraction such as 3/4, or an expression such as 3x+2.

Mark scheme — tick each point you actually made

  • M1
  • M1
  • M1
  • A1AB=100=10not checked yet
Examiner tip: Sketch the two points and complete the right-angled triangle. The signs of the gaps do not matter because the gaps are squared.
Work outAO25 marks
An isosceles triangle has two sides of length 13 cm and a base of length 10 cm. (a) Work out the height of the triangle. (b) Work out the area of the triangle.
Write a number, a fraction such as 3/4, or an expression such as 3x+2.

Mark scheme — tick each point you actually made

  • M1
  • M1
  • A1height =12 cmnot checked yet
  • M1
  • A1area =60 cm2not checked yet
Examiner tip: Two answers are wanted, height first then area, so keep them in that order. The height is the shorter side of the right-angled triangle, not its hypotenuse.

Exam technique for this topic

  • Mark the hypotenuse before you substitute. It is opposite the right angle, and it is the only side that is squared on its own in a2+b2=c2.
  • Add when the hypotenuse is missing, subtract when a shorter side is missing, and write the squares line so the method mark is visible.
  • Leave the answer as a surd when the question says exact or surd form, and give 3 significant figures only when a decimal is asked for.
  • In a 'show that' question, square the longest side alone, then show the sum of the squares of the other two sides, then state that the two values are equal.
  • Check the size of the answer against the diagram: a hypotenuse longer than the sum of the shorter sides, or a shorter side longer than the hypotenuse, means the wrong operation was used.

Why students lose marks here

A student wroteSides 5 cm and 12 cm give a hypotenuse of 122−52=119
Why it loses marksThe two given sides meet at the right angle, so they are the shorter sides and their squares must be added. Subtraction is for finding a shorter side when the hypotenuse is known.
The answer that scores52+122=169=13 cm.
A student wrote132−52=8, so the missing side is 8 cm
Why it loses marksThe sides were subtracted before squaring. The theorem works with squares, so the subtraction happens after squaring and before the root.
The answer that scores132−52=144=12 cm.
A student wrote92+122=21, so the hypotenuse is 21 cm
Why it loses marksThe square root was never taken. The sum of the squares is the square of the hypotenuse, not the hypotenuse itself.
The answer that scores81+144=225=15 cm.
A student wroteA triangle with sides 6, 8 and 9 has 62+82=100 and 92=81, so it is right-angled because the numbers are close
Why it loses marksThe test is equality, not closeness. 100 and 81 are different, so there is no right angle. Because 62+82 is greater than 92, the angle opposite the 9 is acute.
The answer that scoresThe triangle is not right-angled; it is acute-angled, since the largest angle is opposite the 9 cm side and 62+82>92.
A student wrote89=9.4, so the diagonal is 9.4 cm
Why it loses marks9.4 is a rounded value, not the exact answer. If the question asks for surd form or an exact value, the rounded decimal does not score.
The answer that scoresThe exact diagonal is 89 cm, which is 9.43 cm to 3 significant figures.

Where this fits in O Level Maths 4024

This page is one topic of Cambridge O Level Maths 4024. O Level Maths 4024 is the course home: every area and every topic in Cambridge's own order, the papers you sit and what each one tests, and the exam-practice tools. The full topic list, with each topic linked to its revision page, is on the O Level Maths 4024 syllabus page.