Mathematicians spent thousands of years trying to solve problems that turned out to be impossible. This effort helped them discover important mathematical principles, methods, and constructions.