The law of cosines
1 / 2In any triangle ABC with the sides a = BC, b = AC and c = AB opposite the angles A, B and C:
a² = b² + c² − 2bc cos A,
and in the same way b² = a² + c² − 2ac cos B and c² = a² + b² − 2ab cos C.
Why: put A at the origin and AB along the x axis, so that B = (c; 0) and C = (b cos A; b sin A). Then a² = BC² = (c − b cos A)² + (b sin A)² = c² − 2bc cos A + b²(cos² A + sin² A) = b² + c² − 2bc cos A. For A = 90° it is Pythagoras' theorem, since cos 90° = 0.
- Two sides and the angle between them give the third side: b = 3, c = 5 and A = 120°, with cos A = −1/2, give a² = 9 + 25 + 15 = 49 and a = 7.
- Three sides give the cosine of each angle: cos A = (b² + c² − a²)/(2bc).
- The sign of b² + c² − a² tells the kind of the angle A: positive for an acute angle, 0 for a right one, negative for an obtuse one.
The usual mistake is the sign: for an obtuse angle cos A < 0, so the term −2bc cos A is added.
In the triangle ABC, AB = 5, AC = 3 and ∠A = 120°. Find BC.
- BC² = AB² + AC² − 2 · AB · AC · cos 120°.
- BC² = 25 + 9 − 2 · 5 · 3 · (−1/2) = 34 + 15 = 49.
Answer: BC = 7.
-
Basic
In the triangle ABC, AB = 5, AC = 8 and ∠A = 60°. Find BC.A √89B 7C √129D 13
Hint
BC² = AB² + AC² − 2 · AB · AC · cos A.Answer and solution
Answer: 7BC² = 5² + 8² − 2 · 5 · 8 · (1/2) = 49BC = 7 -
Basic
In the triangle ABC, AB = 8, AC = 5 and BC = 6. Find cos A.
Hint
From the law of cosines, cos A = (AB² + AC² − BC²)/(2 · AB · AC).Answer and solution
Answer: 53/806² = 5² + 8² − 2 · 5 · 8 · cos Acos A = (25 + 64 − 36)/80 = 53/80 -
Medium
In the triangle ABC, AB = 3, AC = 5 and BC = √19. Find the angle A in degrees.A 30B 120C 60D 90
Hint
Find cos A from the three sides.Answer and solution
Answer: 60cos A = (9 + 25 − 19)/30 = 1/2The angle of (0°; 180°) with this cosine is 60° -
Medium
In the parallelogram ABCD, AB = 2, AD = 4 and ∠A = 120°. Find the diagonal BD.
Hint
The diagonal BD is the side opposite the angle A in the triangle ABD.Answer and solution
Answer: 2√7In the triangle ABD: BD² = 2² + 4² − 2 · 2 · 4 · (−1/2) = 28BD = 2√7
Solve them on paper, then open the answer. In Enigma every problem is made anew with numbers of your own and checked the moment you answer.
In a problem with a parameter a letter stands for a number that is not known yet, and the question is about that number: for which a an equation has no roots, for which a and b a system has infinitely many solutions. Such a problem is solved by keeping the letter, turning the condition into an equation or an inequality for it, and solving that. At Hard a problem has one parameter; at Ultra, two or three.
The lesson on problems with a parameter, its worked example and the Hard and Ultra problems of this topic are open with Premium, Elite and Legend. The plans