The Pythagorean Theorem and Right Triangles
Stand a ladder against a wall. The wall, the ground, and the ladder make a right triangle. You can find the ladder’s length without ever stretching a tape along it. That shortcut is the Pythagorean theorem, and it is the one rule trig leans on more than any other.
By the end of this page you can:
- Name the legs and the hypotenuse and say which side is longest.
- Find the hypotenuse when both legs are known, and find a missing leg when the hypotenuse and one leg are known.
- Test in reverse whether a triangle has a right angle.
The floor. Know $a^2 + b^2 = c^2$ with $c$ as the hypotenuse, and be able to solve it for any one missing side. Everything in right-triangle trig is built on that single equation.
Quick Reference
| Field | Value |
|---|---|
| Textbook | Stewart, Redlin, Watson, Precalculus: Mathematics for Calculus, 7th ed. |
| Chapter | 6 |
| Section | Prerequisite review: the Pythagorean theorem (Stewart 7e, used in Section 6.2) |
| Open alternate | OpenStax Precalculus 2e, 5.4 Right Triangle Trigonometry (review-grounded in Prealgebra 2e, Section 9.3) |
| Pages | Page numbers pending faculty verification. |
| Course | MATH142 |
| Difficulty | Introductory |
| Time | ~25 minutes |
The right-triangle relationships in Stewart 7e, Section 6.2 (sine, cosine, and tangent as ratios of side lengths) rest on the Pythagorean relationship reviewed here.
Before You Start
This is a foundation skill with no prior skills inside MATH142. The only background it asks for:
Both are reviewed in OpenStax Prealgebra 2e, Section 9.3.
Check your understanding
What is sqrt(49)?
The Idea
A right triangle has one square corner. That corner locks the three side lengths together: once two sides are fixed, the third is determined, with no ruler needed. This is one of the oldest results in mathematics and the bridge from plain geometry into trigonometry.
The two short sides meeting at the right angle are the legs. The long side across from the right angle is the hypotenuse, always the longest. As the legs grow, the hypotenuse grows too, but not by simple addition. Legs of $3$ and $4$ do not give a hypotenuse of $7$. The square corner ties the sides together through their squares, and that is the surprise worth understanding.
Try it on grid paper first
Draw a corner where two lines meet at a right angle. From it, draw one segment $3$ squares to the right and one segment $4$ squares up. Those are the legs. Connect the two far ends; that slanted side is the hypotenuse.
Guess its length, then measure against the grid. Most readers land near $5$, and the slanted side comes out to exactly $5$ every time the legs are $3$ and $4$. The rest of this page finds that $5$ without measuring.
Prerequisite Hub
graph LR
subgraph ThisSkill["This Skill"]
C["The Pythagorean<br/>Theorem and<br/>Right Triangles"]
end
subgraph Unlocks
D["Coordinate Plane<br/>and Distance"]
E["Right Triangle<br/>Trigonometry"]
F["Special Right<br/>Triangles"]
end
C --> D
C --> E
C --> F
style C fill:#d1fae5,stroke:#a565f0,stroke-width:3px
click C "pythagorean-theorem.html"
Builds on: A foundation skill with no prerequisite skills inside MATH142 and no cross-course prerequisites. The reader needs only squaring and square roots, reviewed in OpenStax Prealgebra 2e, Section 9.3.
Unlocks: Once the Pythagorean relationship is secure, it feeds three later skills.
| Unlocks (skill_id) | What it becomes |
|---|---|
math142-coordinate-plane-distance |
The distance between two points is the hypotenuse of a right triangle built from the horizontal and vertical gaps. |
math142-right-triangle-trig |
Sine, cosine, and tangent are ratios of right-triangle side lengths, connected by the Pythagorean relationship. |
math142-special-right-triangles |
The 45-45-90 and 30-60-90 triangles have exact side ratios derived from the Pythagorean relationship. |
The Official Statement
Definition
Pythagorean Theorem. In a right triangle with legs of lengths $a$ and $b$ and hypotenuse of length $c$, the relationship $a^2 + b^2 = c^2$ holds. The right-triangle relationships of Section 5.4 build on this fact.
Source: OpenStax Precalculus 2e, Section 5.4 Right Triangle Trigonometry; reviewed in OpenStax Prealgebra 2e, Section 9.3.
Key Theorem
Pythagorean Theorem. For a right triangle with legs $a$ and $b$ and hypotenuse $c$, $$a^2 + b^2 = c^2.$$
Source: OpenStax Prealgebra 2e, Section 9.3 Use Properties of Angles, Triangles, and the Pythagorean Theorem.
Reading the Statement
The squares carry the meaning. The square on the hypotenuse equals the combined squares on the two legs.
| Symbol | Meaning | Position |
|---|---|---|
| $a$ | length of one leg | meets the right angle |
| $b$ | length of the other leg | meets the right angle |
| $c$ | length of the hypotenuse | across from the right angle, always longest |
One equation runs in two directions. When both legs are known, solving for $c$ gives the hypotenuse: $$c = \sqrt{a^2 + b^2}.$$ When the hypotenuse and one leg are known, the same equation rearranges to find the missing leg: $$a = \sqrt{c^2 - b^2}.$$
A Picture of Why It Is True
+-----------+
| |
| c^2 | The square built on the hypotenuse (area c^2)
| | has the same area as the two squares built
+-----------+ on the legs combined (area a^2 plus area b^2).
+------+ +-----------+
| a^2 | | b^2 |
+------+ | |
| |
+-----------+
Build a square on each side. The largest square (on the hypotenuse) has the same area as the two smaller squares (on the legs) combined. The relationship is a statement about areas, which is why squaring appears, not about adding lengths.
Set the two legs and watch the areas. The square on the hypotenuse always equals the two leg squares added together. Hunt for a triangle whose three sides all come out whole.
Check your understanding
In a right triangle, which side is the hypotenuse?
Worked Examples
Example 1: Find the Hypotenuse (legs 3 and 4)
A right triangle has legs of length $3$ and $4$. Find the hypotenuse.
Predict first. The hypotenuse beats either leg but stays under their sum $3 + 4 = 7$, so the answer sits between $4$ and $7$.
Compute. $$c^2 = 3^2 + 4^2 = 9 + 16 = 25, \qquad c = \sqrt{25} = 5.$$
Compare. The result $5$ lands between $4$ and $7$ and confirms the grid-paper measurement. Legs $3$ and $4$ always give a hypotenuse of exactly $5$.
Example 2: Find a Missing Leg (hypotenuse 13, one leg 5)
A right triangle has a hypotenuse of $13$ and one leg of $5$. Find the other leg.
Predict first. The missing side is a leg, so it must be shorter than the hypotenuse $13$.
Compute. Rearrange to isolate the missing leg: $$b^2 = 13^2 - 5^2 = 169 - 25 = 144, \qquad b = \sqrt{144} = 12.$$
Compare. The result $12$ is less than $13$, as a leg must be. Check the triple: $5^2 + 12^2 = 25 + 144 = 169 = 13^2$.
Example 3: A Non-Whole-Number Answer (legs 1 and 1)
A right triangle has both legs equal to $1$. Find the hypotenuse.
Predict first. Equal, small legs give a hypotenuse just over $1$ and well under $2$.
Compute. $$c^2 = 1^2 + 1^2 = 2, \qquad c = \sqrt{2} \approx 1.414.$$
Compare. The value sits between $1$ and $2$. Not every right triangle has whole-number sides. The exact answer is $\sqrt{2}$, an irrational number, and the decimal is an approximation.
Example 4: A Real Context (a ladder against a wall)
A ladder $10$ feet long leans against a vertical wall with its base $6$ feet from the wall. How high up the wall does it reach?
Predict first. The ladder is the hypotenuse (longest side, leaning across the right angle of wall and ground). The height reached is a leg, so it is under $10$.
Compute. With hypotenuse $c = 10$ and one leg $a = 6$, the height $b$ is the missing leg: $$b^2 = 10^2 - 6^2 = 100 - 36 = 64, \qquad b = \sqrt{64} = 8.$$
Compare. The height $8$ feet is less than the $10$-foot ladder. The base, wall, and ladder form a $6$-$8$-$10$ right triangle.
Check your understanding
Legs of a right triangle are 8 and 15. What is the hypotenuse?
Common Misconceptions
The hypotenuse equals the sum of the legs. This treats the relationship as additive, so legs $3$ and $4$ would give $7$. The true hypotenuse is $\sqrt{3^2 + 4^2} = \sqrt{25} = 5$, not $7$. The relationship is multiplicative through squares, and the hypotenuse is always strictly less than the sum of the legs.
$a^2 + b^2 = c^2$ applies to any triangle. It holds only when the triangle has a right angle, and only with $c$ as the side across from that angle. Sides $4$, $5$, $6$ give $4^2 + 5^2 = 41$ while $6^2 = 36$, so the equation fails. Confirm a square corner and identify the side facing it before applying the theorem.
$\sqrt{a^2 + b^2}$ simplifies to $a + b$. A square root does not distribute across addition. For $a = 3$, $b = 4$: $\sqrt{3^2 + 4^2} = \sqrt{25} = 5$, while $a + b = 7$. Carry out the squaring and the square root in order before simplifying.
Practice Problems
In a right triangle, which side is the hypotenuse, and how does its length compare to the legs?
A right triangle has legs of length $6$ and $8$. Find the length of the hypotenuse.
A right triangle has a hypotenuse of length $25$ and one leg of length $7$. Find the length of the other leg.
A right triangle has legs of length $2$ and $3$. Find the exact length of the hypotenuse, then give a decimal approximation rounded to three places.
A triangle has sides $9$, $12$, and $15$. Is it a right triangle? Then decide whether a triangle with sides $9$, $12$, and $16$ is a right triangle, and explain how you can tell.
Check Yourself
Check your understanding
A right triangle has a hypotenuse of 10 and one leg of 8. What is the other leg?
Check your understanding
Why does the Pythagorean theorem use squares instead of plain lengths?
Go Deeper (optional)
Where this shows up beyond the textbook
- Distance on a map. The straight-line distance between two points is the hypotenuse of the east-west and north-south gaps, which becomes the distance formula in the next skill.
- Screen sizes. A television or monitor size is the diagonal, the hypotenuse of its width and height. A 16:9 screen advertised as 55 inches has that diagonal, not that width.
- Construction. The $3$-$4$-$5$ triple is used to square up corners on a job site: measure $3$ along one edge and $4$ along the other, and a $5$ across the ends guarantees a right angle.
- The next step. In Section 5.4, sine, cosine, and tangent become ratios of these side lengths, and the identity $\sin^2\theta + \cos^2\theta = 1$ is the Pythagorean theorem written for a triangle whose hypotenuse is $1$.
Resources
| Resource | Where to find it |
|---|---|
| Stewart, Redlin, Watson, Precalculus: Mathematics for Calculus, 7th ed., Section 6.2 Trigonometry of Right Triangles (primary) | (print text) |
| OpenStax Precalculus 2e, Section 5.4 Right Triangle Trigonometry (open alternate) | https://openstax.org/books/precalculus-2e/pages/5-4-right-triangle-trigonometry |
| OpenStax Prealgebra 2e, Section 9.3 Pythagorean Theorem (review source) | https://openstax.org/books/prealgebra-2e/pages/9-3-use-properties-of-angles-triangles-and-the-pythagorean-theorem |
Page numbers for the print edition are pending faculty verification and will appear in the Faculty Reference block once confirmed.
Mastery Checklist
Novice (Level 1-2):
Competent (Level 3-4):
Proficient (Level 5):
Connections
Looking back:
- The background is squaring and square roots, reviewed in OpenStax Prealgebra 2e, Section 9.3.
Looking ahead:
- Coordinate Plane and Distance builds the distance formula as a hypotenuse computation
- Right Triangle Trigonometry defines sine, cosine, and tangent as ratios of these side lengths
- Special Right Triangles derives the exact ratios of the 45-45-90 and 30-60-90 triangles
| Previous | Up | Next |
|---|---|---|
| Skills Index | Skills Index | Right Triangle Trigonometry |
Last updated: 2026-06-24