Skip to main content
EngineeringHulk
  • Home
  • General
  • Manufacturing Engineering
  • Automobile Engineering
  • Universities and Colleges
  • Thermodynamics
  • Contact us
  • Home
  • General
  • Manufacturing Engineering
  • Automobile Engineering
  • Universities and Colleges
  • Thermodynamics
  • Contact us
  1. Home
  2. ›
  3. General
  4. ›
  5. Cosine Rule (Laws of Cosine, Formula, Examples, and Proof)
General

Cosine Rule (Laws of Cosine, Formula, Examples, and Proof)

Dr. Jennifer Russel
June 7, 2023
5 min read
Cosine Rule (Laws of Cosine, Formula, Examples, and Proof)

Table of Contents

  • Cosine Rule
  • What is the Cosine Rule?
  • Derivation of the Laws of Cosine:
  • Proof of the Laws of Cosines:
  • Applications of the Laws of Cosine:
  • Tips for Applying the Laws of Cosine:
  • Examples of the Laws of Cosines in Action:

Cosine Rule

In the realm of trigonometry, the cosine rule is a fundamental tool that allows us to solve various problems related to triangles. Also known as the law of cosines, this rule enables us to calculate the lengths of sides or the measures of angles in a triangle, provided we have sufficient information about the triangle’s dimensions. 

What is the Cosine Rule?

The cosine rule relates the lengths of the sides of a triangle to the cosine of one of its angles. It is particularly useful when we know the lengths of two sides and the measure of the included angle, but are missing the length of the third side. In essence, the cosine rule provides a comprehensive framework for solving triangles that are not necessarily right-angled.

Derivation of the Laws of Cosine:

To comprehend the derivation of the laws of cosine, let’s consider a triangle ABC with sides of lengths a, b, and c, and opposite angles A, B, and C, respectively. The laws of cosine can be derived by applying the Law of Cosines to all three angles:

1. Law of Cosine for Angle A:

   a² = b² + c² – 2bc * cos(A)

2. Law of Cosine for Angle B:

   b² = a² + c² – 2ac * cos(B)

3. Law of Cosine for Angle C:

   c² = a² + b² – 2ab * cos(C)

These equations express that the square of the length of each side is equal to the sum of the squares of the other two sides, reduced by twice the product of the lengths of those sides and the cosine of the corresponding angle.

Proof of the Laws of Cosines:

To establish the validity of the Laws of Cosines, we will prove the first law by making use of the Law of Cosines for an obtuse-angled triangle. Let us consider a triangle ABC with side lengths a, b, and c, and opposite angles A, B, and C, respectively.

Using the Law of Cosines for an obtuse-angled triangle, we have:

c² = a² + b² – 2ab * cos(180° – C)

Since cos(180° – C) = -cos(C), we can rewrite the equation as:

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

Rearranging the terms, we obtain:

c² = a² + b² – 2ab * cos(C)

This is the same equation as the first law of cosines, which proves its validity.

Applications of the Laws of Cosine:

The laws of cosine find extensive applications in various scenarios. Let’s explore some practical uses:

1. Solving for Unknown Side Lengths:

   Given two side lengths, a and b, and the included angle A, we can use the laws of cosine to determine the length of the third side, c. By rearranging the formula for angle A, we have:

   c = √(a² + b² – 2ab * cos(A))

2. Calculating Angles:

   If we know the lengths of all three sides of a triangle, we can apply the laws of cosine to determine the measures of the angles. For example, to find angle A, we rearrange the formula as follows:

   cos(A) = (b² + c² – a²) / 2bc

   By taking the inverse cosine (arccos) of the value obtained, we can find the measure of angle A.

3. Solving Real-Life Problems:

   The laws of cosine are essential for solving real-life problems involving triangles. They can help calculate distances between points on maps, determine the direction of an object relative to an observer, analyze forces acting on objects in physics, and much more.

Tips for Applying the Laws of Cosine:

1. Units Consistency:

   Ensure that all measurements used in the laws of cosine are in the same units to maintain accuracy and consistency throughout calculations.

2. Rounding:

   Be mindful of rounding errors that may occur during calculations. To minimize inaccuracies, it is advisable to round values only at the end of the calculation process.

3. Triangle Validity:

   Before employing the laws of cosine, verify that the given side lengths satisfy the triangle inequality theorem. In a valid triangle, the sum of the lengths of any two sides must be greater than the length of the third side.

Examples of the Laws of Cosines in Action:

1. Finding a missing side length:

Suppose we have a triangle with side lengths of 5 units, 7 units, and an unknown side (c) opposite an angle of 45 degrees (C). Using the first law of cosines, we can determine the value of c:

c² = 5² + 7² – 2 * 5 * 7 * cos(45°)

c² = 25 + 49 – 70 * cos(45°)

c² = 74 – 70 * 0.7071

c² ≈ 74 – 49.497

c ≈ √24.543

c ≈ 4.954 units

2. Finding a missing angle:

Consider a triangle with side lengths of 3 units, 4 units, and 5 units. We want to find the measure of angle C using the second law of cosines:

cos(C) = (3² + 4² – 5²) / (

2 * 3 * 4)

cos(C) = (9 + 16 – 25) / 24

cos(C) = 0 / 24

C ≈ arccos(0)

C ≈ 90°

Also, read Newton’s second law

Share: Twitter LinkedIn

Author

Dr. Jennifer Russel

PHD in Engineering | Works as Engineering Expert in different engineering aspects and works as professor at Theem college of Engineering

You Might Also Like

Complete Guide to Reverse Image Search in 2026
General

Complete Guide to Reverse Image Search in 2026

Reverse Image Search is one of the Image search techniques that has become one of the most powerful tools on…

Dr. Jennifer RusselDec 31, 20257 min read
Read →
Image Search Techniques: Tools, Tips & AI Visual Search Guide
General

Image Search Techniques: Tools, Tips & AI Visual Search Guide

1. Intro to Image Search Techniques Image search is a technology that allows users to find images on the internet…

Dr. Jennifer RusselDec 30, 202512 min read
Read →
Is the EMS Sculpting Machine Good for Your Skin?
General

Is the EMS Sculpting Machine Good for Your Skin?

If you are researching body contouring treatments and searching for “EMS Body Sculpting Machine,” you will find here you are…

Dr. Jennifer RusselNov 25, 20256 min read
Read →

1 Comment

  1. Google Flights: Your Go-To Travel Companion June 7, 2023

    […] Also, read the Cosine rule […]

Recent Posts

  • Reverse Image Search featured image
    Complete Guide to Reverse Image Search in 2026
    Dec 31, 2025
  • Image Search Techniques
    Image Search Techniques: Tools, Tips & AI Visual Search Guide
    Dec 30, 2025
  • EMS Sculpting Machine
    Is the EMS Sculpting Machine Good for Your Skin?
    Nov 25, 2025
  • titanium
    The Go-To Material for Longevity in a Landscape of Planned Obsolescence
    Sep 28, 2025
  • fafsa
    Free Application for Federal Student Aid (FAFSA)
    Sep 27, 2025

Topics

  • General 335
  • Manufacturing Engineering 91
  • Computer Engineering 41
  • Automobile Engineering 30
  • Renewable sources of Energy 26
  • Universities and Colleges 26
  • Scholarships 22
  • Thermodynamics 17
  • Module 2 10
  • Module 1 10

Newsletter

Stay Updated

Get the latest engineering articles delivered to your inbox.

Subscribe Free

Tags

geothermal energy engineering notes Biogas generation plants RES notes welding cnc Reverse Image Search Benson boilers boiler Deep Neural Networks neural network Data Annotation Tech Vision Pro Apple what is Apple Vision Pro Apple Vision Pro cost apple vision pro price Apple Vision Pro pipe bender machine pipe bender Tube Bender Machine
EngineeringHulk

Practical engineering knowledge, tutorials, and insights for builders, makers, and technical professionals.

Topics

  • General
  • Manufacturing Engineering
  • Computer Engineering
  • Automobile Engineering
  • Renewable sources of Energy
  • Universities and Colleges

Resources

  • Tutorials
  • Tools
  • Calculators
  • RSS Feed
  • Sitemap

Company

  • About Us
  • Contact
  • Write For Us
  • Advertise
  • Privacy Policy

© 2026 EngineeringHulk. All rights reserved. Built with passion for engineering.

Privacy Terms Sitemap