Algebra 2Trigonometric Functions1 of 7
Trigonometric Functions · 1

Right Triangle Trigonometry

When we know two sides of a right triangle, the Pythagorean theorem gives us the third side. When we only know one side and an acute angle, we need a way to connect angles to side lengths.

Suppose a right triangle has a bottom side of length 4\adj{4} and a 30∘30^\circ angle, and we want to find its vertical height x\opp{x}.

44
33
x=5x = 5
32+42=x23^2 + 4^2 = x^2
30∘30^\circ
4\adj{4}
x\opp{x}
How an Angle Locks Side Proportions
30∘30^\circ
4\adj{4}
x\opp{x}
??

Scaling a right triangle while keeping the same angle keeps the height-to-hypotenuse fraction and percentage the same. Only changing the angle changes that proportion.

As long as the angle stays the same, the height is always the same percentage of the hypotenuse, and only changing the angle changes that percentage.
1

Naming the Sides and SOH CAH TOA

To find the side proportions for an angle θ\theta, we first need to name the three sides of the right triangle from that angle's point of view so we know which two sides we are comparing.

Naming the Sides and SOH CAH TOA
θ\theta
θ\theta
Opposite\opp{\text{Opposite}}
Adjacent\adj{\text{Adjacent}}
Hypotenuse\text{Hypotenuse}
θ\theta
Adjacent\adj{\text{Adjacent}}
Opposite\opp{\text{Opposite}}
Hypotenuse\text{Hypotenuse}

Pairing the three sides two at a time gives three trigonometric ratios, remembered by SOH CAH TOA:

sin⁡(θ)=OppositeHypotenuse⏟SOHcos⁡(θ)=AdjacentHypotenuse⏟CAHtan⁡(θ)=OppositeAdjacent⏟TOA\displaystyle \begin{aligned} &\underbrace{\sin(\theta) = \frac{\opp{\text{Opposite}}}{\text{Hypotenuse}}}_{\textbf{S}\text{\opp{O}H}} \\[6pt] &\underbrace{\cos(\theta) = \frac{\adj{\text{Adjacent}}}{\text{Hypotenuse}}}_{\textbf{C}\text{\adj{A}H}} \\[6pt] &\underbrace{\tan(\theta) = \frac{\opp{\text{Opposite}}}{\adj{\text{Adjacent}}}}_{\textbf{T}\text{\opp{O}\adj{A}}} \end{aligned}

As the triangle rotates, Opposite and Adjacent stay attached to the sides across from and next to θ\theta, not to the vertical and horizontal sides, so the three fractions sin⁡(θ)\sin(\theta), cos⁡(θ)\cos(\theta), and tan⁡(θ)\tan(\theta) stay the same.

Spinning the triangle never changes which side is Opposite, Adjacent, or Hypotenuse, and the trig fractions stay the same.
2

Finding a Missing Side with a Calculator

Now let's find a missing side xx when we know one acute angle and one side. First we'll find x\opp{x} when it is opposite a 35∘35^\circ angle in a right triangle with hypotenuse 1010, and then when the hypotenuse xx is unknown and the side adjacent to a 40∘40^\circ angle has length 12\adj{12}.

35∘35^\circ
x\opp{x}
1010
40∘40^\circ
12\adj{12}
xx
Finding a Missing Side with a Calculator
35∘35^\circ
1010
x\opp{x}
DEG\text{DEG}
sin⁡\sin
cos⁡\cos
tan⁡\tan

Make sure your calculator is in Degree mode before entering any angle in degrees.

Text solution:

In the second triangle, the unknown hypotenuse xx ends up in the denominator of the fraction:

Text solution:

3

The Six Trig Ratios and Reciprocals

Each of the three side ratios can also be flipped upside down to give three more ratios: cosecant, secant, and cotangent. We can find all six trigonometric ratios for an angle θ\theta, whether we start from a drawn triangle or from a single given fraction like cos⁡(θ)=23\cos(\theta) = \frac{\adj{2}}{3}.

The Six Trig Ratios and Reciprocals
sin⁡(θ)=OppHyp?cos⁡(θ)=AdjHyp?tan⁡(θ)=OppAdj?\displaystyle \begin{alignedat}{2} \sin(\theta) &= \frac{\opp{\text{Opp}}}{\text{Hyp}} &\qquad& ? \\[8pt] \cos(\theta) &= \frac{\adj{\text{Adj}}}{\text{Hyp}} &\qquad& ? \\[8pt] \tan(\theta) &= \frac{\opp{\text{Opp}}}{\adj{\text{Adj}}} &\qquad& ? \end{alignedat}

Flipping each SOH CAH TOA fraction gives its reciprocal, and each pair has only one "co" in its names:

sin⁡(θ)=OppHyp⟷cosecant:csc⁡(θ)=HypOpp⏟reciprocal ofsin⁡(θ)cosine:cos⁡(θ)=AdjHyp⟷sec⁡(θ)=HypAdj⏟reciprocal ofcos⁡(θ)tan⁡(θ)=OppAdj⟷cotangent:cot⁡(θ)=AdjOpp⏟reciprocal oftan⁡(θ)\displaystyle \begin{aligned} \sin(\theta) &= \frac{\opp{\text{Opp}}}{\text{Hyp}} \\[6pt] \longleftrightarrow \quad \textbf{co}\text{secant:} \quad \csc(\theta) &= \underbrace{\frac{\text{Hyp}}{\opp{\text{Opp}}}}_{\begin{gathered}\scriptstyle\text{reciprocal of}\\[-2pt] \scriptstyle\sin(\theta)\end{gathered}} \\[16pt] \textbf{co}\text{sine:} \quad \cos(\theta) &= \frac{\adj{\text{Adj}}}{\text{Hyp}} \\[6pt] \longleftrightarrow \quad \sec(\theta) &= \underbrace{\frac{\text{Hyp}}{\adj{\text{Adj}}}}_{\begin{gathered}\scriptstyle\text{reciprocal of}\\[-2pt] \scriptstyle\cos(\theta)\end{gathered}} \\[16pt] \tan(\theta) &= \frac{\opp{\text{Opp}}}{\adj{\text{Adj}}} \\[6pt] \longleftrightarrow \quad \textbf{co}\text{tangent:} \quad \cot(\theta) &= \underbrace{\frac{\adj{\text{Adj}}}{\opp{\text{Opp}}}}_{\begin{gathered}\scriptstyle\text{reciprocal of}\\[-2pt] \scriptstyle\tan(\theta)\end{gathered}} \end{aligned}

To write all six ratios when a right triangle only gives two sides, like a leg of 5\opp{5} opposite θ\theta and a leg of 12\adj{12} adjacent to θ\theta, we first use the Pythagorean theorem a2+b2=c2a^2 + b^2 = c^2, where the hypotenuse cc is always by itself on one side of the equation.

θ\theta
12\adj{12}
5\opp{5}
c=13c = 13
θ\theta
2\adj{2}
b=5\opp{b} = \opp{\sqrt{5}}
33
cos⁡(θ)=23\displaystyle \cos(\theta) = \frac{\adj{2}}{3}

Text solution:

When no picture is given and we only know cos⁡(θ)=23\cos(\theta) = \frac{\adj{2}}{3} for an acute angle θ\theta, the fraction itself gives us two sides of a right triangle to sketch:

Text solution:

4

Exact Values and Special Right Triangles

Calculator decimals are rounded approximations. When a problem asks for an exact value in a triangle with a 30∘30^\circ, 45∘45^\circ, or 60∘60^\circ angle, like finding the side x\opp{x} opposite a 60∘60^\circ angle when the hypotenuse is 1414, we need the answer written with fractions and square roots instead of a calculator decimal.

Exact Values and Special Right Triangles
sin⁡(35∘)≈0.5736sin⁡(45∘)=  ?exactly\displaystyle \begin{aligned} \sin(35^\circ) &\approx 0.5736 \\[8pt] \sin(45^\circ) &= \;? \quad \text{exactly} \end{aligned}
45∘45^\circ
45∘45^\circ
11
11
2\sqrt{2}
30∘30^\circ
60∘60^\circ
3\sqrt{3}
11
22
60∘60^\circ
x\opp{x}
1414

Reading SOH CAH TOA directly off the two special right triangles gives the exact ratios for 30∘30^\circ, 45∘45^\circ, and 60∘60^\circ:

sin⁡(45∘)=12=22cos⁡(45∘)=12=22tan⁡(45∘)=11=1sin⁡(30∘)=12cos⁡(30∘)=32tan⁡(30∘)=13=33sin⁡(60∘)=32cos⁡(60∘)=12tan⁡(60∘)=31=3\displaystyle \begin{aligned} \sin(45^\circ) &= \frac{\opp{1}}{\sqrt{2}} = \frac{\sqrt{2}}{2} \\[6pt] \cos(45^\circ) &= \frac{\adj{1}}{\sqrt{2}} = \frac{\sqrt{2}}{2} \\[6pt] \tan(45^\circ) &= \frac{\opp{1}}{\adj{1}} = 1 \\[14pt] \sin(30^\circ) &= \frac{\opp{1}}{2} \\[6pt] \cos(30^\circ) &= \frac{\adj{\sqrt{3}}}{2} \\[6pt] \tan(30^\circ) &= \frac{\opp{1}}{\adj{\sqrt{3}}} = \frac{\sqrt{3}}{3} \\[14pt] \sin(60^\circ) &= \frac{\opp{\sqrt{3}}}{2} \\[6pt] \cos(60^\circ) &= \frac{\adj{1}}{2} \\[6pt] \tan(60^\circ) &= \frac{\opp{\sqrt{3}}}{\adj{1}} = \sqrt{3} \end{aligned}

To find the exact value of x\opp{x} opposite the 60∘60^\circ angle when the hypotenuse is 1414, we use the fraction from the 30∘-60∘-90∘30^\circ\text{-}60^\circ\text{-}90^\circ triangle instead of a calculator:

Text solution:

5

Finding a Missing Angle with Inverse Trig

So far we have used a known angle to find a missing side. Now let's work in reverse and find a missing acute angle θ\theta when we already know two sides of a right triangle, such as an opposite leg of 3\opp{3} and an adjacent leg of 4\adj{4}.

θ\theta
3\opp{3}
4\adj{4}
Finding a Missing Angle with Inverse Trig
θ\theta
3\opp{3}
4\adj{4}
θ=?\theta = {?}

Text solution:

The −1-1 superscript in sin⁡−1\sin^{-1}, cos⁡−1\cos^{-1}, and tan⁡−1\tan^{-1} means the inverse function that undoes the trig ratio to give an angle, not flipping the fraction upside down like csc⁡\csc, sec⁡\sec, and cot⁡\cot.

With the horizontal base fixed at 4\adj{4}, every height gives a new side ratio Opposite4\frac{\opp{\text{Opposite}}}{\adj{4}}, and tan⁡−1 ⁣(Opposite4)\tan^{-1}\!\left(\frac{\opp{\text{Opposite}}}{\adj{4}}\right) works backwards from that fraction to give the matching angle θ\theta.

Regular tangent takes an angle and gives a ratio of sides, while inverse tangent takes the ratio of sides and works backwards to give the angle.
6

Angles of Elevation and Depression

When looking up or down at an object, the angle of elevation is the upward tilt from a horizontal line and the angle of depression is the downward tilt from a horizontal line. We can use this to find the horizontal distance xx from the base of an 80-foot80\text{-foot} building when a friend on the roof looks down at you at a 25∘25^\circ angle of depression. For this calculation, we treat the two people as points at roof level and ground level.

Angles of Elevation and Depression
80 ft80\text{ ft}
25∘25^\circ
xx
25∘25^\circ
25∘25^\circ
80 ft\opp{80\text{ ft}}
x\adj{x}

Because the horizontal line at the roof and the horizontal ground are parallel, the diagonal line of sight forms a "Z" between them, so the angle of depression at the top equals the angle of elevation in the ground corner.

Text solution:

At every distance from the building, the parallel horizontal sightlines form a Z that keeps the angle of depression at the roof equal to the angle of elevation on the ground, while the angle against the vertical wall and the angle of elevation add to 90∘90^\circ.

At every distance from the building, the Angle of Elevation and Angle of Depression are measured from the horizontal and stay equal to each other.

Key concepts

Lesson Summary
30∘30^\circ
60∘60^\circ

Knowing only the angles of a right triangle locks in its side proportions, not its size. To find all the remaining sides and angles, we need one side length and either another side length or an acute angle:

When you already know two sides and only need the third side

you do not need trigonometry at all. Use the Pythagorean theorem a2+b2=c2a^2 + b^2 = c^2 directly (32+42=x23^2 + 4^2 = x^2   ⟹  \implies x=5x = 5).

When you know one side and an acute angle and need another side

label only the known side and the wanted side from that angle, pick the matching pair in SOH CAH TOA (sin⁡(θ)=OppHyp\sin(\theta) = \frac{\opp{\text{Opp}}}{\text{Hyp}}, cos⁡(θ)=AdjHyp\cos(\theta) = \frac{\adj{\text{Adj}}}{\text{Hyp}}, tan⁡(θ)=OppAdj\tan(\theta) = \frac{\opp{\text{Opp}}}{\adj{\text{Adj}}}), and put the angle inside the regular trig function. Multiply if xx is on top (sin⁡(35∘)=x10\sin(35^\circ) = \frac{\opp{x}}{10}   ⟹  \implies x=10sin⁡(35∘)\opp{x} = 10\sin(35^\circ)), or swap xx with the trig ratio if xx is on the bottom (cos⁡(40∘)=12x\cos(40^\circ) = \frac{\adj{12}}{x}   ⟹  \implies x=12cos⁡(40∘)x = \frac{\adj{12}}{\cos(40^\circ)}). For an exact value at 30∘30^\circ, 45∘45^\circ, or 60∘60^\circ, instead of using a calculator, sketch the 45∘-45∘-90∘45^\circ\text{-}45^\circ\text{-}90^\circ (1,1,21, 1, \sqrt{2}) or 30∘-60∘-90∘30^\circ\text{-}60^\circ\text{-}90^\circ (1,3,21, \sqrt{3}, 2) triangle (sin⁡(60∘)=x14\sin(60^\circ) = \frac{\opp{x}}{14}   ⟹  \implies 32=x14\frac{\opp{\sqrt{3}}}{2} = \frac{\opp{x}}{14}   ⟹  \implies x=73\opp{x} = 7\sqrt{3}).

When you need all six ratios

flip the three SOH CAH TOA fractions to get csc⁡(θ)=HypOpp\csc(\theta) = \frac{\text{Hyp}}{\opp{\text{Opp}}}, sec⁡(θ)=HypAdj\sec(\theta) = \frac{\text{Hyp}}{\adj{\text{Adj}}}, and cot⁡(θ)=AdjOpp\cot(\theta) = \frac{\adj{\text{Adj}}}{\opp{\text{Opp}}}, pairing each ratio so every pair has one "co" (sin⁡↔csc⁡\sin \leftrightarrow \csc, cos⁡↔sec⁡\cos \leftrightarrow \sec, tan⁡↔cot⁡\tan \leftrightarrow \cot). If only one ratio is given (cos⁡(θ)=23\cos(\theta) = \frac{\adj{2}}{3}), sketch a right triangle with those two sides and use the Pythagorean theorem for the third.

When you know two sides and need an angle

put the fraction of sides inside the inverse trig function (tan⁡(θ)=34\tan(\theta) = \frac{\opp{3}}{\adj{4}}   ⟹  \implies θ=tan⁡−1 ⁣(34)\theta = \tan^{-1}\!\left(\frac{\opp{3}}{\adj{4}}\right)), and always measure angles of elevation and depression from a horizontal line.

7

Practice

1

In a right triangle, the acute angle at the top corner is 28∘28^\circ and the vertical leg next to it has length 1515. Find the length of the bottom leg xx across from the 28∘28^\circ angle, rounded to the nearest hundredth.

Look from the 28∘28^\circ angle at the top corner: which side is xx and which side is 1515, and which part of SOH CAH TOA connects them?

From the 28∘28^\circ angle at the top corner, the bottom leg x\opp{x} is Opposite and the vertical leg 15\adj{15} is Adjacent:
tan⁡(28∘)\displaystyle \tan(28^\circ) =x15\displaystyle = \frac{\opp{x}}{\adj{15}}
(Watch out: Because the 28∘28^\circ angle is at the top corner, Opposite and Adjacent are reversed from a bottom-corner angle. Treating the vertical leg 1515 as Opposite out of habit sets up tan⁡(28∘)=15x\tan(28^\circ) = \frac{15}{x} and gives the wrong answer 28.2128.21.)
Multiply both sides by 15\adj{15}:
x\displaystyle \opp{x} =15tan⁡(28∘)≈7.98\displaystyle = \adj{15}\tan(28^\circ) \approx 7.98
2

A right triangle has a 52∘52^\circ angle, and the side opposite that angle has length 1818. Find the length of the hypotenuse xx, rounded to the nearest hundredth.

Opposite and Hypotenuse tell you which ratio to use. Once you write the fraction, check whether xx is in the numerator or the denominator.

From the 52∘52^\circ angle, 18\opp{18} is Opposite and xx is the Hypotenuse:
sin⁡(52∘)\displaystyle \sin(52^\circ) =18x\displaystyle = \frac{\opp{18}}{x}
Swap xx and sin⁡(52∘)\sin(52^\circ) to solve for xx: (Watch out: Because xx is in the denominator, you must divide by sin⁡(52∘)\sin(52^\circ). Multiplying 18sin⁡(52∘)18\sin(52^\circ) as if xx were in the numerator gives the wrong answer 14.1814.18, which is shorter than the leg 1818.)
x\displaystyle x =18sin⁡(52∘)≈22.84\displaystyle = \frac{\opp{18}}{\sin(52^\circ)} \approx 22.84
3

A right triangle has legs of length 88 and 1515, with angle θ\theta opposite the leg of length 88. Find all six trigonometric ratios for θ\theta.

Both given lengths are legs, so find the hypotenuse first before writing the three SOH CAH TOA fractions and flipping them.

Find the hypotenuse cc using the Pythagorean theorem:
82+152=c264+225=c2289=c2c=17\displaystyle \begin{aligned} 8^2 + 15^2 &= c^2 \\ 64 + 225 &= c^2 \\ 289 &= c^2 \\ c &= 17 \end{aligned}
With Opposite =8= 8, Adjacent =15= 15, and Hypotenuse =17= 17, write the main three ratios and flip each fraction for its reciprocal: (Watch out: Each reciprocal pair has only one "co". Pairing sin⁡(θ)\sin(\theta) with sec⁡(θ)\sec(\theta) and cos⁡(θ)\cos(\theta) with csc⁡(θ)\csc(\theta) swaps those two answers to give csc⁡(θ)=1715\csc(\theta) = \frac{17}{15} and sec⁡(θ)=178\sec(\theta) = \frac{17}{8}.)
sin⁡(θ)\displaystyle \sin(\theta) =817,cos⁡(θ)\displaystyle = \frac{8}{17}, \quad \cos(\theta) =1517,tan⁡(θ)\displaystyle = \frac{15}{17}, \quad \tan(\theta) =815,csc⁡(θ)\displaystyle = \frac{8}{15}, \quad \csc(\theta) =178,sec⁡(θ)\displaystyle = \frac{17}{8}, \quad \sec(\theta) =1715,cot⁡(θ)\displaystyle = \frac{17}{15}, \quad \cot(\theta) =158\displaystyle = \frac{15}{8}
4

Angle θ\theta is an acute angle and sin⁡(θ)=34\sin(\theta) = \frac{3}{4}. Find the exact values of the other five trigonometric ratios for θ\theta, with rationalized denominators.

Sketch a right triangle from sin⁡(θ)=OppositeHypotenuse=34\sin(\theta) = \frac{\opp{\text{Opposite}}}{\text{Hypotenuse}} = \frac{3}{4}: which side is 44, and where does 424^2 go in the Pythagorean theorem?

Sketch a right triangle with Opposite =3= \opp{3} and Hypotenuse =4= 4, then use the Pythagorean theorem to find the adjacent leg b\adj{b}:
32+b2=429+b2=16b=7\displaystyle \begin{aligned} \opp{3}^2 + \adj{b}^2 &= 4^2 \\ 9 + \adj{b}^2 &= 16 \\ \adj{b} &= \adj{\sqrt{7}} \end{aligned}
(Watch out: Because sin⁡(θ)=OppHyp\sin(\theta) = \frac{\opp{\text{Opp}}}{\text{Hyp}}, 44 is the hypotenuse and goes alone on the right side of the equation. Treating 33 and 44 as the two legs of a 3-4-53\text{-}4\text{-}5 triangle makes the third side 55 instead of 7\sqrt{7} and gives the wrong ratios cos⁡(θ)=45\cos(\theta) = \frac{4}{5} and tan⁡(θ)=34\tan(\theta) = \frac{3}{4}.)
Read off the remaining five ratios and rationalize the denominators:
cos⁡(θ)=74,tan⁡(θ)=377,csc⁡(θ)=43,sec⁡(θ)=477,cot⁡(θ)=73\displaystyle \begin{aligned} \cos(\theta) &= \frac{\adj{\sqrt{7}}}{4}, &\quad \tan(\theta) &= \frac{3\sqrt{7}}{7}, &\quad \csc(\theta) &= \frac{4}{\opp{3}}, \\[4pt] \sec(\theta) &= \frac{4\sqrt{7}}{7}, &\quad \cot(\theta) &= \frac{\adj{\sqrt{7}}}{\opp{3}} \end{aligned}
5

In a right triangle with a 30∘30^\circ angle, the side adjacent to the 30∘30^\circ angle has length 1212. Without using a calculator, find the exact length of the hypotenuse xx.

Sketch the 30∘-60∘-90∘30^\circ\text{-}60^\circ\text{-}90^\circ special triangle with sides 1,3,21, \sqrt{3}, 2: which side is adjacent to 30∘30^\circ, and what is the exact fraction for cos⁡(30∘)\cos(30^\circ)?

From the 30∘30^\circ angle, 12\adj{12} is Adjacent and xx is the Hypotenuse, so use cosine:
cos⁡(30∘)\displaystyle \cos(30^\circ) =12x\displaystyle = \frac{\adj{12}}{x}
In the 30∘-60∘-90∘30^\circ\text{-}60^\circ\text{-}90^\circ triangle, the side opposite 30∘30^\circ is 1\opp{1}, the side adjacent to 30∘30^\circ is 3\adj{\sqrt{3}}, and the hypotenuse is 22, so cos⁡(30∘)=32\cos(30^\circ) = \frac{\adj{\sqrt{3}}}{2}:
32\displaystyle \frac{\adj{\sqrt{3}}}{2} =12x\displaystyle = \frac{\adj{12}}{x}
(Watch out: Putting 11 adjacent to 30∘30^\circ instead of opposite 30∘30^\circ uses cos⁡(30∘)=12\cos(30^\circ) = \frac{1}{2} and gives the wrong answer 2424; and multiplying 12⋅3212 \cdot \frac{\sqrt{3}}{2} instead of solving for xx in the denominator gives the wrong answer 636\sqrt{3}.)
Solve for xx and rationalize the denominator:
x\displaystyle x =1232\displaystyle = \frac{\adj{12}}{\frac{\adj{\sqrt{3}}}{2}} =243\displaystyle = \frac{24}{\sqrt{3}} =83\displaystyle = 8\sqrt{3}
6

In a right triangle, the side adjacent to acute angle θ\theta has length 77 and the hypotenuse has length 1111. Find the measure of angle θ\theta, rounded to the nearest tenth of a degree.

You know the Adjacent side and the Hypotenuse, and you want the angle θ\theta. Do you need a regular trig function or an inverse trig function?

From angle θ\theta, 7\adj{7} is Adjacent and 1111 is the Hypotenuse:
cos⁡(θ)\displaystyle \cos(\theta) =711\displaystyle = \frac{\adj{7}}{11}
Apply inverse cosine cos⁡−1\cos^{-1} in Degree mode to solve for the angle θ\theta: (Watch out: Use cos⁡−1\cos^{-1} in Degree mode to work backwards from the side ratio to the angle. Typing regular cos⁡(711)\cos(\tfrac{7}{11}) gives 1.01.0, and leaving the calculator in Radian mode gives 0.90.9.)
θ\displaystyle \theta =cos⁡−1 ⁣(711)≈50.5∘\displaystyle = \cos^{-1}\!\left(\frac{\adj{7}}{11}\right) \approx 50.5^\circ
7

From the top of a 120-foot120\text{-foot} lighthouse, the keeper looks down at a boat on the water at an angle of depression of 18∘18^\circ. How far is the boat horizontally from the base of the lighthouse? Round to the nearest tenth of a foot.

Draw the horizontal sightline from the top of the lighthouse first: where does the 18∘18^\circ angle of depression go, and which side of the triangle is the 120-ft120\text{-ft} height?

Put the 18∘18^\circ angle of depression between the top horizontal sightline and the line of sight, which matches the 18∘18^\circ angle of elevation at the boat on the water. From that 18∘18^\circ angle at the water, the 120-ft\opp{120}\text{-ft} lighthouse is Opposite and the horizontal distance x\adj{x} is Adjacent:
tan⁡(18∘)\displaystyle \tan(18^\circ) =120x\displaystyle = \frac{\opp{120}}{\adj{x}}
(Watch out: Putting the 18∘18^\circ angle against the vertical lighthouse wall instead of the horizontal sightline makes 120120 Adjacent and xx Opposite, which sets up tan⁡(18∘)=x120\tan(18^\circ) = \frac{x}{120} and gives the wrong answer 39.0 ft39.0\text{ ft}.)
Swap x\adj{x} and tan⁡(18∘)\tan(18^\circ):
x\displaystyle \adj{x} =120tan⁡(18∘)≈369.3 ft\displaystyle = \frac{\opp{120}}{\tan(18^\circ)} \approx 369.3\text{ ft}