Law of Cosines: Difference between revisions
Khush6amath (talk | contribs) No edit summary |
|||
| Line 1: | Line 1: | ||
The '''Law of Cosines''' is a theorem which relates the side-[[length]]s and [[angle]]s of a [[triangle]]. It can be derived in several different | The '''Law of Cosines''' is a theorem which relates the side-[[length]]s and [[angle]]s of a [[triangle]]. It can be derived in several different wathe included angle. All triangles with two sides and an include angle are [[congruent]] by the Side-Angle-Side congruence postulate. | ||
==Theorem== | ==Theorem== | ||
For a triangle with [[edge]]s of length < | For a triangle with [[edge]]s of length <imath>a</imath>, <imath>b</imath> and <imath>c</imath> opposite [[angle]]s of measure <imath>A</imath>, <imath>B</imath> and <imath>C</imath>, respectively, the Law of Cosines states: | ||
<cmath>c^2 = a^2 + b^2 - 2ab\cos C</cmath> | <cmath>c^2 = a^2 + b^2 - 2ab\cos C</cmath> | ||
| Line 10: | Line 10: | ||
<cmath>a^2 = b^2 + c^2 - 2bc\cos A</cmath> | <cmath>a^2 = b^2 + c^2 - 2bc\cos A</cmath> | ||
In the case that one of the angles has measure < | In the case that one of the angles has measure <imath>90^\circ</imath> (is a [[right angle]]), the corresponding statement reduces to the [[Pythagorean Theorem]]. | ||
==Proofs== | ==Proofs== | ||
| Line 38: | Line 38: | ||
Let < | Let <imath>a</imath>, <imath>b</imath>, and <imath>c</imath> be the side lengths, <imath>C</imath> is the angle measure opposite side <imath>c</imath>, <imath>f</imath> is the distance from angle <imath>C</imath> to side <imath>c</imath>, and <imath>d</imath> and <imath>e</imath> are the lengths that <imath>c</imath> is split into by <imath>f</imath>. | ||
We use the Pythagorean theorem: | We use the Pythagorean theorem: | ||
| Line 44: | Line 44: | ||
<cmath>a^2+b^2-2f^2=d^2+e^2</cmath> | <cmath>a^2+b^2-2f^2=d^2+e^2</cmath> | ||
We are trying to get < | We are trying to get <imath>a^2+b^2-2f^2+2de</imath> on the LHS, because then the RHS would be <imath>c^2</imath>. | ||
We use the addition rule for cosines and get: | We use the addition rule for cosines and get: | ||
| Line 50: | Line 50: | ||
<cmath>\cos{C}=\dfrac{f}{a}\cdot \dfrac{f}{b}-\dfrac{d}{a}\cdot \dfrac{e}{b}=\dfrac{f^2-de}{ab}</cmath> | <cmath>\cos{C}=\dfrac{f}{a}\cdot \dfrac{f}{b}-\dfrac{d}{a}\cdot \dfrac{e}{b}=\dfrac{f^2-de}{ab}</cmath> | ||
We multiply by < | We multiply by <imath>-2ab</imath> and get: | ||
<cmath>2de-2f^2=-2ab\cos{C}</cmath> | <cmath>2de-2f^2=-2ab\cos{C}</cmath> | ||
| Line 58: | Line 58: | ||
<cmath>a^2+b^2-2f^2+2de=c^2</cmath> | <cmath>a^2+b^2-2f^2+2de=c^2</cmath> | ||
We replace the < | We replace the <imath>-2f^2+2de</imath> by <imath>-2ab\cos{C}</imath> and get: | ||
<cmath>c^2=a^2+b^2-2ab\cos{C}</cmath> | <cmath>c^2=a^2+b^2-2ab\cos{C}</cmath> | ||
| Line 65: | Line 65: | ||
===Right Triangle=== | ===Right Triangle=== | ||
Since < | Since <imath>C=90^{\circ}</imath>, <imath>\cos C=0</imath>, so the expression reduces to the Pythagorean Theorem. You can find several proofs of the Pythagorean Theorem [[Pythagorean Theorem#Proofs|here]]. | ||
===Obtuse Triangle=== | ===Obtuse Triangle=== | ||
| Line 71: | Line 71: | ||
==Proof 2 (Vector Dot Product)== | ==Proof 2 (Vector Dot Product)== | ||
Consider < | Consider <imath>\triangle{ABC}</imath>. Let <imath>\vec{AB}=\vec{c}, \vec{AC}=\vec{b},\vec{BC}=\vec{a}</imath>. | ||
Because of the identity < | Because of the identity <imath>|\vec{a}|^2=\vec{a}\cdot\vec{a}</imath>,we can complete our proof as the following. | ||
Draw the diagram. Note that < | Draw the diagram. Note that <imath>\vec{c}+\vec{a}=\vec{b}</imath>. Then <imath>\vec{b}-\vec{c}=\vec{a}</imath> and <imath>\vec{a}\cdot \vec{a}=a^2</imath>. <imath>(\vec{b}-\vec{c})^2=b^2+c^2-2\cdot b\cdot c\cdot \cos{A}=|\vec{a}|^2</imath>. Now, we have finished the proof because the two quantities are equal. | ||
Credits to China High School Math textbook < | Credits to China High School Math textbook <imath>\emph{Mathematics Vol 5B Textbook}</imath> by People's Education Press (this textbook is currently discontinued but it has been used for hinting the proof. The proof is done by myself. But the letting and the process of guiding students to verify the identity <imath>|\vec{a}|^2=\vec{a}\cdot\vec{a}</imath> is written in the textbook. | ||
~hastapasta | ~hastapasta | ||
| Line 85: | Line 85: | ||
1. If the sides of a triangle have lengths 2, 3, and 4, what is the radius of the circle circumscribing the triangle? | 1. If the sides of a triangle have lengths 2, 3, and 4, what is the radius of the circle circumscribing the triangle? | ||
<center>< | <center><imath> | ||
\mathrm{(A) \ } 2 | \mathrm{(A) \ } 2 | ||
\qquad \mathrm{(B) \ } 8/\sqrt{15} | \qquad \mathrm{(B) \ } 8/\sqrt{15} | ||
| Line 91: | Line 91: | ||
\qquad \mathrm{(D) \ } \sqrt{6} | \qquad \mathrm{(D) \ } \sqrt{6} | ||
\qquad \mathrm{(E) \ } (\sqrt{6} + 1)/2 | \qquad \mathrm{(E) \ } (\sqrt{6} + 1)/2 | ||
</ | </imath></center> | ||
([[University of South Carolina High School Math Contest/1993 Exam/Problem 29|Source]]) | ([[University of South Carolina High School Math Contest/1993 Exam/Problem 29|Source]]) | ||
2. In the quadrilateral < | 2. In the quadrilateral <imath>ABCD</imath>, <imath>\angle{ADC}=90^\circ</imath>, <imath>AB=2</imath>, <imath>BD=5</imath>. | ||
(1) Find < | (1) Find <imath>\cos{\angle{ADB}}</imath>. | ||
(2) If < | (2) If <imath>DC=2\sqrt{2}</imath>, find <imath>BC</imath>. | ||
(2018 China Gaokao Syllabus I #17) | (2018 China Gaokao Syllabus I #17) | ||
| Line 108: | Line 108: | ||
===Intermediate=== | ===Intermediate=== | ||
A tripod has three legs each of length < | A tripod has three legs each of length <imath>5</imath> feet. When the tripod is set up, the [[angle]] between any pair of legs is equal to the angle between any other pair, and the top of the tripod is <imath>4</imath> feet from the ground. In setting up the tripod, the lower 1 foot of one leg breaks off. Let <imath> h </imath> be the height in feet of the top of the tripod from the ground when the broken tripod is set up. Then <imath> h </imath> can be written in the form <imath> \frac m{\sqrt{n}}, </imath> where <imath> m </imath> and <imath> n </imath> are positive integers and <imath> n </imath> is not divisible by the square of any prime. Find <imath> \lfloor m+\sqrt{n}\rfloor. </imath> (The notation <imath> \lfloor x\rfloor </imath> denotes the greatest integer that is less than or equal to <imath> x. </imath>) | ||
([[2006 AIME I Problems/Problem 14|Source]]) | ([[2006 AIME I Problems/Problem 14|Source]]) | ||
===Olympiad=== | ===Olympiad=== | ||
A tetrahedron < | A tetrahedron <imath>ABCD </imath> is inscribed in the sphere <imath>S </imath>. Find the locus of points <imath>P </imath>, situated in <imath>S </imath>, such that | ||
<center> | <center> | ||
< | <imath> \frac{AP}{PA_{1}} + \frac{BP}{PB_{1}} + \frac{CP}{PC_{1}} + \frac{DP}{PD_{1}} = 4, </imath> | ||
</center> | </center> | ||
where < | where <imath>A_{1}, B_{1}, C_{1}, D_{1} </imath> are the other intersection points of <imath>AP, BP, CP, DP </imath> with <imath>S </imath>. | ||
([[1973 IMO Shortlist Problems/Bulgaria 1|Source]]) | ([[1973 IMO Shortlist Problems/Bulgaria 1|Source]]) | ||
Revision as of 16:12, 9 November 2025
The Law of Cosines is a theorem which relates the side-lengths and angles of a triangle. It can be derived in several different wathe included angle. All triangles with two sides and an include angle are congruent by the Side-Angle-Side congruence postulate.
Theorem
For a triangle with edges of length
,
and
opposite angles of measure
,
and
, respectively, the Law of Cosines states:
In the case that one of the angles has measure
(is a right angle), the corresponding statement reduces to the Pythagorean Theorem.
Proofs
Proof 1
Acute Triangle
Let
,
, and
be the side lengths,
is the angle measure opposite side
,
is the distance from angle
to side
, and
and
are the lengths that
is split into by
.
We use the Pythagorean theorem:
We are trying to get
on the LHS, because then the RHS would be
.
We use the addition rule for cosines and get:
We multiply by
and get:
Now remember our equation?
We replace the
by
and get:
We can use the same argument on the other sides.
Right Triangle
Since
,
, so the expression reduces to the Pythagorean Theorem. You can find several proofs of the Pythagorean Theorem here.
Obtuse Triangle
The argument for an obtuse triangle is the same as the proof for an acute triangle.
Proof 2 (Vector Dot Product)
Consider
. Let
.
Because of the identity
,we can complete our proof as the following.
Draw the diagram. Note that
. Then
and
.
. Now, we have finished the proof because the two quantities are equal.
Credits to China High School Math textbook
by People's Education Press (this textbook is currently discontinued but it has been used for hinting the proof. The proof is done by myself. But the letting and the process of guiding students to verify the identity
is written in the textbook.
~hastapasta
Problems
Introductory
1. If the sides of a triangle have lengths 2, 3, and 4, what is the radius of the circle circumscribing the triangle?
(Source)
2. In the quadrilateral
,
,
,
.
(1) Find
.
(2) If
, find
.
(2018 China Gaokao Syllabus I #17)
Solution link: https://artofproblemsolving.com/community/c4h2812553_trig__triangle_laws_how_come P.S.: Since the solution is on a forum, please read all the way to thread #3 for the solutions!
Intermediate
A tripod has three legs each of length
feet. When the tripod is set up, the angle between any pair of legs is equal to the angle between any other pair, and the top of the tripod is
feet from the ground. In setting up the tripod, the lower 1 foot of one leg breaks off. Let
be the height in feet of the top of the tripod from the ground when the broken tripod is set up. Then
can be written in the form
where
and
are positive integers and
is not divisible by the square of any prime. Find
(The notation
denotes the greatest integer that is less than or equal to
)
(Source)
Olympiad
A tetrahedron
is inscribed in the sphere
. Find the locus of points
, situated in
, such that
where
are the other intersection points of
with
.
(Source)