M4.3.2 Chapter 2
Using Pythagoras
A box is 2 cm by 3 cm by 6 cm. How long is the longest stick that fits inside it?
Your guess
Pick one before you read on. It is fine to be wrong.
By the end you can
- Find how high a ladder reaches up a wall
- Find the distance between two points on a grid
- Find the longest stick that fits inside a box
A wall stands straight up from flat ground. So the wall and the ground meet at a right angle. A ladder leaning on the wall makes a right angled triangle with them. The ladder is the hypotenuse.
Draw it first
Find the triangle in the ladder
1 A ladder leans on a wall. Its foot is 0.9 m from the wall. Its top reaches a height h.
2 Draw the wall, the ground and the ladder as a triangle. The ladder, 4.1 m, is the hypotenuse.
You know the hypotenuse and one leg, so you subtract the squares. The height is h² = 4.1² − 0.9².
Worked example
A ladder 4.1 m long stands with its foot 0.9 m from a wall. How high up the wall does it reach?
- The ladder is the hypotenuse: c = 4.1. The foot is b = 0.9 from the wall. We want the height h.
- Use h² = c² − b² = 4.1² − 0.9².
- Square each number: 4.1² = 16.81 and 0.9² = 0.81.
- Subtract: h² = 16.81 − 0.81 = 16.
- Take the square root: h = √16 = 4.
Answer: The ladder reaches 4 m up the wall.
A grid hides a right angled triangle too. To find how far apart two points are, go across, then go up. The two moves are the legs. The straight line between the points is the hypotenuse.
Worked example
A walker goes from A (1, 2) to B (7, 10) on a map. One square is 1 km. How far apart are A and B in a straight line?
- Across from A to B: 7 − 1 = 6 km east.
- Up from A to B: 10 − 2 = 8 km north.
- The two moves are the legs of a right angled triangle. The distance d is its hypotenuse.
- d² = 6² + 8² = 36 + 64 = 100.
- d = √100 = 10 km.
Answer: The distance is 10 km.
Take care when a coordinate is negative. To go from −2 to 3 you move 3 − (−2) = 5 places. You always take the smaller number away from the larger one.
Worked example
Two huts are at P (−2, −3) and Q (3, 2) on a map. One square is 1 km. How far apart are they, to 1 decimal place?
- Across from P to Q: 3 − (−2) = 5 km.
- Up from P to Q: 2 − (−3) = 5 km.
- The two moves are the legs of a right angled triangle. The distance d is its hypotenuse.
- d² = 5² + 5² = 25 + 25 = 50.
- d = √50 = 7.071 on the calculator. To 1 decimal place that is 7.1.
Answer: The huts are 7.1 km apart, to 1 decimal place.
A box has a longest stick too. It runs from a bottom corner to the opposite top corner. That line is the space diagonal. We find it with two right angled triangles, one flat on the floor and one standing up.
Worked example
A box is 4 cm long, 3 cm wide and 12 cm high. How long is the longest stick that fits inside?
- The floor is a rectangle 4 cm by 3 cm. Its diagonal x is the hypotenuse of a right angled triangle.
- x² = 4² + 3² = 16 + 9 = 25.
- x = √25 = 5 cm.
- Now stand a triangle on that diagonal. Its legs are x and the height, and the stick d is its hypotenuse.
- d² = 5² + 12² = 25 + 144 = 169.
- d = √169 = 13 cm.
Answer: The longest stick is 13 cm.
Look at the two sums together: d² = x² + 12², and x² = 4² + 3². So d² = 4² + 3² + 12². For any box, d² = l² + w² + h². You can go straight to it, but you must understand where it comes from.
See it three ways
With things
Lean a pencil in a box so it touches a bottom corner and the opposite top corner. It is the longest pencil the box holds.
As a picture
In symbols
d² = l² + w² + h², so d = √(l² + w² + h²).
Try it
Measure a diagonal, then check it
You need: a sheet of paper, a ruler.
- Measure the long side and the short side of the sheet. Say they are 30 cm and 20 cm.
- Work out 30² + 20², then take the square root.
- Measure the diagonal, corner to corner. Compare.
What you will see: For 30 cm and 20 cm, the diagonal is √1 300, which is 36.06 cm. To the nearest centimetre it is 36 cm. Your measure should be close to the sum.
A wrong idea many people have
The distance between two points is the across move plus the up move.
Why it feels right: On a grid you count squares along the lines, and counting is adding.
The test that breaks it: For A (1, 2) and B (7, 10), across plus up is 6 + 8 = 14. Measure A to B with the squares of the grid: it is 10 squares, so 10 km.
What is true: Across plus up is the way along the two legs. The straight line is the hypotenuse, which is shorter: d = √(6² + 8²) = 10.
A wrong idea many people have
The longest stick in a box is as long as its longest edge.
Why it feels right: A stick lying along the longest edge looks as long as the box allows.
The test that breaks it: In the 4 cm by 3 cm by 12 cm box, the longest edge is 12 cm. But a 13 cm stick fits when you slant it corner to corner, because √169 = 13.
What is true: The corner to corner line through the middle is longer than any edge. d = √(l² + w² + h²).
Key words
- space diagonal
- the line from one corner of a box to the opposite corner, through the inside.
Back to your guess
The answer is C: 7 cm, from one bottom corner to the opposite top corner.
The longest stick runs corner to corner through the middle, and it is 7 cm. The sum is 2² + 3² + 6² = 4 + 9 + 36 = 49, and √49 = 7. A stick cannot bend, so 11 cm is too long. This chapter uses right angled triangles to find such lengths.
Check yourself
Try each one before you look. A wrong answer tells you where to go next.
A ladder 7.5 m long stands with its foot 2.1 m from a wall. How high up the wall does it reach?
See the answer
7.2 m
h² = 7.5² − 2.1² = 56.25 − 4.41 = 51.84, and √51.84 = 7.2.
- If you chose A: You added the squares, 7.5² + 2.1². The ladder is the hypotenuse, so it is the longest side, and 7.8 m is more than the ladder. Subtract to find the height. Go to M4.3.1.
- If you chose B: You took 2.1 from 7.5. Lengths do not subtract like that in a right angled triangle. Subtract the squares, then take the root. Go to M4.3.1.
- If you chose D: That is h², the height squared: 56.25 − 4.41. Take the square root to get h. Go to M4.3.1.
On a map, hut P is at (1, 1) and hut Q is at (13, 6). One square is 1 km. How far apart are the huts?
See the answer
13 km
Across: 13 − 1 = 12. Up: 6 − 1 = 5. d² = 12² + 5² = 144 + 25 = 169, and √169 = 13.
- If you chose B: You added the across move and the up move, 12 + 5. That is the way along the grid lines. The straight line is shorter. Go to M4.3.2.
- If you chose C: You took 5 from 12. Both moves are legs of the triangle, so you square both and add. Go to M4.3.1.
- If you chose D: 169 is d², the distance squared: 144 + 25. Take the square root to get d. Go to M4.3.1.
On a map, A is at (−5, −2) and B is at (3, 4). One square is 1 km. How far apart are A and B?
See the answer
10 km
Across: 3 − (−5) = 8. Up: 4 − (−2) = 6. d² = 8² + 6² = 64 + 36 = 100, and √100 = 10.
- If you chose A: You worked out 3 − 5 and 4 − 2, which drops the minus signs. Count the places instead: from −5 to 3 is 8, and from −2 to 4 is 6. Go to M4.3.2.
- If you chose B: You added the two moves, 8 + 6. That is the way along the grid lines. The straight line is the hypotenuse, which is shorter. Go to M4.3.2.
- If you chose C: 100 is d², the distance squared: 64 + 36. Take the square root to get d. Go to M4.3.1.
A flat box is 8 cm long, 4 cm wide and 1 cm high. How long is the longest stick that fits inside?
See the answer
9 cm
d² = 8² + 4² + 1² = 64 + 16 + 1 = 81, and √81 = 9.
- If you chose A: That is the longest edge. A stick slanted corner to corner is longer than any edge. Go to M4.3.2.
- If you chose C: You added the three edges, 8 + 4 + 1. A stick cannot bend round, so it must be shorter than that. Go to M4.3.2.
- If you chose D: That is the diagonal of the floor, √(8² + 4²). The stick also rises 1 cm, so it is a little longer. Use all three edges. Go to M4.3.2.
A ladder stands with its foot some distance from a wall. You know the length of the ladder and the foot distance. How do you find the height it reaches?
See the answer
Square the ladder length, take away the square of the foot distance, then take the square root.
The ladder is the hypotenuse, so ladder² = height² + foot². Take foot² from both sides to get height² = ladder² − foot².
- If you chose B: The ladder is the hypotenuse, the longest side. The squares of the legs add up to its square. To find a leg you subtract. Go to M4.3.1.
- If you chose C: Lengths in a right angled triangle do not subtract like that. A ladder of 5 m with its foot 3 m out reaches 4 m, not 2 m. Subtract the squares. Go to M4.3.1.
From an earlier chapter
Which set of three sides, in cm, makes a right angled triangle?
See the answer
7, 24, 25
7² + 24² = 49 + 576 = 625 and 25² = 625. The two are equal, so the triangle has a right angle.
Two huts are at (2, 3) and (9, 27) on a map. One square is 1 km. How many kilometres apart are they?
See the answer
25
Across: 7. Up: 24. d² = 7² + 24² = 49 + 576 = 625, and √625 = 25.
A box is 2 cm long, 4 cm wide and 4 cm high. How many centimetres long is the longest stick that fits inside?
See the answer
6
d² = 2² + 4² + 4² = 4 + 16 + 16 = 36, and √36 = 6.
A ladder 5 m long stands with its foot 1.4 m from a wall. How many metres up the wall does it reach?
See the answer
4.8
h² = 5² − 1.4² = 25 − 1.96 = 23.04, and √23.04 = 4.8.
Keep it
Copy this into your exercise book.
Spot the right angled triangle. A ladder is the hypotenuse. Across and up on a grid are the legs. In a box, d² = l² + w² + h².
Draw: A box with its floor diagonal x dashed and its space diagonal d heavy, and d² = l² + w² + h² under it.