### Video Transcript

In this video, we will learn how to use the cosine and sine law to solve real-world problems. As weโre focusing on the applications of these laws, weโll assume at this point familiarity with the laws themselves. And we wonโt explain the basics of these laws or how to prove them in this video.

Firstly though, a quick reminder of what the sine and cosine laws actually are and when they can be used. Suppose we have a triangle ๐ด๐ต๐ถ labeled as follows. Remember that the convention is to use uppercase letters to represent angles and to use lowercase letters to represent sides, with sides always being opposite the angle with the same letter. None of the angles in this triangle are necessarily right angles. So the first key point we need to recall is that the sine and cosine laws allow us to calculate side lengths and angle measures in nonright triangles.

The law of sines or the sine law first of all then. This tells us that, in any triangle, the ratio between each side length and the sine of its opposite angle is constant, which we can write as ๐ over sin ๐ด equals ๐ over sin ๐ต, which is equal to ๐ over sin ๐ถ. And remember, the lowercase letters represent side lengths and the uppercase letters represent angles.

We donโt need to use all three parts of the sine law, just two parts of this equality. The information needed in order to apply the law of sines is two angles and their opposite sides. So we can recognize the need for the law of sines when weโre working with opposite pairs of information.

This first version of the law of sines is particularly useful when calculating the length of a missing side, as the sides are in the numerators of the fractions, so less rearrangement is required. We do also have a reciprocal version, which is particularly helpful for calculating the measure of an angle. sin ๐ด over ๐ equals sin ๐ต over ๐, which is equal to sin ๐ถ over ๐. So thatโs the law of sines, and now letโs consider the law of cosines or the cosine law.

The most common form in which you see this written is as follows. ๐ squared equals ๐ squared plus ๐ squared minus two ๐๐ cos of ๐ด. We use it to calculate a side length, in this case the length of side ๐, when we know the other two sides of the triangle and the included angle. So we know the sides ๐ and ๐ and the angle ๐ด.

We can also rearrange the cosine law to a form which enables us to calculate any angle in the triangle if we know all three side lengths. The rearrangement is straightforward, and it gives cos of ๐ด is equal to ๐ squared plus ๐ squared minus ๐ squared all over two ๐๐. In this case, as we said, we know all three side lengths and we wish to calculate one of the angles.

Again, the proofs and the basic application of these laws are not going to be considered in this video. Instead, weโre going to focus on applying these laws to some real-life problems. Letโs look at our first question.

A plane travels 800 meters along the runway before taking off at an angle of 10 degrees. It travels a further 1,000 meters at this angle as seen in the figure. Work out the distance of the plane from its starting point. Give your answer to two decimal places.

Looking at the diagram, we can see that we have a triangle. We want to calculate the distance of the plane from its starting point. Thatโs this length here, which we can refer to as ๐ meters. We know the lengths of the other two sides in this triangle. They are 800 meters and 1,000 meters. And using the fact that angles on a straight line sum to 180 degrees, we can work out the size of this angle here. Itโs 180 degrees minus 10 degrees, which is 170 degrees.

As this is a non-right-angled triangle, we need to answer this problem using either the law of sines or the law of cosines. So the first step is to decide which of these we need. And that will depend on the specific combination of information weโve been given and what we want to calculate.

In this triangle, we know two sides and the included angle. And we want to calculate the third side. We recall then that this means we should be using the law of cosines. Letโs recall the law of cosines. Itโs ๐ squared equals ๐ squared plus ๐ squared minus two ๐๐ cos ๐ด. Now, thereโs no need to actually label our triangle using the letters ๐ด, ๐ต, and ๐ถ. Instead, we just remember that the lowercase letters ๐ and ๐ represent the two sides we know and the capital letter ๐ด represents the included angle.

So using 800 and 1,000 as the two side lengths ๐ and ๐ and 170 degrees as the angle ๐ด, we have the equation ๐ squared equals 800 squared plus 1,000 squared minus two times 800 times 1,000 times cos of 170 degrees. We can either type this directly into our calculator or it may be a good idea to break the calculation down into some stages. In either case, we arrive at ๐ squared equals 3,215,692.405.

Now, we must remember that this is ๐ squared. It isnโt ๐, so we arenโt finished. We have to square root in order to find the value of ๐. Itโs a really common mistake though to forget to do this. Square rooting gives ๐ equals 1,793.235178. The question asks us to give our answer to two decimal places. So rounding appropriately, weโve worked out the distance of the plane from its starting point. Itโs 1,793.24 meters to two decimal places.

In this example, we were given a diagram to use. Often this wonโt be the case, and weโll need to use information from a written description to draw our own diagram to help us answer the question. Letโs now consider an example of this.

A ship is sailing due south with a speed of 36 kilometers per hour. An iceberg lies 24 degrees north of east. After one hour, the ship is 33 degrees south of west of the iceberg. Find the distance between the ship and the iceberg at this time, giving the answer to the nearest kilometer.

A lot of the skill involved in this question is in drawing the diagram. Letโs start with a compass showing the four directions. Weโll then take each statement separately and consider how to represent it. Firstly, we know that the ship is sailing due south. Initially, weโre told that an iceberg lies 24 degrees north of east of the shipโs starting point.

Now, directly east would be directly to the right of the ship on our diagram. 24 degrees north of east would mean the iceberg lies somewhere along the line like this. Weโre then told that after one hour, the ship is 33 degrees south of west of the iceberg. Well, west would be the direction directly to the left of our iceberg. And using alternate angles in parallel lines, we know that the angle formed here is 24 degrees.

So the full angle between the horizontal and the position the ship has now moved to is 33 degrees. And we can now see that we have a triangle. We can work out the angles in our triangle. For example, this angle here is the difference between 33 degrees and 24 degrees. It is nine degrees. We could also work out this angle here, itโs 24 degrees, plus the angle between south and east, which is 90 degrees, giving a total of 114 degrees.

The one piece of information we havenโt used yet is that the ship is traveling at a speed of 36 kilometers per hour. And we know it takes one hour for the ship to go from its original position to its new position. The ship will therefore have traveled 36 kilometers in this time. So we also know one side length in our triangle.

What we were asked to calculate is the distance between the ship and the iceberg at this later time. So thatโs this side here, which we can refer to as ๐ kilometers. Weโve now set up our diagram, and we see that we have a non-right-angled triangle, which means weโre going to apply either the law of sines or the law of cosines. Letโs look at the particular combination of information weโve got.

We know an angle of nine degrees and the opposite side of 36 kilometers. We also know an angle of 114 degrees. And we wish to calculate the opposite side of ๐ kilometers. We therefore have opposite pairs of sides and angles, which tells us that we should be using the law of sines to answer this question.

Remember, this tells us that the ratio between each side length, represented using lowercase letters, and the sine of its opposite angle, represented using capital letters, is constant. ๐ over sin ๐ด equals ๐ over sin ๐ต, which is equal to ๐ over sin ๐ถ. We only need to use two parts of this ratio. And thereโs no need to label our triangle using the letters ๐ด, ๐ต, and ๐ถ as long as weโre clear about what they represent.

Our side ๐ is opposite the angle of 114 degrees, and the side of 36 kilometers is opposite the angle of nine degrees. So we have ๐ over sin of 114 degrees equals 36 over sin of nine degrees. We can solve this equation by multiplying each side by sin of 114 degrees, which is just a value. And it gives ๐ equals 36 sin 114 degrees over sin of nine degrees. Evaluating on a calculator, making sure our calculator is in degree mode, and we have 210.23267.

The question asks us to give our answer to the nearest kilometer. So rounding appropriately, we have that the distance between the ship and the iceberg at this time is 210 kilometers.

Weโve now seen one example each of using the law of sines and the law of cosines to calculate a side length. In our next example, weโll see how we can apply the law of cosines to calculate all the missing angles in a triangle when we know its three side lengths.

Los Angeles is 1,744 miles from Chicago, Chicago is 712 miles from New York, and New York is 2,451 miles from Los Angeles. Find the angles in the triangle with its vertices as the three cities.

Now, whilst a little bit of knowledge of the geography of the United States of America might be useful here, it isnโt essential to answering the problem. We can just draw a triangle using the three lengths given in the question. And if our triangle turned out to be upside down, it isnโt the end of the world. The triangle should look a little something like this, and we can add the three distances.

Now, this triangle certainly doesnโt look as if itโs a right triangle. So weโre going to need to apply either the law of sines or the law of cosines to this problem. We know all three of the side lengths, and we want to calculate each of the angles, which tells us that we should be using the law of cosines. The rearranged version of this, which is useful for calculating angles, is cos of ๐ด equals ๐ squared plus ๐ squared minus ๐ squared all over two ๐๐. If you canโt remember this, youโll have to perform the rearrangement yourself from the law of cosines in its traditional form.

In this question then, letโs use ๐ด to represent Los Angeles, ๐ถ to represent Chicago, and ๐ต to represent New York. Weโll use the corresponding lowercase letters to represent the opposite sides. To calculate our first angle then, thatโs this angle here, we substitute the relevant values. Giving cos of ๐ด equals 1,744 squared plus 2,451 squared minus 712 squared all over two multiplied by 1,744 multiplied by 2,451.

We can evaluate this on a calculator. And then to find the value of ๐ด, we need to use the inverse cosine function. Doing so gives ๐ด equals 2.334 degrees. So weโve found the first angle in the triangle. And weโll give our answer to two decimal places.

To calculate the next angle in this triangle, which this time weโll use angle ๐ถ, we donโt need to relabel our triangle. We just need to remember that the letters ๐ and ๐ represent the two sides which enclose the angle and the letter ๐ represents the opposite side. So we use 1,744 and 712 for the two sides which enclose the angle and 2,451 for the side which is opposite. This gives cos of ๐ถ equals negative 0.9901. And again, applying the inverse cosine function, we find that angle ๐ถ equals 171.939 degrees.

So we found two angles in the triangle. And in fact, to find the third, we could subtract the two angles weโve calculated from 180 degrees. But if we donโt use that method, that will be a useful check. In exactly the same way then, but this time using 712 and 2,451 as the two sides which enclose the angle and 1,744 as the opposite side, we find the measure of angle ๐ต is 5.726 degrees.

Adding the three angles weโve found, now each rounded to two decimal places, does indeed give 180 degrees. So we can have some confidence in our answer. The measures of the three angles in the triangle formed by these three cities, each to two decimal places then, are 2.33 degrees, 5.73 degrees, and 171.94 degrees.

In our final example, letโs see how we can use the law of sines and the law of cosines to solve problems in other mathematical contexts.

๐ is the center of a circle, and ๐ด, ๐ต, and ๐ถ are points on the circumference. If ๐ต๐ถ equals 13 centimeters and the measure of angle ๐ถ๐๐ต is 84 degrees, find the area of the circle ๐, giving the answer to the nearest square centimeter.

We know that the area of a circle is ๐๐ squared. So really, this problem is about finding the radius of this circle. Letโs begin by putting the information weโve been given on the diagram. ๐ต๐ถ is 13 centimeters, and the measure of angle ๐ถ๐๐ต is 84 degrees. We donโt know the lengths of ๐๐ถ or ๐๐ต, but theyโre each the radius of the circle.

Now, there are numerous different approaches we could take. But one approach is to apply the law of cosines in the triangle ๐ถ๐๐ต. This states that ๐ squared equals ๐ squared plus ๐ squared minus two ๐๐ cos ๐ด, where ๐ and ๐ represent two sides of a triangle and ๐ด represents the included angle. In our triangle, ๐ is 13 centimeters. The angle ๐ด is 84 degrees. And the two sides which enclose this angle ๐ด are each the radius of the circle ๐.

We can therefore form an equation. 13 squared equals ๐ squared plus ๐ squared minus two ๐ squared cos of 84 degrees. We can solve this equation to find the value of ๐ squared, which weโll then be able to substitute directly into our area formula. Factorizing the right-hand side of our equation by ๐ squared, we have 169 equals ๐ squared multiplied by two minus two cos of 84 degrees. Dividing through, we have that ๐ squared is equal to 169 over two minus two cos 84 degrees. And weโll keep our value for ๐ squared in this exact form.

We can then substitute this value of ๐ squared into the area formula and evaluate on a calculator. Rounding our answer, and we have that the area of circle ๐ to the nearest square centimeter is 296 square centimeters.

As I mentioned, there are in fact numerous approaches to this problem, which you can try out yourself if you wish. We couldโve applied the law of sines in triangle ๐ถ๐๐ต. Or we couldโve divided it in half to form two right triangles and then used right-angle trigonometry.

Letโs now summarize the key points in this video. Firstly, the law of sines and the law of cosines can be used to calculate side lengths and angle measures in nonright triangles. The law of sines in either of its two forms can be used to calculate either a side or an angle when weโre working with opposite pairs of information. The law of cosines in its first form can be used to calculate a side length when we know the other two sides and the included angle. And in its rearranged form, it can be used to calculate any angle when we know all three sides.

We can apply the law of sines and the law of cosines to many problems involving triangles. And although we havenโt seen an example of this, we can also apply both rules within the same problem.