Inscribed Square Problem
The inscribed square problem asks whether every simple closed curve contains the four corners of a square. Drag a test square inside several shapes and see when it fits exactly.
All four corners sit on the curve — an inscribed square. For smooth curves this is always possible.
The inscribed square problem asks whether every simple closed curve contains the four corners of a square. It is proven for smooth curves and many special loops, but the general case for all Jordan curves is still open. Try to fit the square into the wobbly loop.
What you are seeing
For smooth curves the answer is yes. For arbitrary continuous loops, it is still unknown.
Rotate and size a candidate square to test each shape. A fit means all four corners touch the curve.
Try a circle, a rounded triangle, and a wobbly loop.
Why it matters
This is a deceptively simple topology question. It is proven for smooth curves and many special classes, but the general case for all Jordan curves remains open.
Complexity & details
Each fit test samples the curve at O(n) points per orientation.
Frequently asked questions
Has it been solved for polygons?+
Yes, for smooth curves and many special classes. General Jordan curves remain open.
What about rectangles or triangles?+
Analogues with other shapes behave differently; the square case is the stubborn one.