# 4.1.1: Laws of Sines and Cosines

$$\newcommand{\vecs}{\overset { \rightharpoonup} {\mathbf{#1}} }$$ $$\newcommand{\vecd}{\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 \|}$$ $$\newcommand{\inner}{\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 \|}$$ $$\newcommand{\inner}{\langle #1, #2 \rangle}$$ $$\newcommand{\Span}{\mathrm{span}}$$

Solving for parts of non-right triangles using trigonometry.

Law of Sines: If $$\Delta ABC$$ has sides of length, $$a$$, $$b$$, and $$c$$, then $$\dfrac{\sin A}{a}=\dfrac{\sin B}{b}=\dfrac{\sin C}{c}$$.

Looking at a triangle, the lengths a,b, and c are opposite the angles of the same letter. Figure $$\PageIndex{1}$$

Use Law of Sines when given:

• An angle and its opposite side.
• Any two angles and one side.

Two sides and the non-included angle.

Law of Cosines: If $$\Delta ABC$$ has sides of length $$a$$,$$b$$, and $$c$$, then:

\begin{aligned} a^2&=b^2+c^2−2bc\cos A \\ b^2&=a^2+c^2−2ac \cos B \\ c^2&=a^2+b^2−2ab \cos C \end{aligned}

Even though there are three formulas, they are all very similar. First, notice that whatever angle is in the cosine, the opposite side is on the other side of the equal sign.

Use Law of Cosines when given:

• Two sides and the included angle.
• All three sides.

#### Using the Law of Sines

1. Solve the triangle using the Law of Sines. Round decimal answers to the nearest tenth. Figure $$\PageIndex{2}$$

First, to find $$m\angle A$$, we can use the Triangle Sum Theorem.

\begin{aligned} m\angle A+85^{\circ} +38^{\circ}&=180^{\circ} \\ m\angle A&=57^{\circ} \end{aligned}

Now, use the Law of Sines to set up ratios for $$a$$ and $$b$$.

$$\dfrac{\sin 57^{\circ} }{a}=\dfrac{\sin 85^{\circ} }{b}=\dfrac{\sin 38^{\circ} }{12}$$

\begin{aligned} \dfrac{\sin 57^{\circ}}{a} &=\dfrac{\sin 38^{\circ}}{12} & \dfrac{\sin 85^{\circ}}{b} &=\dfrac{\sin 38^{\circ}}{12} \\ a \cdot \sin 38^{\circ} &=12 \cdot \sin 57^{\circ} & b \cdot \sin 38^{\circ} &=12 \cdot \sin 85^{\circ} \\ a &=\dfrac{12 \cdot \sin 57^{\circ}}{\sin 38^{\circ}} \approx 16.4 & \quad b &=\dfrac{12 \cdot \sin 85^{\circ}}{\sin 38^{\circ}} \approx 19.4 \end{aligned}

2. Solve the triangle using the Law of Sines. Round decimal answers to the nearest tenth. Figure $$\PageIndex{3}$$

Set up the ratio for $$\angle B$$ using Law of Sines.

\begin{aligned} \dfrac{\sin 95^{\circ} }{27}&=\dfrac{\sin B}{16} \\ 27\cdot \sin B&=16\cdot \sin 95^{\circ} \\ \sin B&=\dfrac{16\cdot \sin 95^{\circ} }{27}\rightarrow\sin ^{−1}\left(\dfrac{16\cdot \sin 95^{\circ} }{27} \right) =36.2^{\circ} \end{aligned}

To find $$m\angle C$$ use the Triangle Sum Theorem.

$$m\angle C+95^{\circ} +36.2^{\circ} =180^{\circ} \rightarrow m\angle C=48.8^{\circ}$$

To find $$c$$, use the Law of Sines again. $$\dfrac{\sin 95^{\circ} }{27}=\dfrac{\sin 48.8^{\circ} }{c}$$

\begin{aligned} c\cdot \sin 95^{\circ}&=27\cdot \sin 48.8^{\circ} \\ c&=27\cdot \sin 48.8^{\circ} \sin 95^{\circ} \approx 20.4 \end{aligned}

#### Using the Law of Cosines

Solve the triangle using Law of Cosines. Round your answers to the nearest hundredth. Figure $$\PageIndex{4}$$

Use the second equation to solve for $$\angle B$$.

\begin{aligned} b^2&=26^2+18^2−2(26)(18)\cos 26^{\circ} \\ b^2&=1000−936\cos 26^{\circ} \\ b^2&=158.7288 \\ b&\approx 12.60 \end{aligned}

To find $$m\angle A$$ or $$m\angle C$$, you can use either the Law of Sines or Law of Cosines. Let’s use the Law of Sines.

\begin{aligned} \dfrac{\sin 26^{\circ} }{12.60}&=\dfrac{\sin A}{18} \\ 12.60\cdot \sin A&=18\cdot \sin 26^{\circ} \\ \sin A&=18\cdot \sin 26^{\circ} 12.60 \end{aligned}

$$\sin ^{−1} \left(18\cdot \sin 26^{\circ} 12.60 \right)\approx 38.77^{\circ}$$ To find $$m\angle C$$, use the Triangle Sum Theorem.

\begin{aligned} 26^{\circ} +38.77^{\circ} +m\angle C&=180^{\circ} \\ m\angle C&=115.23^{\circ} \end{aligned}

## Examples

Find the following angles in the triangle below. Round your answers to the nearest hundredth. Figure $$\PageIndex{5}$$
##### Example $$\PageIndex{1}$$

$$m\angle A$$

Solution

When you are given only the sides, you have to use the Law of Cosines to find one angle and then you can use the Law of Sines to find another.

\begin{aligned} 15^2&=22^2+28^2−2(22)(28)\cos A \\ 225&=1268−1232\cos A \\ −1043&=−1232\cos A \\ \dfrac{−1043}{−1232}&=\cos A \rightarrow \cos ^{−1}\left(\dfrac{1043}{1232}\right) \approx 32.16^{\circ}\end{aligned}

##### Example $$\PageIndex{2}$$

$$m\angle B$$

Solution

Now that we have an angle and its opposite side, we can use the Law of Sines.

\begin{aligned} \dfrac{\sin 32.16^{\circ} }{15} &=\dfrac{\sin B}{22} \\ 15\cdot \sin B &=22\cdot \sin 32.16^{\circ} \\ \sin B &=\dfrac{22\cdot \sin 32.16^{\circ} }{15} \end{aligned}

$$\sin ^{−1}\left(\dfrac{22\cdot \sin 32.16^{\circ} }{15}\right)\approx 51.32^{\circ}$$.

##### Example $$\PageIndex{3}$$

$$m\angle C$$

Solution

To find $$m\angle C$$, use the Triangle Sum Theorem.

\begin{aligned} 32.16^{\circ} +51.32^{\circ} +m\angle C&=180^{\circ} \\ m\angle C&=96.52^{\circ} \end{aligned}

## Review

Use the Law of Sines or Cosines to solve $$\Delta ABC$$. If you are not given a picture, draw one. Round all decimal answers to the nearest tenth.

1. Figure $$\PageIndex{6}$$
2. Figure $$\PageIndex{7}$$
3. Figure $$\PageIndex{8}$$
4. Figure $$\PageIndex{9}$$
5. Figure $$\PageIndex{10}$$
6. Figure $$\PageIndex{11}$$
7. Figure $$\PageIndex{12}$$
8. Figure $$\PageIndex{13}$$
9. Figure $$\PageIndex{14}$$
10. $$m\angle A=74^{\circ}$$, $$m\angle B=11^{\circ}$$, $$BC=16$$
11. $$m\angle A=64^{\circ}$$, $$AB=29$$, $$AC=34$$
12. $$m\angle C=133^{\circ}$$, $$m\angle B=25^{\circ}$$,$$AB=48$$

Use the Law of Sines to solve $$\Delta ABC$$ below.

1. $$m\angle A=20^{\circ}$$, $$AB=12$$, $$BC=5$$

Recall that when we learned how to prove that triangles were congruent we determined that SSA (two sides and an angle not included) did not determine a unique triangle. When we are using the Law of Sines to solve a triangle and we are given two sides and the angle not included, we may have two possible triangles. Problem 14 illustrates this.

1. Let’s say we have $$\Delta ABC$$ as we did in problem 13. In problem 13 you were given two sides and the not included angle. This time, you have two angles and the side between them (ASA). Solve the triangle given that $$m\angle A=20^{\circ}$$, $$m\angle C=125^{\circ}$$, $$AC=8.4$$
2. Does the triangle that you found in problem 14 meet the requirements of the given information in problem 13? How are the two different $$m\angle C$$ related? Draw the two possible triangles overlapping to visualize this relationship.