PAIBOTLearn
Sign inSign up

Law of cosines

Solving triangles

Japanese school year: Math I

What you learn

Understand the Law of Cosines, which connects the three sides of any triangle with the cosine of one angle. As a generalization of the Pythagorean theorem, this rule requires basic trigonometric concepts. It is essential for determining unknown lengths and angles in surveying, 3D modeling, and vector calculations.

Go to practice

Key points

Known as the Law of Cosines, this finds side aa from two sides b,cb, c and their included angle AA. It generalizes the Pythagorean theorem, matching it when A=90∘A = 90^\circ.

a2=b2+c2−2bccos⁡Aa^2 = b^2 + c^2 - 2bc\cos A

Rearranged from the Law of Cosines, this calculates cos⁡A\cos A when all three sides a,b,ca, b, c are known. It is used to find angles and check whether an angle is acute or obtuse.

cos⁡A=b2+c2−a22bc\cos A = \frac{b^2 + c^2 - a^2}{2bc}

Choose a set to practice.