Skip to main content
Speclore

Law Cosines

Reference data and engineering information about law cosines for mathematics applications.

lawcosines

Overview

Engineering reference data for Law Cosines in mathematics.

Key Formulas

Quadratic Formula

x=b±b24ac2ax = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}

Roots of ax² + bx + c = 0.

Pythagorean Theorem

c2=a2+b2c^2 = a^2 + b^2

Right triangle relationship.

Circle Area

A=πr2A = \pi r^2

Area of a circle.

Logarithm

logb(x)=ln(x)ln(b)\log_b(x) = \frac{\ln(x)}{\ln(b)}

Change of base formula.

Variables

SymbolDescriptionUnit
π\piPi3.14159...
eeEuler's number2.71828...

Example Calculation

To demonstrate the Law of Cosines, consider finding side c of a triangle where side a = 1 m, side b = 1.3 m, and the included angle C = 60°.

Starting with the formula: c2=a2+b22abcos(C)c^2 = a^2 + b^2 - 2ab\cos(C)

Substitute the known values: c2=(1 m)2+(1.3 m)22(1 m)(1.3 m)cos(60°)c^2 = (1\ \text{m})^2 + (1.3\ \text{m})^2 - 2(1\ \text{m})(1.3\ \text{m})\cos(60°) c2=1 m2+1.69 m2(2.6 m2)×0.5c^2 = 1\ \text{m}^2 + 1.69\ \text{m}^2 - (2.6\ \text{m}^2) \times 0.5 c2=2.69 m21.3 m2=1.39 m2c^2 = 2.69\ \text{m}^2 - 1.3\ \text{m}^2 = 1.39\ \text{m}^2 c=1.39 m21.18 mc = \sqrt{1.39\ \text{m}^2} \approx 1.18\ \text{m}

The length of side c is approximately 1.18 m.

Supplementary Resources

  • A dynamic calculator for the Law of Cosines is available on the source site.
  • An Excel template is also provided for performing these calculations offline.

References