So far, we've only dealt with right triangles, but trigonometry can be easily applied to **non-right triangles** because any non-right triangle can be divided by an **altitude** * into two right triangles.

Roll over the triangle to see what that means →

** An altitude is a line segment that has one endpoint at a vertex of a triangle intersects the opposite side at a right angle. See triangles.*

This labeling scheme is comßmonly used for non-right triangles. **Capital letters** are **angles** and the corresponding **lower-case letters** go with the **side** opposite the angle: side **a** (with length of **a** units) is across from angle **A** (with a measure of **A** degrees or radians), and so on.

Consider the triangle below. if we find the sines of angle **A** and angle **C** using their corresponding right triangles, we notice that they both contain the altitude, x.

The sine equations are

We can rearrange those by solving each for **x** (multiply by **c** on both sides of the left equation, and by **a** on both sides of the right):

Now the transitive property says that if both **c·sin(A)** and **a·sin(C)** are equal to **x**, then they must be equal to each other:

We usually divide both sides by **ac** to get the easy-to-remember expression of the law of sines:

We could do the same derivation with the other two altitudes, drawn from angles **A** and **C** to come up with similar relations for the other angle pairs. We call these together the law of sines. It's in the green box below.

The law of sines can be used to find the measure of an angle or a side of a non-right triangle if we know:

- two sides and an angle not between them or
- two angles and a side not between them.

Use the law of sines to find the missing measurements of the triangles in these examples. In the first, two angles and a side are known. In the second two sides and an angle. Notice that we need to know at least one angle-opposite side pair for the Law of Sines to work.

Consider another non-right triangle, labeled as shown with side lengths **x** and **y**. We can derive a useful law containing only the cosine function.

First use the Pythagorean theorem to derive two equations for each of the right triangles:

Notice that each contains and **x ^{2}**, so we can eliminate

Then expand the binomial **(b - y) ^{2}** to get the equation below, and note that the

Now we still have a y hanging around, but we can get rid of it using the cosine solution, notice that

Substituting c·cos(A) for y, we get

which is the law of cosines

The law of cosines can be used to find the measure of an angle or a side of a non-right triangle if we know:

- two sides and the angle between them or
- three sides and no angles.

We could again do the same derivation using the other two altitudes of our triangle, to yield three versions of the law of cosines for any triangle. They are listed below.

The **Law of Cosines** is just the Pythagorean relationship with a correction factor, e.g. **-2bc·cos(A)**, to account for the fact that the triangle is not a right triangle. We can write three versions of the LOC, one for every angle/opposite side pair:

Use the law of cosines to find the missing measurements of the triangles in these two examples. In the first, the measures of two sides and the included angle (the angle between them) are known. In the second, three sides are known.

(Hint: Always use the LOS first if you can. It's simpler. When that fails, use the LOC, but then you can usually use other means to fill in the rest of the measurements.)

**xaktly.com** by Dr. Jeff Cruzan is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. © 2012, Jeff Cruzan. All text and images on this website not specifically attributed to another source were created by me and I reserve all rights as to their use. Any opinions expressed on this website are entirely mine, and do not necessarily reflect the views of any of my employers. Please feel free to send any questions or comments to jeff.cruzan@verizon.net.