Lesson Solve triangles using Law of Cosines

Algebra ->  Algebra  -> Trigonometry-basics -> Lesson Solve triangles using Law of Cosines      Log On

Ad: Algebra Solved!™: algebra software solves algebra homework problems with step-by-step help!
Ad: Algebrator™ solves your algebra problems and provides step-by-step explanations!

   

This Lesson (Solve triangles using Law of Cosines) was created by by ikleyn(4) About Me : View Source, Show
About ikleyn:

Solve triangles using Law of Cosines


This lesson is a continuation of the previous one, Proof_of_the_Law_of_Cosines_Revisited, where the Theorem Law of Cosines was formulated and proved.
Examples of usage of the Law of Cosines theorem are considered in this lesson.
Let me start this lesson from reminding the Law of Cosines Theorem.

Theorem (Law of Cosines)

For any triangle, with the side lengths a, b, c and opposite angles alpha, beta and gamma
c%5E2+=+a%5E2+%2Bb%5E2+-+2%2Aa%2Ab%2Acos%28gamma%29,
b%5E2+=+a%5E2+%2Bc%5E2+-+2%2Aa%2Ac%2Acos%28beta%29,
a%5E2+=+b%5E2+%2Bc%5E2+-+2%2Ab%2Ac%2Acos%28alpha%29.

Figures 1a) and 1b) illustrate the Theorem, showing an acute and an obtuse triangles.        

The side a is opposite to the vertex A and the angle alpha.
The side b is opposite to the vertex B and the angle beta.
The side c is opposite to the vertex C and the angle gamma.
As it stated, the Theorem is valid for any triangle.


Figure 1a. Acute Triangle


Figure 1b. Obtuse Triangle

Below are couple examples of using the Law of Sines to solve triangles.
The term "to solve the triangle" means "to calculate unknown elements of the triangle using given data".

Example 1. Use the Law of Cosines to Solve SAS Triangle.

Solve the triangle:   b=5,   alpha=35°,   c=4.864.
This is so named SAS case: two sides of the triangle are given along with the angle
between them. Figure 3 is the sketch to illustrate the triangle we are going to solve.

First, find the third side a. Since a%5E2+=+b%5E2+%2Bc%5E2+-+2%2Ab%2Ac%2Acos%28alpha%29 (Law of Cosines)
and cos(35°)=0.819, we have a%5E2+=+5%5E2+%2B4.864%5E2+-+2%2A5%2A4.864%2A0.819=8.815, a = 2.969.

Next, calculate cos%28beta%29 using Law of Cosines with known sides a, c and b:
b%5E2=a%5E2%2Bc%5E2-2%2Aa%2Ac%2Acos%28beta%29, cos%28beta%29=%28a%5E2%2Bc%5E2-b%5E2%29%2F%282%2Aa%2Ac%29 = %282.969%5E2%2B4.864%5E2-5%5E2%29%2F%282%2A2.969%2A4.864%29=0.259, and beta=75°.

Now, calculate the third angle gamma of the triangle, having known other two, alpha and beta:
gamma = 180° - %28alpha%2Bbeta%29 = 180° - (35°+75°) = 180° - 110° = 70°.


Figure 3. Example 1

The solution is unique in this case.

Example 2. Use the Law of Cosines to Solve SSS Triangle.

Solve the triangle:   a = 2.969,   b = 5,   c=4.864.
This is SSS case: three sides of the triangle are given.
Figure 4 illustrates the triangle we are going to solve.                                                        

First, find the angle alpha using Law of Cosines with known sides a, b and c.
Since a%5E2+=+b%5E2+%2Bc%5E2+-+2%2Ab%2Ac%2Acos%28alpha%29 (Law of Cosines),
you have .
Hence, alpha=arccos%280.819%29=35°.

Next, find the angle beta by the similar way:
b%5E2=a%5E2%2Bc%5E2-2%2Aa%2Ac%2Acos%28beta%29, cos%28beta%29=%28a%5E2%2Bc%5E2-b%5E2%29%2F%282%2Aa%2Ac%29 = %282.969%5E2%2B4.864%5E2-5%5E2%29%2F%282%2A2.969%2A4.864%29=0.259, and beta=75°.

Now, calculate the third angle gamma of the triangle, having known other two, alpha and beta:
gamma = 180° - %28alpha%2Bbeta%29 = 180° - (35°+75°) = 180° - 110° = 70°.


Figure 4. Example 2

The solution is unique in this case.

General recommendations on choosing strategy to solve triangles

1) If you have ASA case (one side of the triangle and two adjacent angles are known), you may use the Law of Sines.
    See an example in the lesson Solve triangles using Law of Sines. The solution is unique in this case.
2) If you have SAA case (one side of the triangle is known along with one adjacent angle and one opposite), you may use the Law of Sines.
    See an example in the lesson Solve triangles using Law of Sines. The solution is unique in this case.
3) If you have SSA case (two sides of the triangle are known along with the angle opposite one of them), you may use the Law of Sines.
    See examples in the lesson Solve triangles using Law of Sines. This is an ambiguous case. Depending on the input, the solution may not exist,
    be unique or be non-unique in this case.
4) If you have SAS case (two sides of the triangle are known along with the angle between them), you may use the Law of Cosines.
    See an example in this lesson. The solution is unique in this case.
5) If you have SSS case (three sides of the triangle are known), you may use the Law of Cosines.
    See an example in this lesson. The solution is unique in this case.

This lesson has been accessed 2292 times.