Skip to content

Sine rule, cosine rule and triangle area

The sine rule, cosine rule and triangle area formula extend trigonometry to triangles without a right angle. The difficult part is usually not substitution. It is matching each angle with its opposite side and choosing a formula from the information given.

You should be able to:

  • label sides and angles in a triangle;
  • use sine, cosine and inverse trigonometric functions;
  • rearrange equations and work with squares and square roots;
  • use the angle sum A+B+C=180A+B+C=180^\circ;
  • keep full calculator accuracy until the final answer.

Review Pythagoras and right-angled trigonometry, rearranging formulae or calculator fluency if necessary.

In triangle ABCABC, lower-case letters name the opposite sides:

a=BC,b=CA,c=AB.a=BC,\qquad b=CA,\qquad c=AB.

Thus aa is opposite angle AA, bb is opposite BB, and cc is opposite CC. An angle and its opposite side form an opposite pair.

Use the information in the question, not the appearance of the diagram.

Information availableTypical goalMethod
An opposite angle and side pair, plus another side or angleFind the fourth valueSine rule
Two sides and their included angleFind the third sideCosine rule
Three sidesFind an angleCosine rule
Two sides and their included angleFind area12absinC\frac12 ab\sin C

The included angle lies between the two named sides. For sides aa and bb, it is angle CC.

For any triangle ABCABC,

asinA=bsinB=csinC.\boxed{\frac{a}{\sin A}=\frac{b}{\sin B}=\frac{c}{\sin C}}.

The reciprocal form is often convenient when finding an angle:

sinAa=sinBb=sinCc.\boxed{\frac{\sin A}{a}=\frac{\sin B}{b}=\frac{\sin C}{c}}.

Use only the two fractions needed. Every fraction must contain a correctly matched opposite pair.

In triangle ABCABC, A=48A=48^\circ, B=71B=71^\circ and a=9.4a=9.4 cm. Find bb.

The known pair is A=48A=48^\circ and a=9.4a=9.4:

bsin71=9.4sin48b=9.4sin71sin48=11.96=12.0 cmto 3 s.f.\begin{aligned} \frac{b}{\sin71^\circ}&=\frac{9.4}{\sin48^\circ}\\ b&=\frac{9.4\sin71^\circ}{\sin48^\circ}\\ &=11.96\ldots\\ &=12.0\text{ cm}\quad\text{to 3 s.f.} \end{aligned}

Since 71>4871^\circ>48^\circ, its opposite side should be longer: b>9.4b>9.4. This confirms the answer is plausible.

In a triangle, a=7.2a=7.2 cm, b=10.5b=10.5 cm and A=34A=34^\circ. Find the acute possible value of BB.

sinB10.5=sin347.2sinB=10.5sin347.2B=sin1(10.5sin347.2)=54.6to 1 d.p.\begin{aligned} \frac{\sin B}{10.5}&=\frac{\sin34^\circ}{7.2}\\ \sin B&=\frac{10.5\sin34^\circ}{7.2}\\ B&=\sin^{-1}\left(\frac{10.5\sin34^\circ}{7.2}\right)\\ &=54.6^\circ\quad\text{to 1 d.p.} \end{aligned}

This calculation may have a second valid answer. That issue is addressed below.

Drop a perpendicular of height hh from CC to ABAB. Using the two right-angled triangles,

h=bsinAandh=asinB.h=b\sin A \qquad\text{and}\qquad h=a\sin B.

Therefore bsinA=asinBb\sin A=a\sin B, so

asinA=bsinB.\frac{a}{\sin A}=\frac{b}{\sin B}.

Repeating the argument with another perpendicular gives all three equal ratios. The common value is also the diameter of the triangle’s circumcircle, a fact that becomes useful in more advanced geometry.

For angles between 00^\circ and 180180^\circ,

sinθ=sin(180θ).\sin\theta=\sin(180^\circ-\theta).

Consequently, inverse sine returns one angle but there may be a second:

θ2=180θ1.\theta_2=180^\circ-\theta_1.

This ambiguity can occur when two sides and a non-included angle are known. It does not occur when finding a side, or when the angle is fixed by three known sides.

In triangle ABCABC, A=35A=35^\circ, a=8a=8 cm and b=11b=11 cm. Find all possible values of BB and CC.

First use the sine rule:

sinB=11sin358=0.78867\sin B=\frac{11\sin35^\circ}{8}=0.78867\ldots

The calculator gives

B1=52.1.B_1=52.1^\circ.

The supplementary angle is

B2=18052.1=127.9.B_2=180^\circ-52.1^\circ=127.9^\circ.

Both leave a positive third angle:

C1=1803552.1=92.9,C2=18035127.9=17.1.\begin{aligned} C_1&=180^\circ-35^\circ-52.1^\circ=92.9^\circ,\\ C_2&=180^\circ-35^\circ-127.9^\circ=17.1^\circ. \end{aligned}

So both triangles are possible, subject to rounding.

Suppose inverse sine gives B1=68B_1=68^\circ and another known angle is A=47A=47^\circ. The alternative is B2=112B_2=112^\circ, but

47+112=159<180,47^\circ+112^\circ=159^\circ<180^\circ,

so it is still possible. If instead A=75A=75^\circ, then 75+112>18075^\circ+112^\circ>180^\circ, so the alternative must be rejected.

For any triangle ABCABC,

a2=b2+c22bccosA.\boxed{a^2=b^2+c^2-2bc\cos A}.

The other versions follow by cycling the letters:

b2=a2+c22accosB,c2=a2+b22abcosC.b^2=a^2+c^2-2ac\cos B, \qquad c^2=a^2+b^2-2ab\cos C.

The side alone on the left is opposite the angle in the cosine term. The other two sides multiply in the final term.

If A=90A=90^\circ, then cosA=0\cos A=0, so the formula becomes a2=b2+c2a^2=b^2+c^2. Pythagoras’ theorem is therefore a special case of the cosine rule.

Two sides of a triangle are 77 cm and 1212 cm, and their included angle is 5858^\circ. Find the opposite side xx.

x2=72+1222(7)(12)cos58=103.973x=103.973=10.2 cmto 3 s.f.\begin{aligned} x^2&=7^2+12^2-2(7)(12)\cos58^\circ\\ &=103.973\ldots\\ x&=\sqrt{103.973\ldots}\\ &=10.2\text{ cm}\quad\text{to 3 s.f.} \end{aligned}

Use the positive square root because xx is a length. Also, 127<x<12+7|12-7|<x<12+7, so 5<x<195<x<19 as required by the triangle inequality.

Worked example: find an angle from three sides

Section titled “Worked example: find an angle from three sides”

A triangle has sides a=13a=13 cm, b=9b=9 cm and c=7c=7 cm. Find angle AA.

Start with the version containing AA and rearrange before substituting:

a2=b2+c22bccosA2bccosA=b2+c2a2cosA=b2+c2a22bc.\begin{aligned} a^2&=b^2+c^2-2bc\cos A\\ 2bc\cos A&=b^2+c^2-a^2\\ \cos A&=\frac{b^2+c^2-a^2}{2bc}. \end{aligned}

Therefore

A=cos1(92+721322(9)(7))=108.0to 1 d.p.\begin{aligned} A&=\cos^{-1}\left(\frac{9^2+7^2-13^2}{2(9)(7)}\right)\\ &=108.0^\circ\quad\text{to 1 d.p.} \end{aligned}

The longest side is 1313, so its opposite angle must be the largest. An obtuse result is reasonable.

For the angle AA opposite the longest side aa:

a2<b2+c2A<90a2=b2+c2A=90a2>b2+c2A>90\begin{array}{c|c} a^2<b^2+c^2 & A<90^\circ\\ a^2=b^2+c^2 & A=90^\circ\\ a^2>b^2+c^2 & A>90^\circ \end{array}

This follows directly from the sign of cosA\cos A in the cosine rule.

If two sides and their included angle are known,

Area=12absinC.\boxed{\text{Area}=\frac12 ab\sin C}.

Equivalent forms are 12bcsinA\frac12 bc\sin A and 12casinB\frac12 ca\sin B. The angle must be between the two sides used.

Taking aa as the base, the perpendicular height is bsinCb\sin C. Hence

Area=12×a×bsinC.\text{Area}=\frac12\times a\times b\sin C.

The formula remains valid for an obtuse included angle because sinC=sin(180C)\sin C=\sin(180^\circ-C), which gives the same perpendicular height.

Find the area of a triangle with sides 8.58.5 cm and 13.213.2 cm enclosing an angle of 4242^\circ.

Area=12(8.5)(13.2)sin42=37.5 cm2to 3 s.f.\begin{aligned} \text{Area} &=\frac12(8.5)(13.2)\sin42^\circ\\ &=37.5\text{ cm}^2\quad\text{to 3 s.f.} \end{aligned}

Area uses square units.

A triangle has sides 66 cm, 88 cm and 1111 cm. Find its area.

First find the angle CC between the sides 66 and 88, opposite side 1111:

cosC=62+821122(6)(8)=732.\cos C=\frac{6^2+8^2-11^2}{2(6)(8)}=-\frac7{32}.

Then

Area=12(6)(8)sin(cos1(732))=23.4 cm2to 3 s.f.\begin{aligned} \text{Area} &=\frac12(6)(8)\sin\left(\cos^{-1}\left(-\frac7{32}\right)\right)\\ &=23.4\text{ cm}^2\quad\text{to 3 s.f.} \end{aligned}

Keeping the exact fraction inside the calculator avoids compounding rounding error.

To solve a triangle means to find all unknown sides and angles.

In triangle ABCABC, b=12b=12 cm, c=17c=17 cm and A=63A=63^\circ. Find aa, BB and the area.

The given angle is included between the two known sides, so begin with the cosine rule:

a2=122+1722(12)(17)cos63,a=15.740 cm.\begin{aligned} a^2&=12^2+17^2-2(12)(17)\cos63^\circ,\\ a&=15.740\ldots\text{ cm}. \end{aligned}

Now use the sine rule to find BB:

sinB12=sin6315.740,B=42.8to 1 d.p.\begin{aligned} \frac{\sin B}{12}&=\frac{\sin63^\circ}{15.740\ldots},\\ B&=42.8^\circ\quad\text{to 1 d.p.} \end{aligned}

There is no valid supplementary answer because 18042.8+63>180180^\circ-42.8^\circ+63^\circ>180^\circ. Finally,

Area=12(12)(17)sin63=90.9 cm2to 3 s.f.\text{Area}=\frac12(12)(17)\sin63^\circ=90.9\text{ cm}^2\quad\text{to 3 s.f.}

The remaining angle is C=1806342.8=74.2C=180^\circ-63^\circ-42.8^\circ=74.2^\circ, subject to rounding.

In a/sinA=b/sinBa/\sin A=b/\sin B, each side sits with its opposite angle. Writing a/sinBa/\sin B destroys the geometric relationship.

Two sides and their included angle do not provide a complete opposite pair. Use the cosine rule to find the third side first.

Using a non-included angle in the area formula

Section titled “Using a non-included angle in the area formula”

In 12absinC\frac12 ab\sin C, angle CC must lie between sides aa and bb.

When inverse sine finds an angle, test 180θ180^\circ-\theta. Inverse cosine for a triangle angle has only one value between 00^\circ and 180180^\circ.

Use the calculator’s stored value or retain the full expression. Round once, on the final line, to the requested accuracy.

  1. In triangle ABCABC, A=46A=46^\circ, a=8a=8 cm and B=79B=79^\circ. Find bb to three significant figures.
  2. Two sides have lengths 99 cm and 1414 cm with included angle 105105^\circ. Find the third side to three significant figures.
  3. A triangle has sides 55 cm, 77 cm and 99 cm. Find the angle opposite the 99 cm side to one decimal place.
  4. Find the area of a triangle with sides 1010 cm and 1616 cm enclosing an angle of 3838^\circ.
  5. In triangle ABCABC, A=30A=30^\circ, a=7a=7 cm and b=10b=10 cm. Find all possible values of BB to one decimal place.
  6. Explain which rule you would use first when given all three sides.
  1. b=8sin79/sin46=10.9b=8\sin79^\circ/\sin46^\circ=10.9 cm.
  2. x=92+1422(9)(14)cos105=18.5x=\sqrt{9^2+14^2-2(9)(14)\cos105^\circ}=18.5 cm.
  3. θ=cos1((52+7292)/(2(5)(7)))=95.7\theta=\cos^{-1}((5^2+7^2-9^2)/(2(5)(7)))=95.7^\circ.
  4. 12(10)(16)sin38=49.3 cm2\frac12(10)(16)\sin38^\circ=49.3\text{ cm}^2.
  5. sinB=10sin30/7=5/7\sin B=10\sin30^\circ/7=5/7. Therefore B=45.6B=45.6^\circ or 134.4134.4^\circ. Both are possible because each leaves a positive third angle.
  6. Use the cosine rule to find an angle. The sine rule cannot begin because no angle and opposite side pair is known.

You should now be able to select and apply all three non-right-angled triangle formulas, detect a second possible triangle, and combine methods without premature rounding.

Next, study: