Devil's curve

Devil's curve for a = 0.8 and b = 1.
Devil's curve with a ranging from 0 to 1 and b = 1 (with the curve colour going from blue to red).

In geometry, a Devil's curve, also known as the Devil on Two Sticks, is a curve defined in the Cartesian plane by an equation of the form

y4−b2y2=x4−a2x2 i.e. a Quartic, in terms of x and y.

The polar equation of this curve is of the form

r=b2sin2θ−a2cos2θsin2θ−cos2θ=b2−a2cot2θ1−cot2θ

Devil's curves were discovered in 1750 by Gabriel Cramer, who studied them extensively.

The name comes from the shape its central lemniscate takes when graphed. The shape is named after the juggling game diabolo, which was named after the Devil and which involves two sticks, a string, and a spinning prop in the likeness of the lemniscate.

For |b|>|a|, the central lemniscate, often called hour-glass, is horizontal, For |b|<|a| it is vertical. If |b|=|a|, the shape becomes a circle. The vertical hour-glass intersects the y-axis at −b,0,b . The horizontal hour-glass intersects the x-axis at −a,0,a and for the four turning points, for this hour-glass, dydx=x(a2−2x2)y(b2−2y2)=0 giving: x=+/−22a

Total Area of horizontal hour-glass ≈2.8284∫0ab2−−4a2x2+b4+4x4dx

Electric Motor Curve

A special case of the Devil's curve occurs at a2b2=2524, where the curve is called the electric motor curve. It is defined by an equation of the form

y2(y2−96)=x2(x2−100)

The name of the special case comes from the middle shape's resemblance to the coils of wire, which rotate from forces exerted by magnets surrounding it.