What you will learn

  • Find the legs and the hypotenuse of a right triangle, however it is turned.
  • Explain, by rearranging equal pieces, why the two leg squares match the hypotenuse square.
  • Find a hypotenuse length and check it.

Before calculating

The abbreviation cm means centimeters, a unit of length. Picture a right triangle with legs 3 cm and 4 cm long. On each side, build a square that uses that side as one of its own sides. A square is a shape with four equal sides and four square corners.

Area is the amount of flat surface a shape covers. It is counted in square centimeters: one square centimeter is a small square 1 cm long on each side. The square on the 3 cm leg holds 3 rows of 3 of these small squares. So its area is 3×3=93 \times 3 = 9 square centimeters. The square on the 4 cm leg has area 4×4=164 \times 4 = 16 square centimeters. Together the two leg squares cover 9+16=259 + 16 = 25 square centimeters.

The square on the hypotenuse covers exactly the same area: 25 square centimeters. Its side must be a number that, times itself, makes 25. That number is 5, so the hypotenuse is 5 cm long. This works for every right triangle, and the lesson shows why.

Two symbols make this quicker to write. Multiplying a number by itself is called squaring it, and a small raised 2 shows it: 525^2 (5 squared) means 5×5=25.5 \times 5 = 25\text{.} Going back from 25 to 5 is called taking the square root. The square root of a number is the number that, times itself, gives it, written with a root sign: 25=5.\sqrt{25} = 5\text{.} A negative number works too, since (−5)×(−5)=25.(-5) \times (-5) = 25\text{.} But a length is positive (greater than 0), so for a length always use the positive square root.

Triangle, right angle, legs, hypotenuse

A triangle is a closed flat shape with three straight sides. Two sides meet at each corner, called a vertex. An angle is the amount of turn between two sides that meet at a vertex. Angles are measured in degrees, written with a small circle: one full turn is 360 degrees, written 360°. A quarter-turn is 360÷4=360 \div 4 = 90°, and it is called a right angle. A square is a flat shape with four equal sides and four right angles.

The abbreviation cm means centimeters, a unit of length. A right triangle is a triangle with one right angle. The two sides that meet at the right angle are called the legs. They are perpendicular, which means they meet at 90°. The third side, across from the right angle, is called the hypotenuse. It is always the longest side. A small square drawn in a corner marks a right angle; it is not a length.

Turning or flipping a triangle changes neither its side lengths nor its angles. So find the hypotenuse by looking for the right angle, not by whether a side looks slanted, flat or upright.

The hypotenuse stays opposite the right angleleg: 8 cmleg6 cmhypotenuse? cmThe hypotenuse stays opposite the right angleleg: 8 cmleg6 cmhypotenuse? cmSame triangle, half a turn
The small square marks the 90° angle. The two triangle sides meeting at that corner are the legs. The hypotenuse joins their other endpoints and never touches the marked corner. The second drawing is the first triangle turned halfway around.

A squared length represents an area

To square a number means to multiply it by itself. A small raised 2 shows this: 62=6×6=36,6^2 = 6 \times 6 = 36\text{,} read 6 squared. Squaring is not doubling, which means multiplying by 2: doubling 6 gives 2×6=12.2 \times 6 = 12\text{.}

Area is the amount of flat surface a shape covers. A square centimeter is the area of a square that is 1 cm long on each side. A square with 6 cm sides holds 6 rows of 6 such squares, so its area is 36 square centimeters, written 36 cm². Its side is still 6 cm long, not 36 cm.

Measure all three sides of the triangle in the same unit. Let aa and bb stand for the lengths of the legs, and cc for the length of the hypotenuse. The squares built on those sides then have areas a2,a^2\text{,} b2b^2 and c2,c^2\text{,} in square units.

The Pythagorean relationship

In every right triangle, the square on the hypotenuse has the same area as the squares on the two legs put together. In symbols, a2+b2=c2.a^2 + b^2 = c^2\text{.} A theorem is a math statement that has been proved true by careful reasoning, not just checked on a few examples. This one is called the Pythagorean theorem, after Pythagoras, a mathematician of ancient Greece.

For legs 6 cm and 8 cm, the leg squares have areas 36 cm² and 64 cm². Together they cover 36+64=10036 + 64 = 100 cm². So the square on the hypotenuse also has area 100 cm². We still need its side length, which is the hypotenuse itself.

Why rearranging the pieces proves the relationship

Here is why the theorem holds for every right triangle. Take two large squares, each with sides a+ba + b long, so they have the same area. Place four copies of the same right triangle inside each one, arranged two different ways. Sliding or turning a piece does not change its area. In each large square, the uncovered area is the large square minus the four triangles. The large squares are equal and the triangles are equal, so the uncovered areas are equal too.

In the first arrangement, the uncovered middle shape has four sides, each of length c,c\text{,} because each one is a triangle's hypotenuse. Its corners are right angles. Here is why. A triangle's three angles always add to 180°. One angle is 90°, so the other two add to 90°. At each corner of the middle shape, those two angles and the uncovered corner sit along one straight line. A straight line makes a straight angle, a half-turn of 180°. So the uncovered corner is 180° −- 90° == 90°. The middle shape is a square, with area c2.c^2\text{.}

In the second arrangement, the uncovered parts are two squares, with sides aa and b.b\text{.} Their total area is a2+b2.a^2 + b^2\text{.} The uncovered areas are equal, so c2=a2+b2.c^2 = a^2 + b^2\text{.} Nothing here used particular numbers, so the argument works for any right triangle.

In the picture, a=3a = 3 and b=4.b = 4\text{.} Each large square has side 7 and area 7×7=49.7 \times 7 = 49\text{.} A rectangle is a four-sided shape with four right angles. Each triangle is half of a 3-by-4 rectangle, whose area is 3×4=12,3 \times 4 = 12\text{,} so the triangle's area is 12÷2=6.12 \div 2 = 6\text{.} Four triangles cover 24. Either way, 49−24=2549 - 24 = 25 is left uncovered: one 5-by-5 square, or a 3-by-3 square and a 4-by-4 square together (9+16=25).(9 + 16 = 25)\text{.}

One uncovered squareOne uncovered squareOuter side: 7 cm (a + b)c² = 25Side c = 5Uncovered area: 25 cm²Two uncovered squaresTwo uncovered squaresOuter side: 7 cm (a + b)a² = 9b² = 16Sides a = 3 and b = 4Uncovered area: 25 cm²
All numerical lengths use centimeters; all numerical areas use square centimeters. Both outer squares have side 7 cm. Each contains the same four shaded triangles, with legs 3 and 4. The white area is 25 in either arrangement: 5² = 3² + 4². Moving the four triangles does not change how much area they cover.

From the square back to its side

A square root undoes squaring. The symbol 100\sqrt{100} means the number, zero or greater, whose square is 100. Since 10×10=100,10 \times 10 = 100\text{,} 100=10.\sqrt{100} = 10\text{.} It is also true that (−10)×(−10)=100.(-10) \times (-10) = 100\text{.} But a side of a triangle cannot have a negative length, so use the positive value.

Finish the addition under the root sign before taking the root: 36+64=100=10.\sqrt{36 + 64} = \sqrt{100} = 10\text{.} Taking each root first and then adding would give 6+8=14.6 + 8 = 14\text{.} But 142=196,14^2 = 196\text{,} not 100, so that is wrong. The root applies to the whole total.

Not every square root is a whole number (0, 1, 2, 3 and so on). Legs of 1 cm and 1 cm give c2=12+12=2,c^2 = 1^2 + 1^2 = 2\text{,} so the hypotenuse is 2\sqrt{2} cm long. That length is between 1 cm and 2 cm, because 12=11^2 = 1 is less than 2 and 22=42^2 = 4 is more. Leave it as 2,\sqrt{2}\text{,} its exact value. A rounded decimal such as 1.41 is only close, because 1.41×1.41=1.9881,1.41 \times 1.41 = 1.9881\text{,} not 2. Write one only when a question asks for an approximate (close, not exact) answer.

Work through the reasoning

Worked example

A right triangle has legs of 6 cm and 8 cm. Find its hypotenuse length.

  1. The legs, 6 cm and 8 cm, meet at the right angle. Let cc be the length of the hypotenuse in centimeters. It is the side across from the right angle.
  2. Use the Pythagorean theorem. A theorem is a math rule that has been proved, and this one is the square rule for right triangles: 62+82=c26^{2} + 8^{2} = c^{2}
  3. Multiply each leg length by itself: 62=6×6=366^2 = 6 \times 6 = 36 and 82=8×8=64.8^2 = 8 \times 8 = 64\text{.} These are the areas of the squares on the legs.
  4. Add the two squares: c2=36+64=100.c^2 = 36 + 64 = 100\text{.} This is the area of the square on the hypotenuse.
  5. Take the positive square root to get the side length: c=100=10,c = \sqrt{100} = 10\text{,} since 10×10=100.10 \times 10 = 100\text{.}
  6. Check: 102=10010^2 = 100 and 62+82=100.6^2 + 8^2 = 100\text{.} The hypotenuse, 10 cm, is longer than either leg, as it must be.

Answer: 10 centimeters

The precise rule

Pythagorean theorem (a proved rule): in a right triangle, let aa and bb be the leg lengths and cc the hypotenuse length. Use the same unit for all three. Then a2+b2=c2.a^2 + b^2 = c^2\text{.}

What to watch for

  • The rule a2+b2=c2a^2 + b^2 = c^2 works only for right triangles, with cc across from the right angle. Knowing two side lengths does not tell you that a triangle has a right angle.
  • Multiply each leg by itself separately, then add. (6+8)2=196,(6 + 8)^2 = 196\text{,} but 62+82=100.6^2 + 8^2 = 100\text{.}
  • The sum (total) of the squares is the hypotenuse's square, not the hypotenuse. Take its positive square root, and report centimeters, not square centimeters.

Put the idea to work.

Pythagorean theorem

A taut wire connects the top of a 4-meter vertical pole to level ground 3 meters from its base. How long is the wire, in meters?

base distance: 3 mheight: 4 mwire: ? m
See the reasoning
  1. The base distance and height meet at a right angle. The wire, across from that corner, is the hypotenuse.
  2. c2=32+42=25.c^2=3^2+4^2=25\text{.}
  3. The diagonal is c=25=5c=\sqrt{25}=5 meters.
  4. The slant exceeds either leg and is shorter than their combined length.

Answer: 5