external image 250px-Pythagorean.svg.png
In mathematics Pythagorean theorem or Pythagoras' theorem is a statement about the sides of a right triangle.
One of the angles of a right triangle is always equal to 90 degrees. This angle is the right angle. The two sides next to the right angle are called the legs and the other side is called the hypotenuse. The hypotenuse is the side opposite to the right angle, and it is always the longest side.
The Pythagorean theorem says that the area of a square on the hypotenuse is equal to the sum of the areas of the squares on the legs. In this picture, the area of the blue square added to the area of the red square makes the area of the purple square. It was named after the Greek mathematician Pythagoras:
If the lengths of the legs are a and b, and the length of the hypotenuse is c, then, a2 + b2 = c2.
For proof see: Pythagorean theorem/proof.
One well known example is the 3-4-5 triangle: if a=3 and b=4, 32 + 42 = 52 or 9 + 16 = 25. This can also be shown as