Learn›Mathematics KnowledgeMK›Pythagorean theorem
The Pythagorean theorem

If a triangle has a right angle, its three sides are tied together by one equation. Learn it, learn four sets of numbers that fit it, and a whole family of questions becomes a few seconds of arithmetic.
In a right triangle, a² + b² = c²
The two sides that form the right angle are the legs (a and b). The longest side, across from the right angle, is the hypotenuse (c). The squares of the legs add up to the square of the hypotenuse.
Only right triangles, and c is always the longest
The theorem works only when there is a 90° angle. And c must be the side across from it: if you put a leg in the place of c, every answer comes out wrong.
How to solve them
-
1
Find the hypotenuse: add the squares, take the root
Square both legs, add them, and take the square root of the total.
Next step: Find a leg- c² = 9² + 12²
- c² = 81 + 144
- c² = 225
- c = √225
- c = 15
-
2
Find a leg: subtract the squares
When the hypotenuse is known, a leg is the square root of c² minus the other leg squared. Subtract, do not add.
Next step: Triples- a² = 17² − 8²
- a² = 289 − 64
- a² = 225
- a = 15
-
3
Four triples worth knowing by heart
These whole-number sets fit the theorem exactly, and so does any multiple of them (6-8-10 is 3-4-5 doubled). Spot one and you can skip the arithmetic.
3-4-5and 6-8-10, 9-12-15, 30-40-50
9 + 16 = 255-12-13and 10-24-26
25 + 144 = 1698-15-17and 24-45-51
64 + 225 = 2897-24-25a triple of its own, not a multiple
49 + 576 = 625Next step: Special trianglesExampleA rectangular field is 40 m by 30 m. How long is the diagonal path across it?
- The path is the hypotenuse of a triangle with legs 30 and 40.
- 30-40-50 is 3-4-5 times 10.
- The path is 50 m. Check: 900 + 1,600 = 2,500 = 50².
Answer 50 meters
-
4
Two special right triangles
A 45-45-90 triangle is half a square: the legs are equal and the hypotenuse is a leg × √2. A 30-60-90 triangle is half of an equilateral triangle. Its short leg is the one across from the 30° angle: the hypotenuse is twice the short leg, and the long leg is the short leg × √3.
Next step: Is it right?45-45-90A square with side 5: its diagonal
5√2 (about 7.07)
30-60-90Short leg 4
Long leg 4√3, hypotenuse 8
-
5
Is it a right triangle? Test the longest side
Put the longest side as c and check whether a² + b² equals c². If it does, the triangle has a right angle.
Next step: Draw it8, 15, 1764 + 225 = 289 = 17²
Right
6, 7, 1036 + 49 = 85, but 10² = 100
Not right
-
6
Word problems: draw the triangle first
Ladders against walls, wires to the ground, diagonals of rectangles and trips north then east are all right triangles. Sketch it, mark the right angle, and label which side is the hypotenuse before you calculate.
Next step: Three examplesShortcutNorth, then east
Drive 27 miles north and 36 miles east: the straight-line distance back to the start is the hypotenuse. 27-36-45 is 3-4-5 times 9, so it is 45 miles.
-
7
Three worked examples, from easy to test level
Each example starts with a first try that many people make, crossed out, and then the way that works. Read the wrong try too: it is the kind of answer the test puts in the choices.
In the test-level example, the triangle is only half the job. You find a side first, and then you use it to answer the real question. Write each result down before you start the next step.
Example · EasyA right triangle has legs of 21 and 28. How long is the hypotenuse?
First try
c = 21 + 28 = 49- The hypotenuse is never the sum of the legs. Going straight across is always shorter than going along the other two sides, so 49 is too long.
- Look for a triple. 21 and 28 share 7: 21 = 3 × 7 and 28 = 4 × 7. That is 3-4-5 times 7.
- So c = 5 × 7 = 35.
- Check: 21² + 28² = 441 + 784 = 1,225, and 35 × 35 = 1,225.
Answer 35
Example · MediumA 39-foot fire-truck ladder leans against a building. Its foot is 15 feet from the wall. How high up the wall does it reach?
First try
39² + 15² = 1,521 + 225 = 1,746, so about 41.8 feet- The ladder is the hypotenuse, so the answer must be shorter than 39 feet. 41.8 is longer than the ladder itself: the first try added when it should subtract.
- Subtract the squares: 39² − 15² = 1,521 − 225 = 1,296.
- No calculator? Look for a triple: 15 = 5 × 3 and 39 = 13 × 3. That is 5-12-13 times 3, so the height is 12 × 3 = 36.
- Check: 36 × 36 = 1,296. The ladder reaches 36 feet up.
Answer 36 feet
Example · Test levelA rectangular supply yard is 48 yards long and 20 yards wide. To reach the far corner, Private Diaz cuts straight across instead of walking along two sides. How many yards does she save?
First try
The diagonal is √(400 + 2,304) = 52, so she saves 52 yards- Along two sides: 48 + 20 = 68 yards.
- Straight across is the hypotenuse of a right triangle with legs 20 and 48. They share 4: 20 = 5 × 4 and 48 = 12 × 4, so it is 5-12-13 times 4.
- The diagonal: 13 × 4 = 52 yards. Check: 400 + 2,304 = 2,704, and 52 × 52 = 2,704.
- The question asks what she saves, not how long the diagonal is: 68 − 52 = 16 yards.
Answer 16 yards
4 traps in the answer choices
The test writes its wrong answers on purpose: each one is what you get if you make one of these mistakes.
Adding the sides
Legs 33 and 44:
Wrongc = 33 + 44 = 77
Rightc = √(1,089 + 1,936) = 55
A leg treated as the hypotenuse
Hypotenuse 13, one leg 5:
Wrong√(169 + 25)
Right√(169 − 25) = 12
Forgetting the square root
Legs 9 and 12:
Wrongc = 225
Rightc = √225 = 15
Doubling instead of × √2
A 45-45-90 triangle with legs 7:
Wronghypotenuse 14
Right7√2 ≈ 9.9
Try 2 questions
Two sample questions on this topic. Pick an answer, then read why. All the practice for this topic is in the Study Hall.
The Pythagorean theorem belongs to Mathematics Knowledge. On the computer test that section has 15 questions in 31 minutes, about 2 min 4 s each. On paper it is 25 questions in 24 minutes, about 58 s each. Expect a missing side of a right triangle, the diagonal of a rectangle or a square, or a word problem with a ladder, a wire or a trip north then east.
No calculator. Without one, a whole-number answer is the easy path: if your square root is not a whole number, look again for a triple: divide the sides by a number they share, and you will often find 3-4-5, 5-12-13 or 8-15-17.
A tip: before you calculate, mark the hypotenuse. It is across from the right angle and it is the longest side. So when you want a leg, any choice longer than the hypotenuse is out; when you want the hypotenuse, any choice shorter than a leg is out. On the computer test you cannot go back to a question, so do this quick check before you move on.
In a right triangle, a and b are the legs and c is the hypotenuse. Which equation is always true?
Show the answer
D. The squares of the two legs add up to the square of the hypotenuse. a + b = c adds the sides without squaring them. a² + c² = b² puts a leg in the place of the hypotenuse. a² + b² = c forgets to square c. The true equation is a² + b² = c².
A right triangle has legs of 12 and 16. How long is the hypotenuse?
Show the answer
A. Square both legs: 12² = 144 and 16² = 256. Add them: 144 + 256 = 400. Take the root: 20 × 20 = 400, so √400 = 20. (It is 3-4-5 times 4.) 28 adds the legs, 144 is only the first leg squared, and 400 forgets the square root. The hypotenuse is 20.
Practice this topic for real
The full lesson in the ASVABIFY Community: more practice questions with every answer explained, and a checkpoint that tells you when you have it. Reading is free with an account; all the practice comes with Study Hall Plus, and it is included with Pro.
Practice in the Study Hall Stuck on one? Ask in #questions, free11 flashcards
Tap a card to flip it. Keep the ones you miss until they stick.
All 11 cards known.
You finished this lesson: The Pythagorean theorem.
Practice score: not taken yet Take the practice
Next topic: Angles Course mapSee this topic move.
In the course, every topic is drawn step by step on a whiteboard while a voice explains it, with timed practice tests and a plan for your test date. The first lessons of every module are free.