Educerie · IB Diploma · Mathematics: analysis and approaches
IB Mathematics AA 3.2 · SL and HL
Trigonometry in triangles
Right-angled triangles give up their secrets through SOH CAH TOA, so what do you do when the triangle has no right angle, and how do you know which rule to reach for?
What you will learn
Know how to use sine, cosine and tangent, and their inverses, in right-angled triangles.
Know when to use the sine rule and when to use the cosine rule in a triangle without a right angle.
Know how to find the area of a triangle from two sides and the angle between them.
Understand why the cosine rule is safer than the sine rule for an angle that may be obtuse.
You must be able to
Calculate a side or an angle with the cosine rule, including an obtuse angle.
Calculate a side or an angle with the sine rule, matching each side to its opposite angle.
Find the area of a triangle or a quadrilateral using ½ab sin C.
Solve a triangle fully, choosing the right rule at each step.
Find exact sides, angles and areas without a calculator using exact values.
Find an angle from a given area, giving both possible values.
In the exam. often, and mostly as "find" questions: about 140 past IB questions, two in three of them on Paper 2. Paper 2 (calculator) asks for a 5 to 8 mark "solve the triangle" question, often on a quadrilateral cut into two triangles by a diagonal, or on two triangles that share a side, and the same rules sit inside almost every context question in 3.3 (bearings, heights, distances). Paper 1 (no calculator) asks a 4 to 6 mark question where the numbers are chosen to come out exactly: an angle of 60∘ or 120∘ from the cosine rule, an area in surd form, or a "show that" with the answer printed. The area rule returns in 3.4 for segments.
1Right-angled triangles, revisited
In a right-angled triangle the longest side, facing the right angle, is the hypotenuse. The other two sides are named from the angle you are working with. The opposite faces it and the adjacent touches it.
Figure 1 shows that opposite and adjacent swap when you change angle. The hypotenuse stays put.
Figure 1 · Name the sides from the angle you are using
Pick the ratio by the two sides involved, one known and one wanted. When two sides are known and you want the third, Pythagoras' theorem is quicker: a2+b2=c2, with c the hypotenuse.
Multiplying
A straight stretch of funicular track is 22m long and climbs at 41∘. The hypotenuse and the angle are known.
The height gained is the side opposite the angle, so use sine: 22sin41∘=14.4m. The horizontal run is the adjacent side: 22cos41∘=16.6m (3 s.f.).
Dividing
A support wire makes an angle of 52∘ with the ground. It meets the mast 9.5m up. The known side is opposite the angle and the wire is the hypotenuse.
So sin52∘=h9.5, which rearranges to h=sin52∘9.5=12.1m.
Finding an angle
The two shorter sides are 6cm and 11cm, and θ faces the 6cm side. So tanθ=116 and θ=tan−1(116)=28.6∘.
The inverse function undoes tan: it takes a ratio and returns the angle. On the calculator it is the shift or second function of the tan key.
Exact values for Paper 1. Two special triangles give exact ratios you should know without a calculator.
Half an equilateral triangle: angles 30∘, 60∘, 90∘ and sides 1, 3, 2.
Half a square: angles 45∘, 45∘, 90∘ and sides 1, 1, 2.
θ
30∘
45∘
60∘
sinθ
21
22
23
cosθ
23
22
21
tanθ
33
1
3
In 3.5 these extend to angles beyond 90∘. For example sin120∘=23 and cos120∘=−21. Paper 1 cosine-rule questions use these.
2Labelling any triangle
Without a right angle there is no hypotenuse, so the sides need a new naming system. Call the angles A, B and C. Give each side the small letter of the angle that faces it, as in Figure 2.
Figure 2 · Side a is opposite angle A
The formula booklet writes every rule in these letters, but a question will label its triangle PQR or XYZ. Before using a rule, match the letters. In triangle PQR, the side opposite angle P is QR.
Two letters name a side. Three letters name an angle, with the middle letter at the corner: QPR is the angle at P. Mismatching sides and angles causes more lost marks on this page than any arithmetic.
3The sine rule
sinAa=sinBb=sinCc · in the formula booklet. Use it when you know a side and the angle opposite it (a "pair"), plus one more side or angle.
Why it is true. Drop a perpendicular of length h from C to side c, as in Figure 3. It splits the triangle into two right-angled triangles.
In the left one, h=bsinA.
In the right one, h=asinB.
Both equal h, so bsinA=asinB. Dividing by sinAsinB gives sinAa=sinBb. A perpendicular from another corner brings in sinCc in the same way.
Figure 3 · Why the sine rule works
Finding a side from two angles and a side. In triangle ABC, A=52∘, B=71∘ and a=8.4cm. Find b and c.
sin71∘b=sin52∘8.4the known pair: side a with angle Ab=sin52∘8.4sin71∘=10.1cm(3 s.f.)C=180∘−52∘−71∘=57∘the angle sum gives the third anglec=sin52∘8.4sin57∘=8.94cm(3 s.f.)
Exact side (Paper 1). In triangle ABC, A=30∘, B=45∘ and a=7. Find b exactly.
sin45∘b=sin30∘7b=217×22=72the halves cancel; nothing to rationalise
Finding an angle
When the unknown is an angle, flip the rule so the sines are on top: asinA=bsinB.
Example: in triangle ABC, a=14cm, b=11cm and A=58∘. Find B.
A check that costs nothing: the largest angle faces the longest side. Here b<a, so B must be smaller than A. 41.8∘<58∘ agrees.
Why the sine rule cannot be trusted for a possibly obtuse angle
Sine is positive for every angle between 0∘ and 180∘. So sinB=0.6663 is also true for B=180∘−41.8∘=138.2∘. The calculator only ever returns the acute one.
Here 138.2∘ is impossible, because 58∘+138.2∘>180∘. In another triangle the true angle could be the obtuse one.
The "two possible triangles" situation is the ambiguous case, which the guide gives to 3.5. Questions here are set so that only one triangle exists.
The safe habit: use the sine rule to find an angle only when you know it is not the largest in the triangle. For the largest angle, use the cosine rule, which never hides an obtuse answer.
When the data cannot be a triangle
If the sine rule produces a sine above 1, no triangle has those measurements.
Example: a side of 4cm facing a 50∘ angle, with another side of 9cm, would need sinB=49sin50∘=1.72. The short side cannot reach across.
4The cosine rule
c2=a2+b2−2abcosC, and rearranged, cosC=2aba2+b2−c2 · both in the formula booklet.
Use the first form when you know two sides and the angle between them (the included angle) and want the third side. Use the second when you know all three sides and want an angle.
In both, c is the side opposite C. In the fraction, the subtracted term is the square of the side opposite the angle you are finding.
Why it is Pythagoras with a correction
If C=90∘, then cosC=0 and the last term vanishes. This leaves c2=a2+b2, which is Pythagoras.
If C is smaller than 90∘, cosC is positive and c2 is less than a2+b2. The triangle is squashed and c is shorter.
If C is larger than 90∘, cosC is negative. The correction is added, and c is longer.
Figure 4 keeps a=5 and b=8 and opens the angle between them from 60∘ to 90∘ to 120∘. The third side grows from 7 to 89 to 129.
Figure 4 · The cosine rule is Pythagoras with a correction
Where it comes from (for the curious)
Put C at the origin and side b along the x-axis, so A=(b,0). Then B=(acosC,asinC).
The distance formula gives c2=(acosC−b)2+(asinC)2=a2cos2C−2abcosC+b2+a2sin2C. Because cos2C+sin2C=1 (an identity from 3.6), this is a2+b2−2abcosC.
Finding a side (Paper 2). Two sides are 6.4cm and 9.1cm, with an angle of 73∘ between them. Find the third side c.
The same sine comes from sin2A+cos2A=1 (3.6). A triangle's angles lie between 0∘ and 180∘, where sine is never negative. So take the positive root even when the cosine is negative.
Example: if cosA=−41, then sinA=1−161=415.
An unknown side that is not next to the angle. In triangle ABC, A=35∘, BC=7cm and AC=10cm. Find AB.
The angle is not between the two known sides, so the cosine rule cannot give AB directly. Call it x and write the rule for the side opposite A.
72=x2+102−2(x)(10)cos35∘x2−(20cos35∘)x+51=0a quadratic in xx=12.2orx=4.18cm(3 s.f.)solve on the GDC
Both lengths give a genuine triangle. This is the ambiguous case reached through the cosine rule, and 3.5 treats it with the sine rule. If the context rules one length out (it must be longer than another side, say), say why and keep the other.
Angles in radians. An angle may be given in radians, such as 32π. Either switch the calculator to radian mode or use the exact value cos32π=−21. The rules do not change.
5The area of a triangle
Area=21absinC · in the formula booklet: two sides and the angle between them.
Area is 21×base×height. Figure 5 shows where the height comes from.
Take side a as the base.
The height from A down to it is the opposite side of a right-angled triangle with hypotenuse b and angle C. So height=bsinC.
Then area=21×a×bsinC.
The angle must be the one between the two sides you use: two sides and the angle trapped between them.
Figure 5 · Area = ½ab sin C
Exact area (Paper 1). Two sides of 5cm and 8cm meet at 45∘. Then area=21×5×8×sin45∘=20×22=102cm2.
Backwards: from area to angle. A triangle has sides 7cm and 12cm and area 18cm2. Find the angle between those sides.
Both answers give a genuine triangle with that area: a narrow one and a wide one. Unless the question says the angle is acute or obtuse, give both. This is not the ambiguous case of the sine rule. It follows from sinθ=sin(180∘−θ).
Backwards: from area to a side. Let AB=10cm, the angle at A be 35∘ and the area be 40cm2. Then 21(10)(AC)sin35∘=40 and AC=13.9cm. There is one answer, because the equation is linear.
Other shapes are cut into triangles
Parallelogram. With sides a and b and an angle θ between them, it is two identical triangles. Its area is absinθ.
Regular polygon. With n sides, it is n identical isosceles triangles meeting at the centre. Each has two sides of length r (centre to corner) and an angle of n360∘ between them. The area is 2nr2sinn360∘.
Quadrilateral. Cut it along a diagonal into two triangles and add the two areas. Section 6 has full examples.
6Choosing the rule, and solving a whole triangle
Figure 6 sorts every starting position.
Figure 6 · Which rule? Decide from what you are given
A side and its opposite angle are both known: the sine rule.
Two sides and the included angle, wanting the third side: the cosine rule.
Three sides, wanting an angle: the cosine rule rearranged.
Two sides and the included angle, wanting the area: 21absinC.
Not every set of three measurements fixes a triangle.
Three angles do not. Every enlargement has the same angles, so no side can be found.
Three sides do only if the two shorter sides together exceed the longest. Sides 3, 4 and 8 make no triangle: the cosine rule would give a cosine of −2439, below −1.
Two angles and a side, or two sides and the angle between them. The two angles must add to less than 180∘. Either set always gives exactly one triangle.
Two sides and an angle that is not between them can give no triangle, one or two. This is the ambiguous case of 3.5.
To "solve a triangle" means to find every side and angle. Work in an order that keeps you safe. After a cosine-rule step, take the next angle from the sine rule only if it does not face the longest side. Otherwise use the cosine rule again.
Worked example 1: solving a whole triangle (Paper 2). In triangle PQR, PQ=9cm, PR=6cm and QPR=110∘. Find QR, the other two angles, and the area. Figure 7 shows the finished triangle.
Figure 7 · Solving a triangle from two sides and the angle between
QR2=92+62−2(9)(6)cos110∘=117+36.937…=153.94…two sides and the included angle: cosine ruleQR=12.4cm(3 s.f.)6sinQ=12.407…sin110∘now a known pair, 110∘ with QRsinQ=12.407…6sin110∘=0.4544…Q=27.0∘Q faces the shortest side, so it is acuteR=180∘−110∘−27.0∘=43.0∘area=21(9)(6)sin110∘=25.4cm2
The unrounded QR stayed in the calculator for the sine-rule step.
Worked example 2: a quadrilateral (Paper 2). In quadrilateral WXYZ, WX=11cm, WZ=8cm, XY=7cm, YZ=9cm and XWZ=64∘. Find the area.
Draw the diagonal XZ. It closes the triangle WXZ, where two sides and the included angle are known.
XZ2=112+82−2(11)(8)cos64∘=107.84…cosine rule in WXZcosY=2(7)(9)72+92−107.84…=0.1758…XYZ now has three known sidesY=79.9∘area=21(11)(8)sin64∘+21(7)(9)sin79.87…∘=39.55+31.01=70.6cm2
Choose the diagonal that sits in a triangle you can already solve. Then let its length feed the second triangle.
Worked example 3: two triangles sharing a side (Paper 2). In triangle ABC, AB=12cm, BC=15cm and ABC=50∘. The point D lies on BC with BD=6cm, so DC=9cm.
Find AD, the angle ADC, and the area of triangle ADC.
AD2=122+62−2(12)(6)cos50∘=87.43…triangle ABD: two sides and the angle betweenAD=9.35cmcosADB=2(6)(9.350…)62+87.43…−122=−0.1832…cosine, because ADB may be obtuseADB=100.6∘,ADC=180∘−100.6∘=79.4∘angles on a straight linearea of ADC=21(9.350…)(9)sin79.44…∘=41.4cm2
The sine rule for ADB would have returned 79.4∘, the acute partner of the true obtuse angle. Every number after it would have been wrong.
An isosceles triangle splits in two (a "show that"). Triangle ABC has AB=AC=10cm and the angle at A is 38∘. Show that BC=20sin19∘.
The line from A to the midpoint of BC is perpendicular to BC and halves the apex angle. So half of BC is 10sin19∘, and BC=20sin19∘=6.51cm. The cosine rule gives the same value.
Sketch every time. The guide asks for well-labelled diagrams. A sketch shows which side faces which angle.
Practice questions
46 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.