Tutelage

Lessons › math · taught by Ada

Law of Cosines explained for triangles

Learn when to use the law of cosines to find a missing side or angle in any triangle.

Learn this with Ada, freeA voiced lesson with a live whiteboard, quizzes and a tutor you can call, at tutelage.app

What the cosine law helps find

When a triangle is not a right triangle, the Pythagorean theorem is not enough. The law of cosines gives us a way to find a missing side or angle.

Look for the side across from the angle. That pairing is the key.

The pattern to remember

a² = b² + c² − 2bc cos A

Here is the pattern. Square one side, then use the other two sides, and subtract the cosine term.

This works for any triangle, not just right triangles.

Predict the missing piece

In the formula a² = b² + c² − 2bc cos A, what should you do if you want to find side a?

  1. Take the square root at the end
  2. Add 2bc cos A
  3. Divide by cos A
Show answer

Take the square root at the end: Yes. After you solve for a², you take the square root to get a.

Find a side from two sides and an angle

Let’s do one example together. Suppose two sides are 7 and 10, and the included angle is 60 degrees.

We plug the numbers into the cosine law, then simplify step by step.

At the end, we take the square root because the formula gave us a squared side.

Quick check on the setup

If you know sides 5 and 8 and the included angle 120°, what is the correct next move?

  1. Write a² = 5² + 8² − 2(5)(8)cos 120°
  2. Write a² = 5² + 8² + 2(5)(8)cos 120°
  3. Use sine instead of cosine
Show answer

Write a² = 5² + 8² − 2(5)(8)cos 120°: Correct. The formula keeps the minus sign, even when the angle is obtuse.

Why the minus sign is there

Think of the law of cosines as the Pythagorean theorem with a correction.

When the angle is 90 degrees, cosine is 0, so the correction disappears.

Find an angle from three sides

You can also use the law of cosines to find an angle. First isolate cosine.

Then use inverse cosine, like cos to the minus one, to get the angle itself.

Choose the right rearrangement

If you are solving for angle A, which setup is correct?

  1. cos A = (b² + c² − a²) / 2bc
  2. A = (b² + c² − a²) / 2bc
  3. cos A = 2bc / (b² + c² − a²)
Show answer

cos A = (b² + c² − a²) / 2bc: Yes. First isolate cos A, then use inverse cosine if needed.

Watch out for side labels

A very common mistake is mixing up which side matches which angle.

The side name always goes opposite the angle with the same letter case rule.

Your turn on the formula

A triangle has sides 6 and 9 with included angle 45°. Which expression is the correct first step?

  1. a² = 6² + 9² − 2(6)(9)cos 45°
  2. a² = 6² + 9² + 2(6)(9)cos 45°
  3. a = 6² + 9² − 2(6)(9)cos 45°
Show answer

a² = 6² + 9² − 2(6)(9)cos 45°: Good. That is the law of cosines written correctly for the missing side.

Three steps to use every time

Here is the checklist. First decide what you are finding.

Next substitute carefully, then simplify and solve.

Last, check that the side names match the opposite angles.

Learn this with Ada, freeA voiced lesson with a live whiteboard, quizzes and a tutor you can call, at tutelage.app