The Devil’s curve, studied by Cramer in 1750, admits a striking geometric interpretation in terms of intersections of circles whose centers move on an equilateral hyperbola. This notebook presents three complementary constructions of the complete curve. The first derives the Cartesian equation from the circle construction itself. The second recovers the same equation from a right-triangle argument. The third introduces a hyperbolic parametrization that clarifies the geometry of the infinite branches.
Introduction
Introduction
Let the line pass through the origin and intersect the equilateral hyperbola - at two points, denoted and . These two points are then taken as centers of circles of common radius , where . The intersections of these circles generate the ribbon-shaped central portion of the Devil’s curve. A remarkable reciprocal observation also appears: the intersection points themselves become centers of circles of radius passing through and .
ytx
2
x
2
y
2
a
P
1
P
2
b
b>a
b
P
1
P
2
This notebook develops that idea in three ways:
1. Circle construction: elimination of the parameter yields the Cartesian equation of the complete curve.
2. Triangle construction: a right-triangle argument leads to the same equation in a more geometric way.
3. Hyperbolic parametrization: the outer branches are described by a hyperbolic reparametrization that explains their asymptotic behavior.
Historical note
Historical note
The Devil’s curve is a classical algebraic curve associated with Gabriel Cramer. The present notebook focuses on a geometric route to the complete curve and complements symbolic derivations with interactive visualizations.
1. First construction: the circle-based derivation
1. First construction: the circle-based derivation
Geometric setup
Geometric setup
We begin with the line and its intersection with the equilateral hyperbola -. The two intersection points become the centers of circles of radius . Eliminating the parameter from the coordinates of the circle intersections yields the Cartesian equation of the complete Devil’s curve.
ytx
2
x
2
y
2
a
b
t
Symbolic derivation
Symbolic derivation
In[]:=
Solve[{-==,y==tx},{x,y}]
2
x
2
y
2
a
In[]:=
x-,y-,x,y;
a
1-
2
t
at
1-
2
t
a
1-
2
t
at
1-
2
t
In[]:=
Solve+==,+==,{x,y}
2
x+
a
1-
2
t
2
y+
at
1-
2
t
2
b
2
x-
a
1-
2
t
2
y-
at
1-
2
t
2
b
In[]:=
x-,y-++,x,y--++;
t-++
2
a
2
b
2
a
2
t
2
b
2
t
-1+
4
t
2
a
2
b
2
a
2
t
2
b
2
t
-1+
4
t
t-++
2
a
2
b
2
a
2
t
2
b
2
t
-1+
4
t
2
a
2
b
2
a
2
t
2
b
2
t
-1+
4
t
In[]:=
Eliminatex==-,y==-++,t//FullSimplify
t-++
2
a
2
b
2
a
2
t
2
b
2
t
-1+
4
t
2
a
2
b
2
a
2
t
2
b
2
t
-1+
4
t
In[]:=
4
y
2
b
2
a
2
x
2
y
4
x
4
y
4
x
2
b
2
x
2
y
2
a
2
x
2
y
4
y
4
x
2
a
2
b
2
x
2
a
2
b
2
y
a=2;b=6;Show
Main equation
Main equation
The complete Devil’s curve is therefore given by -+(+)+(-)0.
4
y
4
x
2
a
2
b
2
x
2
a
2
b
2
y
Figure
Figure
The black curve is the equilateral hyperbola, and the red curve is the complete Devil’s curve generated by the construction.
Animation 1: moving circles and the ribbon-shaped locus
Animation 1: moving circles and the ribbon-shaped locus
This animation illustrates how the two moving centers and determine the corresponding points and on the Devil’s curve.
P
1
P
2
C
1
C
2
Manipulatea=2;b=6;C1[t_]:=-,-++;C2[t_]:=,--++;P1[t_]:=-,-;P2[t_]:=,;O1={0,0};Show{ContourPlot[-==,{x,-7,7},{y,-7,7},ContourStyle{Black,Thick},MaxRecursion->3],ParametricPlot[C1[t],{t,-0.9,t1},PlotStyle->{Red,Thick},MaxRecursion->3],ParametricPlot[C2[t],{t,-0.9,t1},PlotStyle->{Red,Thick},MaxRecursion3],Graphics[{Black,PointSize[0.01],Point[O1],Text[Style["O",14,Bold],O1,{0,-1.2}],Point[P1[t1]],Text[Style["",14,Bold],P1[t1],{0,-1.2}],Point[P2[t1]],Text[Style["",14,Bold],P2[t1],{0,-1.2}],Point[C1[t1]],Text[Style["",14,Bold],C1[t1],{0,-1.2}],Point[C2[t1]],Text[Style["",14,Bold],C2[t1],{0,-1.2}],{Blue,Thick,Line[{P1[t1],P2[t1]}]},{Red,Dashed,Circle[P1[t1],b],Circle[P2[t1],b]},{Blue,Circle[C1[t1],b],Circle[C2[t1],b]}}]},AspectRatioAutomatic,AxesTrue,AxesOrigin{0,0},AxesLabel{x,y},PlotRange7,ImageSize500,Style["Devil's curve",Bold,Large],{{t1,-0.9+0.006,"Value (t)"},-0.9+0.005,0.894-0.00001,0.00001},ControlPlacementTop
t-++
2
a
2
b
2
a
2
t
2
b
2
t
-1+
4
t
2
a
2
b
2
a
2
t
2
b
2
t
-1+
4
t
t-++
2
a
2
b
2
a
2
t
2
b
2
t
-1+
4
t
2
a
2
b
2
a
2
t
2
b
2
t
-1+
4
t
a
1-
2
t
at
1-
2
t
a
1-
2
t
at
1-
2
t
2
x
2
y
2
a
P
1
P
2
C
1
C
2
Out[]=
2. Second construction: a right-triangle derivation
2. Second construction: a right-triangle derivation
Geometric idea
Geometric idea
Derivation
Derivation
Interpretation
Interpretation
This second derivation is important because it replaces the elimination step with a purely geometric relation. It shows that the quartic equation is not merely an algebraic consequence of parametrization, but also a direct outcome of Euclidean geometry.
Animation 2: the triangle-based construction
Animation 2: the triangle-based construction
The following animation emphasizes the triangular configuration behind the same ribbon-shaped locus.
3. Third construction: hyperbolic parametrization and infinite branches
3. Third construction: hyperbolic parametrization and infinite branches
Motivation
Motivation
The outer branches of the Devil’s curve are naturally described by a hyperbolic reformulation of the quartic equation. This avoids difficulties with algebraic parametrizations and gives a clean geometric interpretation of the asymptotic behavior.
Algebraic transformation
Algebraic transformation
Parametric form
Parametric form
The resulting hyperbolic parametrization may be summarized as follows:
A special triangle and the alignment parameter
A special triangle and the alignment parameter
The coordinates of any point on the line ℒ are substituted in the equation of the equilateral hyperbola :
Animation 3: geometric explanation of an infinite branch
Animation 3: geometric explanation of an infinite branch
The following animation shows that this special triangle gives an exact geometric description of one outer branch of the Devil’s curve. By symmetry, the same method applies to the opposite branch.
Discussion
Discussion
The three developments presented here describe the same curve from complementary viewpoints.
◼
The first construction emphasizes locus generation through moving circles.
◼
The second construction highlights an elementary geometric relation through right triangles.
◼
The third construction reveals a natural hyperbolic structure governing the infinite branches.
Taken together, these approaches show that the Devil’s curve is not only an algebraic quartic but also a geometrically rich object whose global structure can be understood through simple constructions.
Conclusion
Conclusion
The Devil’s curve emerges here as a unifying object connecting classical analytic geometry, Euclidean construction, and hyperbolic parametrization. The ribbon-shaped central component and the outer branches are both captured naturally within this framework. The animations complement the symbolic derivations by making the geometry visible and dynamic.
References
References
◼
MathCurve: https://mathcurve.com
◼
Historical reference: Gabriel Cramer, 1750
◼
Additional source notes: AI; Personal.
CITE THIS NOTEBOOK
CITE THIS NOTEBOOK
Three geometric constructions of the Devil's curve
by Alejandro Latorre Chirot
Wolfram Community, STAFF PICKS, October 18, 2026
https://community.wolfram.com/t/28360/1
by Alejandro Latorre Chirot
Wolfram Community, STAFF PICKS, October 18, 2026
https://community.wolfram.com/t/28360/1

