Just as the Law of Sines provided the appropriate equations to solve a number of applications, the Law of Cosines is applicable to situations in which the given data fits the cosine models. We may see these in the fields of navigation, surveying, astronomy, and geometry, just to name a few.
Example 3: Using the Law of Cosines to Solve a Communication Problem
On many cell phones with GPS, an approximate location can be given before the GPS signal is received. This is accomplished through a process called triangulation, which works by using the distances from two known points. Suppose there are two cell phone towers within range of a cell phone. The two towers are located 6000 feet apart along a straight highway, running east to west, and the cell phone is north of the highway. Based on the signal delay, it can be determined that the signal is 5050 feet from the first tower and 2420 feet from the second tower. Determine the position of the cell phone north and east of the first tower, and determine how far it is from the highway.
Solution
For simplicity, we start by drawing a diagram similar to Figure 6 and labeling our given information.
Using the Law of Cosines, we can solve for the angle [latex]\theta [/latex]. Remember that the Law of Cosines uses the square of one side to find the cosine of the opposite angle. For this example, let [latex]a=2420,b=5050[/latex], and [latex]c=6000[/latex]. Thus, [latex]\theta [/latex] corresponds to the opposite side [latex]a=2420[/latex].
To answer the questions about the phone’s position north and east of the tower, and the distance to the highway, drop a perpendicular from the position of the cell phone, as in Figure 7. This forms two right triangles, although we only need the right triangle that includes the first tower for this problem.
Using the angle [latex]\theta =23.3^\circ [/latex] and the basic trigonometric identities, we can find the solutions. Thus
The cell phone is approximately 4638 feet east and 1998 feet north of the first tower, and 1998 feet from the highway.
Example 4: Calculating Distance Traveled Using a SAS Triangle
Returning to our problem at the beginning of this section, suppose a boat leaves port, travels 10 miles, turns 20 degrees, and travels another 8 miles. How far from port is the boat? The diagram is repeated here in Figure 8.
Solution
The boat turned 20 degrees, so the obtuse angle of the non-right triangle is the supplemental angle, [latex]180^\circ -20^\circ =160^\circ [/latex]. With this, we can utilize the Law of Cosines to find the missing side of the obtuse triangle—the distance of the boat to the port.
The boat is about 17.7 miles from port.