The Pythagorean theorem deals with the lengths of the sides of a right triangle. It is often written in the form of the equation:
a2 + b2 = c2
The theorem states that:
The sum of the squares of the lengths of the legs of a right triangle is equal to the square of the length of the hypotenuse ( the longest side of the triangle )