Pythagoras’ Theorem: How Right Triangles Work
Use Pythagoras’ theorem to find missing side lengths, compute straight line distance on a grid, and know exactly when the shortcut is valid. Build an intuition from areas, then turn it into a reliable solving routine.
Walking 3 meters east and 4 meters north feels like two separate moves, yet the straight line between start and finish is a single, predictable length. That shortcut is the real magic of Pythagoras’ theorem. It turns a right angle into a measuring machine that works whether you are checking if a ladder reaches a roof, measuring a screen size, or finding distance between two points on a map.
The distance shortcut in one triangle
A right triangle is what you get when two directions meet at a perfect corner. The two shorter sides are your step-by-step moves, and the longest side is the direct shortcut.
The relationship is easiest to remember as a story about squares. Imagine building a square on each side of the triangle. When the triangle is a right triangle, the two smaller squares combine to match the biggest square exactly.
Try changing the side lengths and watching what stays true.
Rule of thumb: If you can spot a right angle, you can trade two perpendicular measurements for one straight line distance.
What the theorem actually says
Pythagoras’ theorem is a single sentence dressed as an equation.
Pythagoras’ theorem says that in a right triangle, the square of the longest side equals the sum of the squares of the other two sides.
- The two shorter sides are called the legs
- The longest side is the hypotenuse
- The hypotenuse is always opposite the right angle
A common beginner trap is thinking the formula works for any triangle. It does not. The right angle is the ticket.
Use the triangle selector to see how the relationship behaves when the angle stops being 90 degrees.
When the triangle is not right, $a^2+b^2=c^2$ usually misses, sometimes by a lot.
Why it works with areas
Pythagoras’ theorem is about comparing areas.
A square with side length $a$ has area $a^2$. Same for $b^2$ and $c^2$. So the equation is really saying that the area of the big square matches the combined areas of the two smaller squares, but only when the corner angle is a right angle.
The rearrangement idea
One way to feel this is to treat the two smaller squares like piles of tiles. If the triangle is right, you can cut shapes from those two tile piles and rearrange them to perfectly fill the big square with no gaps and no overlaps. Nothing mysterious happens. Area is conserved, and the right angle is what makes the pieces fit cleanly.
Watch the pieces move for a classic 3–4–5 triangle.
Mental picture: The theorem works because the geometry locks the areas together. The numbers follow the shape.
Solving for a missing side without getting lost
In a right triangle, label the hypotenuse as $c$. Then the legs are $a$ and $b$, and the equation is:
If you know two sides, you can find the third by isolating the missing square and taking a square root.
The basic recipe
- Identify the right angle, then mark the opposite side as the hypotenuse
$c$ - Plug into
$a^2+b^2=c^2$ - Subtract if you are solving for a leg, add if you are solving for the hypotenuse
- Take the square root at the end, since lengths are not squared in the final answer
Common mistakes that cause wrong answers
Mixing up which side is the hypotenuse is the biggest one. If you accidentally treat a leg as $c$, you can end up trying to take the square root of a negative number, which is a loud warning that the setup is wrong.
Enter two side lengths and see the steps spelled out, including checks for hypotenuse mix-ups.
Note: The hypotenuse should be longer than either leg, and the shortcut distance should feel shorter than walking both legs end to end.
Pythagorean triples you can recognize fast
Some right triangles have whole-number side lengths. These are Pythagorean triples, and they save time because you can spot them without doing any square roots.
The most famous is 3–4–5. It shows up everywhere because it is the simplest nontrivial right triangle with integer sides.
Why scaling still works
If $a^2+b^2=c^2$ is true, then multiplying all sides by the same factor keeps it true. Doubling 3–4–5 gives 6–8–10. The triangle is the same shape, just zoomed in.
Explore which triples are basic building blocks and which are scaled versions of smaller ones.
Quick win: If you see 6–8–10, divide by 2 and you are back to 3–4–5.
Distance on a coordinate grid
The distance formula on the coordinate plane is just Pythagoras wearing different clothes.
Take two points, draw a horizontal move and a vertical move between them, and you get a right triangle. The legs are the horizontal change and vertical change.
If the points are $(x_1,y_1)$ and $(x_2,y_2)$, then:
$\Delta x=x_2-x_1$$\Delta y=y_2-y_1$
So the distance is:
Move the points and watch the right triangle appear, along with the computed distance.
Once you see the legs as changes in x and y, the formula feels less like memorization and more like measuring a diagonal.
Where it breaks and what replaces it
Pythagoras’ theorem is a specialist. It does one job incredibly well, but it refuses to work when the triangle is not right.
Non-right triangles
If the angle between sides is not 90 degrees, you need a tool that accounts for that angle. A common replacement is the law of cosines, which adjusts the relationship using the cosine of the included angle.
A peek into 3D distance
Pythagoras’ idea extends neatly when directions stay perpendicular. In a rectangular box, a space diagonal can be found by applying the theorem twice, leading to $\sqrt{a^2+b^2+c^2}$.
Open the panels to see both the non-right triangle fix and the 3D extension.
Checkpoint: Pythagoras works when the corner is square. When it is not, the angle must appear in the formula.
Next steps for spotting right triangles
Start looking for perpendicular pairs in everyday objects. A wall and floor. The edges of a book. The streets in a grid neighborhood. Any time you can form an L shape, you can form a right triangle, and Pythagoras’ theorem becomes available.
A practical habit is to ask one question before calculating. Where is the right angle, and which side sits opposite it. If you can answer that quickly, the rest is just careful arithmetic and a square root.
Generate a follow-up sub-lesson on any aspect of this topic