In any triangle the sides are in proportion to the sines of the opposite angles: sinAa=sinBb=sinCc
Lesson 1 of 3Show all lessonsHide
Try the code and the simulations beside the lesson.
What you will be able to do
choose between the sine rule and the cosine rule from the data;
find the area of a triangle from two sides and the angle between them;
spot the ambiguous case and find every triangle that fits.
When the right angle is missing
A surveyor stands at a corner of a field. The other two corners are far apart, and the angle at her corner is 75∘. No right angle appears anywhere. The ratios sin, cos and tan of a right triangle do not apply directly. Two rules work in every triangle.
We name a triangle ABC and call the side opposite each corner by the small letter: a is opposite A, b opposite B and c opposite C.
A triangle ABC with no right angle. The corners are labelled A, B and C, and the side opposite each corner is labelled with the small letter: a opposite A, b opposite B and c opposite C.
The sine rule
sinAa=sinBb
=sinCc.
Each ratio also equals 2R, where R is the radius of the circle through the three corners. Use the sine rule when you know two angles and a side, or two sides and an angle opposite one of them.
Example.A=40∘, B=65∘ and a=10m.
The third angle.C=180∘−40∘−65∘=75∘.
Side b.b=sin40∘10sin65∘≈14.10m.
Side c.c=sin40∘10sin75∘≈15.03m.
The cosine rule
c2=a2+b2−2abcosC.
Use it when you know two sides and the angle between them, or all three sides. For an angle, rearrange in the step where the angle is the unknown:
cosC=2aba2+b2−c2.
When C=90∘, cosC=0 and the rule becomes Pythagoras. So the cosine rule is Pythagoras with a correction for the angle.
Example.a=7m, b=8m, C=60∘. Then c2=49+64−56=57, so c=57m≈7.55m.
The area
The height of the triangle on the side a is bsinC. So
Area=21absinC.
In the last example the area is 21×7×8×sin60∘=143m2≈24.25m2.
The ambiguous case
Suppose you know A, the side a opposite it, and another side b. Swing the side a from the end of b like a door. It may reach the base line twice, once or not at all.
A base line from A, with a side b = 8 rising from A at an angle of 40 degrees to a point C. From C, a circle arc of radius a = 6 cuts the base line at two points, B1 and B2. The two triangles A B1 C and A B2 C both have the angle 40 degrees at A, the side 8 and the side 6.
The sine rule gives sinB=absinA. Then:
if a<bsinA, there is no triangle, because sinB would be more than 1;
if a=bsinA, there is one right-angled triangle;
if bsinA<a<b, there are two triangles, with B and 180∘−B;
if a≥b, there is one triangle, because the obtuse B would leave no room.
Example.A=40∘, a=6m, b=8m. Here bsinA≈5.14m, which is less than 6m, and 6m<8m. Two triangles fit. sinB≈0.857, so B≈58.99∘ or B≈121.01∘.
You prove both rules in the chapter on Euclidean geometry. Books in the United States call them the law of sines and the law of cosines.
Practise with new numbers
Try it in Python
The program solves a triangle from two sides and the angle between them. Then it lists every triangle that fits two sides and a non-included angle.
Common mistakes
Pairing a side with the wrong angle. In the sine rule each side goes with the angle opposite it.
A plus sign in the cosine rule. It is −2abcosC. For an obtuse C, cosC is negative, so the side comes out longer, as it should.
Missing the second triangle.sinB=0.857 has two answers between 0∘ and 180∘. Check whether the obtuse one fits.
Using the sine rule for an angle when the cosine rule is safer. For the largest angle, use the cosine rule. Its sign tells you at once whether the angle is obtuse.
Remember these
Sine rule: sinAa=sinBb=sinCc=2R.
Cosine rule: c2=a2+b2−2abcosC.
Area: 21absinC.
Two sides and a non-included angle may give two, one or no triangles.
Check yourself
Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.
Which rule do you use first if you know the three sides of a triangle?
In a triangle, a=5m, b=5m and C=90∘. Find c by the cosine rule.
Find the area of a triangle with sides 6m and 10m and the angle 30∘ between them.
With A=50∘, b=10m and a=12m, how many triangles fit?
Why does the cosine rule give a longer side for an obtuse angle than Pythagoras would?
References
OpenStax, Precalculus 2e, Chapter 8, section 8.1 (the law of sines, the ambiguous case, area) and section 8.2 (the law of cosines).
Cambridge IGCSE Mathematics 0580 syllabus, topic E6.5 (the sine rule, the cosine rule and 21absinC).
Enroll free in Sine and Cosine Rules in Heights and Distances
Every lesson is open to read. Enrolling also lets you:
Mark lessons done and carry on where you stopped.
Take the tests of this lesson and its course.
Count the course towards the certificate for its chapter.