Skip to main content
Mathematics LibreTexts

3.2: The Law of Cosines

  • Page ID
    112421
  • \( \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}}\)

    If we know two angles and one side of a triangle, we can use the Law of Sines to solve the triangle. We can also use the Law of Sines when we know two sides and the angle opposite one of them. But the Law of Sines is not helpful for the problem that opened this chapter, finding the distance from Avery to Clio. In this case we know two sides of the triangle, \(a\) and \(c\), and the included angle, \(B\).

    Screen Shot 2022-10-06 at 7.00.29 PM.png

    To solve a triangle when we know two sides and the included angle, we will need a generalization of the Pythagorean theorem known as the Law of Cosines.

    In a right triangle, with \(C = 90^{\circ}\), the Pythagorean theorem tells us that

    \(c^2 = a^2 + b^2\)

    If we allow angle \(C\) to vary, but keep \(a\) and \(b\) the same length, the side \(c\) will grow or shrink, depending on whether we increase or decrease the angle \(C\), as shown below.

    Screen Shot 2022-10-07 at 6.27.37 PM.png

    The Pythagorean theorem is actually a special case of a more general law that applies to all triangles, no matter what the size of angle \(C\). The equation relating the three sides of a triangle is

    \(c^2=a^2+b^2-2 a b \cos C\)

    You can see that when \(C\) is a right angle, \(\cos 90^{\circ}=0\), so the equation reduces to the Pythagorean theorem.

    We can write similar equations involving the angles or \(A\) or \(B\). The three equations are all versions of the Law of Cosines.

    Law of Cosines.

    If the angles of a triangle are \(A, B\), and \(C\), and the opposite sides are respectively \(a, b\), and \(c\), then

    \begin{aligned}
    &a^2=b^2+c^2-2 b c \cos A \\
    &b^2=a^2+c^2-2 a c \cos B \\
    &c^2=a^2+b^2-2 a b \cos C
    \end{aligned}

    Note 3.38 For a proof of the Law of Cosines, see Homework Problems 57 and 58.

    Finding a Side

    Now we can solve the problem of the distance from Avery to Clio. Here is the figure from Section 3.1 showing the location of the three towns.

    Screen Shot 2022-10-07 at 6.32.53 PM.png

    Example 3.39

    How far is it from Avery to Clio?

    Answer

    The angle \(\angle A B C=35^{\circ}+90^{\circ}=125^{\circ}\). Thus, in \(\triangle A B C\) we have \(a=34, c=48\) and \(B=125^{\circ}\). The distance from Avery to Clio is represented by \(b\) in the figure.

    Screen Shot 2022-10-07 at 6.34.32 PM.png

    We know two sides and the included angle, and we choose the version of the Law of Cosines that uses our known angle, \(B\).

    \begin{aligned}
    b^2 &= a^2 + c^2 - 2ac \cos B \quad \quad &&\text{Substitute the known values.} \\
    b^2 &= 34^2 + 48^2 - 2(34)(48)\cos 125^{\circ} &&\text{Simplify the right side.} \\
    b^2 &= 3460 - 3264\cos 125^{\circ} = 5332.153 &&\text{Take square roots.} \\
    b &= 73.02
    \end{aligned}

    Avery is about 73 miles from Clio.

    Caution 3.40

    When simplifying the Law of Cosines, be careful to follow the order of operations. In the previous example, the right side of the equation

    \(b^2=34^2+48^2-2(34)(48) \cos 125^{\circ}\)

    has three terms, and simplifies to

    \begin{aligned}
    &b^2=1156+2304-3264 \cos 125^{\circ} \\
    &b^2=3460-3264(-0.573567364 \ldots)
    \end{aligned}

    Note that 3264 is the coefficient of \(\cos 125^{\circ}\), so it would be incorrect to subtract 3264 from 3460. If you are using a graphing calculator, you can enter the right side of the equation exactly as it is written.

    Checkpoint 3.41

    In \(\triangle A B C, a=11, c=23\), and \(B=87^{\circ}\). Find \(b\), and round your answer to two decimal places.

    Answer

    24.97

    Finding an Angle

    We can also use the Law of Cosines to find an angle when we know all three sides of a triangle. Pay close attention to the algebraic steps used to solve the equation in the next example.

    Example 3.42

    In the triangle at right, \(a = 6, b = 7\), and \(c = 11\). Find angle \(C\).

    Screen Shot 2022-10-07 at 6.41.57 PM.png

    Answer

    We choose the version of the Law of Cosines that uses angle \(C\).

    \begin{aligned}
    c^2 &= a^2 + b^2 - 2ab\cos C \quad \quad &&\text{Substitute the known values.} \\
    11^2 &= 6^2 + 7^2 - 2(6)(7)\cos C &&\text{Simplify each side.} \\
    121 &= 36 + 49 - 84\cos C &&\text{Isolate the cosine term.} \\
    36 &= -84\cos C &&\text{Solve for }\cos C. \\
    \dfrac{-3}{7} &= \cos C &&\text{Solve for }C. \\
    C &= \cos^{-1}\left(\dfrac{-3}{7}\right) = 115.4^{\circ}
    \end{aligned}

    Angle \(C\) is about \(115.4^{\circ}\).

    Checkpoint 3.43

    In \(\triangle A B C, a=5.3, b=4.7\), and \(c=6.1\). Find angle \(B\), and round your answer to two decimal places.

    Answer

    \(48.07^{\circ}\)

    Once we have calculated one of the angles in a triangle, we can use either the Law of Sines or the Law of Cosines to find a second angle. Here is how we would use the Law of Sines to find angle \(A\) in the previous example.

    \begin{aligned}
    \dfrac{\sin A}{a} &=\dfrac{\sin C}{c} \quad \quad &&\text{Substitute the known values}.\\
    \dfrac{\sin A}{6} &=\dfrac{\sin 115.4^{\circ}}{11} &&\text{Solve for }\sin A.\\
    \sin A &=6 \cdot \dfrac{\sin 115.4^{\circ}}{11} \approx 0.4928
    \end{aligned}

    Thus, \(A=\sin ^{-1}(0.4928)=29.5^{\circ}\). (We know that \(A\) is an acute angle because it is opposite the shortest side of the triangle.) Finally,

    \(B=180^{\circ}-(A+C) \approx 35.1^{\circ}\)

    Alternatively, we can use the Law of Cosines to find angle \(A\).

    \begin{aligned}
    a^2 &=b^2+c^2-2 b c \cos A & & \text { Substitute the known values. } \\
    6^2 &=7^2+11^2-2(7)(11) \cos A & & \text { Simplify each side. } \\
    36 &=49+121-154 \cos A & & \text { Isolate the cosine term. } \\
    -134 &=-154 \cos A & & \text { Solve for } \cos \boldsymbol{A} . \\
    \dfrac{67}{77} &=\cos A & & \text { Solve for A. } \\
    A &=\cos ^{-1}\left(\dfrac{67}{77}\right)=29.5^{\circ} & &
    \end{aligned}

    Note 3.44 Using the Law of Sines requires fewer calculations than the Law of Cosines, but the Law of Cosines uses only the original values, instead of the results of our previous calculations and approximations.

    Whenever we round off a number, we introduce inaccuracy into the calculations, and these inaccuracies grow with each additional calculation. Thus, for the sake of accuracy, it is best to use given values in preference to calculated values whenever possible.

    Using the Law of Cosines for the Ambiguous Case

    In Section 3.2 we encountered the ambiguous case:

    If we know two sides \(a\) and \(b\) of a triangle and the acute angle \(\alpha\) opposite one of them, there may be one solution, two solutions, or no solution, depending on the size of \(a\) in relation to \(b\) and \(\alpha\), as shown below.

    The Ambiguous Case.

    1 No solution: \(a < b \sin \alpha\)

    Screen Shot 2022-10-11 at 10.42.57 AM.png

    \(\alpha\) is too short to make a triangle.

    2 One solution: \(a = b \sin \alpha\)

    Screen Shot 2022-10-11 at 10.45.35 AM.png

    \(\alpha\) is exactly the right length to make a right triangle.

    3 Two solutions: \(b \sin \alpha < a < b\)

    Screen Shot 2022-10-11 at 10.46.28 AM.png

    4 One solution: \(a > b\)

    Screen Shot 2022-10-11 at 10.47.03 AM.png

    If \(\alpha\) is an obtuse angle, things are simpler: there is one solution if \(a>b\), and no solution if \(a \leq b\). Because there are always two angles with a given sine, if we use the Law of Sines for the ambiguous case, we must check whether both possible angles result in a triangle. But here is another approach: We can apply the Law of Cosines to find the third side first. With that method, we'll need the quadratic formula.

    Quadratic Formula.

    The solutions of the quadratic equation \(a x^2+b x+c=0, \quad a \neq 0\), are given by

    \(x=\dfrac{-b \pm \sqrt{b^2-4 a c}}{2 a}\)

    A quadratic equation can have one solution, two solutions, or no solution, depending on the value of the discriminant, \(b^2-4 a c\). If we use the Law of Cosines to find a side in the ambiguous case, the quadratic formula will tell us how many triangles have the given properties.

    • If the quadratic equation has one positive solutions, there is one triangle.
    • If the quadratic equation has two positive solutions, there are two triangles.
    • If the quadratic equation has no positive solutions, there is no triangle with the given properties.
    Example 3.45

    In \(\triangle A B C, B=14.4^{\circ}, a=8\), and \(b=3\). Solve the triangle.

    Answer

    We begin by finding the third side of the triangle. Using the Law of Cosines, we have

    \begin{aligned}
    b^2 &= a^2 + c^2 - 2ac \cos B \quad \quad &&\text{Substitute the known values.} \\
    3^2 &= 8^2 + c^2 - 2(8)c\cos 14.4^{\circ} &&\text{Simplify.} \\
    9 &= 64 + c^2 - 16c(0.9686) &&\text{Write the quadratic equation in standard from.} \\
    0 &= c^2 - 15.497c + 55 &&\text{Apply the quadratic formula.}
    \end{aligned}

    \begin{aligned}
    c &= \dfrac{15.497 \pm \sqrt{(-15.497)^2 - 4(1)(55)}}{2(1)} \quad \quad &&\text{Simplify.} \\
    &= \dfrac{15.497 \pm 4.490}{2} = 5.503 \text{ or } 9.994
    \end{aligned}

    Because there are two positive solutions for side \(c\), either \(c=5.503\) or \(c=9.994\), there are two triangles with the given properties. We apply the Law of Cosines again to find angle \(C\) in each triangle.

    For the triangle with \(c=5.503\), we have

    \begin{aligned}
    c^2 &= a^2 + b^2 - 2ab\cos C \quad \quad &&\text{Substitute the known values.} \\
    5.503^2 &= 8^2 +3^2 - 2(8)(3)\cos C &&\text{Solve for }\cos C. \\
    \cos C &= \dfrac{5.503^2 - 64 - 9}{-48} = 0.889876 \\
    C &= \cos^{-1} 0.889876) = 27.1^{\circ}
    \end{aligned}

    and \(A = 180^{\circ} − (14.4^{\circ} + 27.1^{\circ} ) = 138.5^{\circ}\).

    For the triangle with \(c = 9.994\), we have

    \begin{aligned}
    c^2 &= a^2 + b^2 - 2ab\cos C \quad \quad &&\text{Substitute the known values.} \\
    9.994^2 &= 8^2 + 3^2 - 2(8)(3)\cos C &&\text{Solve for }\cos C. \\
    \cos C &= \dfrac{9.994^2 - 64 - 9}{-48} = -0.560027 \\
    C &= \cos^{-1}(-0.560027) = 124.1^{\circ}
    \end{aligned}

    and \(A = 180^{\circ} - (14.4^{\circ} + 124.1^{\circ}) = 41.5^{\circ}\). Both triangles are shown below.

    Screen Shot 2022-10-11 at 11.08.02 AM.png

    Note 3.46 In the previous example, notice that we used the Law of Cosines instead of the Law of Sines to find a second angle in the triangle, because there is only one angle between \(0^{\circ}\) and \(180^{\circ}\) with a given cosine. We don't have to check the results, as we would if we used the Law of Sines.

    Checkpoint 3.47

    Use the Law of Cosines to find all triangles \(A B C\) with \(A=48^{\circ}, a=10\), and \(b=15\).

    Answer

    No Solution.

    Navigation

    Even with the aid of GPS (Global Positioning System) instruments, aircraft pilots and ship captains need to understand navigation based on trigonometry.

    Example 3.48

    The sailing club leaves the marina on a heading \(15^{\circ}\) east of north and sails for 18 miles. They then change course, and after traveling for 12 miles on a heading \(35^{\circ}\) east of north, they experience engine trouble and radio for help. The marina sends a speed boat to rescue them. How far should the speed boat go, and on what heading?

    Answer

    We'd like to find the distance \(x\) and the angle \(\theta\) shown in the figure. In \(\triangle A B C\), we can calculate the angle at point \(B\) where the sailing club changed course:

    \(B = 180^{\circ} - 35^{\circ} + 15^{\circ} = 160^{\circ}\)

    Screen Shot 2022-10-11 at 11.12.20 AM.png

    We know \(a = 12\) and \(c = 18\). We use the Law of Cosines to find \(b\) and \(\angle A\).

    \begin{aligned}
    b^2 &= a^2 + c^2 - 2ac\cos B \quad \quad &&\text{Substitute the known values.} \\
    &= 12^2 + 18^2 - 2(12)18\cos 160^{\circ} &&\text{Evaluate.} \\
    &= 873.95 &&\text{Take positive square root.} \\
    b&= 29.56
    \end{aligned}

    Next, we apply the Law of Cosines again to find \(\angle A\).

    \begin{aligned}
    a^2 &=b^2+c^2-2 b c \cos A & & \text { Substitute the known values. } \\
    12^2 &=29.56^2+18^2-2(29.56)(18) \cos A & & \text { Solve for } \cos \boldsymbol{A} \\
    \cos A &=\dfrac{12^2-29.56^2-18^2}{-2(29.56)(18)}=0.9903 & \\
    C &=\cos ^{-1}(0.9903)=8^{\circ} &
    \end{aligned}

    Thus, \(x=29.56\) and \(\theta=8^{\circ}+15^{\circ}=23^{\circ}\). The speed boat should travel \(29.56\) miles on a heading \(23^{\circ}\) east of north.

    Checkpoint 3.49

    Howard wants to fly from Anchorage to Nome, Alaska, a distance of 540 miles on a heading \(57^{\circ}\) west of north. After flying for some time, he discovers that his heading is in error, and he is actually flying \(47^{\circ}\) west of north. Howard corrects his flight plan and changes course when he is exactly 200 miles from Anchorage. What is his new heading, and how far is he from Nome?

    Answer

    \(62.8^{\circ}\) west of north, \(344.8\) miles

    Which Law to Use

    How can we decide which law, the Law of Sines or the Law of Cosines, is appropriate for a given problem?

    • If we are solving a right triangle, we don’t need the Laws of Sines and Cosines; all we need are the definitions of the trigonometric ratios.
    • But for oblique triangles, we can identify the following cases:
    How to Solve an Oblique Triangle.
    If we know: We can use:
    1. One side and two angles (SAA) 1. Law of Sines, to find another side
    2. Two sides and the angle opposite one of them (SSA, the ambiguous case) 2. Law of Sines, to find another angle, or Law of Cosines, to find another side
    3. Two sides and the included angle (SAS) 3. Law of Cosines, to find the third side
    4. Three sides (SSS) 4. Law of Cosines, to find an angle

    Note 3.50 In the ambiguous case, SSA, the Law of Sines is easier to apply, but there will be two possible angles, and we must check each angle to see if it produces a solution. Using the Law of Cosines involves solving a quadratic equation, but each positive solution of the equation yields a solution of the triangle.

    Example 3.51

    In the triangle at right, which law should you use to find \(\angle B\)? Which law should you use to find \(c\)?

    Screen Shot 2022-10-11 at 11.33.06 AM.png

    We know two sides of the triangle and the angle opposite one of them. We can use the Law of Sines to find \(\angle B\).

    \begin{aligned}
    \dfrac{\sin B}{6} &=\dfrac{\sin 40^{\circ}}{10} \\
    \sin B &=0.3857
    \end{aligned}

    This is the ambiguous case; there are two angles between \(0^{\circ}\) and \(180^{\circ}\) with sine \(0.3857\), and we must check each angle to see if it produces a solution.

    If instead we start by finding side \(c\), we use the Law of Cosines.

    \begin{aligned}
    10^2 &=6^2+c^2-2(6) c \cos 40^{\circ} \\
    c^2-\left(12 \cos 40^{\circ}\right) c-64 &=0 \\
    c &=\dfrac{12 \cos 40^{\circ} \pm \sqrt{\left(-12 \cos 40^{\circ}\right)^2-4(1)(-64)}}{2(1)}
    \end{aligned}

    You can check that the quadratic equation has only one positive solution for \(c\) (or notice that because \(a>b\), angle \(B\) must be acute).

    Checkpoint 3.52

    In the triangle at right, which part of the triangle can you find, and which law should you use?

    Screen Shot 2022-10-11 at 11.37.01 AM.png

    Answer

    We first find side \(c\) using the Law of Cosines

    Review the following skills you will need for this section.

    Algebra Refresher 3.4

    Solve each quadratic equation.

    1 \(2.5x^2 + 6.2 = 816.2\)

    2 \(0.8x^2 - 124 = 376\)

    3 \(2x(2x-3) = 208\)

    4 \(3x(x+5) = 900\)

    5 \(2x^2 - 6x = 233.12\)

    6 \(0.5x^2 + 1.5x = 464\)

    Algebra Refresher Answers

    1 \(\pm 8\)

    2 \(\pm 25\)

    3 \(8, -6.5\)

    4 \(15, -20\)

    5 \(12.4, -9.4\)

    6 \(29, -32\)

    Section 3.3 Summary

    Vocabulary

    • Quadratic equation

    • Quadratic formula

    • Discriminant

    Concepts

    1 The Law of Sines is not helpful when we know two sides of the triangle and the included angle. In this case we need the Law of Cosines.

    Law of Cosines.

    2 If the angles of a triangle are \(A, B\), and \(C\), and the opposite sides are respectively \(a, b\), and \(c\), then

    \begin{aligned}
    &a^2=b^2+c^2-2 b c \cos A \\
    &b^2=a^2+c^2-2 a c \cos B \\
    &c^2=a^2+b^2-2 a b \cos C
    \end{aligned}

    3 We can also use the Law of Cosines to find an angle when we know all three sides of a triangle.

    4 We can use the Law of Cosines to solve the ambiguous case.

    How to Solve an Oblique Triangle.

    5

    If we know: We can use:
    1. One side and two angles (SAA) 1. Law of Sines, to find another side
    2. Two sides and the angle opposite one of them (SSA, the ambiguous case) 2. Law of Sines, to find another angle, or Law of Cosines, to find another side
    3. Two sides and the included angle (SAS) 3. Law of Cosines, to find the third side
    4. Three sides (SSS) 4. Law of Cosines, to find an angle

    Study Questions

    1 The Law of Cosines is really a generalization of what familiar theorem?

    2 If you know all three sides of a triangle and one angle, what might be the advantage in using the Law of Cosines o find another angle, instead of the Law of Sines?

    3 State the quadratic formula from memory. Try to sing the quadratic formula to the tune of ”Pop Goes the Weasel.”

    4 Francine is solving a triangle in which \(a = 20, b = 16\), and \(A = 26^{\circ}\). She finds that \(\sin B = 0.3507\). How does she know that \(B = 20.5^{\circ}\), and not \(159.5^{\circ}\)?

    Skills

    1 Use the Law of Cosines to find the side opposite an angle #7-12

    2 Use the Law of Cosines to find an angle #13-20

    3 Use the Law of Cosines to find a side adjacent to an angle #21-26

    4 Decide which law to use #27-34

    5 Solve a triangle #35-42

    6 Solve problems using the Law of Cosines #43-56

    Homework 3.3

    1

    a Simplify \(5^2+7^2-2(5)(7) \cos \theta\)
    b Evaluate the expression in part (a) for \(\theta=29^{\circ}\)
    c Evaluate the expression in part (a) for \(\theta=151^{\circ}\)

    2

    a Simplify \(26.1^2+32.5^2-2(26.1)(32.5) \cos \phi\)
    b Evaluate the expression in part (a) for \(\phi=64^{\circ}\)
    c Evaluate the expression in part (a) for \(\phi=116^{\circ}\)

    3

    a Solve \(b^2=a^2+c^2-2 a c \cos \beta\) for \(\cos \beta\)
    b For the equation in part (a), find \(\cos \beta\) if \(a=5, b=11\), and \(c=8\).

    4

    a Solve \(a^2=b^2+c^2-2 b c \cos \alpha\) for \(\cos \alpha\)
    b For the equation in part (a), find \(\cos \alpha\) if \(a=4.6, b=7.2\), and \(c=9.4\).

    5

    a The equation \(9^2=b^2+4^2-2 b(4) \cos \alpha\) is quadratic in \(b\). Write the equation in standard form.
    b Solve the equation in part (a) for \(b\) if \(\alpha=48^{\circ}\).

    6

    a The equation \(5^2=6^2+c^2-2(5) c \cos \beta\) is quadratic in \(c\)

    b Solve the equation in part (a) for \(c\) if \(\beta = 126^{\circ}.

    For Problems 7–12, use the Law of Cosines to find the indicated side. Round to two decimal places.

    7 Screen Shot 2022-10-11 at 3.14.28 PM.png

    8 Screen Shot 2022-10-11 at 3.14.36 PM.png

    9 Screen Shot 2022-10-11 at 3.14.47 PM.png

    10 Screen Shot 2022-10-11 at 3.14.59 PM.png

    11 Screen Shot 2022-10-11 at 3.15.07 PM.png

    12 Screen Shot 2022-10-11 at 3.15.15 PM.png

    For Problems 13–16,use the Law of Cosines to find the indicated angle. Round to two decimal places.

    13 Screen Shot 2022-10-11 at 3.16.40 PM.png

    14 Screen Shot 2022-10-11 at 3.16.45 PM.png

    15 Screen Shot 2022-10-11 at 3.16.52 PM.png

    16 Screen Shot 2022-10-11 at 3.16.59 PM.png

    For Problems 17–20, find the angles of the triangle. Round answers to two decimal places.

    17. \(a = 23, b = 14, c = 18\)

    18. \(a = 18, b = 25, c = 19\)

    19. \(a = 16.3, b = 28.1, c = 19.4\)

    20. \(a = 82.3, b = 22.5, c = 66.8\)

    For Problems 21–26, use the Law of Cosines to find the unknown side. Round your answers to two decimal places.

    21 Screen Shot 2022-10-11 at 3.18.58 PM.png

    22 Screen Shot 2022-10-11 at 3.19.04 PM.png

    23 Screen Shot 2022-10-11 at 3.19.17 PM.png

    24 Screen Shot 2022-10-11 at 3.19.27 PM.png

    25 Screen Shot 2022-10-11 at 3.19.51 PM.png

    26 Screen Shot 2022-10-11 at 3.19.59 PM.png

    For Problems 27–34, which law should you use to find the labeled unknown value, the Law of Sines or the Law of Cosines? Write an equation you can solve to find the unknown value. For Problems 31-34, you may need two steps to find the unknown value.

    27 Screen Shot 2022-10-11 at 3.21.33 PM.png

    28 Screen Shot 2022-10-11 at 3.21.41 PM.png

    29 Screen Shot 2022-10-11 at 3.21.50 PM.png

    30 Screen Shot 2022-10-11 at 3.21.59 PM.png

    31 Screen Shot 2022-10-11 at 3.22.15 PM.png

    32 Screen Shot 2022-10-11 at 3.22.25 PM.png

    33 Screen Shot 2022-10-11 at 3.22.34 PM.png

    34 Screen Shot 2022-10-11 at 3.22.43 PM.png

    For Problems 35–42,

    a Sketch and label the triangle.

    b Solve the triangle. Round answers to two decimal places.

    35. \(B = 47^{\circ} , a = 23, c = 17\)

    36. \(C = 32^{\circ} , a = 14, b = 18\)

    37. \(a = 8, b = 7, c = 9\)

    38. \(a = 23, b = 34, c = 45\)

    39. \(b = 72, c = 98, B = 38^{\circ}\)

    40. \(a = 28, c = 41, A = 27^{\circ}\)

    41. \(c = 5.7, A = 59^{\circ} , B = 82^{\circ}\)

    42. \(b = 82, A = 11^{\circ}, C = 42^{\circ}\)

    For Problems 35–42,

    a Sketch and label a triangle to illustrate the problem.

    b Solve the problem. Round answers to one decimal place.

    35. \(B = 47^{\circ} , a = 23, c = 17\)

    36. \(C = 32^{\circ} , a = 14, b = 18\)

    37. \(a = 8, b = 7, c = 9\)

    38. \(a = 23, b = 34, c = 45\)

    39. \(b = 72, c = 98, B = 38^{\circ}\)

    40. \(a = 28, c = 41, A = 27^{\circ}\)

    41. \(c = 5.7, A = 59^{\circ} , B = 82^{\circ}\)

    42. \(b = 82, A = 11^{\circ}, C = 42^{\circ}\)

    43. A surveyor would like to know the distance \(P Q\) across a small lake, as shown in the figure. She stands at point \(O\) and measures the angle between the lines of sight to points \(P\) and \(Q\) at \(76^{\circ}\). She also finds \(OP = 1400\) meters and \(OQ = 600\) meters. Calculate the distance \(P Q\).

    Screen Shot 2022-10-22 at 9.19.43 PM.png

    44. Highway engineers plan to drill a tunnel through Boney Mountain from \(G\) to \(H\), as shown in the figure. The angle at point \(F\) is \(41^{\circ}\), and the distances to \(G\) and \(H\) are \(900\) yards and \(2500\) yards, respectively. How long will the tunnel be?

    Screen Shot 2022-10-22 at 9.21.51 PM.png

    45. Two pilots leave an airport at the same time. One pilot flies \(3^{\circ}\) east of north at a speed of \(320\) miles per hour, the other flies \(157^{\circ}\) east of north at a speed of \(406\) miles per hour. How far apart are the two pilots after \(3\) hours? What is the heading from the first plane to the second plane at that time?

    46. Two boats leave port at the same time. One boat sails due west at a speed of \(17\) miles per hour, the other powers \(42^{\circ}\) east of north at a speed of \(23\) miles per hour. How far apart are the two boats after \(2\) hours? What is the heading from the first boat to the second boat at that time?

    46. Two boats leave port at the same time. One boat sails due west at a speed of 17 miles per hour, the other powers \(42^{\circ}\) east of north at a speed of 23 miles per hour. How far apart are the two boats after 2 hours? What is the heading from the first boat to the second boat at that time?

    47. Caroline wants to fly directly south from Indianapolis to Cancun, Mexico, a distance of 1290 miles. However, to avoid bad weather, she flies for 400 miles on a heading \(18^{\circ}\) east of south. What is the heading to Cancun from that location, and how far is it?

    48. Alex sails 8 miles from Key West, Florida on a heading \(40^{\circ}\) east of south. He then changes course and sails for 10 miles due east. What is the heading back to Key West from that point, and how far is it?

    49. The phone company wants to erect a cell tower on a steep hill inclined \(26^{\circ}\) to the horizontal. The installation crew plans to run a guy wire from a point on the ground 20 feet uphill from the base of the tower and attach it to the tower at a height of 100 feet. How long should the guy wire be?

    50. Sandstone Peak rises 3500 above the desert. The Park Service plans to run an aerial tramway up the north face, which is inclined at an angle of \(68^{\circ}\) to the horizontal. The base station will be located 500 feet from the foot of Sandstone Peak. Ignoring any slack in the cable, how long should it be?

    51. The sides of a triangle are 27 cm, 15 cm, and 20 cm. Find the area of the triangle. (Hint: Find one of the angles first.)

    52. The sides of a parallelogram are 10 inches and 8 inches, and form an angle of \(130^{\circ}\). Find the lengths of the diagonals of the parallelogram.

    For Problems 53–56, find x, the distance from one vertex to the foot of the altitude.

    53. Screen Shot 2022-10-22 at 9.26.02 PM.png

    54. Screen Shot 2022-10-22 at 9.26.10 PM.png

    55. Screen Shot 2022-10-22 at 9.26.21 PM.png

    56. Screen Shot 2022-10-22 at 9.26.30 PM.png

    Problems 57 and 58 prove the Law of Cosines.

    Screen Shot 2022-10-22 at 9.27.54 PM.png

    57.

    a Copy the three figures above showing the three possibilities for an angle \(C\) in a triangle: \(C\) is acute, obtuse, or a right angle. For each figure, explain why it is true that \(c^2=(b-x)^2+y^2\), then rewrite the right side to get \(c^2=\left(x^2+y^2\right)+b^2-2 b x\).

    b For each figure, explain why it is true that \(x^2+y^2=a^2\).

    c For all three figures, \(a\) is the distance from the origin to the point \((x, y)\). Use the definition of cosine to write \(\cos C\) in terms of \(a\) and \(x\), then solve your equation for \(x\).

    d Start with the last equation from (a), and substitute expressions from (b) and (c) to conclude one case of the Law of Cosines.

    58. Demonstrate the other two cases of the Law of Cosines:

    • \(a^2=b^2+c^2-2 b c \cos A\)
    • \(b^2=a^2+c^2-2 a c \cos B\)

    (Hint: See Problem 57 and switch the roles of \(a\) and \(c\), etc.)

    59. Use the Law of Cosines to prove the projection laws:

    \begin{aligned}
    a &=b \cos C+c \cos B \\
    b &=c \cos A+a \cos C \\
    c &=a \cos B+b \cos A
    \end{aligned}

    Illustrate with a sketch. (Hint: Add together two of the versions of the Law of Cosines.)

    60. If \(\triangle A B C\) is isosceles with \(a=b\), show that \(c^2=2 a^2(1-\cos C)\).

    61. Use the Law of Cosines to prove:

    \begin{aligned}
    1+\cos A &=\dfrac{(a+b+c)(-a+b+C)}{2 b c} \\
    1-\cos A &=\dfrac{(a-b+c)(-a+b+C)}{2 b c}
    \end{aligned}

    62. Prove that

    \(\dfrac{\cos A}{a}+\dfrac{\cos B}{b}+\dfrac{\cos C}{c}=\dfrac{a^2+b^2+c^2}{2 a b c}\)


    This page titled 3.2: The Law of Cosines is shared under a GNU Free Documentation License 1.3 license and was authored, remixed, and/or curated by Katherine Yoshiwara via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.