// Chapter 27.10 · Precalculus · Applications of Trigonometry
Applications of Trigonometry: the Law of Sines, the Law of Cosines, Triangle Area, Angles of Elevation and Depression, Bearings and Trigonometric Equations
A surveyor measuring the width of a river without crossing it, an engineer finding the resultant of two cable tensions and a navigator fixing a position from bearings and distances all use the same tool: solving a triangle from partial information. This page starts with right triangles and angles of elevation and depression, extends to any triangle with the laws of sines and cosines, including the ambiguous case that exams love, and ends with trigonometric equations and with combining two sine waves into one. A triangle solver draws the result, even when there are two solutions.
Law of sines sinAa=sinBb=sinCc=2R, used when a side and its opposite angle are known
Law of cosines c2=a2+b2−2abcosC, used for SSS and SAS
SSA can give 0, 1 or 2 triangles: compare a with h=bsinA
Area 21absinC · Heron s(s−a)(s−b)(s−c)
asinx+bcosx=Rsin(x+φ), R=a2+b2
Right triangles, elevation and depression
Every elevation and depression problem reduces to a right triangle once the picture is drawn correctly. The key is that angles are measured from the horizontal, and that the angle of depression from a high point and the angle of elevation from a low point are alternate angles between parallel lines, so they are equal. Then choose the function that links the side you know with the side you want; usually that is tan, because the horizontal distance is known and the height is wanted.
Standing 50 m from a building, you see its top at an angle of elevation of 32° (eye level at the ground). How tall is the building?
The side adjacent to 32° is 50 m and the opposite side is the height h ⇒ use tan
h=50tan32∘=50(0.62487)
h≈31.24 m (with eyes 1.6 m above the ground, add that to get 32.84 m)
Example K-2 · Angle of depression
From the top of a lighthouse 60 m above the sea, a boat is seen at an angle of depression of 12°. How far is the boat from the base of the lighthouse?
The 12° depression equals the angle of elevation from the boat up to the top
d=tan12∘60=0.2125660
d≈282.28 m
The law of sines and the ambiguous case
Drop the altitude from vertex C to the base. That height can be written two ways, as bsinA and as asinB, and setting them equal gives the law of sines straight away. The law works whenever a side is known together with its opposite angle. The trouble comes in the SSA case, because finding an angle from sinB=k gives an acute angle B and an obtuse angle 180∘−B, and both may be valid. The picture in the triangle solver below shows how a side a shorter than b can swing to touch the base in two places.
K2 Law of sines
sinAa=sinBb=sinCc=2R
R is the circumradius · the longest side is always opposite the largest angle
K3 Ambiguous case (SSA, A acute)
h=bsinA:a<h:0,a=h:1,h<a<b:2,a≥b:1
If A is obtuse or right: a≤b gives no triangle · a>b gives one
Example K-3 · AAS
Triangle ABC has A=40∘,B=60∘,a=10. Find b and c
C=180∘−40∘−60∘=80∘
b=sinAasinB=sin40∘10sin60∘=0.64288.6603
c=sin40∘10sin80∘=0.64289.8481
b≈13.47,c≈15.32
Example K-4 · The ambiguous case SSA
a=7,b=10,A=40∘. How many triangles are there? Find c in every case
h=bsinA=10sin40∘≈6.43 and h<a=7<b=10 ⇒ two triangles (K3)
sinB=710sin40∘≈0.9183 ⇒ B1≈66.67∘ or B2≈113.33∘
C1≈73.33∘, C2≈26.67∘ · c=sinAasinC
Two triangles: c1≈10.43 and c2≈4.89
The law of cosines, area and Heron's formula
The law of cosines is the Pythagorean theorem with a correction term for angles that are not right angles. If C=90∘, the term −2abcosC vanishes and you get c2=a2+b2. The term is negative when C is acute (c gets shorter) and positive when C is obtuse (c gets longer). Finding an angle with the law of cosines is never ambiguous, because arccos returns values from 0° to 180°, exactly the range of a triangle's angles.
K4 Law of cosines
c2=a2+b2−2abcosC,cosC=2aba2+b2−c2
K5 Area
Area=21absinC=s(s−a)(s−b)(s−c),s=2a+b+c
Example K-5 · SAS across a lake
From a point P, the distance to A is 8 km and to B is 11 km, and angle APB is 52°. How far apart are A and B?
Law of cosines: AB2=82+112−2(8)(11)cos52∘
=64+121−176(0.61566)=185−108.36=76.64
AB≈8.75 km
Example K-6 · SSS and Heron
A triangle has sides 7, 8 and 9. Find its area and its largest angle
s=27+8+9=12 · area =12⋅5⋅4⋅3=720=125
The largest angle is opposite the side 9: cosC=2⋅7⋅849+64−81=11232=72
Area 125≈26.83 · largest angle arccos72≈73.40∘
Directions and bearings
Navigation and surveying use two ways of writing a direction. The first, such as N30°E, means face north and then turn 30° toward the east. The second is a three-figure bearing measured clockwise from north, such as 060°. Almost every bearing problem ends the same way: draw a north line at each point, find the interior angles of the triangle, and apply the law of sines or cosines.
K6 Bearings
bearing β:(x,y)=(dsinβ,dcosβ)(x east, y north)
Example K-7 · Two legs of a voyage
A ship sails 30 km on a bearing of 060°, then 40 km on a bearing of 150°. How far is it from the start, and on what bearing?
The change of course is 150° − 60° = 90°, so the angle at the turning point is a right angle
Distance 302+402=50 km
The angle between the first leg and the straight line to the end is arctan3040≈53.13∘, so the bearing is 60∘+53.13∘
50 km on a bearing of about 113.13°
Trigonometric equations and combining waves
A trigonometric equation has infinitely many solutions because the functions are periodic, so problems usually give an interval such as 0≤x<2π. The method: reduce to a single function (using a Pythagorean or double-angle identity), factor as you would an algebraic equation, then find the angles from each factor with reference angles and ASTC. A sum asinx+bcosx can be combined into a single sinusoid, which is the basis of adding AC voltages with phasors.
Write 3sinx+4cosx as Rsin(x+φ) and find its maximum
R=9+16=5 · tanφ=34 ⇒ φ≈53.13∘
5sin(x+53.13∘), maximum 5 — the same arithmetic as adding two phasors in AC circuit analysis
Triangle solver for every case
Choose the kind of data you know and enter the numbers. The solver lists the steps for the law it uses, draws the triangle to scale, and computes the area, perimeter and circumradius. In an SSA case with two solutions, the second triangle is drawn dashed, which shows exactly why it is called the ambiguous case. Try lowering a below the height h to see the case with no triangle.
Common trapsUsing the law of sines to find an angle that could be obtuse and giving only the acute answer · measuring a depression angle from the vertical instead of the horizontal · and dividing both sides of a trig equation by sinx, which loses the solutions of sinx=0; factor instead of dividing.
Practice (with answers)
1A 6 m ladder leans against a wall at 70° to the ground. How high does it reach?
6sin70∘
≈ 5.64 m
2A triangle has a=5,b=7,C=60∘. Find c and the area
c2=25+49−70⋅21=39 · area 21(5)(7)23
c=39≈6.24 · area 4353≈15.16
3a=4,b=10,A=30∘. How many triangles?
h=10sin30∘=5>a=4
No triangle
4Solve 2cosx+3=0 for 0≤x<2π
cosx=−23, reference angle 6π, quadrants II and III
When do I use the law of sines and when the law of cosines?
If you know at least one side together with its opposite angle (AAS, ASA, SSA), use the law of sines. If you know three sides (SSS) or two sides and the angle between them (SAS), there is no opposite pair, so start with the law of cosines and then use either law.
What is the ambiguous case SSA?
When you know two sides and an angle that is not between them, there may be 0, 1 or 2 triangles, because sin B = k has two solutions, B and 180° − B. Compute the height h = b sin A and compare: a < h gives none, a = h gives one right triangle, h < a < b gives two, and a ≥ b gives one (when A is acute).
What are angles of elevation and depression measured from?
Always from the horizontal. The angle of elevation is the angle looking up from the horizontal and the angle of depression is the angle looking down from it. Because two horizontal lines are parallel, the angle of depression from the top of a building to a point on the ground equals the angle of elevation from that point to the top.
How do I solve a trigonometric equation without missing solutions?
Reduce it to a single function such as sin x = k, find the reference angle, and use ASTC to find every quadrant where the function has the sign of k. Then list every solution in the interval the problem gives. If the equation contains 2x or 3x, extend the interval to two or three turns before dividing back.
Mod
Ajarn Mod · Teerawut Savangboon Lecturer in Electrical Engineering, Dhonburi Rajabhat University, Samut Prakan · Profile