- Verberg vooruitgang Hide progress Toon vooruitgang Show progress
- Verwijder je antwoorden (op deze pagina) Remove your answers (on this page)
In Section TheLawofSines, we developed the Law of Sines (Theorem lawofsines) to enable us to solve triangles in the ‘Angle-Angle-Side’ (AAS), the ‘Angle-Side-Angle’ (ASA) and the ambiguous ‘Angle-Side-Side’ (ASS) cases.
In this section, we develop the Law of Cosines which handles solving triangles in the ‘Side-Angle-Side’ (SAS) and ‘Side-Side-Side’ (SSS) cases. We state and prove the theorem below.
or, solving for the cosine in each equation, we have
To prove the theorem, we consider a generic triangle with the vertex of angle \(\alpha \) at the origin with side \(b\) positioned along the positive \(x\)-axis as sketched in the diagram below.
From this set-up, we immediately find that the coordinates of \(A\) and \(C\) are \(A(0,0)\) and \(C(b,0)\). From Theorem cosinesinecircle, we know that since the point \(B(x,y)\) lies on a circle of radius \(c\), the coordinates of \(B\) are \(B(x,y) = B(c \cos (\alpha ), c \sin (\alpha ))\). (This would be true even if \(\alpha \) were an obtuse or right angle so although we have drawn the case when \(\alpha \) is acute, the following computations hold for any angle \(\alpha \) drawn in standard position where \(0 < \alpha < 180^{\circ }\).)
We note that the distance between the points \(B\) and \(C\) is none other than the length of side \(a\). Using the distance formula, Equation distanceformula, we get
The remaining formulas given in Theorem lawofcosines can be shown by simply reorienting the triangle to place a different vertex at the origin. We leave these details to the reader.
What’s important about \(a\) and \(\alpha \) in the above proof is that \((\alpha ,a)\) is an angle-side opposite pair and \(b\) and \(c\) are the sides adjacent to \(\alpha \) – the same can be said of any other angle-side opposite pair in the triangle.
Notice that the proof of the Law of Cosines relies on the distance formula which has its roots in the Pythagorean Theorem. That being said, the Law of Cosines can be thought of as a generalization of the Pythagorean Theorem.
Indeed, in a triangle in which \(\gamma = 90^{\circ }\), (i.e., a right triangle) then \(\cos (\gamma ) = \cos \left (90^{\circ }\right ) = 0\) and we get the familiar relationship \(c^2 = a^2 + b^2\). What this means is that in the larger mathematical sense, the Law of Cosines and the Pythagorean Theorem amount to pretty much the same thing.
We are given the lengths of two sides, \(a=7\) and \(c = 2\), and the measure of the included angle, \(\beta = 50^{\circ }\). With no angle-side opposite pair to use for the Law of Sines, we apply the Law of Cosines. We get \(b^2 = 7^2 + 2^2 - 2(7)(2)\cos \left (50^{\circ }\right )\) which yields \(b = \sqrt {53-28\cos \left (50^{\circ }\right )} \approx 5.92\) units.
In order to determine the measures of the remaining angles \(\alpha \) and \(\gamma \), we are forced to used the derived value for \(b\). There are two ways to proceed at this point. We could use the Law of Cosines again, or, since we have the angle-side opposite pair \((\beta , b)\) we could use the Law of Sines.
The advantage to using the Law of Cosines over the Law of Sines in cases like this is that unlike the sine function, the cosine function distinguishes between acute and obtuse angles. The cosine of an acute is positive, whereas the cosine of an obtuse angle is negative. Since the sine of both acute and obtuse angles are positive, the sine of an angle alone is not enough to determine if the angle in question is acute or obtuse.
Since both authors of the textbook prefer the Law of Cosines, we proceed with this method first. When using the Law of Cosines, it’s always best to find the measure of the largest unknown angle first, since this will give us the obtuse angle of the triangle if there is one.
Since the largest angle is opposite the longest side, we choose to find \(\alpha \) first. To that end, we use the formula \(\cos (\alpha ) = \frac {b^2+c^2-a^2}{2bc}\) and substitute \(a = 7\), \(b = \sqrt {53-28\cos \left (50^{\circ }\right )}\) and \(c = 2\). We get
Since \(\alpha \) is an angle in a triangle, we know the radian measure of \(\alpha \) must lie between \(0\) and \(\pi \) radians. This matches the range of the arccosine function, so we have
To minimize propagation of error (and obtain an exact answer for \(\gamma \)), however, we could use the Law of Cosines again. From \(\cos (\gamma ) = \frac {a^2+b^2-c^2}{2ab}\) with \(a = 7\), \(b = \sqrt {53-28\cos \left (50^{\circ } \right )}\) and \(c=2\), we get \(\gamma = \arccos \left (\frac {7-2 \cos \left (50^{\circ }\right )}{\sqrt {53-28\cos \left (50^{\circ } \right )}} \right )\) radians \(\approx 15.01^{\circ }\). We sketch the triangle below.
As we mentioned earlier, once we’ve determined \(b\) it is possible to use the Law of Sines to find the remaining angles. Here, however, we must proceed with caution as we are in the ambiguous (ASS) case. Here it is advisable to first find the smallest of the unknown angles, since we are guaranteed it will be acute.
In this case, we would find \(\gamma \) since the side opposite \(\gamma \) is smaller than the side opposite the other unknown angle, \(\alpha \). Using the angle-side opposite pair \((\beta , b)\), we get \(\frac {\sin (\gamma )}{2} = \frac {\sin (50^{\circ })}{ \sqrt {53-28\cos \left (50^{\circ }\right )}}\). The usual calculations produces \(\gamma \approx 15.01^{\circ }\) and \(\alpha = 180^{\circ } - \beta - \gamma \approx 180^{\circ } - 50^{\circ } - 15.01^{\circ } = 114.99^{\circ }\).
Since all three sides and no angles are given, we are forced to use the Law of Cosines. Following our discussion in the previous problem, we find \(\beta \) first, since it is opposite the longest side, \(b\). We get \(\cos (\beta ) = \frac {a^2+c^2-b^2}{2ac} = -\frac {1}{5}\), so \(\beta = \arccos \left (-\frac {1}{5}\right )\) radians \(\approx 101.54^{\circ }\).
Now that we have obtained an angle-side opposite pair \((\beta , b)\), we could proceed using the Law of Sines. The Law of Cosines, however, offers us a rare opportunity to find the remaining angles using only the data given to us in the statement of the problem.
Using the Law of Cosines, we get \(\gamma = \arccos \left (\frac {5}{7}\right )\) radians \(\approx 44.42^{\circ }\) and \(\alpha = \arccos \left (\frac {29}{35}\right )\) radians \(\approx 34.05^{\circ }\). We sketch this triangle below.
We note that, depending on how many decimal places are carried through successive calculations, and depending on which approach is used to solve the problem, the approximate answers you obtain may differ slightly from those the authors obtain in the Examples and the Exercises.
A great example of this is number locsss in Example locex, where the approximate values we record for the measures of the angles sum to \(180.01^{\circ }\), which is geometrically impossible.
Calling this length \(w\) (for width), we get \(w^2 = 950^2 + 1000^2 - 2(950)(1000)\cos \left (60^{\circ }\right ) = 952500\) from which we get \(w = \sqrt {952500} \approx 976\) feet.
In Section TheLawofSines, we used the proof of the Law of Sines to develop Theorem areaformulasine as an alternate formula for the area enclosed by a triangle. In this section, we use the Law of Cosines to derive another such formula, the so-called Heron’s Formula.
We prove Theorem HeronsFormula using Theorem areaformulasine. Using the convention that the angle \(\gamma \) is opposite the side \(c\), we have \(A = \frac {1}{2} ab \sin (\gamma )\) from Theorem areaformulasine.
In order to simplify computations, we start by manipulating the expression for \(A^2\).
The Law of Cosines tells us \(\cos (\gamma ) = \frac {a^2 + b^2 - c^2}{2ab}\), so substituting this into our equation for \(A^2\) gives
Recognizing \(4a^2 b^2\) as a perfect square, \(4a^2 b^2 = (2ab)^2\), we can factor the resulting difference of squares:
Next, we regroup \(c^2 - a^2 + 2ab - b^2 = c^2 - \left [a^2 - 2ab + b^2\right ]\) and \(a^2 + 2ab + b^2- c^2 = \left [a^2 + 2ab + b^2\right ]- c^2\). Recognizing \(a^2 - 2ab + b^2 = (a-b)^2\) and \(a^2 + 2ab + b^2 = (a+b)^2\), we continue factoring:
At this stage, we recognize the last factor as the semiperimeter, \(s = \frac {1}{2}(a+b+c) = \frac {a+b+c}{2}\). To complete the proof, we note that
Similarly, we find \((s-b) = \frac {a+c-b}{2}\) and \((s-c) = \frac {a+b-c}{2}\). Hence, we get
so that \(A = \sqrt {s(s-a)(s-b)(s-c)}\) as required.
We close with an example of Heron’s Formula.
Per Heron’s Formula, \(A = \sqrt {s(s-a)(s-b)(s-c)} = \sqrt {(8)(4)(1)(3)} = \sqrt {96} = 4\sqrt {6} \approx 9.80\) square units.