<< 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

Questions & Answers

x exposant 4 + 4 x exposant 3 + 8 exposant 2 + 4 x + 1 = 0
x exposent4+4x exposent3+8x exposent2+4x+1=0
How can I solve for a domain and a codomains in a given function?
Oliver Reply
Thank you I mean range sir.
proof for set theory
Kwesi Reply
don't you know?
find to nearest one decimal place of centimeter the length of an arc of circle of radius length 12.5cm and subtending of centeral angle 1.6rad
Martina Reply
factoring polynomial
Noven Reply
what's your topic about?
Shin Reply
find general solution of the Tanx=-1/root3,secx=2/root3
Nani Reply
find general solution of the following equation
the value of 2 sin square 60 Cos 60
Sanjay Reply
when can I use sin, cos tan in a giving question
duru Reply
depending on the question
I am a carpenter and I have to cut and assemble a conventional roof line for a new home. The dimensions are: width 30'6" length 40'6". I want a 6 and 12 pitch. The roof is a full hip construction. Give me the L,W and height of rafters for the hip, hip jacks also the length of common jacks.
I want to learn the calculations
Koru Reply
where can I get indices
Kojo Reply
I need matrices
need help
maybe provide us videos
about complex fraction
What do you mean by a
nothing. I accidentally press it
you guys know any app with matrices?
Solve the x? x=18+(24-3)=72
Leizel Reply
x-39=72 x=111
Solve the formula for the indicated variable P=b+4a+2c, for b
Deadra Reply
Need help with this question please
b= p - 4a - 2c
like Deadra, show me the step by step order of operation to alive for b
A laser rangefinder is locked on a comet approaching Earth. The distance g(x), in kilometers, of the comet after x days, for x in the interval 0 to 30 days, is given by g(x)=250,000csc(π30x). Graph g(x) on the interval [0, 35]. Evaluate g(5)  and interpret the information. What is the minimum distance between the comet and Earth? When does this occur? To which constant in the equation does this correspond? Find and discuss the meaning of any vertical asymptotes.
Kaitlyn Reply
The sequence is {1,-1,1-1.....} has
amit Reply
Practice Key Terms 2

Get the best Algebra and trigonometry course in your pocket!

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?