Skip to main content
Skip to main content

What is the Law of Cosines?

Diagram showing sides and angles in a triangle with Law of Cosines formula
Triangle diagram showing sides and angles

The Law of Cosines is a special math formula that helps us solve triangles when we know some sides and angles. Think of it as a superpower for triangles!

When you have a triangle that isn't a right triangle (where one angle is exactly 90 degrees), the Law of Cosines helps you find missing sides or angles.

The formula looks like this:

Law of Cosines Formula

c² = a² + b² - 2ab · cos(C)

Where c is the side opposite angle C, and a and b are the other two sides.

How to Use the Law of Cosines

Step-by-step visual guide showing how to apply the Law of Cosines
Visual guide to using the formula

Using the Law of Cosines is like following a recipe. Here are the steps:

Step 1: Identify which sides and angles you know. Draw a sketch if it helps!

Step 2: Choose the right version of the formula. If you're looking for side c, use:

c² = a² + b² - 2ab · cos(C)

Step 3: Plug in the values you know. Make sure your calculator is in degree mode if angles are in degrees.

Step 4: Solve the equation. If you're finding a side, you'll need to take the square root at the end.

Step 5: Check if your answer makes sense. The longest side should be opposite the largest angle.

Examples and Practice

Example triangles with measurements for practice
Example triangles for practice

Let's practice with some examples:

Example 1: Find side c when a = 5, b = 7, and angle C = 60°
Solution: c² = 5² + 7² - 2·5·7·cos(60°)
c² = 25 + 49 - 70·0.5
c² = 74 - 35 = 39
c = √39 ≈ 6.24

Example 2: Find angle C when sides a = 8, b = 9, c = 10
Solution: Rearrange the formula: cos(C) = (a² + b² - c²)/(2ab)
cos(C) = (64 + 81 - 100)/(2·8·9) = (45)/(144) = 0.3125
C = cos⁻¹(0.3125) ≈ 71.8°

Real-World Applications

Real-world applications of the Law of Cosines in navigation and construction
Applications in navigation and construction

The Law of Cosines isn't just for math class! Here's where you might see it in the real world:

Navigation: Pilots and sailors use it to calculate distances between two points when they know distances from a third point.

Construction: Builders use it to calculate roof slopes and diagonal supports.

Surveying: Land surveyors use it to measure distances between landmarks when they can't measure directly.

Physics: Scientists use it to calculate forces acting at angles to each other.

Robotics: Engineers use it to program robotic arms to reach precise positions.

Practice Quiz

Test your understanding with this 5-question quiz. Choose the correct answer for each question.

1. When do we use the Law of Cosines?
2. What information do you need to find a missing side using Law of Cosines?
3. What is the Law of Cosines formula for finding side c?
4. If a=5, b=5, and angle C=60°, what is side c?
5. Which real-world profession uses the Law of Cosines frequently?

Frequently Asked Questions

Here are answers to common questions about the Law of Cosines:

Math Trivia

Discover interesting facts about triangles and trigonometry:

Copyright © 2025 Workybooks. Made with ♥ in California.