Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

The Cosine Law


When we are given a non-right angle triangle, the side lengths and interior angles are related using the Cosine Law:


Image illustrating Cosine Law


c2=a2+b2−2abcos⁡C  or  cos⁡C=a2+b2−c22ab\Large{\boxed{c^2=a^2+b^2-2ab\cos C}}~~\text{or}~~\Large\boxed{\cos C=\dfrac{a^2+b^2-c^2}{2ab}}



*Note:

The cosine law actually works for right-angle triangles as well, but if you have a right-angle triangle, it's easier to use SOH CAH TOA.


Practice: Cosine Law

Consider the triangle below.

Illustration for practice question: Practice: Cosine Law

Select ALL statements that are true.

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Practice: Simplifying Expressions

Solve for xx in the following equations.


a) x2=a2+b2−2abcos⁡Cx^2=a^2+b^2-2ab\cos C, where a=3a=3, b=4b=4, and ∠C=60°\angle C=60\degree


b) cos⁡x=a2+b2−c22ab\cos x=\dfrac{a^2+b^2-c^2}{2ab}, where a=3a=3, b=4b=4, and c=2c=2

Your answers

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Example: Cosine Law

Solve for zz in the following triangle.

Image illustrating Example

Since we know two of the side lengths and the contained angle, we can use the Cosine Law.

z2=x2+y2−2xycos⁡∠Zz2=72+62−2(7)(6)cos⁡50°z2=49+36−84cos⁡50°z2≈85−84(0.6428)z2≈85−54.00z2≈31z≈31z≈5.57\begin{array}{rcl} z^2&=&x^2+y^2-2xy\cos\angle Z\\ z^2&=&7^2+6^2-2(7)(6)\cos50\degree\\ z^2&=&49+36-84\cos50\degree\\ z^2&\approx&85-84(0.6428)\\ z^2&\approx&85-54.00\\ z^2&\approx&31\\ z&\approx&\sqrt{31}\\ z&\approx&5.57 \end{array}

So, z≈5.57\boxed{z\approx5.57}.

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Example: Cosine Law

Solve for ∠Z\angle Z in the following triangle.

Image illustrating Example


Since we have all 3 sides, we can use the cosine law to find a missing angle.

cos⁡∠Z=x2+y2−z22xycos⁡∠Z=92+82−522(9)(8)cos⁡∠Z=81+64−25144cos⁡∠Z=120144∠Z=cos⁡−1(120144)∠Z≈33.56°\begin{array}{rcl} \cos\angle Z&=&\dfrac{x^2+y^2-z^2}{2xy}\\\\ \cos\angle Z&=&\dfrac{9^2+8^2-5^2}{2(9)(8)}\\\\ \cos\angle Z&=&\dfrac{81+64-25}{144}\\\\ \cos\angle Z&=&\dfrac{120}{144}\\\\ \angle Z&=&\cos^{-1}\left(\dfrac{120}{144}\right)\\\\ \angle Z&\approx&33.56\degree \end{array}

Practice: Cosine Law

Solve the following triangle. (find all missing sides lengths and angles)

Illustration for practice question: Practice: Cosine Law
Your answers

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Practice: Cosine Law

△PQR\triangle PQR has angle ∠Q=60°\angle Q=60\degree, QP=10QP=10, and QR=7QR=7. Solve the triangle (find all missing angles and side lengths)

Your answers

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors