If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content

Laws of sines and cosines review

Review the law of sines and the law of cosines, and use them to solve problems with any triangle.

Law of sines

asin(α)=bsin(β)=csin(γ)

Law of cosines

c2=a2+b22abcos(γ)
Want to learn more about the law of sines? Check out this video.
Want to learn more about the law of cosines? Check out this video.

Practice set 1: Solving triangles using the law of sines

This law is useful for finding a missing angle when given an angle and two sides, or for finding a missing side when given two angles and one side.

Example 1: Finding a missing side

Let's find AC in the following triangle:
According to the law of sines, ABsin(C)=ACsin(B). Now we can plug the values and solve:
ABsin(C)=ACsin(B)5sin(33)=ACsin(67)5sin(67)sin(33)=AC8.45AC

Example 2: Finding a missing angle

Let's find mA in the following triangle:
According to the law of sines, BCsin(A)=ABsin(C). Now we can plug the values and solve:
BCsin(A)=ABsin(C)11sin(A)=5sin(25)11sin(25)=5sin(A)11sin(25)5=sin(A)
Evaluating using the calculator and rounding:
mA=sin1(11sin(25)5)68.4
Remember that if the missing angle is obtuse, we need to take 180 and subtract what we got from the calculator.
Problem 1.1
BC=
  • Your answer should be
  • an integer, like 6
  • a simplified proper fraction, like 3/5
  • a simplified improper fraction, like 7/4
  • a mixed number, like 1 3/4
  • an exact decimal, like 0.75
  • a multiple of pi, like 12 pi or 2/3 pi

Round to the nearest tenth.

Want to try more problems like this? Check out this exercise.

Practice set 2: Solving triangles using the law of cosines

This law is mostly useful for finding an angle measure when given all side lengths. It's also useful for finding a missing side when given the other sides and one angle measure.

Example 1: Finding an angle

Let's find mB in the following triangle:
According to the law of cosines:
(AC)2=(AB)2+(BC)22(AB)(BC)cos(B)
Now we can plug the values and solve:
(5)2=(10)2+(6)22(10)(6)cos(B)25=100+36120cos(B)120cos(B)=111cos(B)=111120
Evaluating using the calculator and rounding:
mB=cos1(111120)22.33

Example 2: Finding a missing side

Let's find AB in the following triangle:
According to the law of cosines:
(AB)2=(AC)2+(BC)22(AC)(BC)cos(C)
Now we can plug the values and solve:
(AB)2=(5)2+(16)22(5)(16)cos(61)(AB)2=25+256160cos(61)AB=281160cos(61)AB14.3
Problem 2.1
mA=
  • Your answer should be
  • an integer, like 6
  • a simplified proper fraction, like 3/5
  • a simplified improper fraction, like 7/4
  • a mixed number, like 1 3/4
  • an exact decimal, like 0.75
  • a multiple of pi, like 12 pi or 2/3 pi

Round to the nearest degree.

Want to try more problems like this? Check out this exercise.

Practice set 3: General triangle word problems

Problem 3.1
"Only one remains." Ryan signals to his brother from his hiding place.
Matt nods in acknowledgement, spotting the last evil robot.
"34 degrees." Matt signals back, informing Ryan of the angle he observed between Ryan and the robot.
Ryan records this value on his diagram (shown below) and performs a calculation. Calibrating his laser cannon to the correct distance, he stands, aims, and fires.
To what distance did Ryan calibrate his laser cannon?
Do not round during your calculations. Round your final answer to the nearest meter.
  • Your answer should be
  • an integer, like 6
  • a simplified proper fraction, like 3/5
  • a simplified improper fraction, like 7/4
  • a mixed number, like 1 3/4
  • an exact decimal, like 0.75
  • a multiple of pi, like 12 pi or 2/3 pi
 m

Want to try more problems like this? Check out this exercise.