When do I use the law of sines?
Two sides and the angle between them: the law of cosines.
Example
A triangle has sides 7 and 9 with the angle 60° between them. Find the third side.
Answer: c=√67
Try it yourself: In triangle ABC the angle at C is a right angle, AB=10, and the angle at A is 30°. Find BC.
Why do I need this?
A surveyor measures two sides of a triangle around a lake, 7 and 9 kilometers, and the angle between them, 60 degrees. How long is the third side?
The idea
The laws of cosines and sines find sides and angles even without a right angle.
Step by step
Choose the law
Two sides and the angle between them lead to the law of cosines.
c2=a2+b2−2abcosγPlug in
Put in the sides and the angle.
c2=49+81−2·7·9cos60°Compute
The cosine of 60 degrees is one half.
c2=130−63=67Take the root
Take a square root to get a length.
c=√67≈8.19
More cases and examples
The law of sines
With an angle and the side opposite it, we can find another side.
asinα=bsinβb=5sin45°sin30°=5√2
The rule
Law of cosines
When to use it: γ is the angle opposite side c.
- a,bthe two given sides
- γthe angle between them
- cthe side opposite it, the one we look for
Common mistakes
- Wrongc2=a2+b2in any triangleRightc2=a2+b2−2abcosγ
Pythagoras is the special case where the angle is right.
- Wrongc2=(a2+b2−2ab)cosγRightc2=a2+b2−2abcosγ
The cosine multiplies only the last term.