Sarine draws a triangle. She measures the length of the sides and records her measurements as follows. What is the measure of angle C of the triangle?

\begin{align*}a=3\\ b=4\\ c=5\end{align*}

### Guidance

The Law of Cosines, \begin{align*}a^2+b^2-2ab \cos C\end{align*}, can be rearranged to facilitate the calculation of the measure of angle \begin{align*}C\end{align*} when \begin{align*}a, b\end{align*} and \begin{align*}c\end{align*} are all known lengths.

\begin{align*}a^2+b^2-2ab \cos C &=c^2 \\ a^2+b^2-c^2 &=2ab \cos C \\ \frac{a^2+b^2-c^2}{2ab} &=\cos C\end{align*}

which can be further manipulated to \begin{align*}C=\cos^{-1} \left(\frac{a^2+b^2-c^2}{2ab} \right)\end{align*}.

#### Example A

Find the measure of the largest angle in the triangle with side lengths 12, 18 and 21.

**Solution:** First, we must determine which angle will be the largest. Recall from Geometry that the longest side is opposite the largest angle. The longest side is 21 so we will let \begin{align*}c = 21\end{align*} since \begin{align*}C\end{align*} is the angle we are trying to find. Let \begin{align*}a =12\end{align*} and \begin{align*}b = 18\end{align*} and use the formula to solve for \begin{align*}C\end{align*} as shown. It doesn’t matter which sides we assign to \begin{align*}a\end{align*} and \begin{align*}b\end{align*}. They are interchangeable in the formula.

\begin{align*}m \angle C=\cos^{-1} \left(\frac{12^2+18^2-21^2}{2(12)(18)} \right) \approx 86^\circ\end{align*}

**Note:** Be careful to put parenthesis around the entire numerator and entire denominator on the calculator to ensure the proper order of operations. Your calculator screen should look like this:

\begin{align*}\cos^{-1}((12^2+18^2-21^2)/(2(12)(18)))\end{align*}

#### Example B

Find the value of \begin{align*}x\end{align*}, to the nearest degree.

**Solution:** The angle with measure \begin{align*}x^\circ\end{align*} will be angle \begin{align*}C\end{align*} so \begin{align*}c = 16, a = 22\end{align*} and \begin{align*}b = 8\end{align*}. Remember, \begin{align*}a\end{align*} and \begin{align*}b\end{align*} are interchangeable in the formula. Now we can replace the variables with the known measures and solve.

\begin{align*}\cos^{-1} \left(\frac{22^2+8^2-16^2}{2(22)(8)} \right) \approx 34^\circ\end{align*}

#### Example C

Find the \begin{align*}m \angle A\end{align*}, if \begin{align*}a = 10, b = 15\end{align*} and \begin{align*}c = 21\end{align*}.

**Solution:** First, let’s rearrange the formula to reflect the sides given and requested angle:

\begin{align*}\cos A=\left(\frac{b^2+c^2-a^2}{2(b)(c)} \right)\end{align*}, now plug in our values \begin{align*}m \angle A=\cos^{-1} \left(\frac{15^2+21^2-10^2}{2(15)(21)} \right) \approx 26^\circ\end{align*}

**Concept Problem Revisit**

We can use the manipulated Law of Cosines to solve for C.

\begin{align*}C=\cos^{-1} \frac{3^2+4^2-5^2}{2(3)(4)} \\ C=\cos^{-1} \frac{9 + 16 - 25}{24}\\ C=\cos^{-1} \frac{0}{24} = \cos^{-1} 0\\ C = 90^\circ\end{align*}

Therefore, the triangle is a right triangle.

### Guided Practice

1. Find the measure of \begin{align*}x\end{align*} in the diagram:

2. Find the measure of the smallest angle in the triangle with side lengths 47, 54 and 72.

3. Find \begin{align*}m \angle B\end{align*}, if \begin{align*}a = 68, b = 56\end{align*} and \begin{align*}c = 25\end{align*}.

#### Answers

1. \begin{align*}\cos^{-1} \left(\frac{14^2+8^2-19^2}{2(14)(8)} \right) \approx 117^\circ\end{align*}

2. The smallest angle will be opposite the side with length 47, so this will be our \begin{align*}c\end{align*} in the equation.

\begin{align*}\cos^{-1} \left(\frac{54^2+72^2-47^2}{2(54)(72)} \right) \approx 41^\circ\end{align*}

3. Rearrange the formula to solve for \begin{align*}m \angle B, \cos B=\left(\frac{a^2+c^2-b^2}{2(a)(c)} \right); \cos^{-1} \left(\frac{68^2+25^2-56^2}{2(68)(25)} \right) \approx 52^\circ\end{align*}

### Explore More

Use the Law of Cosines to find the value of \begin{align*}x\end{align*}, to the nearest degree, in problems 1 through 6.

- Find the measure of the smallest angle in the triangle with side lengths 150, 165 and 200 meters.
- Find the measure of the largest angle in the triangle with side length 59, 83 and 100 yards.
- Find the \begin{align*}m \angle C\end{align*} if \begin{align*}a = 6, b = 9\end{align*} and \begin{align*}c=13\end{align*}.
- Find the \begin{align*}m \angle B\end{align*} if \begin{align*}a = 15, b = 8\end{align*} and \begin{align*}c = 9\end{align*}.
- Find the \begin{align*}m \angle A\end{align*} if \begin{align*}a = 24, b = 20\end{align*} and \begin{align*}c = 14\end{align*}.
- A triangular plot of land is bordered by a road, a fence and a creek. If the stretch along the road is 100 meters, the length of the fence is 115 meters and the side along the creek is 90 meters, at what angle do the fence and road meet?