Toby draws a triangle that has two side lengths of 8 inches and 5 inches. He measures the included angle with a protractor and gets . What is the length of the third side?

### Guidance

The Law of Cosines can be used to solve for the third side of a triangle when two sides and the included angle are known in a triangle. consider the non right triangle below in which we know and . We can draw an altitude from to create two smaller right triangles as shown where represents the length of the segment from to the foot of the altitude and represents the length of remainder of the side opposite angle .

Now we can use the Pythagorean Theorem to relate the lengths of the segments in each of the right triangles shown.

Triangle 1: or

Triangle 2: or

Since both equations are equal to , we can set them equal to each other and simplify:

Recall that we know the values of and and the measure of angle . We don’t know the measure of . We can use the cosine ratio as show below to find an expression for in terms of what we already know.

Finally, we can replace in the equation to get the Law of Cosines:

Keep in mind that and are the sides of angle in the formula.

#### Example A

Find when and .

**
Solution:
**
Replacing the variables in the formula with the given information and solve for
:

#### Example B

Find , when , and .

**
Solution:
**
This time we are given the sides surrounding angle
and the measure of angle
. We can rewrite the formula as:
. Just remember that the length by itself on one side should be the side opposite the angle in the cosine ratio. Now we can plug in our values and solve for
.

#### Example C

Rae is making a triangular flower garden. One side is bounded by her porch and a second side is bounded by her fence. She plans to put in a stone border on the third side. If the length of the porch is 10 ft and the length of the fence is 15 ft and they meet at a angle, how many feet of stone border does she need to create?

**
Solution:
**
Let the two known side lengths be
and
and the angle between is
. Now we can use the formula to find
, the length of the third side.

So Rae will need to create a 19.4 ft stone border.

**
Concept Problem Revisit
**
We are trying to find
. We are given
and
.

**
Solution:
**
Replacing the variables in the formula with the given information and solve for
:

Therefore, the third side is approximately 8.26 inches long.

### Guided Practice

1. Find when and .

2. Find when and .

3. Dan likes to swim laps across a small lake near his home. He swims from a pier on the north side to a pier on the south side multiple times for a workout. One day he decided to determine the length of his swim. He determines the distances from each of the piers to a point on land and the angles between the piers from that point to be . How many laps does Dan need to swim to cover 1000 meters?

#### Answers

1.

2.

3.

Since each lap is 27.84 meters, Dan must swim laps.

### Explore More

Use the Law of Cosines to find the value of , to the nearest tenth, in problems 1 through 6.

For problems 7 through 10, find the unknown side of the triangle. Round your answers to the nearest tenth.

- Find , given , and .
- Find , given , and .
- Find , given , and .
- Find , given , and .
- Explain why when , the Law of Cosines becomes the Pythagorean Theorem.
- Luis is designing a triangular patio in his backyard. One side, 20 ft long, will be up against the side of his house. A second side is bordered by his wooden fence. If the fence and the house meet at a angle and the fence is 15 ft long, how long is the third side of the patio?