# 10.2 Non-right triangles: law of cosines

 Page 1 / 8
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 ﬁnd 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?

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 $\text{\hspace{0.17em}}ABC\text{\hspace{0.17em}}$ is placed in the coordinate plane with vertex $\text{\hspace{0.17em}}A\text{\hspace{0.17em}}$ at the origin, side $\text{\hspace{0.17em}}c\text{\hspace{0.17em}}$ drawn along the x -axis, and vertex $\text{\hspace{0.17em}}C\text{\hspace{0.17em}}$ located at some point $\text{\hspace{0.17em}}\left(x,y\right)\text{\hspace{0.17em}}$ 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.

We can drop a perpendicular from $\text{\hspace{0.17em}}C\text{\hspace{0.17em}}$ to the x- axis (this is the altitude or height). Recalling the basic trigonometric identities , we know that

In terms of and The $\text{\hspace{0.17em}}\left(x,y\right)\text{\hspace{0.17em}}$ point located at $\text{\hspace{0.17em}}C\text{\hspace{0.17em}}$ has coordinates $\text{\hspace{0.17em}}\left(b\mathrm{cos}\text{\hspace{0.17em}}\theta ,\text{\hspace{0.17em}}\text{\hspace{0.17em}}b\mathrm{sin}\text{\hspace{0.17em}}\theta \right).\text{\hspace{0.17em}}$ Using the side $\text{\hspace{0.17em}}\left(x-c\right)\text{\hspace{0.17em}}$ as one leg of a right triangle and $\text{\hspace{0.17em}}y\text{\hspace{0.17em}}$ as the second leg, we can find the length of hypotenuse $\text{\hspace{0.17em}}a\text{\hspace{0.17em}}$ using the Pythagorean Theorem. Thus,

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 $\text{\hspace{0.17em}}\alpha ,\beta ,$ and $\text{\hspace{0.17em}}\gamma ,$ and opposite corresponding sides $\text{\hspace{0.17em}}a,b,$ and $\text{\hspace{0.17em}}c,\text{\hspace{0.17em}}$ respectively, the Law of Cosines is given as three equations.

$\begin{array}{l}{a}^{2}={b}^{2}+{c}^{2}-2bc\text{\hspace{0.17em}}\text{\hspace{0.17em}}\mathrm{cos}\text{\hspace{0.17em}}\alpha \\ {b}^{2}={a}^{2}+{c}^{2}-2ac\text{\hspace{0.17em}}\text{\hspace{0.17em}}\mathrm{cos}\text{\hspace{0.17em}}\beta \\ {c}^{2}={a}^{2}+{b}^{2}-2ab\text{\hspace{0.17em}}\text{\hspace{0.17em}}\mathrm{cos}\text{\hspace{0.17em}}\gamma \end{array}$

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.

the gradient function of a curve is 2x+4 and the curve passes through point (1,4) find the equation of the curve
1+cos²A/cos²A=2cosec²A-1
test for convergence the series 1+x/2+2!/9x3
a man walks up 200 meters along a straight road whose inclination is 30 degree.How high above the starting level is he?
100 meters
Kuldeep
Find that number sum and product of all the divisors of 360
Ajith
exponential series
Naveen
what is subgroup
Prove that: (2cos&+1)(2cos&-1)(2cos2&-1)=2cos4&+1
e power cos hyperbolic (x+iy)
10y
Michael
tan hyperbolic inverse (x+iy)=alpha +i bita
prove that cos(π/6-a)*cos(π/3+b)-sin(π/6-a)*sin(π/3+b)=sin(a-b)
why {2kπ} union {kπ}={kπ}?
why is {2kπ} union {kπ}={kπ}? when k belong to integer
Huy
if 9 sin theta + 40 cos theta = 41,prove that:41 cos theta = 41
what is complex numbers
Dua
Yes
ahmed
Thank you
Dua
give me treganamentry question
Solve 2cos x + 3sin x = 0.5