ExamSaathi learning library · Government exams · SSC CGL quantitative foundations; published syllabus labelled 2024 · Quantitative aptitude

Pythagoras theorem: right triangles, triples and the converse

Use a^2 + b^2 = c^2 to find a missing side of a right triangle, spot Pythagorean triples and their multiples, and compare c^2 with a^2 + b^2 to decide whether three lengths give a right, acute or obtuse triangle.

Status: original pilot lesson. Teacher review is pending. It is not a complete course or official exam material.

You will learn to

Before you start

A right triangle has one angle of exactly 90 degrees. The side across from that angle is the hypotenuse, and it is always the longest of the three. The two sides that meet at the right angle are the legs. In this lesson a and b are the legs and c is the hypotenuse, with all three in the same unit; the letter x is kept for multiplication. You will need squares and square roots, such as 17^2 = 289 and sqrt(289) = 17, so it pays to know the squares from 1^2 to 30^2. A length is never negative, so only the positive square root is used.

The rule, and where the right angle hides

Pythagoras theorem: in a right triangle the square of the hypotenuse equals the squares of the two legs added together, a^2 + b^2 = c^2. Picture a square drawn outward on each side: the two squares on the legs together cover exactly the same area as the square on the hypotenuse. Legs of 3 cm and 4 cm carry squares of 9 and 16 cm^2, and 9 + 16 = 25, so the hypotenuse is sqrt(25) = 5 cm. Rearranged, c = sqrt(a^2 + b^2) gives the hypotenuse and a = sqrt(c^2 - b^2) gives a leg. For a leg, factorise the difference of squares, c^2 - b^2 = (c - b) x (c + b): with c = 41 and b = 40 the leg is sqrt(1 x 81) = 9. In word problems, find the right angle first. A ladder resting against a vertical wall on level ground forms a right angle where the wall meets the ground, so the ladder is the hypotenuse. A rectangle's diagonal is the hypotenuse of a right triangle whose legs are the length and the breadth. For two vertical poles of unequal heights on level ground, a wire from top to top is the hypotenuse of a right triangle whose legs are the gap between the poles and the difference of their heights.

Pythagorean triples and their multiples

Three positive whole numbers that satisfy a^2 + b^2 = c^2 form a Pythagorean triple. The five worth remembering are 3-4-5, 5-12-13, 8-15-17, 7-24-25 and 20-21-29. Multiply all three members by the same number and you get another triple: 3-4-5 gives 6-8-10, 9-12-15 and 30-40-50, and 5-12-13 gives 10-24-26. So legs of 36 m and 48 m are 12 times 3 and 4, and the hypotenuse is 12 x 5 = 60 m with no square root at all. Dividing works too: 0.5, 1.2 and 1.3 m is 5-12-13 divided by 10. Adding the same number to each member does not work: 4-5-6 fails, since 16 + 25 = 41 while 6^2 = 36. New triples come from any positive whole numbers m and n with m greater than n: the numbers m^2 - n^2, 2mn and m^2 + n^2 always fit the rule. The pairs m = 2, n = 1 and m = 3, n = 2 give 3-4-5 and 5-12-13; m = 4, n = 1 gives 15-8-17; m = 4, n = 3 gives 7-24-25; and m = 5, n = 2 gives 21-20-29.

The converse: right, acute or obtuse

The theorem also runs backwards. Sort the three lengths so that c is the longest, and check first that a + b is more than c, or there is no triangle to test. Then compare c^2 with a^2 + b^2. If they are equal, the triangle has a right angle, and it faces c. If c^2 is smaller, every angle is acute. If c^2 is larger, the angle facing c is obtuse. For 6, 7 and 9: 81 against 36 + 49 = 85, so the triangle is acute. For 5, 7 and 9: 81 against 25 + 49 = 74, so it is obtuse. For 9, 12 and 15: 225 against 81 + 144 = 225, so it is right-angled. Always test the longest side. Put a shorter side in place of c and the comparison comes out acute every time, which proves nothing. The same test sorts a whole family of triangles: with two sides fixed, a longest side that grows past the right-angle value turns the triangle from acute to obtuse.

Common mistakes

Adding the sides instead of their squares: legs of 6 and 8 give a hypotenuse of 10, not 14. Treating sqrt(c^2 - b^2) as c - b; the root of a difference is not the difference of the roots. Putting the longest side into the formula as a leg, which happens when the hypotenuse is not named first. Stopping at c^2 and forgetting the square root. Making a new triple by adding a number to each member instead of multiplying. Using the full height of the taller pole instead of the difference of the two heights. In the converse test, squaring a side that is not the longest, or skipping the check that the lengths make a triangle at all. Mixing metres and centimetres in one calculation.

A routine for right-triangle questions

1. Find the right angle and name the hypotenuse, the side across from it. 2. Put every length in one unit. 3. Look for a known triple or a multiple of one; taking out a common factor first often reveals it. 4. Otherwise square, add or subtract, and take the positive square root. 5. For three given lengths, sort them, make sure the shorter pair totals more than the longest, then compare c^2 with a^2 + b^2. 6. Sense-check: the hypotenuse is longer than each leg but shorter than the two legs added together.

Worked examples

  1. A ladder 2.5 m long leans against the vertical wall of a godown in Nagpur, with its foot on level ground 0.7 m from the wall. The top of the ladder then slips 0.4 m down the wall. How far does the foot of the ladder move away from the wall?

    1. The wall meets the ground at a right angle, so the ladder is the hypotenuse. At first the top is sqrt(2.5^2 - 0.7^2) = sqrt(6.25 - 0.49) = sqrt(5.76) = 2.4 m up the wall; this is the 7-24-25 triple divided by 10.
    2. After slipping, the top is 2.4 - 0.4 = 2.0 m up the wall, and the ladder is still 2.5 m long.
    3. The foot is now sqrt(2.5^2 - 2.0^2) = sqrt(6.25 - 4) = sqrt(2.25) = 1.5 m from the wall; this is 3-4-5 halved.
    4. The foot moves 1.5 - 0.7 = 0.8 m.

    Answer: The foot of the ladder moves 0.8 m away from the wall.

  2. A carpenter in Kochi joins three strips of wood, 20 cm, 21 cm and 29 cm long, into a triangular frame. Show that the frame has a right angle, say where it is, and find the area it encloses.

    1. The longest strip is 29 cm, and 29^2 = 841. The other two give 20^2 + 21^2 = 400 + 441 = 841.
    2. The two totals are equal, so by the converse of Pythagoras theorem the frame is right-angled, and the right angle lies between the 20 cm and 21 cm strips, facing the 29 cm strip.
    3. The two legs act as base and height, so the area = (1/2) x 20 x 21 = 210 cm^2.

    Answer: The right angle is between the 20 cm and 21 cm strips, and the frame encloses 210 cm^2.

  3. Two sides of a triangle are 7 cm and 8 cm. The third side is a whole number of centimetres and is longer than 8 cm. For how many lengths of the third side is the triangle obtuse?

    1. Call the third side k. As the longest side it must be less than 7 + 8 = 15, so k can be 9, 10, 11, 12, 13 or 14.
    2. The angle facing k is obtuse when k^2 is more than 7^2 + 8^2 = 49 + 64 = 113.
    3. 10^2 = 100 is less than 113, but 11^2 = 121 is more, so k = 11, 12, 13 and 14 give obtuse triangles. k = 9 and 10 give acute ones, and none is right-angled, because 113 is not a perfect square.

    Answer: The triangle is obtuse for 4 lengths: 11, 12, 13 and 14 cm.

Practice checks

  1. A rectangular plot in Jaipur measures 45 m by 24 m. A straight path runs from one corner to the opposite corner. How long is the path?
  2. In triangle PQR, angle Q = 90 degrees, PR = 50 cm and PQ = 14 cm. What is the length of QR?
  3. Which of these sets of lengths makes a right triangle?
  4. Two sides of a triangle are 10 cm and 24 cm, and the third side is a whole number of centimetres longer than 24 cm. What is the greatest length of the third side for which the triangle is acute?
  5. Two vertical poles stand on level ground 15 m apart in a village in Odisha. One pole is 11 m tall and the other is 3 m tall. A wire is stretched straight from the top of one pole to the top of the other. How long is the wire?

Sources checked