Right triangle relationships are a cornerstone of geometry and trigonometry, and they show up constantly in coordinate geometry, physics, and standardized tests. This guide brings together the Pythagorean theorem, the geometric-mean (altitude) relations, and the SOH-CAH-TOA trig ratios, with a fully worked example that finds every side and the altitude of a right triangle.
Notation and setup
Consider triangle with the right angle at , and let be the altitude drawn from down to the hypotenuse . We name the segments as follows:
- is the hypotenuse;
- and are the two legs;
- is the altitude to the hypotenuse;
- is the projection of leg onto the hypotenuse, and is the projection of leg onto the hypotenuse.
Because lies between and , the two projections always add up to the hypotenuse: .
The Pythagorean theorem
In a right triangle, the square of the hypotenuse equals the sum of the squares of the two legs:
This is the most important relationship, and it lets you find any side once you know the other two. For example, a right triangle with legs and has hypotenuse .
Leg and projection relations
Each leg is the geometric mean of the hypotenuse and its own projection onto the hypotenuse:
Adding these two relations recovers the Pythagorean theorem exactly:
Altitude relations
The altitude is tied to the remaining segments through three commonly used relations:
| Relation | Meaning |
|---|---|
| The altitude is the geometric mean of the two projections | |
| Two equal ways of writing twice the area | |
| Links the altitude to the two legs |
From you immediately get the formula for the altitude when all three sides are known:
Trig ratios of an acute angle
For an acute angle in a right triangle, the four trig ratios are defined using the side opposite the angle, the side adjacent to it, and the hypotenuse:
The first three are captured by the mnemonic SOH-CAH-TOA. A few properties and special values worth memorizing:
- and , so .
- (the Pythagorean identity, true for every angle ).
- If two acute angles are complementary (), then and .
| Angle | |||
|---|---|---|---|
Worked example
Problem. In triangle with the right angle at , the legs are cm and cm. Find the hypotenuse , the altitude , and the projections and .
Step 1 — Find the hypotenuse with the Pythagorean theorem.
Step 2 — Find the altitude. Use the relation :
Step 3 — Find the projections. For leg , its projection is , so use :
Check with the altitude relation :
The numbers match, which confirms the solution is correct.
Common mistakes
- Confusing the hypotenuse with a leg. The hypotenuse is always the side opposite the right angle and the longest side — don't swap it in when applying the Pythagorean theorem.
- Using the Pythagorean theorem on a non-right triangle. It holds only for right triangles; for a general triangle you must use the law of cosines.
- Mixing up "opposite" and "adjacent." These are defined relative to a specific angle — change the reference angle and the opposite and adjacent sides switch.
- Forgetting that . Many students compute each projection separately and forget that they must sum to the hypotenuse, skipping an easy way to check their work.
Wrap up
Master the Pythagorean theorem together with the four groups of side-and-altitude relations, and you can recover every remaining part of a right triangle from just a few starting values. Enter the numbers from the example into the calculator to check each step of the solution for yourself.