Laws of Sines & Cosines

Trigonometric Equations

Overview The Laws Law of Sines Law of Cosines Triangle Area

The Laws

The primary measurements that describe a triangle are the lengths of its 3 sides and the rotation of its 3 angles. Together, these 6 values define the shape of a triangle. In this lesson, we want to look at ways that we could take 3 given measurements of a triangle and find the 3 missing values. So, suppose we were given the measure of one angle and two sides. How can we find the measurements of the remaining two angles and the third side? The laws of sine and cosine are two methods, two sets of formulas, that we can use to solve such problems.

A scalene triangle ABC with angles A, B, and C. The side opposite angle A is side a the side opposite angle B is side b, and the side opposite angle C is side c.

Law of Sines: Given triangle ABC with opposite sides a, b, and c, respectively, the following proportions are true.

\[\frac{\sin{A}}{a} = \frac{\sin{B}}{b} = \frac{\sin{C}}{c}\]

It might help to think of the law of sines as describing the proportional relationship between the size of an angle and length of its corresponding side. In other words, the largest angle of a triangle will be opposite the longest side and the smallest angle will be opposite the shortest side.

Law of Cosines: Given triangle ABC with opposite sides a, b, and c, respectively, the following equations are true.

\[\begin{align*} c^2 &= a^2 + b^2 - 2ab\cos{C} \\ b^2 &= a^2 + c^2 - 2ac\cos{B} \\ a^2 &= b^2 + c^2 - 2bc\cos{A} \end{align*}\]

It might help to think of the law of cosines as an extension of the Pythagorean Theorem for right triangles to a set of equations for any triangle. In particular, notice the first equation listed above is the Pythagorean Theorem equation, \(a^2 + b^2 = c^2\), with a little extra added to the equation. Now, it is no longer required to be a right triangle and \(c\) is no longer a hypotenuse.

These laws do not depend on the position, rotation, or type of triangle. If you flipped the above triangle upside down or rotated the whole image 90° to the right or left, the laws outlined above remain true. Also, don't get too attached to the letters used in the illustration above or the law equations. We don't have to use the letters A, B, and C. We could use any letters, such as the Greek letters \(\alpha\) ("alpha"), \(\beta\) ("beta"), and \(\gamma\) ("gamma"). Or we may not even be given letters for a specific problem. It doesn't matter because the relationships are universal. We just use ABC as a handy reference point. Also, remember that the sum of the 3 angles of a triangle will always be 180°.

One thing where care is required, however, is that each law is only applicable in specific situations, or cases. Below is a list of the possible cases that we might encounter and which law we should use.

Summary of Cases for Law of Sines and Cosines
Illustration
Description
A scalene triangle with 30 degree, 40 degree, and 110 degree angles.
Angle-Angle-Angle (AAA): If we are only given the 3 angles of a triangle, then it is not possible to determine a unique triangle with those angles. The 3 angles can help us determine the shape of the triangle, but not its size. For example, a triangle with 30°, 40°, and 110° angles could have the same shape as another triangle with 30°, 40°, and 110° angles but one triangle could be twice the size as the other. We must know the length of at least one side.

No unique solution.
A scalene triangle with 30 degree and 40 degree angles, and the side between the angles has a length of 15.
A scalene triangle with 30 degree and 40 degree angles, and the side adjacent to the 30 degree angle and not between the two angles has a length of 8.
Angle-Side-Angle (ASA) or Angle-Angle-Side (AAS): If we are given two angles and one side, then we can easily find the third angle because the sum of the angles is 180°. The known side could be between the two angles (ASA) or next to only one of the angles (AAS). Knowing the length of one side then lets us determine the other two sides.

Use the law of sines.
Side-Side-Angle (SSA): The case where we are given two sides and one angle that is not between the two sides is the most troublesome of all because it is possible that there could be no triangle, one triangle, or even two triangles that fit the given values. This is sometimes refered to as the ambiguous case, which we will look at in greater detail soon.

Use the law of sines.
Side-Angle-Side (SAS): If we are given the measure of two sides and the angle between them, which is different than SSA, then we can easily find the missing side. This sort of sets up a SSA problem that you may be tempted to use the law of sines to finish, but you would then have to deal with the ambiguity of SSA again. Instead, treat it like a SSS triangle as described in the next case below.

Use the law of cosines.
Side-Side-Side (SSS): If we are given the measure of all 3 sides, then we can easily find two of the angles and then find the last angle because their sum is 180°. It is suggested that you again avoid switching to use the law of sines equations to avoid issues related to SSA triangles.

Use the law of cosines.

Self-Check #1: Which case matches the triangle illustrated below? (Select the most appropriate response.)

A triangle with side of length 5, adjacent angle of 55 degrees, and opposite angle of 30 degrees.
You must select an answer above.

(Answer: B) -- We are given the measure of two angles of the triangle and the measure of one side. So, it can't be SAS or SSA. If the given side was between the two angles, then we would have ASA. But instead, the given side is not between the two angles. It is opposite the 30° angle, so we are looking at a AAS case (or SAA).

Self-Check #2: Which case matches the triangle illustrated below? (Select the most appropriate response.)

A triangle with side of length 14, another side of length 19, and the angle between the two sides has a measure of 25 degrees.
You must select an answer above.

(Answer: A) -- We are given the measure of two sides of the triangle and the measure of one angle. Since the given angle is between both sides, meaning both sides are adjacent to the given angle, we can categorize this triangle as SAS.

We will look at examples of each case on the following pages.