1 / 20
Law of Cosines | Trigonometry

Law of Cosines

Trigonometry — Solving Any Triangle

In this lesson:

  • Find missing sides and angles with the Law of Cosines
  • Decide when to use the Law of Cosines or the Law of Sines
  • Connect the formula to the Pythagorean theorem
Grade 10 Mathematics | ACT Geometry
Law of Cosines | Trigonometry

What You Will Learn Today

  1. Solve SAS and SSS triangles with the Law of Cosines; finish with the Law of Sines or angle sum
  2. Find a side from SAS
  3. Find an angle from SSS
  4. Explain the Pythagorean theorem as the case
  5. Choose between Cosines and Sines
Grade 10 Mathematics | ACT Geometry
Law of Cosines | Trigonometry

How Far Across the Lake?

From one spot on shore: 7 km to one end, 10 km to the other, between the sightlines.

  • The Law of Sines needs a side and its opposite angle: none here
  • Pairing with anyway gives , impossible
  • Mode check: (radian mode gives )
Grade 10 Mathematics | ACT Geometry
Law of Cosines | Trigonometry

The Law of Cosines Relates All Parts

Triangle ABC with sides a, b, c opposite angles A, B, C; side c and angle C highlighted; the three forms of the Law of Cosines

The angle in the cosine is opposite the side being solved for.

Grade 10 Mathematics | ACT Geometry
Law of Cosines | Trigonometry

SAS Example: Acute Included Angle

Triangle with sides a = 7 and b = 10 meeting at angle C = 55 degrees, side c unknown and dashed

The lake: , , .

Grade 10 Mathematics | ACT Geometry
Law of Cosines | Trigonometry

SAS Example: Obtuse Included Angle

Triangle with sides a = 7 and b = 10 meeting at angle C = 120 degrees, side c unknown and dashed

: negative for angles between 90° and 180°.

Right angle: .

Grade 10 Mathematics | ACT Geometry
Law of Cosines | Trigonometry

Quick Check: Find the Missing Side

In triangle PQR: , , .

Find side .

Set up the formula and compute before advancing...

Grade 10 Mathematics | ACT Geometry
Law of Cosines | Trigonometry

Pythagorean Theorem as a Special Case

When , :

The correction term vanishes, leaving the Pythagorean theorem.

Check legs and : , so .

Grade 10 Mathematics | ACT Geometry
Law of Cosines | Trigonometry

Where the Correction Term Comes From

Triangle ABC with the altitude h dropped from B to side b; the foot splits b into x next to C and b minus x next to A

  • Left right triangle: , with
  • Right right triangle:
  • Subtract:
Grade 10 Mathematics | ACT Geometry
Law of Cosines | Trigonometry

The Correction Term Shrinks or Grows

The term corrects the Pythagorean value. Sides and :

, shorter
, longer

A sign error fails this check: at , at .

Grade 10 Mathematics | ACT Geometry
Law of Cosines | Trigonometry

Rearranging to Find a Missing Angle

To find angle when all three sides are known, rearrange:

Then apply inverse cosine:

No ambiguous case: inverse cosine returns a unique angle in .

Grade 10 Mathematics | ACT Geometry
Law of Cosines | Trigonometry

SSS Example: Find Angle C Step by Step

Triangle with sides a = 5, b = 8, c = 9; angle C opposite side c marked

, , :

is the cosine, not the angle.

Grade 10 Mathematics | ACT Geometry
Law of Cosines | Trigonometry

SSS Example: Remaining Angles and Rounding

, so

, so

Sum: , rounding only.

Rounding early to gives and a sum of .

Grade 10 Mathematics | ACT Geometry
Law of Cosines | Trigonometry

SSS Obtuse Example: Largest Angle First

Sides , , ; is opposite the .

  • The sign of the largest angle's cosine says at once: obtuse
  • The other two are then acute, so a Law of Sines step has no second case
Grade 10 Mathematics | ACT Geometry
Law of Cosines | Trigonometry

Quick Check: Find the Largest Angle

In triangle XYZ: , , .

Which angle do you find first? Find it to the nearest tenth of a degree.

Set up the rearranged formula before advancing...

Grade 10 Mathematics | ACT Geometry
Law of Cosines | Trigonometry

Choosing the Right Law: Decision Framework

Decision chart: AAS, ASA, SSA lead to the Law of Sines; SAS and SSS lead to the Law of Cosines

A side with its opposite angle starts the Law of Sines; without one, the Law of Cosines. Trap: , , is SSA; in the form gives , but is or .

Grade 10 Mathematics | ACT Geometry
Law of Cosines | Trigonometry

Completing the Triangle With Both Laws

, , , and . Find and .

is opposite the shorter given side, so it is acute.

Grade 10 Mathematics | ACT Geometry
Law of Cosines | Trigonometry

ACT Practice: Choose the Law, Then Solve

For each, name the case and the law that starts.

  1. , , . Find to the nearest tenth.
  2. Sides , , . Find the largest angle to the nearest tenth of a degree.
  3. , , . Name the case only.
Grade 10 Mathematics | ACT Geometry
Law of Cosines | Trigonometry

Key Takeaways and Common Mistakes

  • works for any triangle
  • SAS: find a side. SSS: find an angle with

Watch out:

  • Write the minus sign; obtuse cosines are negative
  • The cosine angle is opposite the target side
  • Square root last; degree mode
Grade 10 Mathematics | ACT Geometry
Law of Cosines | Trigonometry

Coming Up Next in Trigonometry

Up next: Degree-radian conversion

  • Radians as another unit for angles
  • Converting between degrees and radians
  • Why calculator mode matters
Grade 10 Mathematics | ACT Geometry