The Pythagorean Theorem is one of the most important theorems in Geometry. To remind you:[br][br][b]The Pythagorean Theorem:[/b] If one of the angles of a triangle is 90 degrees, then the square of the lengths of the two legs on either side of 90 degree angle sum to the square of the length of the side opposite the 90 degree angle. In other words, if triangle [math]\Delta[/math]ABC has a 90 degree angle at C, and sides a and b are adjacent to C, and side c is opposite angle C, then [math]\text{a^2+b^2=c^2}[/math].[br][br]Usually, the sides on either side of the 90 degree angle are called "legs" and the side opposite the 90 degree angle is called the "hypotenuse." With these terms, the Pythagorean Theorem can be stated a little more sleekly:[br][br][b]The Pythagorean Theorem (re-stated with new terminology):[/b] The two legs, a and b, and the hypotenuse, c, of a right triangle always satisfy [math]a^2+b^2=c^2[/math][br][br]The Pythagorean theorem is particularly useful because if you know any two sides of a right triangle, you can use the above equation to find the third. [br][br]For instance if a=3 and b=4, you can solve the equation for c:[br][br][math]3^2+4^2=c^2[/math][br][br][math]9+16=c^2[/math][br][br][math]25=c^2[/math][br][br][math]\sqrt{25}=\sqrt{c^2}[/math][br][br][math]5=c[/math][br][br]The Pythagorean Theorem is useful because it applies to [i]all[/i] right triangles in the plane. It's a statement that holds true in infinitely many different cases. To get your head around this, check out this applet which illustrates the Pythagorean Theorem in a dynamic way showing that a[sup]2[/sup] and b[sup]2[/sup] is always equal c[sup]2[/sup]. Adjust the blue dots at the vertices of the right triangle on the right side of the screen, and observe that the equality between a[sup]2[/sup]+b[sup]2[/sup] and c[sup]2[/sup] always holds true no matter how you adjust the points.
The Pythagorean Theorem is tremendously useful. In many realistic scenarios it is possible to measure a and b with ease, but it is often difficult to measure c. For instance, c might pass through a lake or private property or might be up in the air! We'll do a few example puzzles in class together to show you how this works.
Nonetheless, the Pythagorean Theorem still presents a substantial limitation to utility. Specifically, it requires that the angle between a and b is 90 degrees. If the angle is not 90 degrees, the Pythagorean Theorem doesn't help.[br][br]This is where the Law of Cosines comes in. The Law of Cosines allows us to find c even when the angle between a and b is not 90 degrees. Check out this applet which illustrates the relationship between a[sup]2[/sup] and b[sup]2[/sup] and c[sup]2[/sup] that also takes into account the angle C (note the angle is capital C to distinguish it from lower case c, the side opposite angle C) between the legs a and b.[br][br]Adjust the blue dots in the triangle on the right right side of the screen to see the relationship. At the outset, when angle C is 90 degrees, a[sup]2[/sup]+b[sup]2[/sup] is exactly equal to c[sup]2[/sup]. However, when you move any of the three vertices of the triangle, note that the equality is [i]not[/i] maintained. The problem is that angle C becomes [i]not[/i] 90 degrees.[br][br]The Law of Cosines accommodates for other angles at C besides a 90 degree angle. Specifically: [br][br][math]a^2+b^2-2\cdot a\cdot b\cdot\cos\left(C\right)=c^2[/math][br][br]By taking away 2*a*b*cos(C) from a[sup]2[/sup]+b[sup]2[/sup], the result is exactly c[sup]2[/sup]. This is the [b]Law of Cosines[/b] and it's tremendously useful. This was the formula that was behind our "mystery numbers" in projects 2 and 3.
A few things to note:[br][list][*]Don't be nervous if you don't know what cos(C) is. For now, just think of it as a number. You can calculate it any number of ways, but I recommend simply googling it. For example check this link to calculate [url=https://lmgtfy.com/?q=cosine+of+108+degrees]cosine of 108 degrees[/url]. Just don't forget to add "degrees" to your search.[/*][*]When C is less than 90 degrees, cosine is positive (try out a few calculations in Google like [url=https://lmgtfy.com/?q=cosine+of+80+degrees]this one[/url]), so -2*a*b*cos(C) is [i]negative[/i], and so takes something away from a[sup]2[/sup]+b[sup]2[/sup][/*][*]On the other hand, when C is greater than 90 degrees, cosine is negative (again, try out a few calculations like [url=https://lmgtfy.com/?q=cosine+of+108+degrees]this one[/url]), so -2*a*b*cos(C) is [i]positive[/i], and adds something to a[sup]2[/sup]+b[sup]2[/sup][/*][/list]