The Pythagorean theorem is one of the most famous and important theorems in mathematics. It describes a fundamental relationship between the three sides of a right triangle. In a right triangle, we have three sides: the two legs and the hypotenuse, which is the longest side opposite the right angle.