Law of cosines
From Math Images
| Line 7: | Line 7: | ||
::<math> c^{2} = a^{2} + b^{2} - 2ab \cos C </math> | ::<math> c^{2} = a^{2} + b^{2} - 2ab \cos C </math> | ||
| - | + | The law of cosines is useful in solving triangles whenever at least two side lengths are known. It us also helpful when just three side lengths are known, and no angle measures. Given three elements of a triangle, there must be at least two side lengths given to successfully implement the law of cosines. If the triangle that needs to be solved has more than just one side length missing, the [[Law of sines]] is more useful. | |
| + | |||
| + | ===Alternate Forms=== | ||
| + | Particularly when the law of cosines is being used to find a particular side length, that is when a certain angle measure is given, the law of cosines can be written in several different ways to help set up the equation to solve for the missing element of the triangle. | ||
| + | |||
| + | :*<math> c^{2} = a^{2} + b^{2} - 2ab \cos C </math> | ||
| + | |||
| + | :*<math> b^{2} = a^{2} + c^{2} - 2ac \cos B </math> | ||
| + | |||
| + | :*<math> a^{2} = b^{2} + c^{2} - 2bc \cos A </math> | ||
| + | |||
| + | An alternate form of the law of cosines is particularly useful when solving a triangle when just the three side lengths are given. This for isolates the term with the cosine of the angle in it to make it easier to solve. | ||
| + | |||
| + | :*<math> \cos C = \frac{a^{2} + b^{2}- c^{2}}{2ab}</math> | ||
| + | |||
| + | :*<math> \cos B = \frac{a^{2} + c^{2}- b^{2}}{2ac}</math> | ||
| + | |||
| + | :*<math> \cos A = \frac{b^{2} + c^{2}- a^{2}}{2bc}</math> | ||
| + | |||
| + | |||
|ImageDesc===Proof== | |ImageDesc===Proof== | ||
===By the Pythagorean Theorem=== | ===By the Pythagorean Theorem=== | ||
Revision as of 15:48, 3 June 2011
| Law of Cosines |
|---|
Law of Cosines
- The law of cosines is a trigonometric extension of the Pythagorean Theorem.
Contents |
Basic Description
The law of cosines is a formula that helps in solving triangles when two or three side lengths of a triangle are known. The formula combines the squares of two side lengths of a triangle and some offset, classified by the cosine of a particular angle, to calculate the square of the third side. For this reason, the law of cosines is often thought of as the generalization of the Pythagorean theorem, which only applies to right triangles. The law of cosines adds an extra term to the Pythagorean theorem so that a third side length of a triangle can be determined when there is no right angle.The law of cosines is useful in solving triangles whenever at least two side lengths are known. It us also helpful when just three side lengths are known, and no angle measures. Given three elements of a triangle, there must be at least two side lengths given to successfully implement the law of cosines. If the triangle that needs to be solved has more than just one side length missing, the Law of sines is more useful.
Alternate Forms
Particularly when the law of cosines is being used to find a particular side length, that is when a certain angle measure is given, the law of cosines can be written in several different ways to help set up the equation to solve for the missing element of the triangle.
An alternate form of the law of cosines is particularly useful when solving a triangle when just the three side lengths are given. This for isolates the term with the cosine of the angle in it to make it easier to solve.
A More Mathematical Explanation
Proof
By the Pythagorean Theorem
An easy way to think of the law of cosines is as an extension of the Pythagorean theorem for a right triangle:
By Pythagorean theorem, we know
But
is just some portion of side length
which is
less than the length of
. Substituting the difference gives us,
By Pythagorean theorem, we also know that
Substituting the appropriate values gives us,
Expanding the squared term gives us
Simplify for
And by the definition of cosine, we know that
Substituting this value in give us
or
Using the Distance Formula
Let
be oriented so that
is at the origin, and
is at the point
.
is the distance from
to
.
Substituting the appropriate points into the distance formula gives us
Squaring the inner terms, we have
Since
,
Square both sides for
Example Problem
Complete the triangle using the law of cosines.
Solution
Teaching Materials
- There are currently no teaching materials for this page. Add teaching materials.
Leave a message on the discussion page by clicking the 'discussion' tab at the top of this image page.




, substitution gives us

from both sides gives us
gives us


