MathemagiciansLibraryExplorationsDeep Dives
← Mathematics · Lower Secondary
MathematicsLower Secondary

Finding shorter sides using Pythagoras

L3.8 — Pythagoras TheoremLecture 2 of 3~2580 words

A ladder that reaches higher than itself

A ladder 5 m long leans against a wall. Its foot stands on flat ground, 2 m from the bottom of the wall. How high up the wall does the top of the ladder reach?

Kofi has just learned Pythagoras' theorem, so he writes what he knows: square the two numbers, add, and take the square root. He gets m. Before you read on, decide whether Kofi is right.

Predict — how high does the ladder reach?

A 5 m ladder leans against a wall, with its foot 2 m from the wall. How high up the wall does it reach? Choose one answer.

The figure shows the ladder drawn to scale. The ladder is the side across from the right angle. The unknown height h is one of the two shorter sides.

5 m2 mhwallground
The ladder (5 m) is the hypotenuse, across from the right angle at the bottom of the wall. The height and the 2 m gap are the two shorter sides.

Kofi's answer, 5.39 m, is higher than the ladder is long. A 5 m ladder cannot reach more than 5 m up anything, even standing straight up. So something went wrong, and it was not the arithmetic.

Here is where the difficulty lives. In the last lecture, the two sides we knew were always the two sides that make the right angle. The unknown was always the hypotenuse. Now the ladder is the hypotenuse, and we know it. The unknown is one of the shorter sides. Kofi used the right theorem, but he put the numbers in the wrong places. The last lecture's third trap warned about exactly this: with a hypotenuse of 13 and a side of 5, the missing side is not . It promised to show how to find it. Here it is.

The squares again, read the other way

Go back to the picture behind the theorem. On each side of a right-angled triangle, draw a square. The theorem says the square on the hypotenuse has the same area as the other two squares together. So the big square is the whole, and the two smaller squares are its two parts.

Now suppose you know the whole and one part. The triangle in the figure has a hypotenuse of 5 and one side of 3. The square on the hypotenuse holds 25 small squares. The square on the side 3 holds 9. How many small squares must the missing square hold?

?25 − 9 = 16925?35
The hypotenuse is 5 and one shorter side is 3. The square on the hypotenuse (25) is the whole. The square on the side 3 (9) is one part. So the square on the unknown side holds 25 − 9 = 16, and the side is √16 = 4.

The two parts must add up to the whole. So the missing part is the whole minus the part you know: small squares. A square of 16 small squares has a side of 4, because . So the unknown side is 4. This is the triangle 3, 4, 5 again, with a different side hidden.

That is it. That is the whole idea. When the hypotenuse is missing, you add the two squares, because you are building the whole from its parts. When a shorter side is missing, you subtract, because you are taking one part away from the whole.

The same equation, with a new subject

You can reach the same rule with algebra. The lecture on rearranging formulae showed how to change the subject of a formula: do the same thing to both sides until the letter you want stands alone. Start from the theorem, with the hypotenuse and the unknown side:

Subtract from both sides. This keeps the two sides equal, and it leaves alone:

Now is a known number. Take the square root of both sides to get . We take only the positive root, because is a length:

The algebra and the picture agree. Subtracting from both sides is the same move as taking the known part away from the whole.

Finding a shorter side

In a right-angled triangle with hypotenuse , if one shorter side is known, the other shorter side is .

Square both known sides, subtract the smaller square from the square on the hypotenuse, then take the square root.

Always find the hypotenuse first. If it is the unknown, add the squares. If it is known, subtract.

So the very first step is not a calculation. It is a question: which side is the hypotenuse, and do I know it? Find the right angle. The hypotenuse is the side across from it, the only side that does not touch the right angle. With letters, it is the side whose name does not contain the letter of the right-angled corner. The sorter below practises exactly this decision.

Sorter — add, subtract, or neither?

Tap a question, then tap a box. Decide only the operation: add the squares, subtract them, or Pythagoras does not apply. Read the reason after each one.

Eight questions sorted by the first decision: is the hypotenuse the unknown, is it known, or is there no right angle at all?

QuestionDecisionReason
Right angle at B. AB = 6, BC = 8. Find AC.AddAC has no letter B, so it is the hypotenuse, and it is unknown. AC = 10.
Right angle at B. AC = 10, AB = 6. Find BC.SubtractThe hypotenuse AC is known. BC = 8.
Right angle at Z. XY = 26, XZ = 10. Find YZ.SubtractXY has no letter Z, so it is the hypotenuse, and it is known. YZ = 24.
Right angle at Z. XZ = 9, YZ = 12. Find XY.AddXY is the hypotenuse, and it is unknown. XY = 15.
A 13 m ladder reaches 12 m up a wall. How far is its foot from the wall?SubtractThe ladder is the hypotenuse, and it is known. The foot is 5 m from the wall.
A rectangle is 9 cm by 12 cm. How long is its diagonal?AddThe diagonal is across from a right-angled corner, and it is unknown. It is 15 cm.
In triangle PQR, angle Q = 80°. PQ = 5, QR = 7. Find PR.NeitherThere is no right angle, so the theorem does not apply.
In triangle DEF, DE = 5 and EF = 12. Find DF.NeitherNo right angle is given. You cannot assume one because the numbers look familiar.

What should you have noticed? Not one of these decisions needed a calculation. Each one needed only the position of the right angle and the name of the unknown side. Once that decision is made, the arithmetic is the easy part.

Stop and think

A question says: "A right-angled triangle has hypotenuse 5 cm and one side 7 cm. Find the third side." What happens when you use ? What does that tell you?

Show the answer

You get . No number multiplied by itself gives a negative answer, so there is no side length. A calculator shows an error. This is not a mistake in your method. The triangle cannot exist, because the hypotenuse is always the longest side, and here the "hypotenuse" is shorter than the other side. A negative number under the square root is a warning that the question, or your choice of hypotenuse, is wrong.

Why is not

A very tempting shortcut is to say that is just . It looks neat: the square root "undoes" the squares. But the true answer is . Why is the shortcut wrong?

Look at what really is as a shape. Take a square of side 5 and cut a square of side 3 from one corner. What is left is not a square. It is an L-shape, with an area of .

removed55AB325² − 3²= 25 − 9 = 16an L-shape,not a square BA, turned5 + 3 = 85 − 3 = 2the same 16 squares: 8 × 2 = 16
Top: a 5 by 5 square with a 3 by 3 square removed leaves an L-shape of area 16, cut into piece A (2 by 3) and piece B (5 by 2). Bottom: turn piece A and put it at the end of piece B. The same 16 squares make a rectangle 5 + 3 = 8 long and 5 − 3 = 2 wide.

Now cut the L-shape into two pieces, as in the figure. Piece A is 2 wide and 3 tall. Piece B is 5 wide and 2 tall. Both pieces have one side of length 2, which is . Turn piece A and place it at the end of piece B. Together they make a rectangle. Its width is , and its length is . So

The same cut works for any two squares. So is always . The shortcut keeps only one of these two factors. For the triangle 13 and 5, , and . The difference is only the width of the rectangle, not the side of a square with the same area.

So there is no shortcut. Square each side, subtract the squares, and take the square root once, at the end.

Worked examples

Worked Example 1 — The ladder

Find how high the 5 m ladder reaches, with its foot 2 m from the wall. Give the answer to 3 significant figures (3 s.f.).

Find the hypotenuse. The wall stands at a right angle to the flat ground. The ladder is across from that right angle, so the ladder is the hypotenuse, . It is known, so subtract.

Estimate. and . So is between 4 and 5, a little nearer 5.

Calculate. , so m (3 s.f.). The exact answer is m.

Check. 4.58 m is less than the ladder, 5 m, as a shorter side must be. Also , which is more than 21, so is below 4.585 and rounds down to 4.58. ✓

Worked Example 2 — The promise from the last lecture

In triangle PQR, the right angle is at Q. PR = 13 cm and PQ = 5 cm. Find QR.

Find the hypotenuse. The right angle is at Q. The only side whose name has no Q is PR, so PR is the hypotenuse. It is given, so subtract.

QR = 12 cm. This is the triple 5, 12, 13 from the last lecture, with a different side hidden.

Check. Put the answer back into the theorem: . ✓ And 12 is less than 13, as it must be.

Worked Example 3 — A right angle you have to make

A triangle has two sides of 10 cm and a base of 12 cm. Find its height and its area.

Find a right angle. The triangle has two equal sides, so it is isosceles. Fold it along the line from the top corner to the middle of the base, and the two halves fit exactly. So that line makes two equal angles with the base. They sit together on a straight line, so each is 90°. This line is the height, and it splits the triangle into two right-angled triangles, each with a base of 6 cm.

Find the hypotenuse. In each small triangle, the 10 cm side is across from the right angle. So it is the hypotenuse, and it is known. Subtract.

The height is 8 cm. The area is .

Check. Each half is the triple 6, 8, 10, which is the triple 3, 4, 5 enlarged with scale factor 2. ✓

Worked Example 4 — Two braces: add or subtract?

(a) A door frame is 2.1 m tall and 0.9 m wide. A brace runs from one corner to the opposite corner. How long is it? (b) A gate is 1.2 m wide. Its diagonal brace is 1.5 m long. How tall is the gate?

(a) The brace is across from a right-angled corner of the frame, so it is the hypotenuse. It is the unknown, so add.

The brace is about 2.28 m long, to 3 significant figures.

(b) The brace is again the hypotenuse, but this time it is known. The height is the unknown, so subtract.

Check. In (a), 2.28 m is longer than the frame's height, 2.1 m. In (b), 0.9 m is shorter than the brace, 1.5 m. ✓ Notice that , not 8.1. The gate is the triple 3, 4, 5 again, scaled down: 0.9, 1.2, 1.5.

Three classic traps

Trap 1 — Adding when the hypotenuse is known

With a hypotenuse of 13 and a side of 5, adding gives . That is longer than the hypotenuse, which is impossible. This is Kofi's mistake from the start of the lecture. The check that catches it takes one second: a shorter side must be shorter than the hypotenuse.

Trap 2 — Taking the square root of each square separately

is not . The L-shape showed why: , not . Work out the number under the square root first, , and then take one square root of that number, 12.

Trap 3 — Subtracting the wrong way round

Some students write and then get a calculator error. The square on the hypotenuse always comes first, because it is the whole: whole minus part. If you ever get a negative number under the square root, check which side you called the hypotenuse.

Try it yourself

Work each one on paper first. Open a hint only when you are stuck.

  1. (a) A right-angled triangle has hypotenuse 25 cm and one side 7 cm. Find the other side. (b) Another has hypotenuse 9.5 cm and one side 6.2 cm. Find the other side to 1 decimal place.

    Hint 1

    In both parts the hypotenuse is known, so you subtract.

    Hint 2

    For (a), work out . For (b), work out before taking any square root.

    Full answer

    (a) , and cm. Check: . ✓

    (b) , and cm. Check the rounding: and , and 51.81 is between them, so 7.2 is right. ✓ The answer is also shorter than 9.5.

  2. A rectangle has a diagonal of 17 cm and a length of 15 cm. Find its width, its perimeter and its area.

    Hint 1

    The diagonal cuts the rectangle into two right-angled triangles. Which side of each triangle is the diagonal?

    Hint 2

    The diagonal is the hypotenuse, and it is known. Work out .

    Full answer

    , so the width is cm. The perimeter is cm, and the area is .

    Check: . ✓ Using the L-shape: , the same.

  3. A 5 m ladder stands with its top 4.8 m up a wall. The top slips down the wall by 0.8 m. How far does the foot of the ladder slide out along the ground? Is it more or less than 0.8 m?

    Hint 1

    Find the distance of the foot from the wall twice: once before the slip and once after. The ladder is the hypotenuse both times.

    Hint 2

    Before: . After the slip, the top is at m.

    Full answer

    Before: , so the foot is m from the wall. After: , so the foot is 3 m from the wall. The foot slides out m, which is twice as far as the top slipped down.

    Check: both positions fit the theorem: and . ✓ The two movements are not equal, because the lengths are not linked by adding but by their squares.

  4. This problem is about 2000 years old. A square pond has sides of 10 units. A reed grows in the exact middle of the pond, and its tip stands 1 unit above the water. When the reed is pulled over to the middle of one edge, its tip just reaches the edge, at the water's surface. How deep is the water, and how long is the reed?

    Hint 1

    Draw the reed twice: standing straight up, and pulled over. The pulled reed is the hypotenuse of a right-angled triangle. Its other sides are the depth of the water and the distance from the middle of the pond to the edge.

    Hint 2

    The distance to the edge is 5. The reed is 1 longer than the depth, so reed − depth = 1. Use the L-shape: reed² − depth² = (reed − depth) × (reed + depth).

    Full answer

    Call the reed and the depth . The pulled-over reed is the hypotenuse of a triangle with sides and 5, so . The L-shape says . We know , so , which means . Two numbers that differ by 1 and add up to 25 are 13 and 12. So the water is 12 units deep and the reed is 13 units long.

    Check: . ✓ The triple 5, 12, 13 again.

The bigger idea

The reed in the last question comes from a real book. The Nine Chapters on the Mathematical Art is a Chinese collection of 246 problems with their methods. It was put together over several centuries, and it reached its final form by about the first or second century AD. Its ninth and last chapter is about right-angled triangles. The reed problem is in that chapter. The pond's side is 1 zhang, which is 10 chi, and the reed stands 1 chi above the water. The book's answer is the one you found: the water is 12 chi deep and the reed is 13 chi long.

About a thousand years later, in India, Bhāskara II wrote a famous textbook in verse called the Līlāvatī, around AD 1150. One of its problems has the same structure. A lotus flower stands above the water of a lake, and the wind pushes its stem over until the flower touches the water some distance away. The question asks for the depth of the lake. Again the stem is the hypotenuse, again the depth is a shorter side, and again the unknown is hidden inside a difference of two squares.

Many old problems ask for a shorter side, and for a good reason. In real life, the long slanted thing is often the part you know: a ladder, a rope, a reed, a brace. What you want is a height or a depth that you cannot reach to measure. The theorem lets you find what you cannot reach from what you can.

The L-shape also returns later. In Upper Secondary algebra, the fact gets its own name: the difference of two squares. You have already seen why it is true.

Key concepts in this lesson