Right Triangles & Trig

Study Sheet

Right Triangles & Trig

Pythagoras, special triangles, SOH-CAH-TOA, and angles of elevation

The Pythagorean Theorem

Concept
The Pythagorean Theorem

In any right triangle, the two shorter sides are the legs (aa and bb) and the longest side — always across from the right angle — is the hypotenuse (cc). The theorem says:

a2+b2=c2.a^2 + b^2 = c^2.

The two legs squared and added always equal the hypotenuse squared. Because cc is the biggest side, it sits alone on its own side of the equation.

Reminder — The Pythagorean theorem:  a2+b2=c2a^2+b^2=c^2

The Pythagorean theorem a2+b2=c2a^2 + b^2 = c^2 is the engine of right-triangle work, together with the special triangles (4545-4545-9090 and 3030-6060-9090) whose side ratios you should know cold. The trigonometric ratios sine, cosine and tangent are the side ratios of a right triangle as functions of an angle, so an angle and one side determine everything.

Example
Finding the hypotenuse
86c
The hypotenuse faces the right angle.

The legs are 66 and 88. Find the hypotenuse cc.

c2=62+82=36+64=100,c=100=10.c^2 = 6^2 + 8^2 = 36 + 64 = 100, \qquad c = \sqrt{100} = 10.
Side note
Where it goes wrong

Putting the hypotenuse in the wrong place. It is the longest side, opposite the right angle, and it is always the cc in a2+b2=c2a^2 + b^2 = c^2 — never a leg.

Example
Finding a leg
b513
Here the unknown is a leg, so it is 13 that stands alone.

The hypotenuse is 1313 and one leg is 55. Find the other leg bb. The hypotenuse stays alone:

52+b2=132  ⇒  25+b2=169  ⇒  b2=144  ⇒  b=12.5^2 + b^2 = 13^2 \;\Rightarrow\; 25 + b^2 = 169 \;\Rightarrow\; b^2 = 144 \;\Rightarrow\; b = 12.
Tip

Tip: To find a leg, subtract: b=c2−a2b = \sqrt{c^2 - a^2}. To find the hypotenuse, add: c=a2+b2c = \sqrt{a^2+b^2}. If you ever get the hypotenuse smaller than a leg, you added when you should have subtracted.

Try it
Quick check

A 1717-foot ladder leans against a wall with its foot 88 feet from the wall. How high up the wall does it reach?

Show the answer

The ladder is the hypotenuse; the distance along the ground and the height are the legs: 82+h2=1728^2 + h^2 = 17^2, so h2=289−64=225h^2 = 289 - 64 = 225 and h=15h = \mathbf{15} feet.

The Converse: Right, Acute, or Obtuse?

Concept
Converse of the Pythagorean Theorem
acuterightobtuseaC
Legs a and b hinged at C: the dashed third side lengthens as the angle opens.

Take the three sides of a triangle and let cc be the longest. Compare a2+b2a^2+b^2 with c2c^2:

  • If a2+b2=c2a^2 + b^2 = c^2, the triangle is right.
  • If a2+b2>c2a^2 + b^2 > c^2, the triangle is acute (all angles under 90∘90^\circ).
  • If a2+b2<c2a^2 + b^2 < c^2, the triangle is obtuse (one angle over 90∘90^\circ).

A bigger c2c^2 “pulls” the longest side apart into an obtuse angle.

Why it works: build a right triangle with legs aa and bb; its hypotenuse is exactly a2+b2\sqrt{a^2 + b^2}. If your triangle's third side cc equals that, the two triangles are congruent by SSS, so your angle is a right angle too. If cc is longer, the angle between aa and bb has opened wider than 90∘90^\circ (the hinge in the figure), so it is obtuse; if cc is shorter, it has closed up and is acute. The Law of Cosines makes this exact: c2=a2+b2−2abcos⁡Cc^2 = a^2 + b^2 - 2ab\cos C, and cos⁡C\cos C is negative exactly when CC is obtuse.

Example
Classifying a triangle
1278106°
Drawn from the sides 7, 8, 12: the angle opposite 12 is about 106∘^\circ.

Sides 77, 88, 1212. The longest is 1212, so

72+82=49+64=113,122=144.7^2 + 8^2 = 49 + 64 = 113, \qquad 12^2 = 144.

Since 113<144113 < 144, we have a2+b2<c2a^2+b^2 < c^2, so the triangle is obtuse.

Side note
Where it goes wrong

Squaring the wrong side as cc. For 7,8,127, 8, 12, testing 72+1227^2 + 12^2 against 828^2 gives 193>64193 > 64 and the false verdict "acute". The comparison only means something with the longest side alone.

Tip

Remember: Always square the longest side for c2c^2. “Sum of squares of the two short sides” versus “square of the long side” tells the whole story.

Try it
Quick check

Classify each triangle by its angles: (a) 4,5,64, 5, 6 (b) 5,6,105, 6, 10 (c) 9,12,159, 12, 15.

Show the answer

(a) 16+25=41>3616 + 25 = 41 > 36: acute. (b) 25+36=61<10025 + 36 = 61 < 100: obtuse. (c) 81+144=225=22581 + 144 = 225 = 225: right.

Pythagorean Triples

Concept
Whole-number right triangles

A Pythagorean triple is a set of three whole numbers that fit a2+b2=c2a^2+b^2=c^2 exactly. Memorizing a few lets you skip the arithmetic. The common ones are:

3-4-5,5-12-13,8-15-17,7-24-25.3\text{-}4\text{-}5, \qquad 5\text{-}12\text{-}13, \qquad 8\text{-}15\text{-}17, \qquad 7\text{-}24\text{-}25.

Any multiple of a triple is also a triple. Multiply 33-44-55 by 22 to get 66-88-1010; by 33 to get 99-1212-1515; by 1010 to get 3030-4040-5050.

Multiples work because the equation scales: if a2+b2=c2a^2 + b^2 = c^2 then (ka)2+(kb)2=k2(a2+b2)=(kc)2(ka)^2 + (kb)^2 = k^2(a^2 + b^2) = (kc)^2 — geometrically, a scaled right triangle is still right. New triples (not multiples) come from Euclid's formula: for whole numbers m>nm > n, the numbers m2−n2m^2 - n^2, 2mn2mn, m2+n2m^2 + n^2 always form a triple, because (m2−n2)2+(2mn)2=(m2+n2)2(m^2 - n^2)^2 + (2mn)^2 = (m^2 + n^2)^2. With m=2,n=1m = 2, n = 1 it gives 33-44-55; with m=3,n=2m = 3, n = 2 it gives 55-1212-1313; with m=4,n=1m = 4, n = 1 it gives 1515-88-1717.

Example
Spotting a triple
2410265-12-13
The 5-12-13 triangle (dashed) scaled by 2.

The legs are 1010 and 2424. These are 2×52\times 5 and 2×122\times 12, so this is the 55-1212-1313 triple doubled. The hypotenuse is 2×13=262 \times 13 = 26. Check: 102+242=100+576=676=26210^2+24^2 = 100+576 = 676 = 26^2. ✓

Side note
Where it goes wrong

Forcing a triple that is not there. Legs 55 and 1313 are not the 55-1212-1313 triangle (there 1313 is the hypotenuse): the hypotenuse is 25+169=194\sqrt{25 + 169} = \sqrt{194}. A triple only applies when the given sides play the same roles.

Tip

Tip: A triple only works when you match the right roles — the largest number is always the hypotenuse. In 88-1515-1717, the legs are 88 and 1515 and the hypotenuse is 1717.

Try it
Quick check

The legs of a right triangle are 1616 and 3030. Find the hypotenuse without a calculator.

Show the answer

16=2⋅816 = 2 \cdot 8 and 30=2⋅1530 = 2 \cdot 15: the 88-1515-1717 triple doubled. The hypotenuse is 2⋅17=342 \cdot 17 = \mathbf{34}. Check: 256+900=1156=342256 + 900 = 1156 = 34^2.

Special Right Triangle: 45-45-90

Concept
The 45-45-90 Triangle

This is an isosceles right triangle: the two legs are equal, and each base angle is 45∘45^\circ. The hypotenuse is always the leg times 2\sqrt{2}:

leg=x,leg=x,hypotenuse=x2.\text{leg} = x, \qquad \text{leg} = x, \qquad \text{hypotenuse} = x\sqrt{2}.

Going up from a leg, multiply by 2\sqrt{2}. Going down from the hypotenuse, divide by 2\sqrt{2}.

The 2\sqrt2 is the Pythagorean Theorem with equal legs: x2+x2=2x2x^2 + x^2 = 2x^2, so the hypotenuse is 2x2=x2\sqrt{2x^2} = x\sqrt2. Every square's diagonal cuts it into two of these triangles, which is where they turn up most.

Example
Legs equal, hypotenuse is leg times 2\sqrt2
555√245°45°
Legs 5 and 5, hypotenuse 52≈5\sqrt{2} \approx 7.07.

Each leg is 55. Then the hypotenuse is 525\sqrt{2} (about 7.077.07). We keep the exact radical 525\sqrt2 as the answer.

Example
Going down from the hypotenuse

The hypotenuse of a 4545-4545-9090 triangle is 1212. Find each leg.

Divide by 2\sqrt2, then rationalize:

leg=122=1222=62≈8.49.\text{leg} = \frac{12}{\sqrt2} = \frac{12\sqrt2}{2} = 6\sqrt2 \approx 8.49 .

Check: (62)2+(62)2=72+72=144=122(6\sqrt2)^2 + (6\sqrt2)^2 = 72 + 72 = 144 = 12^2.

Side note
Where it goes wrong

Halving the hypotenuse to get a leg. That is the 3030-6060-9090 rule (short leg == half the hypotenuse). In a 4545-4545-9090 triangle with hypotenuse 1212, a leg of 66 would give 62+62=72≠1446^2 + 6^2 = 72 \ne 144.

Tip

Remember: In a 4545-4545-9090 triangle the hypotenuse is the only side with a 2\sqrt2. Both legs match.

Try it
Quick check

A square has a diagonal of length 1010. Find its side and its area.

Show the answer

The diagonal cuts the square into two 4545-4545-9090 triangles with the diagonal as hypotenuse, so the side is 102=52\tfrac{10}{\sqrt2} = \mathbf{5\sqrt2}. The area is (52)2=50(5\sqrt2)^2 = \mathbf{50} (also 12d2=12⋅100\tfrac12 d^2 = \tfrac12 \cdot 100).

Special Right Triangle: 30-60-90

Concept
The 30-60-90 Triangle

The sides are always in the ratio

short leg=x,long leg=x3,hypotenuse=2x.\text{short leg} = x, \qquad \text{long leg} = x\sqrt{3}, \qquad \text{hypotenuse} = 2x.

The short leg (across from 30∘30^\circ) is the key. The hypotenuse (across from 90∘90^\circ) is twice the short leg, and the long leg (across from 60∘60^\circ) is the short leg times 3\sqrt3.

This triangle is half of an equilateral triangle: cut an equilateral triangle of side 2x2x down the middle and you get hypotenuse 2x2x, short leg xx (half the base), and angles 30∘30^\circ, 60∘60^\circ, 90∘90^\circ. The long leg is then (2x)2−x2=x3\sqrt{(2x)^2 - x^2} = x\sqrt3. (The picture is in Going Deeper.)

Example
Using the xx, x3x\sqrt3, 2x2x pattern
4√34830°60°
The short leg 4 faces the 30∘^\circ angle.

The short leg (opposite 30∘30^\circ) is 44. Then the hypotenuse is 2⋅4=82\cdot 4 = 8 and the long leg is 434\sqrt{3} (about 6.936.93). We keep 434\sqrt3 exact.

Side note
Where it goes wrong

Attaching 3\sqrt3 to the wrong leg. The short leg faces 30∘30^\circ and the long leg (x3x\sqrt3) faces 60∘60^\circ. Since 3≈1.73>1\sqrt3 \approx 1.73 > 1, the leg with the 3\sqrt3 must be the longer one; if your "short leg" came out as 43≈6.94\sqrt3 \approx 6.9 next to a long leg of 44, they are swapped.

Tip

Tip: Always find the short leg first. If you are given the hypotenuse, halve it to get the short leg; then multiply the short leg by 3\sqrt3 for the long leg.

Try it
Quick check

In a 3030-6060-9090 triangle the long leg is 99. Find the short leg and the hypotenuse.

Show the answer

Long leg =x3=9= x\sqrt3 = 9, so x=93=933=33x = \tfrac{9}{\sqrt3} = \tfrac{9\sqrt3}{3} = \mathbf{3\sqrt3}. The hypotenuse is 2x=63≈10.392x = \mathbf{6\sqrt3} \approx 10.39.

The Three Trig Ratios: SOH-CAH-TOA

Concept
Sine, Cosine, Tangent
θ86103
Two right triangles with the same angle θ\theta: 3/5 = 6/10, 4/5 = 8/10, 3/4 = 6/8.

Pick one of the two acute angles and call it θ\theta. Relative to θ\theta, name the sides:

  • opposite — the leg across from θ\theta
  • adjacent — the leg touching θ\theta (that is not the hypotenuse)
  • hypotenuse — across from the right angle
sin⁡θ=oppositehypotenuse,cos⁡θ=adjacenthypotenuse,tan⁡θ=oppositeadjacent.\sin\theta = \frac{\text{opposite}}{\text{hypotenuse}}, \quad \cos\theta = \frac{\text{adjacent}}{\text{hypotenuse}}, \quad \tan\theta = \frac{\text{opposite}}{\text{adjacent}}.

Remember it as SOH-CAH-TOA.

A ratio can only be named after an angle if it does not depend on the size of the triangle. It doesn't: any two right triangles with the same acute angle θ\theta are similar (AA — the right angle and θ\theta), so their corresponding sides are proportional and every ratio of two sides is the same. In the figure the small triangle (33-44-55) and the large one (66-88-1010) give sin⁡θ=35=610\sin\theta = \tfrac35 = \tfrac{6}{10} either way.

Example
Reading the three ratios
θ4 adjacent3 opposite5 hypotenuseBCA
Opposite and adjacent are named from θ\theta at B.

For angle θ\theta at BB: the opposite leg is 33, the adjacent leg is 44, and the hypotenuse is 55. So

sin⁡θ=35,cos⁡θ=45,tan⁡θ=34.\sin\theta = \tfrac{3}{5}, \qquad \cos\theta = \tfrac{4}{5}, \qquad \tan\theta = \tfrac{3}{4}.
Side note
Where it goes wrong

Naming sides from the wrong angle. From the angle at AA (not BB) the legs swap roles: the side of length 44 is opposite AA, so sin⁡A=45\sin A = \tfrac45, not 35\tfrac35. Mark θ\theta on the figure before labelling anything.

Tip

Remember: “Opposite” and “adjacent” switch when you switch which angle you look at, but the hypotenuse never moves. Always decide which angle is θ\theta first.

Try it
Quick check

A right triangle has legs 55 and 1212. Let θ\theta be the angle opposite the leg of length 55. Find sin⁡θ\sin\theta, cos⁡θ\cos\theta and tan⁡θ\tan\theta.

Show the answer

The hypotenuse is 1313 (the 55-1212-1313 triple). Opposite =5= 5, adjacent =12= 12: sin⁡θ=513\sin\theta = \mathbf{\tfrac{5}{13}}, cos⁡θ=1213\cos\theta = \mathbf{\tfrac{12}{13}}, tan⁡θ=512\tan\theta = \mathbf{\tfrac{5}{12}}.

Using a Trig Ratio to Find a Missing Side

Concept
Set up, then solve

When you know one angle and one side and want another side, pick the ratio that uses your two sides (SOH, CAH, or TOA), then solve for the unknown. Your calculator must be in degree mode.

Choosing the ratio is a matter of bookkeeping: label the three sides opposite, adjacent and hypotenuse from the given angle, cross out the side that is neither given nor wanted, and the two that remain name the ratio. The calculator supplies the number cos⁡40∘≈0.766\cos 40^\circ \approx 0.766 — which is just the ratio adjacent/hypotenuse in every right triangle with a 40∘40^\circ angle.

Example
Finding a side with cosine
40°x10
x is adjacent to 40∘^\circ; 10 is the hypotenuse.

Find xx, the side adjacent to the 40∘40^\circ angle, when the hypotenuse is 1010. Adjacent and hypotenuse means cosine (CAH):

cos⁡40∘=x10  ⇒  x=10cos⁡40∘≈10(0.766)≈7.7.\cos 40^\circ = \frac{x}{10} \;\Rightarrow\; x = 10\cos 40^\circ \approx 10(0.766) \approx 7.7.

Rounded to the nearest tenth, x≈7.7x \approx 7.7.

Example
When the unknown is on the bottom
35°6h
6 is opposite 35∘^\circ; h is the hypotenuse (about 10.5).

Find the hypotenuse hh when the side opposite 35∘35^\circ is 66. Opposite and hypotenuse means sine (SOH):

sin⁡35∘=6h  ⇒  h=6sin⁡35∘≈60.574≈10.5.\sin 35^\circ = \frac{6}{h} \;\Rightarrow\; h = \frac{6}{\sin 35^\circ} \approx \frac{6}{0.574} \approx 10.5.

When the unknown sits in the denominator, swap it with the trig value.

Side note
Where it goes wrong

Multiplying when the unknown is in the denominator: h=6sin⁡35∘≈3.4h = 6\sin 35^\circ \approx 3.4. A hypotenuse shorter than a leg is impossible — the check that catches the slip. From sin⁡35∘=6h\sin 35^\circ = \tfrac6h, multiply both sides by hh and divide by sin⁡35∘\sin 35^\circ.

Tip

Tip: If the unknown is on top, multiply. If the unknown is on the bottom, divide the known side by the trig value.

Try it
Quick check

In a right triangle, an acute angle is 28∘28^\circ and the leg adjacent to it is 1515. Find the leg opposite it, to the nearest tenth.

Show the answer

Opposite and adjacent: tangent. tan⁡28∘=x15\tan 28^\circ = \tfrac{x}{15}, so x=15tan⁡28∘≈15(0.5317)≈8.0x = 15\tan 28^\circ \approx 15(0.5317) \approx \mathbf{8.0}.

Using Inverse Trig to Find a Missing Angle

Concept
The inverse buttons

When you know two sides but want the angle, use the inverse functions sin⁡−1\sin^{-1}, cos⁡−1\cos^{-1}, tan⁡−1\tan^{-1} (often the “22nd” + sin/cos/tan keys):

θ=sin⁡−1 ⁣(opphyp),    θ=cos⁡−1 ⁣(adjhyp),    θ=tan⁡−1 ⁣(oppadj).\theta = \sin^{-1}\!\left(\frac{\text{opp}}{\text{hyp}}\right),\;\; \theta = \cos^{-1}\!\left(\frac{\text{adj}}{\text{hyp}}\right),\;\; \theta = \tan^{-1}\!\left(\frac{\text{opp}}{\text{adj}}\right).

The inverse “undoes” the ratio and gives back the angle in degrees.

An acute angle and its tangent determine each other: as θ\theta grows from 0∘0^\circ to 90∘90^\circ the opposite side grows and the adjacent side shrinks, so tan⁡θ\tan\theta increases steadily and never repeats a value. That one-to-one match is what lets tan⁡−1\tan^{-1} run it backwards. On a calculator, tan⁡−1\tan^{-1} is not 1tan⁡\tfrac{1}{\tan}; it answers the question "which angle has this tangent?"

Example
Finding an angle with tangent
θ85
Drawn to scale: θ≈\theta \approx 32∘^\circ.

The leg opposite θ\theta is 55 and the leg adjacent is 88. Two legs means tangent (TOA):

tan⁡θ=58=0.625  ⇒  θ=tan⁡−1(0.625)≈32.0∘.\tan\theta = \frac{5}{8} = 0.625 \;\Rightarrow\; \theta = \tan^{-1}(0.625) \approx 32.0^\circ.

Rounded to the nearest tenth of a degree, θ≈32.0∘\theta \approx 32.0^\circ.

Side note
Where it goes wrong

Typing tan⁡(0.625)\tan(0.625) instead of tan⁡−1(0.625)\tan^{-1}(0.625). That treats the ratio as an angle and returns about 0.0110.011 — a ratio, not the 32∘32^\circ we want. Also check the calculator is in degree mode: tan⁡−1(0.625)\tan^{-1}(0.625) in radians is 0.5590.559.

Tip

Remember: A plain trig button turns an angle into a ratio; an inverse button (−1^{-1}) turns a ratio back into an angle. Choose the ratio SOH-CAH-TOA from the two sides you have.

Try it
Quick check

In a right triangle, the hypotenuse is 99 and the side opposite θ\theta is 44. Find θ\theta to the nearest tenth of a degree.

Show the answer

Opposite and hypotenuse: sine. sin⁡θ=49\sin\theta = \tfrac49, so θ=sin⁡−1 ⁣(49)≈26.4∘\theta = \sin^{-1}\!\left(\tfrac49\right) \approx \mathbf{26.4^\circ}.

Angles of Elevation & Depression

Concept
Looking up and looking down

An angle of elevation is measured up from the horizontal to an object above you. An angle of depression is measured down from the horizontal to an object below you. Because the two horizontal lines are parallel, the angle of elevation from the ground equals the angle of depression from above (alternate interior angles).

Both angles are measured from a horizontal line, because that is the only reference an observer has — a surveyor's instrument is levelled, then tilted. The horizontal at the top and the ground are parallel, and the line of sight is a transversal, so the depression angle looking down equals the elevation angle looking up from the other end.

Example
Height from an angle of elevation
32°50 fth
The angle is measured up from the horizontal at the observer.

From 5050 ft away, the angle of elevation to the top of a tree is 32∘32^\circ. Find the height hh. Opposite and adjacent means tangent (TOA):

tan⁡32∘=h50  ⇒  h=50tan⁡32∘≈50(0.625)≈31.2 ft.\tan 32^\circ = \frac{h}{50} \;\Rightarrow\; h = 50\tan 32^\circ \approx 50(0.625) \approx 31.2 \text{ ft}.

Rounded to the nearest tenth, the tree is about 31.231.2 ft tall.

Example
An angle of depression
20°20°10d
Depression (at the top, below the horizontal) equals elevation (at the swimmer): alternate interior angles.

A lifeguard 1010 ft up sees a swimmer at an angle of depression of 20∘20^\circ. The angle of depression equals the angle of elevation from the swimmer, so at the tower base the angle inside the triangle is 20∘20^\circ. With the height 1010 opposite that angle and the horizontal distance dd adjacent:

tan⁡20∘=10d  ⇒  d=10tan⁡20∘≈100.364≈27.5 ft.\tan 20^\circ = \frac{10}{d} \;\Rightarrow\; d = \frac{10}{\tan 20^\circ} \approx \frac{10}{0.364} \approx 27.5 \text{ ft}.
Side note
Where it goes wrong

Putting the depression angle inside the triangle at the top. The 20∘20^\circ is between the horizontal and the line of sight; the angle inside the triangle at the top of the tower is 90∘−20∘=70∘90^\circ - 20^\circ = 70^\circ. Using tan⁡20∘=d10\tan 20^\circ = \tfrac{d}{10} gives d≈3.6d \approx 3.6 ft, far too short.

Tip

Tip: Always sketch the right triangle and label horizontal, vertical, and line of sight. The elevation/depression angle sits between the horizontal and the line of sight — never at the top of a vertical side.

Try it
Quick check

A kite string 6060 m long makes an angle of 38∘38^\circ with the level ground. Assuming the string is straight, how high is the kite (to the nearest tenth of a metre)?

Show the answer

The string is the hypotenuse and the height is opposite the 38∘38^\circ angle: h=60sin⁡38∘≈60(0.6157)≈36.9h = 60\sin 38^\circ \approx 60(0.6157) \approx \mathbf{36.9} m.

Going Deeper: Advanced Right-Triangle & Trig Ideas

Concept
Where the 45-45-90 ratio comes from
xxx√245°
A diagonal cuts a square into two 45-45-90 triangles.

The ratio is not memorized magic — it follows from the Pythagorean Theorem. Start with an isosceles right triangle whose two equal legs are each xx. The hypotenuse cc obeys

c2=x2+x2=2x2  ⇒  c=2x2=x2.c^2 = x^2 + x^2 = 2x^2 \;\Rightarrow\; c = \sqrt{2x^2} = x\sqrt{2}.

Because both legs are equal, the two acute angles are equal, and since they must sum to 90∘90^\circ each is 45∘45^\circ. That is exactly the pattern xx, xx, x2x\sqrt2.

Concept
Where the 30-60-90 ratio comes from
xx2xx√330°60°
Half of an equilateral triangle of side 2x.

Take an equilateral triangle with every side 2x2x and every angle 60∘60^\circ. Drop an altitude from the top vertex: it splits the base into two halves of length xx and cuts the top angle into two 30∘30^\circ pieces, making a right triangle. The short leg (opposite 30∘30^\circ) is xx and the hypotenuse is 2x2x, so the altitude (the long leg, opposite 60∘60^\circ) is

h2=(2x)2−x2=4x2−x2=3x2  ⇒  h=x3.h^2 = (2x)^2 - x^2 = 4x^2 - x^2 = 3x^2 \;\Rightarrow\; h = x\sqrt{3}.

That gives the pattern xx, x3x\sqrt3, 2x2x.

Concept
Preview: the identity sin⁡2θ+cos⁡2θ=1\sin^2\theta + \cos^2\theta = 1
θcos θsin θ1
With hypotenuse 1, the legs are cos θ\theta and sin θ\theta, so Pythagoras reads cos2θ^2 \theta + sin2θ^2 \theta = 1.

In a right triangle with hypotenuse cc, opposite side aa, and adjacent side bb, we have sin⁡θ=a/c\sin\theta = a/c and cos⁡θ=b/c\cos\theta = b/c. Squaring and adding:

sin⁡2θ+cos⁡2θ=a2c2+b2c2=a2+b2c2=c2c2=1,\sin^2\theta + \cos^2\theta = \frac{a^2}{c^2} + \frac{b^2}{c^2} = \frac{a^2+b^2}{c^2} = \frac{c^2}{c^2} = 1,

because a2+b2=c2a^2+b^2=c^2. So this famous Pythagorean identity is just the Pythagorean Theorem divided by c2c^2. (Here sin⁡2θ\sin^2\theta means (sin⁡θ)2(\sin\theta)^2.) It holds for every angle, so if you know one of sin⁡θ\sin\theta or cos⁡θ\cos\theta you can find the other.

Reminder — The Pythagorean identity:  sin⁡2θ+cos⁡2θ=1\sin^2\theta+\cos^2\theta=1
Example
Using the identity

Suppose sin⁡θ=35\sin\theta = \tfrac{3}{5} for an acute angle θ\theta. Find cos⁡θ\cos\theta without drawing the triangle:

cos⁡2θ=1−sin⁡2θ=1−925=1625  ⇒  cos⁡θ=1625=45.\cos^2\theta = 1 - \sin^2\theta = 1 - \tfrac{9}{25} = \tfrac{16}{25} \;\Rightarrow\; \cos\theta = \sqrt{\tfrac{16}{25}} = \tfrac{4}{5}.

We take the positive root because θ\theta is acute. (This is just the 33-44-55 triangle in disguise.)

Concept
Beyond right triangles: Law of Sines & Law of Cosines

SOH-CAH-TOA only works in right triangles. For any triangle with angles AA, BB, CC opposite sides aa, bb, cc:

Law of Sines:sin⁡Aa=sin⁡Bb=sin⁡Cc,\text{Law of Sines:}\quad \frac{\sin A}{a} = \frac{\sin B}{b} = \frac{\sin C}{c},
Law of Cosines:c2=a2+b2−2abcos⁡C.\text{Law of Cosines:}\quad c^2 = a^2 + b^2 - 2ab\cos C.

The Law of Sines pairs each angle with its opposite side (use it when you know an angle-side pair). The Law of Cosines is the Pythagorean Theorem with a correction term −2abcos⁡C-2ab\cos C; when C=90∘C = 90^\circ, cos⁡C=0\cos C = 0 and it collapses back to c2=a2+b2c^2 = a^2+b^2.

Reminder — Law of Sines:  asin⁡A=bsin⁡B=csin⁡C\frac{a}{\sin A}=\frac{b}{\sin B}=\frac{c}{\sin C}
Reminder — Law of Cosines:  c2=a2+b2−2abcos⁡Cc^{2}=a^{2}+b^{2}-2ab\cos C
Example
Law of Cosines for a non-right triangle
40°b = 10a = 7cC
Two sides and the included angle fix the third side, c ≈\approx 6.5.

A triangle has sides a=7a = 7 and b=10b = 10 with the included angle C=40∘C = 40^\circ between them. Find the third side cc:

c2=72+102−2(7)(10)cos⁡40∘=49+100−140(0.766)≈149−107.2=41.8.c^2 = 7^2 + 10^2 - 2(7)(10)\cos 40^\circ = 49 + 100 - 140(0.766) \approx 149 - 107.2 = 41.8.
c=41.8≈6.5.c = \sqrt{41.8} \approx 6.5.

Rounded to the nearest tenth, c≈6.5c \approx 6.5.

Side note
Where it goes wrong

Subtracting before multiplying: 49+100−140cos⁡40∘49 + 100 - 140\cos 40^\circ is not (149−140)cos⁡40∘=9(0.766)(149 - 140)\cos 40^\circ = 9(0.766), which would give c≈2.6c \approx 2.6. The product 2abcos⁡C2ab\cos C is computed first, then subtracted: 149−107.2=41.8149 - 107.2 = 41.8.

Concept
Right triangles in 3D: the space diagonal

A rectangular box with length ℓ\ell, width ww, and height hh has a space diagonal dd running corner to opposite corner. Use the Pythagorean Theorem twice: first the diagonal of the base is ℓ2+w2\sqrt{\ell^2 + w^2}, then that base diagonal and the height hh form a second right triangle:

d=ℓ2+w2+h2.d = \sqrt{\ell^2 + w^2 + h^2}.

The one clean formula just adds the squares of all three dimensions.

Example
Space diagonal of a box
4312513
Base diagonal 5, then space diagonal 13.

Find the space diagonal of a 3×4×123 \times 4 \times 12 box.

d=32+42+122=9+16+144=169=13.d = \sqrt{3^2 + 4^2 + 12^2} = \sqrt{9 + 16 + 144} = \sqrt{169} = 13.

Notice the base diagonal is 32+42=5\sqrt{3^2+4^2}=5, and then 52+122=13\sqrt{5^2+12^2}=13 — two nested triples (33-44-55 and 55-1212-1313).

Example
Two observers, one balloon
50°40°x200 − xh
The same height h, seen from both ends.

Two people stand 200200 ft apart on level ground, a balloon directly between them on the line joining them. One measures an angle of elevation of 50∘50^\circ, the other 40∘40^\circ. Find the height hh. Let the foot of the balloon be xx ft from the first person, so it is 200−x200 - x ft from the second. Each person sees the same height:

h=xtan⁡50∘,h=(200−x)tan⁡40∘.h = x\tan 50^\circ, \qquad h = (200 - x)\tan 40^\circ.

Set them equal: xtan⁡50∘=(200−x)tan⁡40∘x\tan 50^\circ = (200 - x)\tan 40^\circ, so 1.19x=(200−x)(0.839)1.19x = (200-x)(0.839), giving 1.19x=167.8−0.839x1.19x = 167.8 - 0.839x, hence 2.03x=167.82.03x = 167.8 and x≈82.7x \approx 82.7. Then

h=82.7tan⁡50∘≈82.7(1.19)≈98.5 ft.h = 82.7\tan 50^\circ \approx 82.7(1.19) \approx 98.5 \text{ ft}.

Rounded to the nearest tenth, the balloon is about 98.598.5 ft high.

Concept
The altitude on the hypotenuse: geometric means

Drop the altitude from the right angle to the hypotenuse. It splits the hypotenuse into two pieces pp and qq and creates two smaller triangles, each similar to the original. Similarity gives three “geometric mean” relations:

(altitude)=p q,(leg1)=p (p+q),(leg2)=q (p+q).(\text{altitude}) = \sqrt{p\,q}, \qquad (\text{leg}_1) = \sqrt{p\,(p+q)}, \qquad (\text{leg}_2) = \sqrt{q\,(p+q)}.

The altitude is the geometric mean of the two hypotenuse pieces; each leg is the geometric mean of the whole hypotenuse and the piece next to it.

Example
Finding the altitude by geometric mean
49altitude
Pieces 4 and 9 of the hypotenuse; the altitude is 4⋅9\sqrt{4 \cdot 9} = 6.

The altitude to the hypotenuse splits it into pieces p=4p = 4 and q=9q = 9. Find the altitude aa:

a=p q=4⋅9=36=6.a = \sqrt{p\,q} = \sqrt{4 \cdot 9} = \sqrt{36} = 6.

As a check, the shorter leg is 4(4+9)=52=213\sqrt{4(4+9)} = \sqrt{52} = 2\sqrt{13} and the longer leg is 9(13)=117=313\sqrt{9(13)} = \sqrt{117} = 3\sqrt{13}; indeed (213)2+(313)2=52+117=169=132(2\sqrt{13})^2 + (3\sqrt{13})^2 = 52 + 117 = 169 = 13^2, matching the full hypotenuse 4+9=134+9=13. ✓

Tip

Big picture: Almost every idea here is the Pythagorean Theorem wearing a costume — the special-triangle ratios, the identity sin⁡2θ+cos⁡2θ=1\sin^2\theta+\cos^2\theta=1, the Law of Cosines, and the 3D space diagonal all reduce to “add the squares.” When a problem looks new, hunt for the right triangle hiding inside it.

Try it
Quick check

Find the space diagonal of a box that measures 2×3×62 \times 3 \times 6.

Show the answer

d=22+32+62=4+9+36=49=7d = \sqrt{2^2 + 3^2 + 6^2} = \sqrt{4 + 9 + 36} = \sqrt{49} = \mathbf{7}. (Base diagonal 13\sqrt{13}, then 13+36=7\sqrt{13 + 36} = 7.)

Why It Works

Theorem
The reason behind the rule
abcabc²
A square of side a + b holds four copies of the triangle and a tilted square of side c.

One proof of Pythagoras: arrange four copies of the right triangle inside a square of side a+ba + b, corners in, so they leave a tilted square of side cc in the middle. The big square's area is (a+b)2=a2+2ab+b2(a + b)^2 = a^2 + 2ab + b^2; it also equals the four triangles (4⋅12ab=2ab4\cdot\tfrac12ab = 2ab) plus the inner square c2c^2. Cancelling 2ab2ab leaves a2+b2=c2a^2 + b^2 = c^2. The trig ratios are well defined because all right triangles with a given acute angle are similar, so the ratios do not depend on the size.

Tip
Reading a proof

Do not read a proof the way you read a rule. Cover the last line, ask what the previous line forces, and only then uncover it. If a step feels like magic, that is the step to work by hand with a concrete number.

Formulas, Proofs & Tips

Tip
The Pythagorean theorem
a2+b2=c2a^2+b^2=c^2

What it means. In a right triangle the squares on the legs add to the square on the hypotenuse.

Example. Legs 33 and 44: c=32+42=5c=\sqrt{3^2+4^2}=5.

Why it works. Take four copies of the triangle and place them inside a square of side a+ba+b, leaving a tilted square of side cc in the middle. The big square's area is (a+b)2=a2+2ab+b2(a+b)^2=a^2+2ab+b^2; it is also the four triangles 4⋅12ab=2ab4\cdot\tfrac12 ab=2ab plus c2c^2. Cancelling 2ab2ab leaves a2+b2=c2a^2+b^2=c^2.

Tip. cc must be the hypotenuse — the side opposite the right angle, always the longest. The converse also holds: if a2+b2=c2a^2+b^2=c^2 the triangle is right-angled.

Tip
Special right triangles
45∘-45∘-90∘: 1:1:230∘-60∘-90∘: 1:3:245^\circ\text{-}45^\circ\text{-}90^\circ:\ 1:1:\sqrt2 \qquad 30^\circ\text{-}60^\circ\text{-}90^\circ:\ 1:\sqrt3:2

What it means. Two triangles whose sides you can write down without a calculator.

Example. A 4545-4545-9090 triangle with legs 55 has hypotenuse 525\sqrt2.

Why it works. A 4545-4545-9090 is half a square cut along its diagonal, so the legs match and Pythagoras gives hypotenuse 2\sqrt2. A 3030-6060-9090 is half an equilateral triangle: the hypotenuse is a full side 22, the short leg is half a side 11, and the long leg is 22−12=3\sqrt{2^2-1^2}=\sqrt3.

Tip. The short leg is always opposite the 30∘30^\circ angle. Match sides to angles before assigning 11, 3\sqrt3, 22.

Tip
The trigonometric ratios (SOH-CAH-TOA)
sin⁡θ=opphyp,cos⁡θ=adjhyp,tan⁡θ=oppadj\sin\theta=\frac{\text{opp}}{\text{hyp}},\qquad \cos\theta=\frac{\text{adj}}{\text{hyp}},\qquad \tan\theta=\frac{\text{opp}}{\text{adj}}

What it means. Ratios of sides in a right triangle that depend only on the angle.

Example. In a 33-44-55 right triangle, sin⁡=35\sin=\tfrac35, cos⁡=45\cos=\tfrac45, tan⁡=34\tan=\tfrac34.

Why it works. Any two right triangles with the same acute angle are similar, so matching side ratios are equal. That makes each ratio a function of the angle alone — which is what lets a table or calculator store them.

Tip. tan⁡θ=sin⁡θcos⁡θ\tan\theta=\tfrac{\sin\theta}{\cos\theta}, since dividing opp/hyp by adj/hyp cancels the hypotenuse.