where n, a and b are positive numbers.
This formula defines a closed curve contained in the rectangle −a ≤ x ≤ +a and −b ≤ y ≤ +b. The parameters a and b are called the semi-diameters of the curve.
When n is between 0 and 1, the superellipse looks like a four-armed star with concave (inwards-curved) sides. For n = 1/2, in particular, each of the four arcs is a Quadratic Bézier curve defined by the two axes; as a result, each arc is a segment of a parabola.
When n is 1 the curve is a diamond with corners (±a, 0) and (0, ±b). When n is between 1 and 2, it looks like a diamond with those same corners but with convex (outwards-curved) sides. The curvature increases without limit as one approaches the corners.
When n is 2, the curve is an ordinary ellipse (in particular, a circle if a = b). When n is greater than 2, it looks superficially like a rectangle with chamfered (rounded) corners. The curvature is zero at the points (±a, 0) and (0, ±b).
If n < 2, the figure is also called a hypoellipse; if n > 2, a hyperellipse.
The extreme points of the superellipse are (±a, 0) and (0, ±b), and its four "corners" are (±sa, ±sb), where (sometimes called the "superness" ).
Mathematical properties 
When n is a nonzero rational number p / q (in lowest terms), then the superellipse is a plane algebraic curve. For positive n the order is pq; for negative n the order is 2pq. In particular, when a and b are both one and n is an even integer, then it is a Fermat curve of degree n. In that case it is nonsingular, but in general it will be singular. If the numerator is not even, then the curve is pasted together from portions of the same algebraic curve in different orientations.
The curve is given by the parametric equations
The area inside the superellipse can be expressed in terms of the gamma function, Γ(x), as
The pedal curve is relatively straightforward to compute. Specifically, the pedal of
is given in polar coordinates by
|This section requires expansion. (June 2008)|
The superellipse is further generalized as:
(Note that is NOT a physical angle of the figure, but just a parameter)
The general Cartesian notation of the form comes from the French mathematician Gabriel Lamé (1795–1870) who generalized the equation for the ellipse.
Hermann Zapf's typeface Melior, published in 1952, uses superellipses for letters such as o. Thirty years later Donald Knuth would build the ability to choose between true ellipses and superellipses (both approximated by cubic splines) into his Computer Modern type family.
Though he is often credited with its invention, the Danish poet and scientist Piet Hein (1905–1996) did not discover the super-ellipse. In 1959, city planners in Stockholm, Sweden announced a design challenge for a roundabout in their city square Sergels Torg. Piet Hein's winning proposal was based on a superellipse with n = 2.5 and a/b = 6/5. As he explained it:
- Man is the animal that draws lines which he himself then stumbles over. In the whole pattern of civilization there have been two tendencies, one toward straight lines and rectangular patterns and one toward circular lines. There are reasons, mechanical and psychological, for both tendencies. Things made with straight lines fit well together and save space. And we can move easily — physically or mentally — around things made with round lines. But we are in a straitjacket, having to accept one or the other, when often some intermediate form would be better. To draw something freehand — such as the patchwork traffic circle they tried in Stockholm — will not do. It isn't fixed, isn't definite like a circle or square. You don't know what it is. It isn't esthetically satisfying. The super-ellipse solved the problem. It is neither round nor rectangular, but in between. Yet it is fixed, it is definite — it has a unity.
Sergels Torg was completed in 1967. Meanwhile Piet Hein went on to use the superellipse in other artifacts, such as beds, dishes, tables, etc. By rotating a superellipse around the longest axis, he created the superegg, a solid egg-like shape that could stand upright on a flat surface, and was marketed as a novelty toy.
In 1968, when negotiators in Paris for the Vietnam War could not agree on the shape of the negotiating table, Balinski, Kieron Underwood and Holt suggested a superelliptical table in a letter to the New York Times. The superellipse was used for the shape of the 1968 Azteca Olympic Stadium, in Mexico City.
Three connected superellipses are used in the logo of the Pittsburgh Steelers.
See also 
- Astroid, the superellipse with n = ⅔ and a = b, is a hypocycloid with four cusps.
- Deltoid curve, the hypocycloid of three cusps.
- Squircle, the superellipse with n = 4 and a = b, looks like "The Four-Cornered Wheel."
- Reuleaux triangle, "The Three-Cornered Wheel."
- Superformula, a generalization of the superellipse.
- Superquadrics, the three-dimensional "relatives" of superellipses.
- Superelliptic curve, equation of the form Yn = f(X).
- Lp spaces
- Donald Knuth: The METAFONTbook, p. 126
- J. Edwards (1892). Differential Calculus. London: MacMillan and Co. p. 164.
- Gardner, Martin (1977), "Piet Hein’s Superellipse", Mathematical Carnival. A New Round-Up of Tantalizers and Puzzles from Scientific American, New York: Vintage Press, pp. 240–254, ISBN 978-0-394-72349-5
- The Superellipse, in The Guide to Life, The Universe and Everything by BBC (27th June 2003)
- Tobler, Waldo (1973), "The hyperelliptical and other new pseudocylindrical equal area map projections", Journal of Geophysical Research 78 (11): 1753–1759, Bibcode:1973JGR....78.1753T, doi:10.1029/JB078i011p01753.
- Barr, Alan H. (1983), Geometric Modeling and Fluid Dynamic Analysis of Swimming Spermatozoa, Rensselaer Polytechnic Institute (Ph.D. dissertation using superellipsoids)
- Barr, Alan H. (1992), "Rigid Physically Based Superquadrics", in Kirk, David, Graphics Gems III, Academic Press, pp. 137–159 (code: 472–477), ISBN 978-0-12-409672-1
- Gielis, Johan (2003), Inventing the Circle: The Geometry of Nature, Antwerp: Geniaal Press, ISBN 978-90-807756-1-9
- Sokolov, D.D. (2001), "Lamé curve", in Hazewinkel, Michiel, Encyclopedia of Mathematics, Springer, ISBN 978-1-55608-010-4
- "Courbe de Lamé" at Encyclopédie des Formes Mathématiques Remarquables (in French)
- Weisstein, Eric W., "Superellipse", MathWorld.
- O'Connor, John J.; Robertson, Edmund F., "Lame Curves", MacTutor History of Mathematics archive, University of St Andrews.
- "Super Ellipse" on 2dcurves.com
- Superellipse Calculator & Template Generator