Difference between revisions of "The Law of Cosines"

From Department of Mathematics at UTSA
Jump to navigation Jump to search
 
Line 62: Line 62:
 
== Licensing ==  
 
== Licensing ==  
 
Content obtained and/or adapted from:
 
Content obtained and/or adapted from:
* [* [https://en.wikibooks.org/wiki/Trigonometry/Law_of_Cosines Law of Cosines, Wikibooks] under a CC BY-SA license
+
* [https://en.wikibooks.org/wiki/Trigonometry/Law_of_Cosines Law of Cosines, Wikibooks] under a CC BY-SA license

Latest revision as of 17:00, 28 October 2021

Law of Cosines

Law-of-cosines1.svg

The Pythagorean theorem is a special case of the more general theorem relating the lengths of sides in any triangle, the law of cosines:

Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle a^2+b^2-2ab\cos(\theta)=c^2}

where is the angle between sides and .

Does the formula make sense?

This formula had better agree with the Pythagorean Theorem when .

So try it...

When ,

The and the formula reduces to the usual Pythagorean theorem.

Permutations

For any triangle with angles and corresponding opposite side lengths , the Law of Cosines states that

Proof

Law-of-cosines2.svg

Dropping a perpendicular from vertex to intersect (or extended) at splits this triangle into two right-angled triangles and , with altitude from side .

First we will find the lengths of the other two sides of triangle in terms of known quantities, using triangle .

Side is split into two segments, with total length .

has length
has length

Now we can use the Pythagorean Theorem to find , since .

Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle =\bigl(c-a\cos(B)\bigr)^2+a^2\sin^2(B)}
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle =c^2-2ac\cos(B)+a^2\cos^2(B)+a^2\sin^2(B)}
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle =a^2+c^2-2ac\cos(B)}

The corresponding expressions for Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle a} and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle c} can be proved similarly.

The formula can be rearranged:

Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \cos(C)=\frac{a^2+b^2-c^2}{2ab}}

and similarly for Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle cos(A)} and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle cos(B)} .

Applications

This formula can be used to find the third side of a triangle if the other two sides and the angle between them are known. The rearranged formula can be used to find the angles of a triangle if all three sides are known.


Resources

Licensing

Content obtained and/or adapted from: