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

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
circular region of radious
Kainat Reply
how can we solve this problem
Joel Reply
Sin(A+B) = sinBcosA+cosBsinA
Eseka Reply
Prove it
Please prove it
June needs 45 gallons of punch. 2 different coolers. Bigger cooler is 5 times as large as smaller cooler. How many gallons in each cooler?
Arleathia Reply
7.5 and 37.5
find the sum of 28th term of the AP 3+10+17+---------
Prince Reply
I think you should say "28 terms" instead of "28th term"
the 28th term is 175
if sequence sn is a such that sn>0 for all n and lim sn=0than prove that lim (s1 s2............ sn) ke hole power n =n
write down the polynomial function with root 1/3,2,-3 with solution
Gift Reply
if A and B are subspaces of V prove that (A+B)/B=A/(A-B)
Pream Reply
write down the value of each of the following in surd form a)cos(-65°) b)sin(-180°)c)tan(225°)d)tan(135°)
Oroke Reply
Prove that (sinA/1-cosA - 1-cosA/sinA) (cosA/1-sinA - 1-sinA/cosA) = 4
kiruba Reply
what is the answer to dividing negative index
Morosi Reply
In a triangle ABC prove that. (b+c)cosA+(c+a)cosB+(a+b)cisC=a+b+c.
Shivam Reply
give me the waec 2019 questions
Aaron 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?