SOMATH Journal · Math Guide · Grade 8 Geometry · Famous Mathematicians
Pythagorean Theorem Word Problems for 8th Grade: 5 Examples Explained
When to use \(a^2 + b^2 = c^2\), five worked examples with different purposes, the formulas and triples to know, two proofs, and the real history of Pythagoras, from a Babylonian tablet now kept at Columbia University to Fermat’s Last Theorem.

The short answer: use the Pythagorean theorem in a word problem when the situation contains two lengths that meet at a right angle and a third length that connects their endpoints. Sketch the triangle, label the side opposite the right angle as the hypotenuse, and circle the length the question asks you to find. Then write \(a^2 + b^2 = c^2\), where \(c\) is always the hypotenuse, and solve. Finally, reread the question: the length you calculated is not always the answer it asks for.
This guide teaches that habit through five worked examples, each with a different purpose: finding a diagonal and then answering the real question, finding a missing leg, deciding whether the theorem applies at all, measuring distance on a coordinate grid, and working in three dimensions. Along the way you will meet the man whose name is on the theorem, the clay tablet a few subway stops from our classroom that shows the idea is far older than he is, and a proof simple enough to draw on a napkin.
A question you could picture on the Upper West Side
A rectangular community garden is 30 feet wide and 40 feet long. You walk along two edges to reach the opposite corner. Your friend takes the diagonal path. How many feet does your friend save?
Most eighth graders who know the theorem get to work quickly. The two edges meet at a right angle, so the diagonal is the hypotenuse of a right triangle with legs 30 and 40:
\[30^2 + 40^2 = 900 + 1600 = 2500 = 50^2\]
The diagonal is 50 feet. Many students circle 50 and move on. But read the question again. It does not ask how long the diagonal is. It asks how many feet your friend saves. Your walk along the edges is \(30 + 40 = 70\) feet, so the shortcut saves
\[70 - 50 = 20 \text{ feet.}\]
When a student in my class answers 50, I ask one question: “If you answered 50 feet, what question did you just answer?” The student usually laughs, because the answer is obvious once it is spoken aloud: they answered “How long is the diagonal?” That is a useful step, but it is not the question on the page. Learning to notice the difference is the single most valuable habit in word problems, and the Pythagorean theorem is a perfect place to practice it.
How do you know when to use the Pythagorean theorem in a word problem?
Word problems rarely announce “use the Pythagorean theorem.” Instead they describe a ladder, a ramp, a screen, a map, a box, or a shortcut across a field. Your job is to recognize the shape hiding inside the story. Here is the test I teach, in the same words every time:
Look for two lengths that meet at a right angle and a third length that connects their endpoints. Sketch the triangle, label the side opposite the right angle as the hypotenuse, and circle the length the question asks you to find.
Right angles hide in ordinary words. A wall meets the ground at a right angle. A flagpole stands straight up. City streets on a grid meet at right angles. The length and width of a rectangle meet at a right angle, which is why every rectangle’s diagonal makes two right triangles. “Due north, then due east” describes a right angle. “Directly above” and “directly below” describe a right angle with the ground. When you see these phrases, start sketching.
The flowchart below is the decision path I want students to run, almost automatically, before they write a single equation.
- 1. Can I draw a triangle from the story?Ladder and wall, two streets and a shortcut, sides of a rectangle and its diagonal. If no triangle appears, this is not a Pythagorean problem.
- 2. Does the triangle have a right angle, stated or clearly implied?“Vertical,” “perpendicular,” “rectangular,” “due north then due east,” “directly above.” If there is no right angle, the theorem does not apply. Look for another method.
- 3. Which side is opposite the right angle?Label it \(c\), the hypotenuse. It is always the longest side. The two sides that form the right angle are the legs, \(a\) and \(b\).
- 4. Do I know two of the three sides?If I know both legs, add their squares. If I know the hypotenuse and one leg, subtract. If I know only one side, I need another fact first.
- 5. Is the side I find the final answer?Circle what the question asks. Savings, perimeter, time, cost, or “does it fit?” all need one more step after the theorem.
The formulas you need, in one place
The Pythagorean theorem states that in any right triangle with legs \(a\) and \(b\) and hypotenuse \(c\),
\[a^2 + b^2 = c^2.\]
Everything else in this guide is a rearrangement or an extension of that one sentence. Eighth graders in New York need the first four rows of the table below. The last rows preview Geometry and competition math, and students who see them early tend to find high school geometry much friendlier.
Table 1. Pythagorean formulas and when to use each
| Goal | Formula | Use it when |
|---|---|---|
| Find the hypotenuse | \(c = \sqrt{a^2 + b^2}\) | You know both legs: a diagonal, a shortcut, a ramp’s length |
| Find a missing leg | \(a = \sqrt{c^2 - b^2}\) | You know the hypotenuse and one leg: a ladder’s height, a kite’s height |
| Test for a right angle (converse) | If \(a^2 + b^2 = c^2\), the angle opposite \(c\) is right | You know all three sides and must decide whether a corner is square |
| Distance between two points | \(d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}\) | Points on a coordinate plane or a map grid |
| Diagonal of a box (space diagonal) | \(d = \sqrt{\ell^2 + w^2 + h^2}\) | Three dimensions: “Will it fit in the box?” |
| Acute or obtuse? (longest side \(c\)) | \(c^2 < a^2 + b^2\): acute; \(c^2 > a^2 + b^2\): obtuse | The triangle is not right, and you want to know which way it leans |
| 45°–45°–90° triangle | Legs \(s\), hypotenuse \(s\sqrt{2}\) | Diagonal of a square, such as a baseball diamond |
| 30°–60°–90° triangle | Short leg \(s\), long leg \(s\sqrt{3}\), hypotenuse \(2s\) | Half of an equilateral triangle; Regents Geometry and SAT |
Two reminders before the examples. First, the theorem relates the squares of the sides, not the sides themselves. A 3-4-5 triangle works because \(9 + 16 = 25\), not because \(3 + 4\) has anything to do with 5. Second, when you take a square root at the end, keep only the positive value. Lengths are positive, so \(c^2 = 2500\) gives \(c = 50\), not \(\pm 50\).
- SketchDraw the situation. Mark the right angle with a small square.
- LabelWrite \(c\) on the side opposite the right angle; \(a\) and \(b\) on the legs.
- CircleCircle the length or quantity the question asks for.
- SolveAdd squares for \(c\); subtract for a leg. Take the positive root.
- Answer and checkFinish the question asked. Is \(c\) the longest side? Are units right?
Example 1: Find the diagonal, then answer the real question
Purpose: practice the full routine, including the final step most students skip.
Problem. A rectangular park lawn is 48 meters long and 20 meters wide. Maya walks from one corner to the opposite corner along the edges. Leo walks straight across the diagonal. Both walk at the same speed, 1.3 meters per second. How many seconds sooner does Leo arrive?
Sketch and label. The length and width of a rectangle meet at a right angle, so the diagonal is the hypotenuse of a right triangle with legs 48 and 20.
Circle the question. The question asks for seconds saved, not meters. That warns us there will be two extra steps after the theorem.
Solve.
\[c^2 = 48^2 + 20^2 = 2304 + 400 = 2704, \qquad c = \sqrt{2704} = 52 \text{ m.}\]
Maya walks \(48 + 20 = 68\) meters. Leo walks 52 meters. Leo’s path is \(68 - 52 = 16\) meters shorter. At 1.3 meters per second, 16 meters takes
\[\frac{16}{1.3} \approx 12.3 \text{ seconds.}\]
Answer and check. Leo arrives about 12 seconds sooner. Check: the hypotenuse, 52, is longer than each leg but shorter than their sum, 68, which is exactly what a shortcut should look like. If you had answered 52, you would have answered “How long is the diagonal?” If you had answered 16, you would have answered “How many meters shorter is the diagonal?” Only 12.3 answers the question on the page.
Teaching note. This is the garden problem with one more layer. When a word problem gives a rate, a price, or a time, expect the theorem to be the middle of the solution, not the end.
Example 2: Find a missing leg
Purpose: recognize when the hypotenuse is given, and subtract instead of add.
Problem. A painter leans a 13-foot ladder against the side of a brownstone on West 79th Street. For safety, the foot of the ladder is 5 feet from the base of the wall. How high up the wall does the ladder reach?
Sketch and label. The wall is vertical and the ground is level, so they meet at a right angle at the base of the wall. The ladder connects the top of one leg to the end of the other, so the ladder is the hypotenuse: \(c = 13\). The distance along the ground is one leg: \(b = 5\). The height is the other leg, \(a\).
Solve.
\[a^2 + 5^2 = 13^2 \quad\Rightarrow\quad a^2 = 169 - 25 = 144 \quad\Rightarrow\quad a = 12 \text{ ft.}\]
Answer and check. The ladder reaches 12 feet up the wall. Check: 12 is less than 13, as a leg must be. The most common wrong answer is \(\sqrt{13^2 + 5^2} = \sqrt{194} \approx 13.9\) feet, which would mean the ladder reaches higher than its own length. That is impossible, and noticing that impossibility is a skill worth praising.
Teaching note. Before solving, ask: “Is the length I am looking for the longest side?” If yes, add. If no, subtract. That one question prevents most missing-leg mistakes.
Example 3: Decide whether the theorem applies
Purpose: use the converse to test a right angle, and learn to say “the theorem does not apply here.”
Problem, part A. A carpenter is building a rectangular raised garden bed. She measures 6 feet along one side from a corner and 8 feet along the adjacent side, then measures straight across between those two marks: 10 feet. Is the corner square?
Solve. Here we know all three sides and are asked whether the angle is right. That is the job of the converse of the Pythagorean theorem: if the squares of the two shorter sides add up to the square of the longest side, the angle opposite the longest side is a right angle.
\[6^2 + 8^2 = 36 + 64 = 100 = 10^2.\]
The corner is square. Builders have used versions of this check for a very long time; carpenters today still call it the 3-4-5 method, since 6-8-10 is just 3-4-5 doubled.
Problem, part B. A triangular flower bed in a neighborhood park has sides of 7 feet, 9 feet, and 12 feet. A student wants to use the Pythagorean theorem to find its height. Can she?
Solve. Test the longest side first:
\[7^2 + 9^2 = 49 + 81 = 130, \qquad 12^2 = 144.\]
Since \(130 \neq 144\), the triangle is not a right triangle, so the theorem does not describe its three sides. And because \(144 > 130\), the angle opposite the 12-foot side is obtuse. That does not end the problem forever: in Geometry, she can drop an altitude to create two right triangles, or later use the Law of Cosines. But she cannot plug 7, 9, and 12 into \(a^2 + b^2 = c^2\) as if it were true.
Answer and check. Part A: yes, the corner is square. Part B: no, the theorem does not apply directly, because the triangle has no right angle.
Teaching note. New York’s eighth-grade standard includes understanding a proof of the theorem and its converse (NYSED Grade 8 crosswalk). Many test questions are built to reward students who check whether a triangle is right before using the theorem.
Example 4: Distance on a coordinate grid
Purpose: see that the distance formula is the Pythagorean theorem in disguise.
Problem. On a park map, each grid square is 50 feet on a side. The water fountain is at point \(A(-2, 1)\) and the playground gate is at \(B(4, 9)\). Paths run only east–west and north–south. A drone flies straight from the fountain to the gate. How much shorter is the drone’s flight than the shortest walk along the paths, in feet?
Sketch and label. Go from \(A\) straight east until you are under \(B\), then straight north to \(B\). Those two moves meet at a right angle at \((4, 1)\). The horizontal leg is \(4 - (-2) = 6\) units. The vertical leg is \(9 - 1 = 8\) units. The drone’s path is the hypotenuse.
Solve.
\[d = \sqrt{6^2 + 8^2} = \sqrt{36 + 64} = \sqrt{100} = 10 \text{ units.}\]
The walk is \(6 + 8 = 14\) units. The difference is \(14 - 10 = 4\) units, and each unit is 50 feet, so the drone’s flight is \(4 \times 50 = 200\) feet shorter.
Answer and check. 200 feet. Notice what we just did: we computed \(\sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}\) without ever memorizing the distance formula. That is the point. The distance formula is not a new idea; it is the Pythagorean theorem written in coordinates. A student who understands that will never be stuck if the formula slips from memory during a test.
Teaching note. Subtracting a negative coordinate is where errors live: \(4 - (-2) = 6\), not 2. Counting the squares on the grid is a perfect check.
Example 5: Three dimensions
Purpose: use the theorem twice, and turn a “does it fit?” question into a comparison.
Problem. A student wants to mail a 40-inch rolled poster in a box that measures 24 inches long, 18 inches wide, and 16 inches tall. The poster cannot bend. Will it fit if placed diagonally, from a bottom corner to the opposite top corner? If not, what is the longest rigid tube that fits?
Step 1: the floor. The length and width of the floor meet at a right angle, so the floor diagonal is
\[\sqrt{24^2 + 18^2} = \sqrt{576 + 324} = \sqrt{900} = 30 \text{ in.}\]
Step 2: up to the top corner. The vertical edge rises at a right angle from the floor. So the floor diagonal (30) and the height (16) are the legs of a second right triangle, standing up inside the box. Its hypotenuse is the space diagonal:
\[\sqrt{30^2 + 16^2} = \sqrt{900 + 256} = \sqrt{1156} = 34 \text{ in.}\]
Combining both steps gives the shortcut formula \(d = \sqrt{24^2 + 18^2 + 16^2}\), which equals 34 as well.
Answer and check. The longest straight line inside the box is 34 inches. A 40-inch poster tube will not fit; the longest rigid tube that fits is 34 inches (in practice a little less, to allow for the tube’s thickness). Check: 34 is longer than every edge and longer than the floor diagonal, as it should be.
Teaching note. New York’s eighth-grade standard explicitly includes real-world problems “in two and three dimensions” (NYSED). The box problem is the classic three-dimensional case, and it reappears in Regents Geometry, the SAT, and the AMC 8.
Table 2. The five examples at a glance
| Example | Purpose | Key move | Theorem result | Final answer |
|---|---|---|---|---|
| 1. Park lawn | Diagonal, then the real question | Add squares; then subtract paths; then divide by speed | 52 m | About 12.3 s sooner |
| 2. Ladder | Missing leg | Subtract: \(13^2 - 5^2\) | 12 ft | 12 ft high |
| 3. Garden bed and flower bed | Does it apply? | Converse: compare \(a^2 + b^2\) with \(c^2\) | 100 = 100; 130 ≠ 144 | Square corner; not a right triangle |
| 4. Park map | Coordinate distance | Legs are \(\Delta x\) and \(\Delta y\) | 10 units | 200 ft shorter |
| 5. Shipping box | Three dimensions | Use the theorem twice | 30 in, then 34 in | 40-in poster does not fit |
The mistakes I see most often
After years of teaching this topic to middle schoolers and to adults preparing for the GMAT and GRE, I can tell you that the errors are remarkably consistent across ages. Almost none of them are about arithmetic. They are about reading and labeling.
Table 3. Common Pythagorean mistakes and how to prevent them
| Mistake | What it looks like | The fix |
|---|---|---|
| Answering the wrong question | Reporting the diagonal (50 ft) when the question asks for feet saved (20 ft) | Circle the question before solving; reread it after |
| Mislabeling the hypotenuse | Calling the ladder’s ground distance \(c\) | \(c\) is always opposite the right angle and always the longest side |
| Adding when you should subtract | \(\sqrt{13^2 + 5^2}\) for the ladder’s height | Ask: “Am I finding the longest side?” If not, subtract |
| Forgetting the square root | Reporting \(c^2 = 2500\) as the length | Your answer should be in feet, not square feet |
| Adding the sides, not their squares | Thinking \(3 + 4 = 5\) somehow | Say the theorem in words: “the square of the hypotenuse” |
| Using it on a non-right triangle | Plugging 7, 9, and 12 into \(a^2 + b^2 = c^2\) | Check for a right angle first (Flowchart 1, step 2) |
| Mixing units | One side in feet, another in inches | Convert everything to one unit before squaring |
| Rounding too early | Rounding a leg to the nearest tenth before squaring it | Keep exact values or the square root until the last step |
| Sign errors on coordinates | \(4 - (-2) = 2\) | Count grid squares to confirm \(\Delta x\) and \(\Delta y\) |
Pythagorean triples worth knowing
A Pythagorean triple is a set of three whole numbers that fit \(a^2 + b^2 = c^2\). Test writers love them, because they let a problem have a clean answer. A student who recognizes 5-12-13 or 8-15-17 on sight saves time and gains a built-in check.
Table 4. Primitive Pythagorean triples and their common multiples
| Primitive triple | Check | Common multiples | Where it shows up |
|---|---|---|---|
| 3, 4, 5 | \(9 + 16 = 25\) | 6-8-10, 9-12-15, 30-40-50, 15-20-25 | Carpentry, the garden problem, almost every textbook |
| 5, 12, 13 | \(25 + 144 = 169\) | 10-24-26, 15-36-39 | Ladder problems |
| 8, 15, 17 | \(64 + 225 = 289\) | 16-30-34 | Ramps and screen sizes; Example 5’s second step |
| 7, 24, 25 | \(49 + 576 = 625\) | 14-48-50 | SAT and AMC questions |
| 20, 21, 29 | \(400 + 441 = 841\) | 40-42-58 | Competition math |
| 9, 40, 41 | \(81 + 1600 = 1681\) | 18-80-82 | Competition math |
Notice that Example 1 (48, 20, 52) is the 12-5-13 triple multiplied by 4, and Example 5’s second step (16, 30, 34) is 8-15-17 doubled. Once students see this, they start looking for triples everywhere, which is exactly the kind of pattern-seeking that makes strong problem solvers.
For curious students, there is a recipe that generates every primitive triple. Choose whole numbers \(m > n > 0\) that share no common factor and are not both odd. Then
\[a = m^2 - n^2, \qquad b = 2mn, \qquad c = m^2 + n^2\]
always works. With \(m = 2, n = 1\) you get 3-4-5; with \(m = 3, n = 2\), 5-12-13; with \(m = 4, n = 1\), 15-8-17. Expanding both sides proves it:
\[\begin{aligned}(m^2 - n^2)^2 + (2mn)^2 &= m^4 - 2m^2n^2 + n^4 + 4m^2n^2\\ &= m^4 + 2m^2n^2 + n^4 = (m^2 + n^2)^2.\end{aligned}\]
This formula appears in Book X of Euclid’s Elements, and it is a lovely first taste of number theory for a strong eighth grader.
Why it is true: two proofs a student can draw
New York expects eighth graders to understand a proof of the Pythagorean theorem, not just use it (NYSED). I agree strongly. A student who can explain why \(a^2 + b^2 = c^2\) owns the theorem; a student who only memorized it is renting it. There are hundreds of proofs. Elisha Scott Loomis collected 367 of them in The Pythagorean Proposition, later republished by the National Council of Teachers of Mathematics (Cut the Knot). Here are two of my favorites.
Proof 1: Rearranging four triangles
Start with a large square whose side is \(a + b\). Place four copies of a right triangle with legs \(a\) and \(b\) inside it, one in each corner, so the hypotenuses form a tilted square in the middle. That middle square has side \(c\) and area \(c^2\). (Its corners are right angles because, at each point on the edge of the big square, the two acute angles of the triangle plus the corner of the tilted square make a straight line: \(x + y + 90° = 180°\), and \(x + y = 90°\) in a right triangle.)
Now slide the same four triangles into a different arrangement: pair them up into two rectangles. The uncovered region becomes two squares, one with side \(a\) and one with side \(b\). The big square has not changed, and the four triangles have not changed. So the uncovered area must be the same in both pictures:
\[c^2 = a^2 + b^2.\]
No algebra required. Some historians see an argument of this visual kind in the ancient Chinese text Zhoubi Suanjing, whose “gougu” diagram shows a square on the hypotenuse built from right triangles (MacTutor).
Proof 2: The proof by a future president
In 1876, while serving in the U.S. House of Representatives, James A. Garfield published a proof of his own in the New-England Journal of Education. Five years later he became the twentieth president of the United States (Mathematical Association of America). His idea uses a trapezoid made of three right triangles: two copies of the original triangle, with legs \(a\) and \(b\), and one isosceles right triangle whose equal sides are both \(c\).
The trapezoid has parallel sides \(a\) and \(b\) and height \(a + b\). Compute its area two ways and set them equal:
\[\frac{1}{2}(a + b)(a + b) = 2\left(\frac{1}{2}ab\right) + \frac{1}{2}c^2.\]
Multiply both sides by 2 and expand: \(a^2 + 2ab + b^2 = 2ab + c^2\). Subtract \(2ab\) from both sides:
\[a^2 + b^2 = c^2.\]
I love sharing this proof with students who think mathematics belongs only to professional mathematicians. A congressman from Ohio found a new proof of a theorem known for more than three thousand years because he was curious. So can a seventh grader on West 79th Street.
Who was Pythagoras, and did he discover the theorem?
Pythagoras is one of the most famous names in mathematics and one of the least documented lives. He left no writings of his own; everything we know comes from later authors (Stanford Encyclopedia of Philosophy). According to the Stanford Encyclopedia of Philosophy, he lived from about 570 to about 490 BCE, spent his early years on the Greek island of Samos, and around age forty emigrated to Croton in southern Italy, where he founded a community with a distinctive way of life (Stanford Encyclopedia of Philosophy). His followers, the Pythagoreans, became associated with the idea that number underlies the order of the world. Later tradition credits them with discovering that musical harmony rests on simple whole-number ratios, such as 2:1 for the octave and 3:2 for the fifth (MacTutor History of Mathematics).
Here is the surprising part, and I think it is the most important history lesson in this article: the theorem is much older than Pythagoras, and there is no solid evidence that he proved it. The Stanford Encyclopedia notes that none of the early sources, including Plato and Aristotle, connect Pythagoras to the theorem, and that the famous story of him sacrificing an ox to celebrate its discovery comes to us through much later writers such as Proclus, in the fifth century CE. It concludes that there is “not a jot of evidence” for a proof by Pythagoras (Stanford Encyclopedia of Philosophy). MacTutor notes that the Babylonians knew the relationship about a thousand years earlier, while allowing that Pythagoras may have been the first to prove it; the Stanford Encyclopedia’s reading of the evidence is more skeptical (MacTutor).
A Babylonian tablet a few subway stops from SOMATH
One of the most important pieces of evidence lives in Manhattan. Plimpton 322, a small clay tablet from Larsa in present-day Iraq, dated to about 1820–1762 BCE, is held by Columbia University’s Rare Book & Manuscript Library in Morningside Heights (Columbia University Libraries). In the 1940s, Otto Neugebauer and Abraham Sachs showed that its columns of cuneiform numbers correspond to Pythagorean triples. The historian Eleanor Robson later argued that the tablet was most likely a teacher’s aid for generating right-triangle problems: in Columbia’s words, “the work of an excellent teacher, not a lone genius” (Columbia University Libraries).
I find that wonderful. Nearly four thousand years ago, a teacher was preparing right-triangle problems for students. That is exactly what this article is doing, a short ride up Broadway from where Plimpton 322 is kept.
A second tablet, YBC 7289 in the Yale Babylonian Collection, shows a square with its diagonals and a value for \(\sqrt{2}\), the diagonal of a unit square, accurate to about six decimal places (Mathematical Association of America). That is a Pythagorean calculation, done centuries before Pythagoras was born.
India, China, and Greece
The idea appears independently in other ancient cultures. The Indian Śulbasūtras, manuals for building fire altars, state the relationship for the diagonal of a square in the Baudhāyana Śulbasūtra, usually dated to around 800 BCE, and for the diagonal of a rectangle in later texts. They also list triples such as 5-12-13 and 8-15-17 (MacTutor). In China, the Zhoubi Suanjing, compiled between about 100 BCE and 100 CE, discusses the right-triangle relationship, called gougu after the names for the two legs (MacTutor).
What the Greeks added was proof. Around 300 BCE, Euclid’s Elements proved the theorem as Proposition 47 of Book I: “In right-angled triangles the square on the side opposite the right angle equals the sum of the squares on the sides containing the right angle.” Proposition 48, immediately after it, proves the converse (Euclid’s Elements, ed. D. E. Joyce, Clark University). Notice Euclid’s wording: “the square on the side” means an actual square drawn on that side. The theorem is about areas, which is exactly what our rearrangement proof shows.
The theorem’s most famous descendant
In 1637, Pierre de Fermat wrote in the margin of a book that while \(a^2 + b^2 = c^2\) has infinitely many whole-number solutions, the equation \(a^n + b^n = c^n\) has none when \(n\) is greater than 2, and that he had a marvelous proof the margin was too narrow to contain. Mathematicians tried for more than 350 years to prove “Fermat’s Last Theorem.” Andrew Wiles finally did, in work published in 1995, and received the Abel Prize for it in 2016 (The Abel Prize). The Pythagorean theorem is where that story begins, and it is a fitting namesake for our Young Fermats middle school program.
Table 5. A timeline of the Pythagorean theorem
| Date | Who or what | Contribution |
|---|---|---|
| c. 1820–1762 BCE | Plimpton 322, Larsa (now at Columbia University) | Table of values corresponding to Pythagorean triples (Columbia) |
| c. 1800–1600 BCE | YBC 7289 (Yale) | Diagonal of a square; \(\sqrt{2}\) to about six decimal places (MAA) |
| c. 800 BCE | Baudhāyana Śulbasūtra, India | Diagonal-of-a-square rule for altar construction (MacTutor) |
| c. 570–490 BCE | Pythagoras of Samos | Name attached to the theorem; no surviving evidence of his proof (SEP) |
| c. 300 BCE | Euclid, Elements I.47–48 | Earliest surviving Greek proof of the theorem and its converse (Joyce) |
| c. 100 BCE–100 CE | Zhoubi Suanjing, China | The gougu rule for right triangles (MacTutor) |
| 1637 | Pierre de Fermat | Claims no whole-number solutions to \(a^n + b^n = c^n\) for \(n > 2\) |
| 1876 | James A. Garfield | Trapezoid proof, published while he served in Congress (MAA) |
| 1927 and 1940 | Elisha Scott Loomis | The Pythagorean Proposition; the 1940 edition collects 367 proofs |
| 1994–1995 | Andrew Wiles | Proves Fermat’s Last Theorem; Abel Prize in 2016 (Abel Prize) |
Try it yourself: seven practice problems
These problems are new; none repeat the examples above. Sketch first, label the hypotenuse, circle the question, and only then tap “Answer.”
Problem 1 Find the hypotenuse
A phone screen is 9 centimeters wide and 12 centimeters tall. Screens are measured along the diagonal. What is this screen’s diagonal?
Answer
15 cm
Width and height meet at a right angle, so \(c = \sqrt{9^2 + 12^2} = \sqrt{81 + 144} = \sqrt{225} = 15\). This is 3-4-5 multiplied by 3.
Problem 2 Missing leg
Ava flies a kite on a 25-meter string, pulled straight. Her friend stands directly under the kite, 7 meters from Ava. Ignoring Ava’s height, how high is the kite?
Answer
24 m
“Directly under” gives a right angle at the friend’s feet. The string is the hypotenuse, so \(h = \sqrt{25^2 - 7^2} = \sqrt{625 - 49} = \sqrt{576} = 24\). This is the 7-24-25 triple.
Problem 3 Does it apply?
A triangle has sides 9, 12, and 16. Is it a right triangle? If not, is its largest angle acute or obtuse?
Answer
Not right; the largest angle is obtuse
\(9^2 + 12^2 = 81 + 144 = 225\), but \(16^2 = 256\). Since \(256 > 225\), the angle opposite the 16 side is obtuse. (A right triangle with legs 9 and 12 would need a hypotenuse of exactly 15.)
Problem 4 Coordinate distance
Find the distance between \(P(-3, -2)\) and \(Q(5, 4)\).
Answer
10
\(\Delta x = 5 - (-3) = 8\) and \(\Delta y = 4 - (-2) = 6\). So \(d = \sqrt{8^2 + 6^2} = \sqrt{100} = 10\).
Problem 5 Three dimensions
A storage box measures 12 inches by 4 inches by 3 inches. What is the longest straight rod that fits inside?
Answer
13 in
Floor diagonal: \(\sqrt{12^2 + 4^2} = \sqrt{160}\). Space diagonal: \(\sqrt{160 + 3^2} = \sqrt{169} = 13\). Or directly, \(\sqrt{144 + 16 + 9} = 13\). Keeping \(\sqrt{160}\) exact, instead of rounding, made the final answer come out clean.
Problem 6 Square diagonal
A baseball diamond is a square with 90-foot sides. How far is the throw from home plate to second base, to the nearest tenth of a foot?
Answer
About 127.3 ft
Home to second is the diagonal of the square: \(\sqrt{90^2 + 90^2} = 90\sqrt{2} \approx 127.3\). This is the 45°–45°–90° pattern: the hypotenuse is a leg times \(\sqrt{2}\).
Problem 7 Answer the real question
A square plaza is 60 feet on each side. How many feet do you save by walking diagonally across it instead of along two sides? Round to the nearest foot.
Answer
About 35 ft
Diagonal: \(60\sqrt{2} \approx 84.85\) feet. Two sides: 120 feet. Savings: \(120 - 84.85 \approx 35.15\), so about 35 feet. If you answered 85, you found the diagonal, not the savings.
What New York expects in eighth grade
In the New York State Next Generation Mathematics Learning Standards, the Pythagorean theorem is its own cluster in Grade 8 Geometry: “Understand and apply the Pythagorean Theorem.” The three standards are short, and every example in this article maps onto one of them (NYSED Grade 8 crosswalk). The state’s performance level descriptions describe what students at each level can do with these skills on the Grade 8 test (NYSED Grade 8 performance level descriptions).
Table 6. New York Grade 8 Pythagorean standards and where this guide covers them
| Standard | What it says | In this guide |
|---|---|---|
| NY-8.G.6 | Understand a proof of the Pythagorean Theorem and its converse | Two proofs; Example 3 and Problem 3 (converse) |
| NY-8.G.7 | Apply the Pythagorean Theorem to determine unknown side lengths in right triangles in real-world and mathematical problems in two and three dimensions | Examples 1, 2, and 5; Problems 1, 2, 5, 6, 7 |
| NY-8.G.8 | Apply the Pythagorean Theorem to find the distance between two points in a coordinate system | Example 4; Problem 4 |
The theorem does not end in eighth grade. It returns in Regents Geometry through special right triangles, trigonometry, and coordinate proofs; in Algebra 2 and Pre-Calculus as the identity \(\sin^2\theta + \cos^2\theta = 1\) and the equation of a circle, \(x^2 + y^2 = r^2\); on the SAT and ACT; and in AMC competitions, where triples and clever right triangles appear every year. For parents, our New York 8th grade math parent guide explains how this unit fits the rest of the year.
- Grade 8\(a^2 + b^2 = c^2\), converse, distance on a grid
- GeometrySpecial right triangles, trigonometry, coordinate proofs
- Algebra 2 and Pre-CalculusCircles \(x^2 + y^2 = r^2\); \(\sin^2\theta + \cos^2\theta = 1\)
- SAT, ACT, AMCTriples, 3D diagonals, distance, clever right triangles
How we teach it at SOMATH
At School of Math (SOMATH) on West 79th Street, we teach the Pythagorean theorem the way this article does: picture first, then symbols, then proof, then practice that keeps changing its purpose so students cannot coast on pattern-matching. In Pre-Algebra, students build the theorem from squares and areas. In Young Fermats Geometry and Regents Geometry, they extend it to special right triangles and trigonometry. In SHSAT Prep and Tao Titans competition math, they meet the harder, multi-step versions that reward a student who reads carefully.
What we are really teaching is the habit behind the garden problem: knowing exactly what question you are answering. That habit matters long after the theorem is automatic. Over two decades of teaching GMAT and GRE quantitative reasoning, I watched brilliant adults lose points not because they forgot \(a^2 + b^2 = c^2\), but because they answered a question that was not asked. It is far easier to build that habit at thirteen.
If you would like to know where your child stands on this topic and the rest of middle school math, start with our free math evaluation, or explore the math enrichment program and all SOMATH courses.
Book an Upper West Side math evaluation
We will see how your child reasons through problems like the garden shortcut, identify what is solid and what is fragile, and recommend the right class, from Pre-Algebra to Geometry and competition math.
School of Math (SOMATH) · 226 W 79th St, New York, NY 10024 · (646) 668-6151
Questions students and parents ask
How do you know when to use the Pythagorean theorem in a word problem?
Look for two lengths that meet at a right angle and a third length that connects their endpoints. Sketch the triangle, label the side opposite the right angle as the hypotenuse, and circle the length the question asks you to find. If there is no right angle, the theorem does not apply directly.
Which side is the hypotenuse?
The hypotenuse is the side opposite the right angle. It is always the longest side of a right triangle. In \(a^2 + b^2 = c^2\), it is always \(c\).
When do I add and when do I subtract?
Add the squares when you are finding the hypotenuse: \(c = \sqrt{a^2 + b^2}\). Subtract when you know the hypotenuse and are finding a leg: \(a = \sqrt{c^2 - b^2}\). Ask yourself whether the length you want is the longest side.
Does the Pythagorean theorem work for every triangle?
No. It is true only for right triangles. You can use its converse to test whether a triangle is right: if \(a^2 + b^2 = c^2\) for the longest side \(c\), the triangle is right. If \(c^2\) is larger, the triangle is obtuse; if smaller, it is acute.
Did Pythagoras discover the Pythagorean theorem?
Probably not. Babylonian tablets such as Plimpton 322, now at Columbia University, show that the relationship was known more than a thousand years before Pythagoras, and the idea also appears in ancient India and China. There is no surviving evidence of a proof by Pythagoras; the earliest surviving Greek proof is in Euclid’s Elements, Book I, Proposition 47.
What grade learns the Pythagorean theorem in New York?
Eighth grade. New York’s Grade 8 standards NY-8.G.6, NY-8.G.7, and NY-8.G.8 cover understanding a proof and its converse, finding unknown side lengths in two and three dimensions, and finding distances on a coordinate plane.
References
- New York State Education Department. New York State Next Generation Mathematics Learning Standards, Grade 8 Crosswalk (NY-8.G.6–8).
- New York State Education Department. Grade 8 Mathematics Performance Level Descriptions.
- Huffman, C. “Pythagoras.” Stanford Encyclopedia of Philosophy, substantive revision February 5, 2024.
- O’Connor, J. J., and Robertson, E. F. Pythagoras of Samos. MacTutor History of Mathematics, University of St Andrews.
- O’Connor, J. J., and Robertson, E. F. The Indian Sulbasutras. MacTutor History of Mathematics.
- Columbia University Libraries. “Our Tools of Learning”: George Arthur Plimpton’s Gifts to Columbia University, Mathematics (Plimpton 322).
- Mathematical Association of America, Convergence. The Best Known Old Babylonian Tablet? (YBC 7289).
- Euclid. Elements, Book I, Proposition 47, ed. D. E. Joyce, Clark University.
- Mathematical Association of America, Convergence. Mathematical Treasure: James A. Garfield’s Proof of the Pythagorean Theorem.
- Bogomolny, A. Pythagorean Theorem and Its Many Proofs. Cut the Knot (on Loomis, The Pythagorean Proposition).
- O’Connor, J. J., and Robertson, E. F. Overview of Chinese mathematics (on the Zhoubi Suanjing and the gougu rule). MacTutor History of Mathematics.
- The Abel Prize. 2016 Laureate: Sir Andrew J. Wiles.
— Marcelo Ambrozio Ramos, Founder, School of Math New York (SOMATH), Upper West Side, Manhattan