Pythagorean theorem Pythagorean theorem In mathematics, the Pythagorean theorem, also known as Pythagoras' theorem, is a fundamental relation in Euclidean geometry among the three sides of a right triangle. It states that the square of the hypotenuse (the side opposite the right angle) is equal to the sum of the squares of the other two sides. The theorem can be written as an equation relating the lengths of the sides "a", "b" and "c", often called the "Pythagorean equation": where "c" represents the length of the hypotenuse and "a" and "b" the lengths of the triangle's other two sides. Although it is
Fermat's theorem on sums of two squares he announced the following two results for odd primes formula_4: He also wrote: In other words, if "p, q" are of the form 20"k" + 3 or 20"k" + 7, then "pq" = "x" + 5"y". Euler later extended this to the conjecture that Both Fermat's assertion and Euler's conjecture were established by Lagrange. A generalization of Fermat's theorem, the sum of two squares theorem, characterizes the integers (not necessarily prime) that can be expressed as the sum of two squares. They are exactly the integers in which each prime that is congruent to 3 mod 4 appears with an