learn › Trigonometry

Laws of sines & cosines

lesson · about 3 minutes

Solve any triangle, not just right ones.

Pen and paper is fine · no calculator needed why?

Opens at level 36. You're level 1. You can read and practice here now.

the idea

The right-triangle ratios stretch to any triangle. Name the angles A, B and C, and give each side the small letter of the angle across from it: side a faces angle A.

Two sides and the angle between them give the area, ½ab sin C, and the third side, by the law of cosines. The law of sines says each side divided by the sine of its opposite angle gives the same number.

techniques

Area with sine

You know two sides and the angle between them.

  1. Area = ½ × a × b × sin C.
  2. sin 30° and sin 150° are both ½, and sin 90° is 1.
  3. With 90°, this is half of base times height.
worked example

Example: A triangle has sides 6 and 9 with a 150° angle between them. What is its area?

  1. sin 150° = sin 30° = ½.
  2. Area = ½ × 6 × 9 × ½ = 13.5.

Answer: 13.5

Law of cosines

You know two sides and the angle between them, and want the third side.

  1. c² = a² + b² − 2ab cos C.
  2. cos 60° = ½, so subtract ab. cos 90° = 0, so c² = a² + b².
  3. cos 120° = −½, so add ab.
  4. Take the square root last.
worked example

Example: A triangle has sides 3 and 5 with a 120° angle between them. How long is the third side?

  1. cos 120° = −½, so add 3 × 5 = 15.
  2. c² = 9 + 25 + 15 = 49.
  3. c = √49 = 7.

Answer: 7

Law of sines

You know a side, the angle opposite it, and one more angle.

  1. Each side ÷ the sine of its opposite angle gives the same number.
  2. So b = a × sin B ÷ sin A: the side you want goes with its own angle.
  3. Look up the sines, multiply, then divide. Round at the end.
worked example

Example: In triangle ABC, side a is opposite angle A and side b is opposite angle B. If a = 6, A = 30° and B = 45°, how long is side b? Round to 2 decimal places.

  1. b = 6 × sin 45° ÷ sin 30°.
  2. sin 45° ≈ 0.7071 and sin 30° = 0.5.
  3. 6 × 0.7071 ÷ 0.5 = 8.4852, which rounds to 8.49.

Answer: 8.49

watch out for

practice

Sign in to try one

Area with sine

worked example

A triangle has sides 13 and 7 with a 90° angle between them. What is its area?

Answer: 45.5

  1. Area = ½ × a × b × sin C, and sin 90° = 1.
  2. Area = ½ × 13 × 7 × 1 = 45.5.

Law of cosines

worked example

A triangle has sides 10 and 16 with a 60° angle between them. How long is the third side?

Answer: 14

  1. c² = a² + b² − 2ab cos C, and cos 60° = ½.
  2. c² = 10² + 16² − 2 × 10 × 16 × ½ = 100 + 256 − 160 = 196.
  3. c = √196 = 14.

Law of sines

worked example

In triangle ABC, side a is opposite angle A and side b is opposite angle B. If a = 14, A = 45° and B = 90°, how long is side b? Round to 2 decimal places.

Answer: 19.8

  1. b ÷ sin B = a ÷ sin A, so b = 14 × sin 90° ÷ sin 45°.
  2. sin 90° = 1 and sin 45° ≈ 0.7071, so b ≈ 19.7990.
  3. Rounded to 2 decimal places: 19.80.

Sign in to start