An analog of Pythagoras' theorem is satisfied for three similar polygons of any shape constructed on the sides of a right triangle. In this Demonstration, this is illustrated with three similar triangles colored red, blue, and green. The area of the red triangle equals the sum of the areas of the blue and green triangles.
Drag the locator to vary the shape of the red triangle. The blue and green triangles will automatically synchronize to maintain similarity.
The Pythagorean relationship remains valid if the colored triangles are moved inside the right triangle and even in bizarre configurations with the locator moved through the right triangle.