Skip to main content
Mathematics LibreTexts

8.1: Non-Right Triangles - Laws of Sines and Cosines

  • Page ID
    13875
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    Although right triangles allow us to solve many applications, it is more common to find scenarios where the triangle we are interested in does not have a right angle.

    Two radar stations located 20 miles apart both detect a UFO located between them. The angle of elevatioTwo radar stations are shown on a horizontal axis, separated by 20 miles. An airplane is shown between the stations and above the horizontal axis.  A dashed line is drawn from the airplane down to the horizontal axis. A line from the left station to the airplane has an angle of 15 degrees to the horizontal axis. A line from the right station to the airplane has an angle 35 degrees to the horizontal axis.n measured by the first station is 35 degrees. The angle of elevation measured by the second station is 15 degrees. What is the altitude of the UFO?

    We see that the triangle formed by the UFO and the two stations is not a right triangle. Of course, in any triangle we could draw an altitude, a perpendicular line from one vertex to the opposite side, forming two right triangles, but it would be nice to have methods for working directly with non-right triangles. In this section, we will expand upon the right triangle trigonometry we learned in Chapter 5, and adapt it to non-right triangles.

    Law of Sines

    Given an arbitrary non-right triangle, we can drop an altitude, which we temporarily label \(h\), to create two right triangles.

    Using the right triangle relationships,A non-right triangle is shown. An angle alpha is opposite side labeled a. An angle beta is opposite side labeled b. An angle gamma is opposite side labeled c.  A dashed line labeled h is drawn from the corner with angle gamma to the side c, forming a right angle with side c.

    \[\sin (\alpha ) = \dfrac{h}{b}\text{ and }\sin (\beta ) = \dfrac{h}{a}\nonumber\]

    Solving both equations for \(h\), we get \(b\sin (\alpha ) = h\) and \(a\sin (\beta ) = h\). Since the \(h\) is the same in both equations, we establish \(b\sin (\alpha ) = a\sin (\beta )\). Dividing both sides by \(ab\), we conclude that

    \[\dfrac{\sin (\alpha )}{a} = \dfrac{\sin (\beta )}{b}\nonumber\]

    Had we drawn the altitude to be perpendicular to side \(b\) or \(a\), we could similarly establish

    \[\dfrac{\sin (\alpha )}{a} = \dfrac{\sin (\gamma )}{c}\text{ and }\dfrac{\sin (\beta )}{b} = \dfrac{\sin (\gamma )}{c}\nonumber\]

    Collectively, these relationships are called the Law of Sines.

    LAW OF SINES

    Given a triangle with angles and sides opposite labeled as shown, the ratio of sine of angle to length of the opposite side will always be equal, or, symbolically,

    \[\dfrac{\sin (\alpha )}{a} = \dfrac{\sin (\beta )}{b} = \dfrac{\sin (\gamma )}{c}\]A non-right triangle is shown. An angle alpha is opposite side labeled a. An angle beta is opposite side labeled b. An angle gamma is opposite side labeled c.

    For clarity, we call side \(a\) the corresponding side of angle \(\alpha\).

    Similarly, we call angle \(\alpha\), the corresponding angle of side \(a\).

    Likewise for side \(b\) and angle \(\beta\), and for side \(c\) and angle \(\gamma\).

    When we use the law of sines, we use any pair of ratios as an equation. In the most straightforward case, we know two angles and one of the corresponding sides.

    Example \(\PageIndex{1}\)

    In the triangle shown here, solve for the unknown sides and angle.

    A non-right triangle is shown. An angle 30 degrees is opposite side labeled b. An angle 50 degrees is opposite side labeled 10. An obtuse angle gamma is opposite side labeled c.

    Solution

    Solving for the unknown angle is relatively easy, since the three angles must add to 180 degrees.

    From this, we can determine that

    \[\gamma = 180^{\circ} - 50^{\circ} - 30^{\circ} = 100^{\circ}\nonumber\]

    To find an unknown side, we need to know the corresponding angle, and we also need another known ratio.

    Since we know the angle \(50^{\circ}\) and its corresponding side, we can use this for one of the two ratios. To look for side \(b\), we would use its corresponding angle, \(30^{\circ}\).

    \[\dfrac{\sin (50^\circ )}{10} = \dfrac{\sin (30^\circ )}{b}\nonumber\]Multiply both sides by \(b\)
    \[b\dfrac{\sin (50^\circ )}{10} = \sin (30^\circ )\nonumber\]Divide, or multiply by the reciprocal, to solve for \(b\)
    \[b = \sin (30^\circ )\dfrac{10}{\sin (50^\circ )} \approx 6.527\nonumber\]

    Similarly, to solve for side \(c\), we set up the equation

    \[\dfrac{\sin (50^\circ )}{10} = \dfrac{\sin (100^\circ )}{c}\nonumber\]
    \[c = \sin (100^\circ )\dfrac{10}{\sin (50^\circ )} \approx 12.856\nonumber\]

    Example \(\PageIndex{2}\)

    Find the elevation of the UFO from the beginning of the section.

    Two radar stations are shown on a horizontal axis, separated by 20 miles. An airplane is shown between the stations and above the horizontal axis.  A dashed line labeled h is drawn from the airplane down to the horizontal axis. A line labeled a from the left station to the airplane has an angle of 15 degrees to the horizontal axis. A line from the right station to the airplane has an angle 35 degrees to the horizontal axis.

    Solution

    To find the elevation of the UFO, we first find the distance from one station to the UFO, such as the side a in the picture, then use right triangle relationships to find the height of the UFO, \(h\).

    Since the angles in the triangle add to 180 degrees, the unknown angle of the triangle must be \(180^{\circ} - 15^{\circ} - 35^{\circ} = 130^{\circ}\). This angle is opposite the side of length 20, allowing us to set up a Law of Sines relationship:

    \[\dfrac{\sin (130^\circ )}{20} = \dfrac{\sin (35^\circ )}{a}\nonumber\]Multiply by \(a\)
    \[a\dfrac{\sin (130^\circ )}{20} = \sin (35^\circ )\nonumber\]Divide, or multiply by the reciprocal, to solve for \(a\)
    \[a = \dfrac{20\sin (35^\circ )}{\sin (130^\circ )} \approx 14.975\nonumber\]Simplify

    The distance from one station to the UFO is about 15 miles. Now that we know a, we can use right triangle relationships to solve for \(h\).

    \[\sin (15^\circ ) = \dfrac{opposite}{hypotenuse} = \dfrac{h}{a} = \dfrac{h}14.975\nonumber\]Solve for \(h\)
    \[h = 14.975\sin (15^\circ ) \approx 3.876\nonumber\]

    The UFO is at an altitude of 3.876 miles.

    In addition to solving triangles in which two angles are known, the law of sines can be used to solve for an angle when two sides and one corresponding angle are known.

    Example \(\PageIndex{3}\)

    In the triangle shown here, solve for the unknown sides and angles.

    A non-right triangle is shown. An angle 85 degrees is opposite a side length 12. An angle beta is opposite a side length 9. An angle alpha is opposite a side length a.

    Solution

    In choosing which pair of ratios from the Law of Sines to use, we always want to pick a pair where we know three of the four pieces of information in the equation. In this case, we know the angle \(85^{\circ}\) and its corresponding side, so we will use that ratio. Since our only other known information is the side with length 9, we will use that side and solve for its corresponding angle.

    \[\dfrac{\sin (85^\circ )}{12} = \dfrac{\sin (\beta )}{9}\nonumber\]Isolate the unknown
    \[\dfrac{9\sin (85^\circ )}{12} = \sin (\beta )\nonumber\]Use the inverse sine to find a first solution

    Remember when we use the inverse function that there are two possible answers.

    \[\beta = {\sin ^{ - 1}}\left( \dfrac{9\sin (85^\circ )}{12} \right) \approx 48.3438^\circ \nonumber\]By symmetry we find the second possible solution
    \[\beta = 180^\circ - 48.3438^\circ = 131.6562^\circ \nonumber\]

    In this second case, if \(\beta \approx 132^{\circ}\), then \(\alpha\) would be \(\alpha = 180^{\circ} - 85^{\circ} - 132^{\circ} = -37^{\circ}\), which doesn’t make sense, so the only possibility for this triangle is \(\beta = 48.3438^{\circ}\).

    With a second angle, we can now easily find the third angle, since the angles must add to \(180^{\circ}\), so \(\alpha = 180^{\circ} – 85^{\circ} – 48.3438^{\circ} = 46.6562^{\circ}\).

    Now that we know \(\alpha\), we can proceed as in earlier examples to find the unknown side \(a\).

    \[\dfrac{\sin (85^\circ )}{12} = \dfrac{\sin (46.6562^\circ )}{a}\nonumber\]
    \[a = \dfrac{12\sin (46.6562^\circ )}{\sin (85^\circ )} \approx 8.7603\nonumber\]

    Notice that in the problem above, when we use Law of Sines to solve for an unknown angle, there can be two possible solutions. This is called the ambiguous case, and can arise when we know two sides and a non-included angle. In the ambiguous case we may find that a particular set of given information can lead to 2, 1 or no solution at all. However, when an accurate picture of the triangle or suitable context is available, we can determine which angle is desired.

    Exercise \(\PageIndex{1}\)

    Given \(\alpha = 80^\circ ,a = 120,{\rm{ and }}b = 121\), find the corresponding and missing side and angles. If there is more than one possible solution, show both.

    Answer

    \[\frac{\sin (80^{\circ })}{120}=\frac{\sin (\beta )}{121}\nonumber\]

    \[1^{\text{st}}\text{ possible solution }\begin{array}{l}\beta = 83.2^\circ \\\gamma = 16.8^\circ \\c = 35.2\end{array}\nonumber\]

    \[2^{\text{nd}}\text{ solution }\begin{array}{l}\beta = 96.8^\circ \\\gamma = 3.2^\circ \\c = 6.9\end{array}\nonumber\]

    If we were given a picture of the triangle it may be possible to eliminate one of these

    Example \(\PageIndex{4}\)

    Find all possible triangles if one side has length 4 opposite an angle of \(50^{\circ}\) and a second side has length 10.

    Solution

    Using the given information, we can look for the angle opposite the side of length 10.

    \[\dfrac{\sin (50^\circ )}{4} = \dfrac{\sin (\alpha )}{10}\nonumber\]
    \[\sin (\alpha ) = \dfrac{10\sin (50^\circ )}{4} \approx 1.915\nonumber\]

    Since the range of the sine function is [-1, 1], it is impossible for the sine value to be 1.915. There are no triangles that can be drawn with the provided dimensions.

    Example \(\PageIndex{5}\)

    Find all possible triangles if one side has length 6 opposite an angle of \(50^{circ}\) and a second side has length 4.

    Solution

    Using the given information, we can look for the angle opposite the side of length 4.

    \[\dfrac{\sin (50^\circ )}{6} = \dfrac{\sin (\alpha )}{4}\nonumber\]
    \[\sin (\alpha ) = \dfrac{4\sin (50^\circ )}{6} \approx 0.511\nonumber\]Use the inverse to find one solution
    \[\alpha = {\sin ^{ - 1}}\left( {0.511} \right) \approx 30.710^\circ \nonumber\]By symmetry there is a second possible solution
    \[\alpha = 180^\circ - 30.710^\circ = 149.290^\circ \nonumber\]

    If we use the angle \(30.710^\circ \), the third angle would be \(180^\circ - 50^\circ - 30.710^\circ = 99.290^\circ \). We can then use Law of Sines again to find the third side.

    \[\dfrac{\sin (50^\circ )}{6} = \dfrac{\sin (99.290^\circ )}{c}\nonumber\]Solve for \(c\)
    \[c = 7.730\nonumber\]

    If we used the angle \(\alpha = 149.290^{\circ}\), the third angle would be \(180^{\circ} – 50^{\circ} – 149.290^{\circ} = –19.29^{\circ}\), which is impossible, so the previous triangle is the only possible one.

    Exercise \(\PageIndex{2}\)

    Given \(\alpha = 80^\circ ,a = 100,{\rm{ and }}b = 10\) find the missing side and angles. If there is more than one possible solution, show both.

    Answer

    \[\dfrac{\sin \left( {80^\circ } \right)}{120} = \dfrac{\sin \left( \beta \right)}{10}\quad \beta = 5.65^\circ \text{ or }\beta = 174.35^\circ \nonumber\]; only the first is reasonable.
    \[\gamma = 180^\circ - 5.65^\circ - 80^\circ = 94.35^\circ \nonumber\]
    \[\frac{\sin (80^{\circ })}{120}=\frac{\sin (94.35 ^{\circ })}{c}\nonumber\]
    \[\beta = 5.65^\circ ,\gamma = 94.35^\circ ,c = 101.25\nonumber\]

    Law of Cosines

    Suppose a boat leaves port, travels 10 miles, turns 20 degrees, and travels another 8 miles. How far from port is the boat?A vertical line length 10 miles is shown. From the top, a second line length 8 miles is drawn 20 degrees counterclockwise from vertical. from the end a dashed line is drawn back to the bottom of the first line.

    Unfortunately, while the Law of Sines lets us address many non-right triangle cases, it does not allow us to address triangles where the one known angle is included between two known sides, which means it is not a corresponding angle for a known side. For this, we need another tool.

    Given an arbitrary non-right triangle, we can drop an altitude, which we teA non-right triangle is shown, with angle alpha opposite side a, angle beta opposite side b, and angle gamma opposite side c. A dashed line labeled h is drawn from the corner with angle beta down to side b meeting it at a right angle. The segment of side b to the left of the intersection is labeled x, and the segment to the right is labeled b minus x.mporarily label \(h\), to create two right triangles. We will divide the base \(b\) into two pieces, one of which we will temporarily label \(x\).

    From this picture, we can establish the right triangle relationship

    \[\cos (\alpha ) = \dfrac{x}{c}\text{ or equivalently,} x = c\cos \left( \alpha \right)\nonumber\]

    Using the Pythagorean Theorem, we can establish

    \[{\left( {b - x} \right)^2} + {h^2} = {a^2}\text{ and }{x^2} + {h^2} = {c^2}\nonumber\]

    Both of these equations can be solved for \({h^2}\)

    \[{h^2} = {a^2} - {\left( {b - x} \right)^2}\text{ and }{h^2} = {c^2} - {x^2}\nonumber\]

    Since the left side of each equation is \({h^2}\), the right sides must be equal

    \[{c^2} - {x^2} = {a^2} - {\left( {b - x} \right)^2}\nonumber\]Multiply out the right
    \[{c^2} - {x^2} = {a^2} - \left( {b^2} - 2bx + {x^2} \right)\nonumber\]Simplify
    \[{c^2} - {x^2} = {a^2} - {b^2} + 2bx - {x^2}\nonumber\]
    \[{c^2} = {a^2} - {b^2} + 2bx\nonumber\]Isolate \({a^2}\)
    \[{a^2} = {c^2} + {b^2} - 2bx\nonumber\]Substitute in \(c\cos (\alpha ) = x\) from above
    \[{a^2} = {c^2} + {b^2} - 2bc\cos (\alpha )\nonumber\]

    This result is called the Law of Cosines. Depending upon which side we dropped the altitude down from, we could have established this relationship using any of the angles. The important thing to note is that the right side of the equation involves an angle and the sides adjacent to that angle – the left side of the equation involves the side opposite that angle.

    LAW OF COSINES

    Given a triangle with angles and opposite sides labeled as shown,A non-right triangle is shown. An angle alpha is opposite side labeled a. An angle beta is opposite side labeled b. An angle gamma is opposite side labeled c.

    \[{a^2} = {c^2} + {b^2} - 2bc\cos (\alpha )\]

    \[{b^2} = {a^2} + {c^2} - 2ac\cos (\beta )\]

    \[{c^2} = {a^2} + {b^2} - 2ab\cos (\gamma )\]

    Notice that if one of the angles of the triangle is 90 degrees, cos(\(90^{circ}\)) = 0, so the formula

    \[{c^2} = {a^2} + {b^2} - 2ab\cos (90^\circ )\nonumber\]Simplifies to
    \[{c^2} = {a^2} + {b^2}\nonumber\]

    You should recognize this as the Pythagorean Theorem. Indeed, the Law of Cosines is sometimes called the Generalized Pythagorean Theorem, since it extends the Pythagorean Theorem to non-right triangles.

    Example \(\PageIndex{6}\)

    Returning to our question from earlier, suppose a boat leaves port, travels 10 miles, turns 20 degrees, and travels another 8 miles. How far from port is theA vertical line length 10 miles is shown. From the top, a second line length 8 miles is drawn 20 degrees counterclockwise from vertical. from the end a dashed line is drawn back to the bottom of the first line. boat?

    Solution

    The boat turned 20 degrees, so the obtuse angle of the non-right triangle shown in the picture is the supplemental angle, \(180^{\circ} - 20^{\circ} = 160^{\circ}\).

    With this, we can utilize the Law of Cosines to find the missing side of the obtuse triangle – the distance from the boat to port.

    \[{x^2} = {8^2} + {10^2} - 2(8)(10)\cos (160^\circ )\nonumber\]Evaluate the cosine and simplify
    \[{x^2} = 314.3508\nonumber\]Square root both sides
    \[x = \sqrt {314.3508} = 17.730\nonumber\]

    The boat is 17.73 miles from port.

    Example \(\PageIndex{7}\)

    Find the unknown side and angles of this triangle.

    A non-right triangle is shown. An angle 30 degrees is opposite side x. An angle theta is opposite side length 10. An angle phi is opposite side length 12.

    Solution

    Notice that we don’t have both pieces of any side/angle pair, so the Law of Sines would not work with this triangle.

    Since we have the angle included between the two known sides, we can turn to Law of Cosines.

    Since the left side of any of the Law of Cosines equations involves the side opposite the known angle, the left side in this situation will involve the side x. The other two sides can be used in either order.

    \[{x^2} = {10^2} + {12^2} - 2(10)(12)\cos (30^\circ )\nonumber\]Evaluate the cosine
    \[{x^2} = {10^2} + {12^2} - 2(10)(12)\dfrac{\sqrt 3 }{2}\nonumber\]Simplify
    \[{x^2} = 244 - 120\sqrt 3 \nonumber\]Take the square root
    \[x = \sqrt {244 - 120\sqrt 3 } \approx 6.013\nonumber\]

    Now that we know an angle and its corresponding side, we can use the Law of Sines to fill in the remaining angles of the triangle. Solving for angle \(\theta\),

    \[\dfrac{\sin (30^\circ )}{6.013} = \dfrac{\sin (\theta )}{10}\nonumber\]
    \[\sin (\theta ) = \dfrac{10\sin (30^\circ )}{6.013}\nonumber\]Use the inverse sine
    \[\theta = {\sin ^{ - 1}}\left( \dfrac{10\sin (30^\circ )}{6.013} \right) \approx 56.256^\circ \nonumber\]

    The other possibility for \(\theta\) would be \(\theta = 180^{\circ} – 56.256^{\circ} = 123.744^{\circ}\). In the original picture, \(\theta\) is an acute angle, so 123.744°\(^{\circ}\) doesn’t make sense if we assume the picture is drawn to scale.

    Proceeding with \(\theta = 56.256^{\circ}\), we can then find the third angle of the triangle:

    \[\phi = 180^\circ - 30^\circ - 56.256^\circ = 93.744^\circ \nonumber\]

    In addition to solving for the missing side opposite one known angle, the Law of Cosines allows us to find the angles of a triangle when we know all three sides.

    Example \(\PageIndex{8}\)

    Solve for the angle \(\alpha\) in the triangle shown.

    A non-right triangle. Angle alpha is opposite side length 20.  The two sides adjacent to angle alpha have lengths 18 and 25.

    Solution

    Using the Law of Cosines,

    \[{20^2} = {18^2} + {25^2} - 2(18)(25)\cos (\alpha )\nonumber\]Simplify
    \[400 = 949 - 900\cos (\alpha )\nonumber\]
    \[- 549 = - 900\cos (\alpha )\nonumber\]
    \[\dfrac{ - 549}{ - 900} = \cos (\alpha )\nonumber\]
    \[\alpha = {\cos ^{ - 1}}\left( \dfrac{ - 549}{ - 900} \right) \approx 52.410^\circ \nonumber\]

    Exercise \(\PageIndex{3}\)

    Given \(\alpha = 25^\circ ,b = 10,{\rm{ and }}c = 20\)find the missing side and angles.

    Answer

    \[{a^2} = {10^2} + {20^2} - 2(10)(20)\cos (25^\circ )\quad a = 11.725\nonumber\]
    \[\dfrac{\sin \left( {25^\circ } \right)}{11.725} = \dfrac{\sin \left( \beta \right)}{10}\quad \beta = 21.1^\circ \text{ or }\beta = 158.9^\circ \nonumber\]
    only the first is reasonable since 25° + 158.9° would exceed 180°.
    \[\gamma = 180^\circ - 21.1^\circ - 25^\circ = 133.9^\circ \nonumber\]
    \[\beta = 21.1^\circ , \gamma = 133.9^\circ , a = 11.725\nonumber\]

    Notice that since the inverse cosine can return any angle between 0 and 180 degrees, there will not be any ambiguous cases when using Law of Cosines to find an angle.

    Example \(\PageIndex{9}\)

    On many cell phones with GPS, an approximate location can be given before the GPS signal is received. This is done by a process called triangulation, which works by using the distance from two known points. Suppose there are two cell phone towers within range of you, located 6000 feet apart along a straight highway that runs east to west, and you know you are north of the highway. Based on the signal delay, it can be determined you are 5050 feet from the first tower, and 2420 feet from the second. Determine your position north and east of the first tower, and determine how far you are from the highway.

    Solution

    For simplicity, we start by drawing a picture and labeling our given information. Using the Law of Cosines, we can solve fTwo towers are shown horizontally 6000 feet apart.  A cell phone is shown horizontally between and vertically above the towers.  A line from the left tower to the cell phone has length 5050 feet, and forms an angle with horizontal of theta.  A line from the right tower to the cell phone has length 2420 feet.or the angle \(\theta\).

    \[{2420^2} = {6000^2} + {5050^2} - 2(5050)(6000)\cos (\theta )\nonumber\]
    \[5856400 = 61501500 - 60600000\cos (\theta )\nonumber\]
    \[- 554646100 = - 60600000\cos (\theta )\nonumber\]
    \[\cos (\theta ) = \dfrac-554646100-60600000 = 0.9183\nonumber\]
    \[\theta = {\cos ^{ - 1}}(0.9183) = 23.328^\circ \nonumber\]

    Using this angle, we could then use right triangles to find the position of the cell phone relative to the western tower.Right triangle is shown, with a tower on the bottom left corner, right angle on the bottom right, and cell phone at the top right corner. The hypotenuse from tower to cell phone has length 5050 feet. The horizontal leg is labeled x and vertical leg is labeled y. The bottom left angle is 23.3 degrees.

    \[\cos (23.328^\circ ) = \dfrac{x}5050\nonumber\]
    \[x = 5050\cos (23.328^\circ ) \approx 4637.2\text{ feet}\nonumber\]
    \[\sin (23.328^\circ ) = \dfrac{y}5050\nonumber\]
    \[y = 5050\sin (23.328^\circ ) \approx 1999.8\text{ feet}\nonumber\]

    You are 5050 ft from the tower and \(23.328^\circ \) north of east (or, equivalently, 66.672° east of north). Specifically, you are about 4637 feet east and 2000 feet north of the first tower.

    Note that if you didn’t know whether you were north or south of the towers, our calculations would have given two possible locations, one north of the highway and one south. To resolve this ambiguity in real world situations, locating a position using triangulation requires a signal from a third tower.

    Example \(\PageIndex{10}\)

    To measure the height of a hill, a woman measures the angle of elevation to the top of the hill to be 24 degrees. She then moves back 200 feet and measures the angle of elevation to be 22 degrees. Find the height of the hill.

    Solution

    As with many problems of this nature, it will be helpful to draw a picture.

    A hill with height h is shown.  From the top, two lines are drawn to points on the ground to the left of the hill. The distance between the two points on the ground is 200 feet. The angle of the first line is 22 degrees and the angle of the second line is 24 degrees.

    Notice there are three triangles formed here – the right triangle including the height \(h\) and the 22 degree angle, the right triangle including the height \(h\) and the 24 degree angle, and the (non-right) obtuse triangle including the 200 ft side. Since this is the triangle we have the most information for, we will begin with it. It may seem odd to work with this triangle since it does not include the desired side \(h\), but we don’t have enough information to work with either of the right triangles yet.

    We can find the obtuse angle of the triangle, since it and the angle of 24 degrees complete a straight line – a 180 degree angle. The obtuse angle must be \(180^{\circ} - 24^{\circ} = 156^{\circ}\). From this, we can determine that the third angle is \(2^{\circ}\). We know one side is 200 feet, and its corresponding angle is \(2^{\circ}\), so by introducing a temporary variable \(x\) for one of the other sides (as shown below), we can use Law of Sines to solve for this length \(x\).

    A horizontal axis is shown.  Two lines are shown, one at 22 degrees and the second at 24 degrees, with the distance between where the meet the horizontal axis labeled as 200 feet.  The two lines meet at a point, and a dashed vertical line length h is drawn down to the horizontal axis. The line at angle 24 degrees has length labeled x.  The two angled lines and the horizontal axis form a non-right triangle, with one side 22 degrees, the second angle 156 degrees, the supplement of 24 degrees, and the third angle at the top of 2 degrees.

    \[\dfrac{x}{\sin (22^\circ )} = \dfrac{200}{\sin (2^\circ )}\nonumber\]Setting up the Law of Sines
    \[x = \sin (22^\circ )\dfrac{200}{\sin (2^\circ )}\nonumber\]isolating the \(x\) value
    \[x = 2146.77\text{ ft}\nonumber\]

    Now that we know \(x\), we can use right triangle properties to solve for \(h\).

    \[\sin (24^\circ ) = \dfrac{\rm{opposite}}{\rm{hypotenuse}} = \dfrac{h}{x} = \dfrac{h}{2146.77}\nonumber\]
    \[h = 2146.77\sin (24^\circ ) = 873.17\text{ ft}\nonumber\] The hill is 873 feet high.

    Important Topics of This Section

    • Law of Sines
      Solving for sides
      Solving for angles
      Ambiguous case, 0, 1 or 2 solutions
    • Law of Cosines
      Solving for sides
      Solving for angles
    • Generalized Pythagorean Theorem

    This page titled 8.1: Non-Right Triangles - Laws of Sines and Cosines is shared under a CC BY-SA 4.0 license and was authored, remixed, and/or curated by David Lippman & Melonie Rasmussen (The OpenTextBookStore) via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.