Numbers on a clay tablet
A clay tablet called Plimpton 322 lists several sets of numbers that fit a² + b² = c². People were already using the rule.
The three sides of a right triangle hide a secret that people discovered thousands of years ago. Work through 8 short stops — tap, pour water, solve a puzzle — find it yourself, then learn to use it.
a² + b² = c²
Say it: a squared plus b squared equals c squared
🎉 All 8 stops done! You really understand the Pythagorean theorem now.
3² + 4² = 5²
9 + 16 = 25
A triangle with one right angle (90°, like the corner of a book) is called a right triangle. Each of its sides has a name.
The triangle keeps turning. Find the little square (the right angle) first — the hypotenuse is straight across from it.
Draw a square on each side. A square’s area is side × side, which we call the side “squared”. Count the little squares and see how the three areas are related.
Drag the dots, or press − / + to change the two legs (1 to 5).
Counting squares only checks a few examples. Sliding these triangles around shows why it works for every right triangle.
Move the “Shape” slider to pick a different right triangle and slide again — it still works. That is what a proof is: not luck, but true every time.
Can you cut up the blue and green squares and cover the red square exactly? Try it yourself.
Drag the 4 pieces cut from the bigger square, plus the other small square, into the red square. Pieces never need turning — just slide them, and they snap when they are close. With a keyboard, press Tab to pick a piece and Enter to send it home.
This way of cutting was found by Henry Perigal, an Englishman, in the 19th century: none of the pieces needs to be rotated.
If you know two sides of a right triangle, you can work out the third. Try your own numbers in these three tools.
A 5 m ladder leans against a wall. The wall meets the ground at a right angle, so the ladder is the hypotenuse. Drag the foot of the ladder (or use the slider) until the top just reaches the window.
To get from home to school, the road goes around the park with one corner; a path cuts straight across the park. Two friends walk at the same speed. Who gets there first?
The theorem also works backwards: if three sides fit a² + b² = c² (c is the longest), the triangle must have a right angle. Change the three sides and find the right triangles.
It is said that ancient Egyptians used a knotted rope split into 12 equal parts. Pulled into a triangle with sides of 3, 4 and 5 parts, it makes a right angle. Builders still measure 3, 4 and 5 to check that a corner is square.
A car’s satnav knows where the car is thanks to satellites in the sky, and the distance maths behind it is the Pythagorean theorem. Below is a 3D model you can drag to look around.
Drag to look around
The model is simplified: the ground is flat and the satellites and car are drawn huge. Real GPS satellites orbit about 20,200 km up and the Earth is round; a car’s clock is not precise enough, so in practice at least 4 satellites are needed, the extra one to correct the time.
8 questions — the more you get right, the more stars you earn. The questions change every round.
A clay tablet called Plimpton 322 lists several sets of numbers that fit a² + b² = c². People were already using the rule.
The old Chinese book Zhoubi Suanjing records Shang Gao saying “gou three, gu four, xian five”. The short leg was gou, the long leg gu and the hypotenuse xian, so in Chinese it is the Gougu theorem.
Tradition says Pythagoras and his followers proved it, which is why it carries his name in English.
The mathematician Zhao Shuang drew a “hypotenuse diagram” made of 4 right triangles to prove it. It became the logo of the 2002 International Congress of Mathematicians in Beijing.
James Garfield, who later became US president, found a proof using a trapezoid. Today people have collected hundreds of different proofs.
In a right triangle, the squares of the two legs add up to the square of the hypotenuse: a² + b² = c². For example, if the legs are 3 and 4, the hypotenuse is 5, because 9 + 16 = 25.
a and b are the legs, the two sides that form the right angle. c is the hypotenuse, opposite the right angle and the longest side. It doesn’t matter which leg you call a or b, but c must be the hypotenuse.
Square each leg, add them, then take the square root: c = √(a² + b²). Example: a = 6, b = 8 gives 36 + 64 = 100, so c = √100 = 10.
Subtract the square of the known leg from the square of the hypotenuse, then take the square root: b = √(c² − a²). Example: c = 13, a = 5 gives 169 − 25 = 144, so b = √144 = 12.
Three whole numbers that fit a² + b² = c² exactly, such as 3-4-5, 5-12-13, 8-15-17 and 7-24-25. Multiplying a triple by 2, 3 and so on gives another triple, like 6-8-10 or 9-12-15.
No, only for right triangles. The other way round, if the three sides fit a² + b² = c², the triangle must be a right triangle (the converse). If a² + b² is bigger than c², the triangle is acute; if it is smaller, the triangle is obtuse.
A “55-inch” TV or phone screen size is the length of its diagonal. Builders measure 3 and 4 and check the diagonal is 5 to make a square corner. It also gives straight-line distances on a map and how high a ladder will reach.
Want to go on to sin, cos and tan? Try the right triangle explorer (Chinese interface) to see all six trig ratios change as you drag.