Skip to content

Search topics

Practice for free Sign in

Formula Triangles that are not right-angled

Law of cosines for a side

When to use it

The law of cosines generalises the Pythagorean theorem: when C = 90° the cosine is 0 and the extra term disappears. Use it with SAS or SSS. For an obtuse C the cosine is negative, so the last term adds.

Last checked Source: Law of sines and law of cosines Source: Law of sines and law of cosines www.corestandards.org (opens in a new tab)

Law of cosines for a side in the Geometry Regents exam, set out with its source.

Worked case: Two sides of a triangle are 9 and 14 and the angle between them is 120°. Find the third side.

See also Perimeter of a polygon on the coordinate plane, Law of cosines for an angle, Law of sines and Pick's theorem.

Result: √403 ≈ 20.07

Application 1: In triangle ABC, A = 52°, B = 48° and a = 15. Find b to one decimal. Step 1: An angle and its opposite side are known, so the law of sines applies. (a/sin A = b/sin B.) Step 2: b = 15 sin 48° / sin 52°. (Rearrange.) Step 3: b ≈ 15 × 0.7431 ÷ 0.788 = 14.1. (Evaluate.) Result: 14.1.

Application 2: Two sides of a triangle are 9 and 14, with an included angle of 120°. Find the third side to one decimal. Step 1: Two sides and the included angle (SAS) call for the law of cosines. (c² = a² + b² − 2ab cos C.) Step 2: c² = 81 + 196 − 2(9)(14)cos 120°. (Substitute.) Step 3: c² ≈ 403, so c ≈ 20.1. (Evaluate and take the root.) Result: 20.1.

Application 3: Two sides of a triangle are 7 and 10, with an included angle of 50°. Find the third side to one decimal. Step 1: Two sides and the included angle (SAS) call for the law of cosines. (c² = a² + b² − 2ab cos C.) Step 2: c² = 49 + 100 − 2(7)(10)cos 50°. (Substitute.) Step 3: c² ≈ 59.01, so c ≈ 7.7. (Evaluate and take the root.) Result: 7.7.

Study brief

  • In preparation for the geometry regents, learners should study how to apply trigonometry to general triangles. The New York State Next Generation Mathematics Learning Standards include the ability to prove and apply the Law of Cosines in all cases. This mathematical tool is useful for finding unknown measurements within both right and non-right triangles. Such calculations are applied to various scenarios, including surveying problems or situations involving resultant forces. Students can also construct arguments to prove the Law of Cosines. Beyond simple calculations, trigonometry involves understanding how restricting a trigonometric function to a domain where it is always increasing or decreasing allows for the construction of its inverse. This knowledge helps in solving trigonometric equations both analytically using inverse functions and graphically through the use of technology. Mastery of these concepts connects to broader studies in similarity, right triangles, and trigonometry, specifically within the (+)-G.SRT standards.

Practice for free

Test yourself with exam-style questions and see why each answer is right or wrong.

Start practicing
Free practice, no card Start without an account Sources checked Every fact names its official source
Works on any device Phone, tablet or desktop
Contact us Questions or a correction