Get the app
Pythagoras checking a right angle with a carpenter’s square in a workshop

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.

12 min read · 2 sample questions · 11 flashcards · Free

In a right triangle, a² + b² = c²

51213
5² + 12² = 25 + 144 = 169, and √169 = 13.

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.

Key idea

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.

Next: Learn

How to solve them

  1. 1

    Find the hypotenuse: add the squares, take the root

    Square both legs, add them, and take the square root of the total.

    1. c² = 9² + 12²
    2. c² = 81 + 144
    3. c² = 225
    4. c = √225
    5. c = 15
    Next step: Find a leg
  2. 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.

    1. a² = 17² − 8²
    2. a² = 289 − 64
    3. a² = 225
    4. a = 15
    Next step: Triples
  3. 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-5

    and 6-8-10, 9-12-15, 30-40-50

    9 + 16 = 25
    5-12-13

    and 10-24-26

    25 + 144 = 169
    8-15-17

    and 24-45-51

    64 + 225 = 289
    7-24-25

    a triple of its own, not a multiple

    49 + 576 = 625
    Example

    A rectangular field is 40 m by 30 m. How long is the diagonal path across it?

    1. The path is the hypotenuse of a triangle with legs 30 and 40.
    2. 30-40-50 is 3-4-5 times 10.
    3. The path is 50 m. Check: 900 + 1,600 = 2,500 = 50².

    Answer 50 meters

    Next step: Special triangles
  4. 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.

    45-45-90

    A square with side 5: its diagonal

    5√2 (about 7.07)

    30-60-90

    Short leg 4

    Long leg 4√3, hypotenuse 8

    Next step: Is it right?
  5. 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.

    8, 15, 17

    64 + 225 = 289 = 17²

    Right

    6, 7, 10

    36 + 49 = 85, but 10² = 100

    Not right

    Next step: Draw it
  6. 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.

    Shortcut

    North, 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.

    Next step: Three examples
  7. 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 · Easy

    A right triangle has legs of 21 and 28. How long is the hypotenuse?

    First tryc = 21 + 28 = 49

    1. 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.
    2. Look for a triple. 21 and 28 share 7: 21 = 3 × 7 and 28 = 4 × 7. That is 3-4-5 times 7.
    3. So c = 5 × 7 = 35.
    4. Check: 21² + 28² = 441 + 784 = 1,225, and 35 × 35 = 1,225.

    Answer 35

    Example · Medium

    A 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 try39² + 15² = 1,521 + 225 = 1,746, so about 41.8 feet

    1. 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.
    2. Subtract the squares: 39² − 15² = 1,521 − 225 = 1,296.
    3. 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.
    4. Check: 36 × 36 = 1,296. The ladder reaches 36 feet up.

    Answer 36 feet

    Example · Test level

    A 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 tryThe diagonal is √(400 + 2,304) = 52, so she saves 52 yards

    1. Along two sides: 48 + 20 = 68 yards.
    2. 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.
    3. The diagonal: 13 × 4 = 52 yards. Check: 400 + 2,304 = 2,704, and 52 × 52 = 2,704.
    4. The question asks what she saves, not how long the diagonal is: 68 − 52 = 16 yards.

    Answer 16 yards

Next: Watch out

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.

Trap

Adding the sides

Legs 33 and 44:

Wrongc = 33 + 44 = 77

Rightc = √(1,089 + 1,936) = 55

Trap

A leg treated as the hypotenuse

Hypotenuse 13, one leg 5:

Wrong√(169 + 25)

Right√(169 − 25) = 12

Trap

Forgetting the square root

Legs 9 and 12:

Wrongc = 225

Rightc = √225 = 15

Trap

Doubling instead of × √2

A 45-45-90 triangle with legs 7:

Wronghypotenuse 14

Right7√2 ≈ 9.9

Next: Practice

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.

On test day

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.

Question 1 of 2 · Warm-up

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².

Question 2 of 2 · Warm-up

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.

The Study Hall

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, free
Next: Flashcards

11 flashcards

Tap a card to flip it. Keep the ones you miss until they stick.

11 cards
Lesson complete

You finished this lesson: The Pythagorean theorem.

Practice score: not taken yet Take the practice

Next topic: Angles Course map
In the app

See 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.

Try the app free