<< Chapter < Page Chapter >> Page >
In this section, you will:
  • Use the Law of Cosines to solve oblique triangles.
  • Solve applied problems using the Law of Cosines.
  • Use Heron’s formula to find the area of a triangle.

Suppose a boat leaves port, travels 10 miles, turns 20 degrees, and travels another 8 miles as shown in [link] . How far from port is the boat?

A triangle whose vertices are the boat, the port, and the turning point of the boat. The side between the port and the turning point is 10 mi, and the side between the turning point and the boat is 8 miles. The side between the port and the turning point is extended in a straight dotted line. The angle between the dotted line and the 8 mile side is 20 degrees.

Unfortunately, while the Law of Sines enables us to address many non-right triangle cases, it does not help us with triangles where the known angle is between two known sides, a SAS (side-angle-side) triangle , or when all three sides are known, but no angles are known, a SSS (side-side-side) triangle . In this section, we will investigate another tool for solving oblique triangles described by these last two cases.

Using the law of cosines to solve oblique triangles

The tool we need to solve the problem of the boat’s distance from the port is the Law of Cosines , which defines the relationship among angle measurements and side lengths in oblique triangles. Three formulas make up the Law of Cosines. At first glance, the formulas may appear complicated because they include many variables. However, once the pattern is understood, the Law of Cosines is easier to work with than most formulas at this mathematical level.

Understanding how the Law of Cosines is derived will be helpful in using the formulas. The derivation begins with the Generalized Pythagorean Theorem    , which is an extension of the Pythagorean Theorem    to non-right triangles. Here is how it works: An arbitrary non-right triangle A B C is placed in the coordinate plane with vertex A at the origin, side c drawn along the x -axis, and vertex C located at some point ( x , y ) in the plane, as illustrated in [link] . Generally, triangles exist anywhere in the plane, but for this explanation we will place the triangle as noted.

A triangle A B C plotted in quadrant 1 of the x,y plane. Angle A is theta degrees with opposite side a, angles B and C, with opposite sides b and c respectively, are unknown. Vertex A is located at the origin (0,0), vertex B is located at some point (x-c, 0) along the x-axis, and point C is located at some point in quadrant 1 at the point (b times the cos of theta, b times the sin of theta).

We can drop a perpendicular from C to the x- axis (this is the altitude or height). Recalling the basic trigonometric identities , we know that

cos θ = x (adjacent) b (hypotenuse)  and  sin θ = y (opposite) b (hypotenuse)

In terms of θ ,   x = b cos θ and y = b sin θ .   The ( x , y ) point located at C has coordinates ( b cos θ , b sin θ ) . Using the side ( x c ) as one leg of a right triangle and y as the second leg, we can find the length of hypotenuse a using the Pythagorean Theorem. Thus,

  a 2 = ( x c ) 2 + y 2         = ( b cos θ c ) 2 + ( b sin θ ) 2 Substitute  ( b cos θ )  for x and  ( b sin θ ) for  y .         = ( b 2 cos 2 θ 2 b c cos θ + c 2 ) + b 2 sin 2 θ Expand the perfect square .         = b 2 cos 2 θ + b 2 sin 2 θ + c 2 2 b c cos θ Group terms noting that  cos 2 θ + sin 2 θ = 1.         = b 2 ( cos 2 θ + sin 2 θ ) + c 2 2 b c cos θ Factor out  b 2 .   a 2 = b 2 + c 2 2 b c cos θ

The formula derived is one of the three equations of the Law of Cosines. The other equations are found in a similar fashion.

Keep in mind that it is always helpful to sketch the triangle when solving for angles or sides. In a real-world scenario, try to draw a diagram of the situation. As more information emerges, the diagram may have to be altered. Make those alterations to the diagram and, in the end, the problem will be easier to solve.

Law of cosines

The Law of Cosines    states that the square of any side of a triangle is equal to the sum of the squares of the other two sides minus twice the product of the other two sides and the cosine of the included angle. For triangles labeled as in [link] , with angles α , β , and γ , and opposite corresponding sides a , b , and c , respectively, the Law of Cosines is given as three equations.

a 2 = b 2 + c 2 2 b c cos α b 2 = a 2 + c 2 2 a c cos β c 2 = a 2 + b 2 2 a b cos γ
A triangle with standard labels: angles alpha, beta, and gamma with opposite sides a, b, and c respectively.

To solve for a missing side measurement, the corresponding opposite angle measure is needed.

When solving for an angle, the corresponding opposite side measure is needed. We can use another version of the Law of Cosines to solve for an angle.

cos   α = b 2 + c 2 a 2 2 b c cos   β = a 2 + c 2 b 2 2 a c cos   γ = a 2 + b 2 c 2 2 a b
Practice Key Terms 2

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Algebra and trigonometry. OpenStax CNX. Nov 14, 2016 Download for free at https://legacy.cnx.org/content/col11758/1.6
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Algebra and trigonometry' conversation and receive update notifications?

Ask