The Pythagorean Theorem
Progress can't be saved in this browser, so this lesson's status can't be set.
Learning goals
- Identify the legs and the hypotenuse of a right triangle from where its right angle is
- Explain why by rearranging four copies of the triangle inside one square
- Find the hypotenuse from the two legs by adding their squares and taking the square root
- Work out a missing leg by subtracting squares, keeping the root exact when it is not whole
- Apply the theorem to real lengths such as ladders, diagonals and square corners
Right triangles and their sides
A right triangle is a triangle with a right angle, a square corner of exactly like the ones you met in the lesson on angles. Its three sides do different jobs, so they get different names. The two sides that form the right angle are the legs. The third side, the one across from the right angle, is the hypotenuse. It is the only side that does not touch the right angle, which is the quickest way to find it whichever way the triangle is turned.
It is usual to call the legs and and the hypotenuse . The letters are only a habit. What matters is the position: always stands for the side across from the right angle. Which leg you call and which you call makes no difference to anything below.
One more fact about the hypotenuse will turn out to be true: it is always the longest of the three sides. That is not obvious from a sketch, so it waits until the rule below can prove it.
Check your understanding
Triangle has its right angle at . Which side is the hypotenuse?
The hypotenuse is the side across from the right angle, so it is the one side that does not touch .
The sides and both meet at , so they are the legs. That leaves . Turning the triangle around does not change which side is across from the right angle.
Squares on the three sides
Take the right triangle with legs and units and a hypotenuse of units. Build a square outward on each side, and rule each square into unit squares so you can count its area.
The square on the leg of length holds unit squares, and the square on the leg of length holds . The tilted square on the hypotenuse holds . Now notice how those three numbers fit together:
The two squares on the legs, put together, have exactly the area of the square on the hypotenuse. The next section shows that this happens in every right triangle, not only in this one.
The right angle is not optional. Try the same sum on a triangle with no right angle, such as one whose three sides are all units long. It has no legs at all, but suppose you squared two of its sides and added anyway. You would get , while the third side squared is only . Without a right angle the sum can fail, so everything below is about right triangles.
Why the squares always balance
Counting unit squares for one triangle proves nothing about the next. The argument below works for every right triangle at once.
The figure shows a right triangle with a short leg and a long leg , drawn in the ratio to , and the same triangle completed to an by rectangle. Its other two angles are marked (at the far end of leg ) and (at the far end of leg ).
The second figure shows the big square that the proof fills in two different ways. Keep both figures in view.
Why in every right triangle#
Start with the angles, and first with numbers. Suppose the triangle’s angle at the bottom right is . The top and bottom sides of the rectangle are parallel, and the hypotenuse runs across both of them, so it is a transversal of two parallel lines. Its alternate interior angles are therefore equal, so the angle it makes with the top side is too. At the top-left corner that and the triangle’s angle sit side by side and fill the rectangle’s right angle, so . Then .
Nothing depended on . Whatever is, the angle beside at the top-left corner is also , and the two pieces still fill the right angle, so . The two angles of a right triangle other than the right angle are complementary, so each of them is acute.
Now the areas, first with numbers. Take the right triangle with legs and . Each copy of it is half of a by rectangle, so its area is . Draw a big square with sides , so its area is . Fill it in two different ways.
In the first way, mark each side of the big square into a piece of and a piece of . Go round in the same direction each time, then join the marks. That cuts off a piece in each corner with legs and at a right angle, which is a copy of the triangle. In the middle it leaves a tilted shape whose four sides are hypotenuses. Each corner of that shape is a right angle. At a mark, two triangles meet. One has its leg of ending there, so it brings its angle . The other has its leg of ending there, so it brings its angle . Those two angles and the shape’s corner sit side by side along the straight side of the big square. The three angles make a straight angle, so the corner is . A shape with four equal sides and four right angles is a square, so the middle is the square on the hypotenuse. Its area is what the triangles leave:
In the second way, cut the big square along a line from the left and a line from the bottom. That gives a by square, a by square, and two by rectangles. Each rectangle splits along its diagonal into two copies of the triangle, so the four triangles are used up again. What they leave this time is the two squares on the legs:
Both ways start from the same big square and take away the same four triangles, so what remains must have the same area. The square on the hypotenuse is , which is , and the squares on the legs total as well. So this triangle’s hypotenuse is .
Nothing in the argument used the numbers and , or needed one leg to be longer than the other. For legs and and hypotenuse , the big square has side and each triangle has area . The first filling leaves the square on the hypotenuse, of area . The second leaves the squares on the legs, of area . Equal leftovers from equal starts give
The right angle did all the work. It made , so the middle shape was a square; it made each corner piece a copy of the triangle; and it made each triangle exactly half of a rectangle.
That result is the Pythagorean theorem: in a right triangle with legs and and hypotenuse ,
In words, the square of the hypotenuse equals the sum of the squares of the two legs. Use it once you know the triangle has a right angle.
It also settles the claim from the first section. For legs and , the hypotenuse’s square is . So is more than and more than , and a bigger number has a bigger square root, so is longer than and longer than . In general, is with added on, and is more than zero because is a length greater than zero. So is bigger than , and is longer than . The same reasoning shows is longer than . The hypotenuse is always the longest side of a right triangle.
Check your understanding
Four copies of a right triangle with legs and are placed in the corners of a square with sides , exactly as in the first filling. What is the area of the tilted square left in the middle?
The big square has area . Each triangle is half of a by rectangle, so its area is .
That matches , as the theorem says it must. Getting means each triangle was counted as instead of .
Finding the hypotenuse
When you know both legs, the theorem hands you , and one square root finishes the job. Square each leg, add the two squares, and take the square root of the total. Only the non-negative root counts, because a length cannot be negative, which is exactly what the radical sign gives.
Worked example 1 Legs of cm and cm
A right triangle has legs of cm and cm. Find its hypotenuse.
Put the legs in for and :
So is the number whose square is . Since ,
Check it against the section above: is longer than both legs, as a hypotenuse must be. Notice too that is not . The theorem adds squares, not sides.
Most pairs of whole-number legs do not give a perfect square. When the sum of their squares is a whole number that is not a perfect square, the hypotenuse is irrational. You leave it as an exact square root, simplified the way you learned with square roots.
Worked example 2 Legs of m and m
A right triangle has legs of m and m. Find the exact length of its hypotenuse, and then about how long it is.
Add the squares of the legs:
So . The number is not a perfect square, but it has the perfect-square factor , since :
That is the exact answer. To estimate it, trap between perfect squares: , so is between and , and close to . To round to the nearest tenth, square and the halfway value : , which is less than , and , which is more. So lies between and , and the hypotenuse is about m. The rounded value gets an “about”, because squared is not quite .
Check your understanding
A right triangle has legs of cm and cm. How long is its hypotenuse?
Square the legs and add.
Then take the square root: cm. Adding the legs gives , which is the mistake of adding sides instead of squares. Stopping at forgets the square root. And comes from subtracting the squares, which is what you do for a leg, not the hypotenuse.
Finding a missing leg
The same equation works backward. Take a right triangle with a hypotenuse of and one leg of . The theorem says
Take away from both sides, just as you would undo an addition in any equation. That leaves , so . Nothing depended on and . For any hypotenuse and known leg , removing from both sides gives
So for a leg you subtract. This only works when the hypotenuse is longer than the leg you know. If it is not, the subtraction gives zero or less, and no right triangle has those sides.
Worked example 3 Hypotenuse , one leg
A right triangle has a hypotenuse of units and one leg of units. Find the other leg.
The is the hypotenuse, so it plays the part of . Subtract the square of the known leg from the square of the hypotenuse:
Now find the root. Since and , the root is between and , and much closer to . Try : . So
Check: . Had you added instead, would give a “leg” longer than , which a hypotenuse cannot allow.
Check your understanding
A right triangle has a hypotenuse of and one leg of . What is the exact length of the other leg, in simplest form?
The is the hypotenuse, so subtract the squares.
The largest perfect square in is , so . The choice comes from adding the squares, and comes from subtracting the sides, .
Measuring with the theorem
Any side of a right triangle can be found this way once you know the other two, as long as all the lengths are in the same unit. A ladder against a wall is the classic case, provided the wall stands at a right angle to level ground.
Worked example 4 How high does the ladder reach?
A m ladder leans against a wall. Its foot is m from the wall on level ground. How high up the wall does it reach?
The ground and the wall meet at a right angle, so the ladder is the hypotenuse. The height is a leg, and that means subtracting:
So m. The ladder reaches m up the wall. If the ground sloped, or the wall leaned, there would be no right angle and this calculation would not apply.
A rectangle’s diagonal is the same kind of length. Its corners are right angles, so the diagonal cuts it into two right triangles with the rectangle’s sides as legs. A park m by m has a diagonal path of m. Cutting across saves m on the m walk round two edges.
The builders’ rope from the start of the lesson works the same way. If a corner is square, marks and steps along its two sides must be steps apart. So if the gap comes out at anything other than , the corner is certainly not square. Does a gap of exactly prove the corner is square? That is the theorem run backward, starting from the sides and concluding the angle. It is a different statement, and this lesson does not prove it. Geometry takes it up.
Check your understanding
A builder marks cm along one edge of a frame and cm along the other, both measured from the same corner. If the corner is a right angle, how far apart should the two marks be?
With a right angle at the corner, the gap between the marks is the hypotenuse.
So the gap is cm. Adding the edges gives , which is the mistake of adding sides. And is the square of the gap, not the gap itself. If the tape reads anything other than cm, the corner is not square.