Right Triangle Trigonometry

Study Sheet

Right Triangle Trigonometry

The six ratios, special angles, solving triangles, cofunctions, and applications

The Six Trigonometric Ratios (SOH-CAH-TOA)

Tip
θ°adjopphyp

Rounding conventions used in this topic: unless a problem asks for an exact value, round side lengths to the nearest hundredth (0.010.01) and angle measures to the nearest hundredth of a degree (0.010.01^\circ). Keep full precision in your calculator until the final step, and make sure your calculator is in degree mode.

Opposite, adjacent and hypotenuse are named from the angle.

Concept
Definitions from a right triangle

For an acute angle θ\theta in a right triangle, label the sides relative to θ\theta: the opposite leg (across from θ\theta), the adjacent leg (next to θ\theta, not the hypotenuse), and the hypotenuse (across from the right angle). Then

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}}
cscθ=hypopp,secθ=hypadj,cotθ=adjopp\csc\theta=\frac{\text{hyp}}{\text{opp}},\qquad \sec\theta=\frac{\text{hyp}}{\text{adj}},\qquad \cot\theta=\frac{\text{adj}}{\text{opp}}

Remember the mnemonic SOH-CAH-TOA: Sin = Opp/Hyp, Cos = Adj/Hyp, Tan = Opp/Adj.

Example
Example: all six ratios of a 3-4-5 triangle

A right triangle has legs 33 (opposite θ\theta) and 44 (adjacent to θ\theta) and hypotenuse 55.

sinθ=35,cosθ=45,tanθ=34\sin\theta=\tfrac{3}{5},\quad \cos\theta=\tfrac{4}{5},\quad \tan\theta=\tfrac{3}{4}
cscθ=53,secθ=54,cotθ=43\csc\theta=\tfrac{5}{3},\quad \sec\theta=\tfrac{5}{4},\quad \cot\theta=\tfrac{4}{3}

The three ratios on the bottom row are the reciprocals of the top row.

Example
Example: find the missing side first

A right triangle has opposite =5=5 and hypotenuse =13=13. Find cosθ\cos\theta. By the Pythagorean theorem the adjacent side is 13252=144=12\sqrt{13^2-5^2}=\sqrt{144}=12, so cosθ=1213\cos\theta=\dfrac{12}{13} and tanθ=512\tan\theta=\dfrac{5}{12}.

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

Reciprocal identities: cscθ=1sinθ\csc\theta=\dfrac{1}{\sin\theta},  secθ=1cosθ\sec\theta=\dfrac{1}{\cos\theta},  cotθ=1tanθ\cot\theta=\dfrac{1}{\tan\theta}. Also tanθ=sinθcosθ\tan\theta=\dfrac{\sin\theta}{\cos\theta}.

Exact Values of the Special Angles 30,45,6030^\circ,45^\circ,60^\circ

Concept
The two special triangles

Every special-angle value comes from two triangles. The 4545^\circ-4545^\circ-9090^\circ triangle has legs 1,11,1 and hypotenuse 2\sqrt{2}. The 3030^\circ-6060^\circ-9090^\circ triangle has sides 11 (short leg, opposite 3030^\circ), 3\sqrt{3} (long leg, opposite 6060^\circ), and 22 (hypotenuse).

Concept
Table of exact values
θsinθcosθtanθ3012323345222216032123\begin{array}{c|ccc} \theta & \sin\theta & \cos\theta & \tan\theta\\ \hline 30^\circ & \dfrac{1}{2} & \dfrac{\sqrt{3}}{2} & \dfrac{\sqrt{3}}{3}\\[6pt] 45^\circ & \dfrac{\sqrt{2}}{2} & \dfrac{\sqrt{2}}{2} & 1\\[6pt] 60^\circ & \dfrac{\sqrt{3}}{2} & \dfrac{1}{2} & \sqrt{3} \end{array}

Reciprocal functions come from flipping these: e.g. csc30=2\csc 30^\circ=2, sec60=2\sec 60^\circ=2, cot45=1\cot 45^\circ=1.

Example
Example: exact evaluation

Evaluate sin30cos60+cos30sin60\sin 30^\circ\cos 60^\circ+\cos 30^\circ\sin 60^\circ.

(12) ⁣(12)+(32) ⁣(32)=14+34=1.\left(\tfrac{1}{2}\right)\!\left(\tfrac{1}{2}\right)+\left(\tfrac{\sqrt{3}}{2}\right)\!\left(\tfrac{\sqrt{3}}{2}\right)=\tfrac{1}{4}+\tfrac{3}{4}=1.
Tip

Tip: tan30=13\tan 30^\circ=\dfrac{1}{\sqrt3} is usually written with a rational denominator as 33\dfrac{\sqrt3}{3}. As θ\theta grows from 00^\circ to 9090^\circ, sinθ\sin\theta increases and cosθ\cos\theta decreases, so their values “cross” at 4545^\circ.

Calculator Values and Solving Right Triangles

Concept
Using a calculator

For values that are not special angles, use your calculator (in degree mode). To find a side, multiply by a trig value; to find an angle, use the inverse keys sin1,cos1,tan1\sin^{-1},\cos^{-1},\tan^{-1}. Solving a right triangle means finding all three sides and all three angles. You need one side plus either one more side or one acute angle.

Example
Example: given an angle and the hypotenuse

In a right triangle the right angle is at CC; angle A=35A=35^\circ and hypotenuse c=10c=10.

  • 2pt
  • B=9035=55B=90^\circ-35^\circ=55^\circ.
  • a=csinA=10sin355.74a=c\sin A=10\sin 35^\circ\approx 5.74 (opposite AA).
  • b=ccosA=10cos358.19b=c\cos A=10\cos 35^\circ\approx 8.19 (adjacent to AA).
Example
Example: given two sides, find an angle

A right triangle has legs a=9a=9 and b=12b=12. The hypotenuse is c=92+122=225=15c=\sqrt{9^2+12^2}=\sqrt{225}=15. Then tanA=912=0.75\tan A=\dfrac{9}{12}=0.75, so A=tan1(0.75)36.87A=\tan^{-1}(0.75)\approx 36.87^\circ and B53.13B\approx 53.13^\circ.

Tip

Tip: choose the ratio that uses the side you are given and the side you want. Use sin/csc\sin/\csc with opposite & hypotenuse, cos/sec\cos/\sec with adjacent & hypotenuse, tan/cot\tan/\cot with the two legs.

Cofunctions and the Complementary-Angle Relationship

Concept
Cofunction identities

In a right triangle the two acute angles are complementary (they sum to 9090^\circ). The side opposite one angle is adjacent to the other, so

sinθ=cos(90θ),tanθ=cot(90θ),secθ=csc(90θ),\sin\theta=\cos(90^\circ-\theta),\qquad \tan\theta=\cot(90^\circ-\theta),\qquad \sec\theta=\csc(90^\circ-\theta),

and the same with the pairs reversed. “Co” functions (cosine, cotangent, cosecant) are the functions of the complementary angle.

Example
Example: rewrite and solve

Since sin20=cos70\sin 20^\circ=\cos 70^\circ, we can fill in sin20=cos( 70 )\sin 20^\circ=\cos(\underline{\ 70^\circ\ }). To solve sin(x)=cos(x+10)\sin(x)=\cos(x+10^\circ), set the angles complementary: x+(x+10)=90x+(x+10^\circ)=90^\circ, so 2x=802x=80^\circ and x=40x=40^\circ.

Tip

Tip: a cofunction equation such as sinA=cosB\sin A=\cos B is true exactly when A+B=90A+B=90^\circ. This lets you solve for an unknown angle without a calculator.

Applications: Elevation, Depression, and Bearings

Concept
Angles of elevation and depression

An angle of elevation is measured upward from a horizontal line to a line of sight; an angle of depression is measured downward from a horizontal line to a line of sight. Because the two horizontal lines are parallel, the angle of depression from the top equals the angle of elevation from the bottom (alternate interior angles).

Concept
Bearings

A bearing such as N60E\text{N}60^\circ\text{E} names a direction by an acute angle measured from the north-south line toward the east or west. Resolve a displacement of length dd on bearing NαE\text{N}\alpha\text{E} into a north component dcosαd\cos\alpha and an east component dsinαd\sin\alpha.

Example
Example: angle of elevation

From a point 5050 ft from the base of a building, the angle of elevation to the top is 4040^\circ. The height is

h=50tan4050(0.8391)41.96 ft.h=50\tan 40^\circ\approx 50(0.8391)\approx 41.96\text{ ft.}
Example
Example: angle of depression

From the top of a 3030 m cliff, the angle of depression to a boat is 3535^\circ. The horizontal distance from the base of the cliff to the boat is

x=30tan35300.700242.84 m.x=\frac{30}{\tan 35^\circ}\approx\frac{30}{0.7002}\approx 42.84\text{ m.}
Tip

Tip for two-triangle problems: draw one picture, label the unknown height hh and set up one equation per triangle. Often both equations contain hh; subtract or substitute to eliminate it.

Going Deeper: Advanced Right-Triangle Trig

Tip

How to work these: advanced problems almost always hide two right triangles that share a side. Draw one clean picture, name every point, and write one equation per triangle. Keep exact values (simplified radicals) until the last step, then round lengths to 0.010.01 and angles to 0.010.01^\circ.

Concept
Two observers / two towers (shared height)

When two observers on the same horizontal line sight the same point, both right triangles share the vertical height hh. Write each horizontal distance in terms of hh using tan\tan, then use the known separation to eliminate hh.

  • 2pt
  • Observers on opposite sides, separation DD, elevations α\alpha and β\beta: @@BLOCK0@@
  • Observers on the same side, one behind the other by DD: @@BLOCK1@@

Factor out hh and divide. The subtraction case is the usual “walk toward the tower” setup.

Example
Example: a tower between two observers (exact then rounded)

A vertical tower stands between two observers AA and BB who are 300300 m apart on level ground. From AA the angle of elevation to the top is 3030^\circ; from BB it is 4545^\circ. Find the height hh.

htan30+htan45=300    h3+h=300    h(3+1)=300.\frac{h}{\tan 30^\circ}+\frac{h}{\tan 45^\circ}=300 \;\Longrightarrow\; h\sqrt{3}+h=300 \;\Longrightarrow\; h(\sqrt3+1)=300.

Rationalize by multiplying by 3131\dfrac{\sqrt3-1}{\sqrt3-1}:

h=3003+1=300(31)(3+1)(31)=300(31)2=150(31)109.81 m.h=\frac{300}{\sqrt3+1}=\frac{300(\sqrt3-1)}{(\sqrt3+1)(\sqrt3-1)}=\frac{300(\sqrt3-1)}{2}=150(\sqrt3-1)\approx 109.81\text{ m}.
Concept
3D right-triangle problems

A three-dimensional figure is solved by finding a sequence of right triangles that lie in different planes but share an edge. A common tool is the space diagonal of a box with edges a,b,ca,b,c: first the base diagonal is d=a2+b2d=\sqrt{a^2+b^2}, then the space diagonal is d2+c2=a2+b2+c2\sqrt{d^2+c^2}=\sqrt{a^2+b^2+c^2}. The angle the space diagonal makes with the base satisfies tanϕ=cd=ca2+b2\tan\phi=\dfrac{c}{d}=\dfrac{c}{\sqrt{a^2+b^2}}.

Example
Example: angle of a box's space diagonal with its base

A rectangular box has base edges a=6a=6 and b=8b=8 and height c=5c=5. The base diagonal is

d=62+82=100=10.d=\sqrt{6^2+8^2}=\sqrt{100}=10.

The space diagonal is 102+52=125=5511.18\sqrt{10^2+5^2}=\sqrt{125}=5\sqrt5\approx 11.18. The angle ϕ\phi it makes with the base is

ϕ=tan1 ⁣cd=tan1510=tan1(0.5)26.57.\phi=\tan^{-1}\!\frac{c}{d}=\tan^{-1}\frac{5}{10}=\tan^{-1}(0.5)\approx 26.57^\circ.
Concept
The altitude-on-hypotenuse geometric mean

Drop the altitude of length hh from the right angle to the hypotenuse. It splits the hypotenuse into segments pp and qq and creates two smaller triangles, each similar to the original. This gives three geometric-mean relations:

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

In words: the altitude is the geometric mean of the two hypotenuse pieces, and each leg is the geometric mean of the whole hypotenuse and the piece adjacent to that leg.

Example
Example: geometric mean on the hypotenuse

The altitude from the right angle meets the hypotenuse, cutting it into pieces p=4p=4 and q=9q=9. Then

h=49=36=6,leg1=413=2137.21,leg2=913=31310.82.h=\sqrt{4\cdot 9}=\sqrt{36}=6,\qquad \text{leg}_1=\sqrt{4\cdot 13}=2\sqrt{13}\approx 7.21,\qquad \text{leg}_2=\sqrt{9\cdot 13}=3\sqrt{13}\approx 10.82.

Check: leg12+leg22=52+117=169=132\text{leg}_1^2+\text{leg}_2^2=52+117=169=13^2, the square of the full hypotenuse p+q=13p+q=13.

Concept
Bearings and navigation with two legs

Give each leg of a trip as a bearing (measured from north) and a length. Resolve every leg into north and east components (dcosd\cos for the N-S part, dsind\sin for the E-W part). When two consecutive bearings differ by exactly 9090^\circ, the two legs are perpendicular, so the start-to-finish distance is just d12+d22\sqrt{d_1^2+d_2^2} and the turn angle is tan1(d2/d1)\tan^{-1}(d_2/d_1) measured from the first leg.

Example
Example: two perpendicular legs

A ship sails 1212 km on bearing N40E\text{N}40^\circ\text{E}, then turns and sails 88 km on bearing S50E\text{S}50^\circ\text{E}. The two bearings are 040040^\circ and 130130^\circ, which differ by 9090^\circ, so the legs are perpendicular. The direct distance from start to finish is

122+82=208=41314.42 km.\sqrt{12^2+8^2}=\sqrt{208}=4\sqrt{13}\approx 14.42\text{ km}.

The course swings clockwise from the first leg by tan1 ⁣812=tan1(0.66)33.69\tan^{-1}\!\dfrac{8}{12}=\tan^{-1}(0.6\overline{6})\approx 33.69^\circ, so the final bearing from the start is about 40+33.69=73.6940^\circ+33.69^\circ=73.69^\circ, i.e. N73.69E\text{N}73.69^\circ\text{E}.

Concept
Right triangles inside inscribed figures

Two facts turn geometry problems into right-triangle trig:

  • 2pt
  • Thales' theorem: any triangle inscribed in a semicircle, with the diameter as one side, has its right angle on the circle. So a diameter-based inscribed triangle is automatically right.
  • Regular nn-gon in a circle of radius RR: draw radii to two adjacent vertices and the apothem to the midpoint of that side. The half-central-angle is 180n\dfrac{180^\circ}{n}, giving @@BLOCK0@@
Concept
Optimizing a viewing angle

A picture (or screen) hangs on a wall with its bottom edge aa above eye level and its top edge bb above eye level. A viewer standing xx from the wall sees the picture within the viewing angle

θ(x)=tan1bxtan1ax.\theta(x)=\tan^{-1}\frac{b}{x}-\tan^{-1}\frac{a}{x}.

The angle is small when xx is very small (you look almost straight up) or very large (the picture shrinks), so a best distance sits in between. Calculus shows θ\theta is largest at

x=ab,x=\sqrt{ab},

the geometric mean of the two heights. This is another place the geometric mean appears in right-triangle work.

Tip

Exact-value chains and cofunction tricks: cofunctions collapse long products. Because tanθtan(90θ)=tanθcotθ=1\tan\theta\,\tan(90^\circ-\theta)=\tan\theta\,\cot\theta=1, a symmetric product telescopes, e.g.

tan1tan2tan89=1,\tan 1^\circ\,\tan 2^\circ\cdots\tan 89^\circ=1,

by pairing each factor tank\tan k^\circ with tan(90k)\tan(90^\circ-k^\circ); the lone middle term tan45=1\tan 45^\circ=1. Likewise sin2θ+sin2(90θ)=sin2θ+cos2θ=1\sin^2\theta+\sin^2(90^\circ-\theta)=\sin^2\theta+\cos^2\theta=1. Look for complementary pairs before reaching for a calculator.

Formulas, Proofs & Tips

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 2212=3\sqrt{2^2-1^2}=\sqrt3.

Tip. The short leg is always opposite the 3030^\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.