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

Why is b in the answer
Dahsolar Reply
how do you work it out?
Brad Reply
answer
Ernest
heheheehe
Nitin
(Pcos∅+qsin∅)/(pcos∅-psin∅)
John Reply
how to do that?
Rosemary Reply
what is it about?
Amoah
how to answer the activity
Chabelita Reply
how to solve the activity
Chabelita
solve for X,,4^X-6(2^)-16=0
Alieu Reply
x4xminus 2
Lominate
sobhan Singh jina uniwarcity tignomatry ka long answers tile questions
harish Reply
t he silly nut company makes two mixtures of nuts: mixture a and mixture b. a pound of mixture a contains 12 oz of peanuts, 3 oz of almonds and 1 oz of cashews and sells for $4. a pound of mixture b contains 12 oz of peanuts, 2 oz of almonds and 2 oz of cashews and sells for $5. the company has 1080
ZAHRO Reply
If  , , are the roots of the equation 3 2 0, x px qx r     Find the value of 1  .
Swetha Reply
Parts of a pole were painted red, blue and yellow. 3/5 of the pole was red and 7/8 was painted blue. What part was painted yellow?
Patrick Reply
Parts of the pole was painted red, blue and yellow. 3 /5 of the pole was red and 7 /8 was painted blue. What part was painted yellow?
Patrick
how I can simplify algebraic expressions
Katleho Reply
Lairene and Mae are joking that their combined ages equal Sam’s age. If Lairene is twice Mae’s age and Sam is 69 yrs old, what are Lairene’s and Mae’s ages?
Mary Reply
23yrs
Yeboah
lairenea's age is 23yrs
ACKA
hy
Katleho
Ello everyone
Katleho
Laurene is 46 yrs and Mae is 23 is
Solomon
hey people
christopher
age does not matter
christopher
solve for X, 4^x-6(2*)-16=0
Alieu
prove`x^3-3x-2cosA=0 (-π<A<=π
Mayank Reply
create a lesson plan about this lesson
Rose Reply
Excusme but what are you wrot?
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