
The law of cosines, also known as the cosine formula or cosine rule, is a trigonometric principle that relates the lengths of a triangle's sides to the cosine of one of its angles. It is a more general formula that works for all types of triangles, not just right triangles. The law of cosines can be deduced by using the Pythagorean theorem only once, and it is useful for solving a triangle when all three sides or two sides and their included angle are given. However, when applied to right triangles, the law of cosines becomes the Pythagorean theorem, as the cosine of a right angle is 0.
| Characteristics | Values |
|---|---|
| Name | Law of Cosines |
| Other Names | Cosine Formula, Cosine Rule |
| Application | Used to find the remaining parts of an oblique (non-right) triangle |
| Application | Used to find the third side of a triangle if two sides and the angle between them are known |
| Application | Used to find the third side of a triangle if two sides and an angle opposite to one of them is known |
| Generalization | The law of cosines is a more general formula that works for all types of triangles, not just right triangles |
| Generalization | The law of cosines generalizes the Pythagorean theorem, which holds only for right triangles |
| Generalization | The law of cosines can be deduced by using the Pythagorean theorem only once |
| Generalization | The law of cosines simplifies significantly when the triangle is isosceles |
| Generalization | The law of cosines can be used to solve triangles from various combinations of given data |
| Generalization | The law of cosines can be used to find an angle when the three sides are known |
Explore related products
What You'll Learn
- The law of cosines is a more general formula
- The law of cosines can be deduced using the Pythagorean theorem
- The law of cosines can be used to find the remaining parts of an oblique triangle
- The law of cosines simplifies significantly for isosceles triangles
- The law of cosines can be used to solve triangles in trigonometry

The law of cosines is a more general formula
The law of cosines, also known as the cosine formula or cosine rule, is a more general formula that works for all types of triangles, not just right triangles. It relates the lengths of the sides of a triangle to the cosine of one of its angles. In other words, it generalizes the relationship between side lengths and angles in any triangle. This means that it can be used to find the remaining parts of an oblique (non-right) triangle when either the lengths of two sides and the measure of the included angle are known (SAS) or when the lengths of all three sides are known (SSS).
The law of cosines can be deduced using the Pythagorean theorem only once. For a right triangle, the law of cosines becomes the Pythagorean theorem. This is because the cosine of a right angle is 0. For example, for a right triangle with sides a, b, and c, the law of cosines formula becomes a^2 + b^2 - 2ab*0 = c^2, which simplifies to a^2 + b^2 = c^2, which is the Pythagorean theorem.
The law of cosines is useful for solving a triangle when all three sides or two sides and their included angle are given. It is worth noting that the rules for right-angled triangles (Pythagorean theorem and trigonometric relationships) are considered special cases of more general formulas, such as the law of cosines. These special cases are typically preferred when solving right triangles due to their simplicity and ease of use compared to the more general formulas.
Historically, the law of cosines has been used to solve triangles in various contexts, including astronomical problems by mathematicians such as al-Bīrūnī in the 11th century and Johannes de Muris in the 14th century. The 13th-century Persian mathematician Naṣīr al-Dīn al-Ṭūsī also described how to solve triangles using different combinations of given data, including the law of cosines and the law of sines.
The Second Law of Thermodynamics: Unbreakable or Uncertain?
You may want to see also
Explore related products

The law of cosines can be deduced using the Pythagorean theorem
The law of cosines is a trigonometric formula that relates the lengths of a triangle's sides to the cosine of one of its angles. It can be used to solve a triangle when all three sides or two sides and their included angle are given. The law of cosines is a generalization of the Pythagorean theorem, which only applies to right triangles.
C^2 = (b - a*cos(γ))^2 + (a*sin(γ))^2
= b^2 - 2*ab*cos(γ) + a^2*cos^2(γ) + a^2*sin^2(γ)
= b^2 + a^2 - 2*ab*cos(γ)
This proof requires modification if b < a*cos(γ). In this case, the right triangle to which the Pythagorean theorem is applied is outside the triangle ABC. The only change this makes to the calculation is that the quantity b - a*cos(γ) is replaced by a*cos(γ) - b. As this quantity is squared in the calculation, the rest of the proof remains the same. However, this issue only arises when β is obtuse, and it can be avoided by reflecting the triangle about the bisector of γ.
The law of cosines can also be proved using the geometry of the circle, which provides a more geometric proof than using the Pythagorean theorem alone. For example, by duplicating the right triangle to create the isosceles triangle ACP, constructing a circle with centre A and radius b, and drawing the tangent h = BH through B, we can apply the Pythagorean theorem to obtain:
BH^2 = BC*BP
This proof can be simplified by using the power of a point theorem instead of the Pythagorean theorem and the tangent secant theorem.
Should Police Shoot Dogs for Chasing Wildlife?
You may want to see also
Explore related products

The law of cosines can be used to find the remaining parts of an oblique triangle
The law of cosines, also known as the cosine formula or cosine rule, is a trigonometric principle that relates the lengths of a triangle's sides to the cosine of one of its angles. This rule can be expressed as:
$$c^2 = a^2 + b^2 - 2ab \cos \gamma$$
$$a^2 = b^2 + c^2 - 2bc \cos \alpha$$
$$b^2 = a^2 + c^2 - 2ac \cos \beta$$
The law of cosines is a more general formula that can be applied to all triangles, not just right triangles. It does not rely on creating an "imaginary" right triangle but instead generalizes the relationship between side lengths and angles in any triangle.
The law of cosines can be used to find the remaining parts of an oblique (non-right) triangle when either the lengths of two sides and the measure of the included angle are known (SAS) or the lengths of all three sides (SSS) are known. For example, if we know the lengths of two sides and the angle between them, we can use the law of cosines to find the length of the third side.
The law of cosines can also be used to solve more complex problems involving triangles, such as finding the legs of a right triangle when given a known angle and hypotenuse. This is achieved by first reducing the problem to a right triangle and then applying the Pythagorean theorem.
Law Enforcement and Xanax: What's Allowed?
You may want to see also
Explore related products

The law of cosines simplifies significantly for isosceles triangles
The law of cosines, also known as the cosine formula or cosine rule, is a trigonometric principle that relates the lengths of a triangle's sides to the cosine of one of its angles. This law can be used to determine the length of the third side of a triangle if the length of the other two sides and the angle between them are known.
The law of cosines can be deduced using the Pythagorean theorem, which only applies to right triangles. However, the law of cosines itself can be applied to any triangle, not just right-angled triangles. This is because the Pythagorean theorem is a special case of the law of cosines, where the angle is 90 degrees, and the cosine of 90 degrees is 0, reducing the law of cosines to the Pythagorean theorem.
To apply the law of cosines to an isosceles triangle, we can use the formula c^2 = a^2 + b^2 - 2ab*cos(C), where c is the length of the side of the triangle that is not equal to a and b, and C is the angle opposite side c. By inputting the known values of a and b, as well as measuring the angle C, we can solve for the length of side c.
For example, let's consider an isosceles triangle with sides a and b of length 5 units each. If the angle C is 60 degrees, we can calculate the length of side c using the law of cosines. Substituting the values into the formula, we get c^2 = 5^2 + 5^2 - 2(5)(5)cos(60 degrees). Simplifying the equation, we get c^2 = 50 - 50cos(60 degrees). Evaluating the cosine function, we find c^2 = 50 - 25, which gives us c^2 = 25. Taking the square root, we find that the length of side c is 5 units.
Dare to Challenge the ABC Laws?
You may want to see also
Explore related products

The law of cosines can be used to solve triangles in trigonometry
The law of cosines, also known as the cosine formula or cosine rule, can be used to solve triangles in trigonometry. It relates the lengths of the sides of a triangle to the cosine of one of its angles. The formula for the law of cosines is:
$$c^2 = a^2 + b^2 - 2ab \cos \gamma$$
$$a^2 = b^2 + c^2 - 2bc \cos \alpha$$
$$b^2 = a^2 + c^2 - 2ac \cos \beta$$
Where a, b, and c are the sides of the triangle, and α, β, and γ are the angles opposite their respective sides.
The law of cosines is a general formula that can be used for all types of triangles, including right triangles, obtuse triangles, and acute triangles. It is particularly useful when two sides and their included angle are given, or when all three sides are known (SAS or SSS triangles).
For right triangles, the law of cosines simplifies to the Pythagorean theorem, as the cosine of a right angle is $0$. However, it can still be used to solve for the unknown sides or angles in a right triangle. For example, if we know the length of the hypotenuse ($c$) and one leg ($a$) of a right triangle, and we want to find the length of the other leg ($b$), we can use the law of cosines:
$$b^2 = a^2 + c^2 - 2ac \cos 90^\circ$$
$$b^2 = a^2 + c^2$$
This is the same result we would get using the Pythagorean theorem. Therefore, while the law of cosines can be used for right triangles, in some cases, it may be more efficient to use the Pythagorean theorem or other trigonometric ratios, as they are typically easier to apply for right triangles.
Spam Law: Revolutionizing Email Marketing Strategies
You may want to see also
Frequently asked questions
Yes, the law of cosines can be used for right triangles. The law of cosines is a more general formula that works for all types of triangles, not just right triangles. When used for right triangles, the law of cosines becomes the Pythagorean theorem.
The law of cosines (also known as the cosine formula or cosine rule) relates the lengths of the sides of a triangle to the cosine of one of its angles. It is used to find the remaining parts of a non-right triangle when the lengths of two sides and the measure of the included angle are known (SAS) or the lengths of the three sides (SSS) are known.
The law of cosines can be used to find the third side of a triangle when the lengths of the other two sides and the angle between them are known. It can also be used to find the third side of a triangle when the lengths of the other two sides and an angle opposite to one of them are known.











































