Skip to content

Sine rule, cosine rule and triangle area

The sine rule, cosine rule and triangle area formula solve triangles that do not contain a right angle. Success depends less on memorising formulae than on labelling opposite pairs, recognising the information given, and deciding whether one or two triangles are possible.

Throughout this lesson, side aa is opposite angle AA, side bb is opposite angle BB, and side cc is opposite angle CC.

aA,bB,cC\boxed{a\leftrightarrow A,\qquad b\leftrightarrow B,\qquad c\leftrightarrow C}

Capital letters label angles and the matching lower-case letters label opposite sides. This convention is essential: aa need not be adjacent to AA.

You should be able to:

  • use Pythagoras and trigonometry in right-angled triangles;
  • rearrange formulae and evaluate inverse trigonometric functions;
  • use exact values from exact trigonometric values;
  • understand that angles in a triangle sum to 180180^\circ;
  • keep full calculator values until the final answer.

If these rules are new, the gentler foundations lesson on sine and cosine rules is a useful starting point.

Mark every known side and angle before calculating. Then identify the pattern.

Information availableRequired quantityBest starting point
An opposite side and angle pair, plus another side or angleSide or angleSine rule
Two sides and their included angle, SASThird sideCosine rule
Three sides, SSSAngleCosine rule
Two sides and their included angleArea12absinC\frac12 ab\sin C
Two sides and a non-included angle, SSATriangleSine rule, checking the ambiguous case

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

For any triangle,

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

Use the reciprocal form when finding an angle:

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

Choose only the two fractions needed. Every numerator must remain paired with its opposite angle.

Drop a perpendicular of height hh from CC to side cc. In the two right-angled triangles,

sinA=hbh=bsinA,\sin A=\frac{h}{b} \quad\Longrightarrow\quad h=b\sin A,

and

sinB=hah=asinB.\sin B=\frac{h}{a} \quad\Longrightarrow\quad h=a\sin B.

Equating the two expressions for the same height gives

bsinA=asinB.b\sin A=a\sin B.

Dividing by sinAsinB\sin A\sin B gives

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

Repeating the argument with another perpendicular includes the third pair.

In triangle ABCABC,

A=48,B=71,a=9.4 cm.A=48^\circ,\qquad B=71^\circ,\qquad a=9.4\text{ cm}.

Find bb.

The known opposite pair is a=9.4a=9.4 and A=48A=48^\circ. Pair bb with B=71B=71^\circ:

bsin71=9.4sin48.\frac{b}{\sin71^\circ}=\frac{9.4}{\sin48^\circ}.

Therefore

b=9.4sin71sin48=11.959\begin{aligned} b &=\frac{9.4\sin71^\circ}{\sin48^\circ}\\ &=11.959\ldots \end{aligned}

so

b=12.0 cmto 3 significant figures.\boxed{b=12.0\text{ cm}}\qquad\text{to 3 significant figures}.

The larger side bb lies opposite the larger angle BB, which supports the answer.

In triangle PQRPQR, side p=7.2p=7.2 cm is opposite P=35P=35^\circ, and side q=9.1q=9.1 cm is opposite QQ. Find the possible values of QQ.

Use the angle-over-side form:

sinQ9.1=sin357.2.\frac{\sin Q}{9.1}=\frac{\sin35^\circ}{7.2}.

Hence

sinQ=9.1sin357.2=0.7249\sin Q=\frac{9.1\sin35^\circ}{7.2}=0.7249\ldots

The calculator gives the acute solution

Q1=sin1(0.7249)=46.46.Q_1=\sin^{-1}(0.7249\ldots)=46.46\ldots^\circ.

But sine is also positive in the second quadrant, so

Q2=180Q1=133.53.Q_2=180^\circ-Q_1=133.53\ldots^\circ.

Both satisfy the triangle angle sum because

35+46.46<18035^\circ+46.46\ldots^\circ<180^\circ

and

35+133.53<180.35^\circ+133.53\ldots^\circ<180^\circ.

Therefore

Q=46.5 or 133.5\boxed{Q=46.5^\circ\text{ or }133.5^\circ}

to 11 decimal place. This is the ambiguous sine case, examined fully below.

In triangle ABCABC, A=42A=42^\circ, C=83C=83^\circ and c=14c=14 cm.

  1. Find BB.
  2. Find aa.
Answer B=1804283=55.B=180^\circ-42^\circ-83^\circ=\boxed{55^\circ}.

Using the opposite pairs (a,A)(a,A) and (c,C)(c,C),

asin42=14sin83.\frac{a}{\sin42^\circ}=\frac{14}{\sin83^\circ}.

Thus

a=14sin42sin83=9.437a=\frac{14\sin42^\circ}{\sin83^\circ}=9.437\ldots

and a=9.44 cm\boxed{a=9.44\text{ cm}} to 33 significant figures.

An inverse sine calculation returns only its principal value between 90-90^\circ and 9090^\circ. Yet for 0<θ<1800^\circ<\theta<180^\circ,

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

Consequently, SSA information can describe two triangles, one triangle, or no triangle. The issue arises when an angle and its opposite side are known, together with a second side, but the angle between the two known sides is not known.

Suppose AA, aa and bb are given, where AA is acute. Define the perpendicular height

h=bsinA.h=b\sin A.

Then:

ComparisonNumber of triangles
a<ha<hnone
a=ha=hone right-angled triangle
h<a<bh<a<btwo
aba\geq bone

If the given angle AA is obtuse, its opposite side must be the longest. Therefore there is one triangle if a>ba>b, and no triangle if aba\leq b.

When the sine rule gives an angle B1B_1:

  1. calculate the principal value B1B_1;
  2. calculate B2=180B1B_2=180^\circ-B_1;
  3. test both using A+B<180A+B<180^\circ;
  4. complete every valid triangle separately;
  5. reject impossible angles explicitly.

In triangle ABCABC,

A=30,a=7 cm,b=10 cm.A=30^\circ,\qquad a=7\text{ cm},\qquad b=10\text{ cm}.

Find all possible values of BB and cc.

First,

sinB10=sin307,\frac{\sin B}{10}=\frac{\sin30^\circ}{7},

so

sinB=10sin307=57.\sin B=\frac{10\sin30^\circ}{7}=\frac57.

The two candidates are

B1=sin1(57)=45.584B_1=\sin^{-1}\left(\frac57\right)=45.584\ldots^\circ

and

B2=180B1=134.415.B_2=180^\circ-B_1=134.415\ldots^\circ.

Both are possible because 30+Bi<18030^\circ+B_i<180^\circ.

For the first triangle,

C1=1803045.584=104.415.C_1=180^\circ-30^\circ-45.584\ldots^\circ=104.415\ldots^\circ.

Then

c1=7sinC1sin30=13.559 cm.c_1=\frac{7\sin C_1}{\sin30^\circ}=13.559\ldots\text{ cm}.

For the second triangle,

C2=18030134.415=15.584,C_2=180^\circ-30^\circ-134.415\ldots^\circ=15.584\ldots^\circ,

so

c2=7sinC2sin30=3.761 cm.c_2=\frac{7\sin C_2}{\sin30^\circ}=3.761\ldots\text{ cm}.

Thus the two solutions are

B=45.6,c=13.6 cm\boxed{B=45.6^\circ,\quad c=13.6\text{ cm}}

or

B=134.4,c=3.76 cm.\boxed{B=134.4^\circ,\quad c=3.76\text{ cm}}.

For any triangle,

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

The cyclic forms follow by relabelling:

b2=c2+a22cacosB,b^2=c^2+a^2-2ca\cos B, c2=a2+b22abcosC.c^2=a^2+b^2-2ab\cos C.

The isolated angle form is often safer for SSS questions:

cosA=b2+c2a22bc.\boxed{\cos A=\frac{b^2+c^2-a^2}{2bc}}.

Notice the structure: the side alone on the left is opposite the angle in the cosine. The other two sides appear in the product.

Place B=(0,0)B=(0,0), C=(a,0)C=(a,0) and A=(ccosB,csinB)A=(c\cos B,c\sin B). The squared distance from AA to CC is b2b^2, so

b2=(accosB)2+(csinB)2=a22accosB+c2(cos2B+sin2B)=a2+c22accosB.\begin{aligned} b^2 &=(a-c\cos B)^2+(c\sin B)^2\\ &=a^2-2ac\cos B+c^2(\cos^2B+\sin^2B)\\ &=a^2+c^2-2ac\cos B. \end{aligned}

This is the cosine rule. If B=90B=90^\circ, then cosB=0\cos B=0 and it reduces to

b2=a2+c2,b^2=a^2+c^2,

so Pythagoras’ theorem is its right-angled special case.

Two sides of a triangle are 8.28.2 cm and 11.511.5 cm, and their included angle is 6363^\circ. Find the opposite side xx.

Because the included angle is known, use the cosine rule:

x2=8.22+11.522(8.2)(11.5)cos63=113.873\begin{aligned} x^2 &=8.2^2+11.5^2-2(8.2)(11.5)\cos63^\circ\\ &=113.873\ldots \end{aligned}

Lengths are positive, so

x=113.873=10.671x=\sqrt{113.873\ldots}=10.671\ldots

and

x=10.7 cm\boxed{x=10.7\text{ cm}}

to 33 significant figures.

Worked example 5: SSS, find the largest angle

Section titled “Worked example 5: SSS, find the largest angle”

A triangle has side lengths 66 cm, 88 cm and 1111 cm. Find its largest angle.

The largest angle lies opposite the longest side, 1111 cm. Call it CC. Then

cosC=62+821122(6)(8)=2196.\begin{aligned} \cos C &=\frac{6^2+8^2-11^2}{2(6)(8)}\\ &=-\frac{21}{96}. \end{aligned}

Therefore

C=cos1(2196)=102.635,C=\cos^{-1}\left(-\frac{21}{96}\right)=102.635\ldots^\circ,

so

C=102.6.\boxed{C=102.6^\circ}.

The negative cosine correctly indicates an obtuse angle.

Classifying a triangle without finding its angles

Section titled “Classifying a triangle without finding its angles”

Let aa be the longest side. Comparing a2a^2 with b2+c2b^2+c^2 classifies the opposite angle 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 from the sign of cosA\cos A in the cosine rule.

A triangle has side lengths 55 cm, 77 cm and 99 cm.

  1. Is its largest angle acute, right or obtuse?
  2. Find that angle.
Answer

The longest side is 99 cm. Since

92=81>52+72=74,9^2=81>5^2+7^2=74,

the largest angle is obtuse.

If that angle is CC, then

cosC=52+72922(5)(7)=110.\cos C=\frac{5^2+7^2-9^2}{2(5)(7)}=-\frac1{10}.

Therefore

C=cos1(0.1)=95.7\boxed{C=\cos^{-1}(-0.1)=95.7^\circ}

to 11 decimal place.

If two sides and their included angle are known, then

K=12absinC\boxed{K=\frac12 ab\sin C}

where KK denotes area. Equivalent forms are

K=12bcsinA=12casinB.K=\frac12 bc\sin A=\frac12 ca\sin B.

To derive the formula, take side aa as the base. The perpendicular height is bsinCb\sin C, so

K=12×a×bsinC.K=\frac12\times a\times b\sin C.

The angle must be included between the two sides used.

Worked example 6: area from two sides and an angle

Section titled “Worked example 6: area from two sides and an angle”

Find the area of a triangle with sides 12.412.4 m and 17.117.1 m enclosing an angle of 3838^\circ.

K=12(12.4)(17.1)sin38=65.272\begin{aligned} K &=\frac12(12.4)(17.1)\sin38^\circ\\ &=65.272\ldots \end{aligned}

Therefore

K=65.3 m2\boxed{K=65.3\text{ m}^2}

to 33 significant figures. Area requires square units.

Worked example 7: find an angle from an area

Section titled “Worked example 7: find an angle from an area”

A triangle has area 24 cm224\text{ cm}^2. Two of its sides have lengths 88 cm and 99 cm. Find the possible included angles CC.

24=12(8)(9)sinC,24=\frac12(8)(9)\sin C,

so

sinC=2436=23.\sin C=\frac{24}{36}=\frac23.

Thus

C1=sin1(23)=41.810C_1=\sin^{-1}\left(\frac23\right)=41.810\ldots^\circ

or

C2=180C1=138.189.C_2=180^\circ-C_1=138.189\ldots^\circ.

Both are valid included angles, so

C=41.8 or 138.2.\boxed{C=41.8^\circ\text{ or }138.2^\circ}.

Equal supplementary sines explain why the same two sides can enclose two different angles but produce the same area.

Do not replace exact data by decimals unless the question requests an approximation.

Sides a=4a=4 and b=7b=7 enclose angle C=60C=60^\circ. Find the area and side cc exactly.

For the area,

K=12(4)(7)sin60=1432=73.K=\frac12(4)(7)\sin60^\circ =14\cdot\frac{\sqrt3}{2} =\boxed{7\sqrt3}.

For the third side,

c2=42+722(4)(7)cos60=16+4956(12)=37.\begin{aligned} c^2 &=4^2+7^2-2(4)(7)\cos60^\circ\\ &=16+49-56\left(\frac12\right)\\ &=37. \end{aligned}

Hence

c=37.\boxed{c=\sqrt{37}}.

One rule may create the information needed by another. Keep a diagram labelled, show unrounded intermediate values, and ask what the next rule requires.

In triangle ABCABC,

b=12 cm,c=16 cm,A=52.b=12\text{ cm},\qquad c=16\text{ cm},\qquad A=52^\circ.

Find aa, BB and the area.

There is no complete opposite pair initially. The two known sides enclose AA, so begin with the cosine rule:

a2=122+1622(12)(16)cos52=163.586,\begin{aligned} a^2 &=12^2+16^2-2(12)(16)\cos52^\circ\\ &=163.586\ldots, \end{aligned}

giving

a=12.790 cm.a=12.790\ldots\text{ cm}.

Now use the sine rule. Since b=12<a=12.790b=12<a=12.790\ldots, its opposite angle BB must be smaller than A=52A=52^\circ:

sinB12=sin5212.790.\frac{\sin B}{12}=\frac{\sin52^\circ}{12.790\ldots}.

Therefore

B=47.67.B=47.67\ldots^\circ.

The supplementary value is impossible because it would exceed 5252^\circ despite lying opposite the shorter side. Finally,

K=12(12)(16)sin52=75.648 cm2.\begin{aligned} K &=\frac12(12)(16)\sin52^\circ\\ &=75.648\ldots\text{ cm}^2. \end{aligned}

Thus

a=12.8 cm,B=47.7,K=75.6 cm2.\boxed{a=12.8\text{ cm},\quad B=47.7^\circ,\quad K=75.6\text{ cm}^2}.

A bearing is measured clockwise from north and written with three digits, such as 065065^\circ. The angle inside a triangle is often not the bearing itself. Use parallel north lines, angles around a point, or a sketch to derive the interior angle first.

A boat sails 1818 km from PP on a bearing of 040040^\circ to QQ. It then sails 2525 km from QQ on a bearing of 130130^\circ to RR. Find the direct distance PRPR.

The bearing from QQ back to PP is

040+180=220.040^\circ+180^\circ=220^\circ.

At QQ, the interior angle between directions 220220^\circ and 130130^\circ is

220130=90.220^\circ-130^\circ=90^\circ.

The cosine rule gives

PR2=182+2522(18)(25)cos90=949.\begin{aligned} PR^2 &=18^2+25^2-2(18)(25)\cos90^\circ\\ &=949. \end{aligned}

Hence

PR=949=30.8 km\boxed{PR=\sqrt{949}=30.8\text{ km}}

to 33 significant figures.

In the sine rule, each angle pairs with the side opposite it. Write the matching letters before substituting:

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

Using the sine rule without a complete pair

Section titled “Using the sine rule without a complete pair”

SAS data contain no known opposite side and angle pair. Find the third side with the cosine rule first.

Using a non-included angle in the cosine or area formula

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

In

a2=b2+c22bccosAa^2=b^2+c^2-2bc\cos A

and

K=12bcsinA,K=\frac12bc\sin A,

AA is the angle between bb and cc.

If sinB=k\sin B=k, test both

B=sin1kandB=180sin1k.B=\sin^{-1}k \quad\text{and}\quad B=180^\circ-\sin^{-1}k.

Never assume either is valid until the angle sum is checked.

Store calculator values or carry at least several extra figures. Premature rounding can alter a final answer, especially in a long chain of triangle calculations.

Ignoring whether an answer is geometrically possible

Section titled “Ignoring whether an answer is geometrically possible”

Always check:

  • the largest angle is opposite the largest side;
  • all angles are positive and total 180180^\circ;
  • the sum of any two sides exceeds the third side;
  • bc<a<b+c|b-c|<a<b+c for a third side aa;
  • lengths and areas have appropriate units.
  1. Two sides of a triangle are 77 cm and 1313 cm, enclosing an angle of 104104^\circ. Find the third side.
  2. A triangle has sides 88 cm, 1010 cm and 1414 cm. Find its largest angle.
  3. Find the area of a triangle with sides 99 cm and 1515 cm enclosing 3232^\circ.
  4. In triangle ABCABC, A=38A=38^\circ, a=8a=8 cm and b=11b=11 cm. Find all possible values of BB.
  5. Explain why no triangle exists when A=30A=30^\circ, a=4a=4 cm and b=10b=10 cm.
Answers
  1. By the cosine rule,

    x2=72+1322(7)(13)cos104,x^2=7^2+13^2-2(7)(13)\cos104^\circ,

    so x=16.2 cm\boxed{x=16.2\text{ cm}} to 33 significant figures.

  2. The largest angle CC is opposite 1414 cm:

    cosC=82+1021422(8)(10)=0.2.\cos C=\frac{8^2+10^2-14^2}{2(8)(10)}=-0.2.

    Hence C=101.5\boxed{C=101.5^\circ} to 11 decimal place.

K=12(9)(15)sin32=35.8 cm2K=\frac12(9)(15)\sin32^\circ=\boxed{35.8\text{ cm}^2}

to 33 significant figures.

sinB=11sin388,\sin B=\frac{11\sin38^\circ}{8},

giving B1=57.8B_1=57.8^\circ and B2=122.2B_2=122.2^\circ. Both leave a positive third angle, so B=57.8 or 122.2\boxed{B=57.8^\circ\text{ or }122.2^\circ}.

  1. The perpendicular height is

    h=bsinA=10sin30=5 cm.h=b\sin A=10\sin30^\circ=5\text{ cm}.

    Since a=4<h=5a=4<h=5, side aa cannot reach the base to close the triangle. Therefore no triangle exists.

For opposite pairs aAa\leftrightarrow A, bBb\leftrightarrow B and cCc\leftrightarrow C:

asinA=bsinB=csinC\boxed{\frac{a}{\sin A}=\frac{b}{\sin B}=\frac{c}{\sin C}} a2=b2+c22bccosA\boxed{a^2=b^2+c^2-2bc\cos A} K=12bcsinA.\boxed{K=\frac12bc\sin A}.

Use the sine rule when a known opposite pair is available. Use the cosine rule for SAS or SSS. Use the area formula with two sides and their included angle. Whenever inverse sine is used with SSA data, test the supplementary angle.