1. Home
  2. Grade 7-12 Math Review
  3. The Laws of Sines and Cosines
Grade 7-12 Math Review · Grade 10 · Quarter 3

The Laws of Sines and Cosines

Trigonometry for triangles with no right angle. The hard part is choosing which law.

Choose the law

A triangle has sides 8 and 11 with an angle of 40° between them. Which law finds the third side?

Choosing the law from what you are given.

You knowUse
Two angles and any side (AAS, ASA)law of sines
Two sides and a non-included angle (SSA)law of sines — watch for two answers
Two sides and the included angle (SAS)law of cosines
All three sides (SSS)law of cosines

The rule of thumb: if you have a matched pair — an angle and the side opposite it — use sines. If not, use cosines.

The law of sines pairs each angle with its opposite side.

asin A = bsin B = csin C

ABC abc side a faces angle A

A = 50°, B = 60°, a = 12

find b

12sin 50° = bsin 60°

a matched pair, plus one more

b = 12 sin 60°sin 50°

≈ 13.6

Sensible: B is the larger angle, so b should be the longer side — and 13.6 > 12 ✓

The law of cosines, for a missing side.

c² = a² + b² − 2ab(cos C), where C is the angle opposite c

a = 8, b = 11, C = 40°

the opening problem

c² = 64 + 121 − 2(8)(11)cos 40°

cos 40° ≈ 0.766

= 185 − 176(0.766) ≈ 50.2

subtract

c ≈ 7.08

take the root

Root at the end, and mind the order

The formula gives c², so the square root is a separate final step. And the whole term 2ab cos C is subtracted — compute it fully before taking it off a² + b².

When C = 90°, cos C = 0, so the term 2ab cos C disappears and the law becomes c² = a² + b² — the Pythagorean theorem is the right-angle case of the law of cosines.

Three sides given: rearrange for the angle.

a = 5, b = 7, c = 9

find the largest angle, C

cos C = a² + b² − c²2ab

rearranged

= 25 + 49 − 8170 = −770 = −0.1

negative

C ≈ 95.7°

obtuse, as the sign predicted

A negative cosine means an obtuse angle. That is a free check: the largest angle faces the longest side, and here 9 is longest, so C being the biggest angle is exactly right.

The area of any triangle from two sides and the angle between.

Area = (12)ab sin C, where C is the angle between sides a and b

A lot has two sides of 9 m and 14 m meeting at an angle of 150°. Find its area.

Area = (12)(9)(14) sin 150°

the angle is between the two sides

= 63 × 0.5

sin 150° = 0.5

= 31.5 m²

no height needed

Why it works: the height onto side a is b sin C, so (12) × base × height becomes (12)ab sin C. With C = 90°, sin C = 1 and it is the familiar (12) × base × height.

Keep the half, and use the angle between

Dropping the (12) gives 63 m², double the true area. Using an angle that is not between the two sides also fails — the formula needs the included angle, exactly like SAS in the law of cosines.

Variations: no matched pair yet, an obtuse included angle, two possible triangles.

The same two laws; each case adds one twist.

No matched pair yet: A = 35°, C = 75°, b = 20. Find a.

B = 180° − 35° − 75° = 70°

now b and B are a pair

a = 20 sin 35°sin 70°

law of sines

= 20(0.5736) ÷ 0.9397 ≈ 12.2

smallest angle, shortest side ✓

Different: the given side faces the missing angle, so the angle sum comes first.

An obtuse included angle: a = 4, b = 6, C = 120°. Find c.

c² = 16 + 36 − 2(4)(6)cos 120°

cos 120° = −0.5

= 52 − 48(−0.5) = 52 + 24 = 76

minus a negative adds

c = √76 ≈ 8.72

longer than 4 and 6 ✓

Different: an obtuse angle makes the third side longer than Pythagoras would give.

Two possible triangles: a = 7, b = 10, A = 40°. Find B.

sin B = 10 sin 40°7 ≈ 0.9183

law of sines, SSA

B ≈ 66.7° or B ≈ 180° − 66.7° = 113.3°

sine is positive in both

both work: 40° + 113.3° < 180°

two triangles fit the data

Different: a sine gives two angles. Keep the obtuse one only if the angle sum leaves room for it.

Elevation and depression, where these get used.

Angle of elevation looking up from horizontal from the observer
Angle of depression looking down from horizontal measured from the horizontal, not the vertical
They are equal alternate angles between two parallel horizontals

A tower's top has elevation 32° from 50 m away

a right triangle

tan 32° = h50

opposite over adjacent

h = 50 tan 32° ≈ 31.2 m

no special law needed

Remember the flow

Right angle? plain trig · Matched angle-and-opposite-side pair? sines · Otherwise cosines · Root at the end

A negative cosine means the angle is obtuse — a useful sanity check.

On the exam

Expect "which law" items, one missing side or angle to compute, an area from two sides and the included angle, and a distance or height word problem. The fastest route is to look for a matched angle-and-opposite-side pair: if there is one, use sines; if not, cosines. The 10-second check: the longest side must face the largest angle.

Now you try

Practice problem

Choose the law

A triangle has all three sides known: 6, 9 and 12. Which law finds its largest angle?

Hint: ask whether you have an angle paired with the side opposite it. Without one, the law of sines has nothing to work from.

The practice set for this lesson

The Laws of Sines and Cosines

Every lesson in the Grade 7-12 Math Review has one of these. 30 questions, marked as you answer, with the working shown for each.

Question 1 of 30

What does the Law of Sines state?

Question 2 of 30

What does the Law of Cosines state for side c?

Question 3 of 30

Two sides and the angle between them are known. Which law should be used?

Question 4 of 30

Two angles and one side are known. Which law should be used?

Question 5 of 30

In a triangle, a = 8, A = 30° and B = 45°. What is b, to one decimal place?

Question 6 of 30

In a triangle, a = 5, b = 7 and the angle between them is 60°. What is the third side, to two decimal places?

Question 7 of 30

A triangle has sides 7, 8 and 9. What is the cosine of the angle opposite the side of 9?

Question 8 of 30

A triangle has sides 6 and 10 with a 30° angle between them. What is its area?

Question 9 of 30

In a triangle, A = 40°, B = 60° and a = 10. What is c, to one decimal place?

Question 10 of 30

When must the Law of Cosines be used rather than the Law of Sines?

Question 11 of 30

Two angles of a triangle and the side between them are known. Which law finds another side?

Question 12 of 30

Which formula gives the area of a triangle from sides a and b and the angle C between them?

Question 13 of 30

A triangle has angles 40°, 65° and 75°. Which side is the longest?

Question 14 of 30

In a triangle, cos C works out to 0.3. What kind of angle is C?

Question 15 of 30

In a triangle, A = 50° and B = 70°. What is C?

Question 16 of 30

A boy stands 30 m from a tree and sees its top at an angle of elevation of 45°. How tall is the tree above his eye level?

Question 17 of 30

In a triangle, a = 4, b = 6 and C = 60°. What is c?

Question 18 of 30

A triangle has sides 5, 6 and 7. What is the cosine of the angle opposite the side 7?

Question 19 of 30

In a triangle, B = 30°, C = 120° and b = 4. What is c?

Question 20 of 30

A triangle has sides 6 and 7 with a 60° angle between them. What is its area, to one decimal place?

Question 21 of 30

In a triangle, A = 52°, b = 9 and c = 13, and A is the angle between sides b and c. Which law finds a?

Question 22 of 30

From the top of a 40 m lighthouse, the angle of depression to a boat is 30°. How far is the boat from the foot of the lighthouse, to one decimal place?

Question 23 of 30

In a triangle, a = 6, b = 8 and A = 30°. How many different triangles fit these measurements?

Question 24 of 30

In a triangle, A = 45°, C = 105° and b = 10. What is a, to one decimal place?

Question 25 of 30

A triangle has sides 7, 9 and 12. What is its largest angle, to one decimal place?

Question 26 of 30

Two boats leave a port at the same time. One travels 10 km and the other 16 km, on courses 60° apart. How far apart are they?

Question 27 of 30

A triangular garden has sides of 12 m and 15 m meeting at 120°. What is its area, to one decimal place?

Question 28 of 30

A triangle has sides 5, 7 and 8. What is the angle opposite the side 7?

Question 29 of 30

From a point on level ground, the top of a building is at an elevation of 60°. From 20 m farther back it is at 30°. How tall is the building, to one decimal place?

Question 30 of 30

In triangle ABC, a = 9, B = 40° and C = 80°. What is b, to one decimal place?

End of the free lesson

Every lesson like this one is free.

All 148 lessons of the Grade 7-12 Math Review are open to everyone — no account needed. Each comes with its 5-question check. Make a free account and your progress is saved.

The practice set for every lesson and the 7 full-length mock exams come with the UPCAT Math Review — one payment of ₱200, no expiry.

See every lesson · The live class