Isoperimetric Problem
Keep the perimeter fixed and morph a loop through a square, triangle, and smooth curves. A live plot shows enclosed area versus shape — the circle always wins.
Among all shapes with the same perimeter, the circle encloses the largest area (4583.7 here). This shape reaches 78.5% of that maximum.
The isoperimetric inequality says the circle is the unique maximizer of area for a given perimeter. Squares and long rectangles fall short; the more “circle-like” a shape is, the more area it encloses.
What you are seeing
All shapes here share the same perimeter. The juice is the enclosed area.
Among all closed curves with a given length, the circle encloses the greatest area — the isoperimetric inequality.
Squares and triangles of the same perimeter enclose noticeably less area.
Why it matters
The isoperimetric inequality explains why bubbles and droplets are round, and it is a cornerstone of geometric analysis.
Complexity & details
Area is computed by sampling the outline at O(n) points.
Frequently asked questions
Is the circle the unique winner?+
Yes, among all shapes with the same perimeter the circle is the unique maximizer.