Skip to content

Mathematics · Ch 3 — Trigonometric Functions

The Cosine Rule

3.2.5

The Cosine Rule

The Cosine Rule. In △ABC\triangle ABC: (i) a2=b2+c2−2bccos⁡Aa^2=b^2+c^2-2bc\cos A; (ii) b2=c2+a2−2cacos⁡Bb^2=c^2+a^2-2ca\cos B; (iii) c2=a2+b2−2abcos⁡Cc^2=a^2+b^2-2ab\cos C.

Proof. Take AA as the origin, the X-axis along ABAB, and the perpendicular to ABAB through AA as the Y-axis. Then the co-ordinates of AA, BB, CC are (0,0)(0,0), (c,0)(c,0), (bcos⁡A,bsin⁡A)(b\cos A,b\sin A) respectively

Figure 3.5Fig. 3.5 — Cosine Rule co-ordinate set-up: A at the origin, B(c, 0) on the X-axis, C(b cos A, b sin A)
Fig. 3.5 — Fig. 3.5 — Cosine Rule co-ordinate set-up: A at the origin, B(c, 0) on the X-axis, C(b cos A, b sin A)

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your textbook's own diagram.

What this figure shows. Shows △ABC\triangle ABC placed on a co-ordinate frame with vertex AA at the origin (0,0)(0,0) and side ABAB running along the X-axis so that BB sits at (c,0)(c,0); vertex CC is plotted at (bcos⁡A, bsin⁡A)(b\cos A,\, b\sin A) using its distance b=ACb=AC and the angle AA at the origin, letting the distance formula for BC2BC^2 generate the cosine-rule id …

(the co-ordinates of CC follow because AC=bAC=b and the angle at AA between ACAC and the X-axis is AA). By the distance formula, a2=BC2=(c−bcos⁡A)2+(0−bsin⁡A)2=c2−2bccos⁡A+b2cos⁡2A+b2sin⁡2A=c2+b2(cos⁡2A+sin⁡2A)−2bccos⁡A=b2+c2−2bccos⁡Aa^2=BC^2=(c-b\cos A)^2+(0-b\sin A)^2=c^2-2bc\cos A+b^2\cos^2A+b^2\sin^2A=c^2+b^2(\cos^2A+\sin^2A)-2bc\cos A=b^2+c^2-2bc\cos A. So a2=b2+c2−2bccos⁡Aa^2=b^2+c^2-2bc\cos A. Placing the origin at BB or CC in turn and repeating the same argument gives the other two forms, b2=c2+a2−2cacos⁡Bb^2=c^2+a^2-2ca\cos B and c2=a2+b2−2abcos⁡Cc^2=a^2+b^2-2ab\cos C. ■\blacksquare

Remark (cosine-solved form). The Cosine Rule can equivalently be written to solve directly for each angle: cos⁡A=b2+c2−a22bc\cos A=\dfrac{b^2+c^2-a^2}{2bc}, cos⁡B=c2+a2−b22ca\cos B=\dfrac{c^2+a^2-b^2}{2ca}, cos⁡C=a2+b2−c22ab\cos C=\dfrac{a^2+b^2-c^2}{2ab}.

Ex.(5) In △ABC\triangle ABC, if a=2a=2, b=3b=3, c=4c=4 then prove that the triangle is obtuse angled. The angle opposite the largest side is the largest angle, so here CC (opposite side AB=c=4AB=c=4, the largest side) is the largest angle; we check whether CC is obtuse. cos⁡C=a2+b2−c22ab=4+9−162(2)(3)=−324=−18\cos C=\dfrac{a^2+b^2-c^2}{2ab}=\dfrac{4+9-16}{2(2)(3)}=\dfrac{-3}{24}=-\dfrac18. Since cos⁡C\cos C is negative, CC is obtuse, so △ABC\triangle ABC is an obtuse-angled triangle. …