Pythagorean theorem

Pythagorean theorem states that in a right triangle, the length of the hypotenuse squared is equal to the sum of the square of the lengths of the other two sides. It was first discovered in ancient China but made famous by mathematician Pythagoras in ancient Greece, and is a very important equation in the study of geometry. It is often represented by the following equation:

where a and b are each the legs of the triangle and c is the hypotenuse.