Solving Real World Problems Using the Law of Cosines

An error occurred trying to load this video.

Try refreshing the page, or contact customer support.

Coming up next: Using the Law of Sines to Solve a Triangle

You're on a roll. Keep up the good work!

Take Quiz Watch Next Lesson
Your next lesson will play in 10 seconds
  • 0:03 The Law of Cosines
  • 2:00 Real World Uses
  • 2:58 Example 1
  • 4:20 Example 2
  • 5:40 Lesson Summary
Save Save Save

Want to watch this again later?

Log in or sign up to add this lesson to a Custom Course.

Log in or Sign up

Speed Speed Audio mode

Recommended Lessons and Courses for You

Lesson Transcript
Instructor: Yuanxin (Amy) Yang Alcocer

Amy has a master's degree in secondary education and has taught math at a public charter high school.

After watching this video lesson, you will be able to use the law of cosines to solve real-world problems. Learn what kinds of real-world problems the law of cosines can help you solve.

The Law of Cosines

Trigonometry has many useful formulas. In this video lesson, we are going to discuss the law of cosines. This useful formula is used to solve triangles of all kinds. As you know, our trigonometric functions of sine, cosine, and tangent have their beginnings in a right triangle.

Well, delving deeper into trigonometry and its functions, we are able to use our trigonometric functions to help us solve not just right triangles but other kinds of triangles as well. It opens up a whole new door for us. Are you ready to dig into this law of cosines? Okay! Let's go. We begin with the formula:

law of cosines

Do you see any resemblance with another popular formula that you deal with on a fairly regular basis? That's right, the Pythagorean theorem: a^2 + b^2 = c^2. There are some differences here though, but seeing the connection between this law of cosines and the Pythagorean theorem will help you remember it.

Once you have the a, b, and c down, what is left is the 2ab cos(C). This can be easy to remember as well, if you notice that you have all three letters in order. We have a, b, and then c. And because this is the second set of a, b, and c, we have a number two in front. Instead of adding this part, we subtract it. Do your best to remember this formula. Can you think of other memory aids that will help you?

One more difference is that a, b, and c in the law of cosines all refer to different sides of a triangle. There's no hypotenuse anymore since we are dealing with triangles of all kinds, not just right triangles. The big C inside the cosine argument stands for the angle opposite side c:

law of cosines

Real-World Uses

This law of cosines is very useful in the real world where triangles are involved. Where are triangles involved in the real world? Surveyors use triangles to calculate an unknown distance where they know the other two distances of the triangle.

The beauty of the law of cosines can be seen when you want to find the location of a fire, for example. You see the fire in the distance, but you don't know how far away it is. However, to the left of the fire is a fast food restaurant that you know is exactly 1 mile away.

A friend of yours standing somewhere else tells you that the fire is 2 miles away from the fast food restaurant. Your friend also tells you that the angle at the fast food restaurant that is formed by where you are standing and where the fire is equals 54 degrees.

Because you know two sides of the triangle, along with the angle that is opposite your unknown side, you can use the law of cosines to help you calculate that third side:

law of cosines

Example 1

Let's go ahead and solve this problem as our first example. We know two sides of the triangle. One measures 1 mile and the other measures 2 miles. The third side is the side we are looking for. The angle opposite this side is 54 degrees.

We can use our law of cosines to help us solve this. Because this is not a special triangle like a right triangle, we can arbitrarily label our sides. Since we are looking for our third side, we will label our third side as c. We can label the other two sides with a and b.

To unlock this lesson you must be a Member.
Create your account

Register to view this lesson

Are you a student or a teacher?

Unlock Your Education

See for yourself why 30 million people use

Become a member and start learning now.
Become a Member  Back
What teachers are saying about
Try it risk-free for 30 days

Earning College Credit

Did you know… We have over 200 college courses that prepare you to earn credit by exam that is accepted by over 1,500 colleges and universities. You can test out of the first two years of college and save thousands off your degree. Anyone can earn credit-by-exam regardless of age or education level.

To learn more, visit our Earning Credit Page

Transferring credit to the school of your choice

Not sure what college you want to attend yet? has thousands of articles about every imaginable degree, area of study and career path that can help you find the school that's right for you.

Create an account to start this course today
Try it risk-free for 30 days!
Create an account