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

Let the line
ytx
pass through the origin and intersect the equilateral hyperbola
2
x
-
2
y

2
a
at two points, denoted
P
1
and
P
2
. These two points are then taken as centers of circles of common radius
b
, where
b>a
. 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
b
passing through
P
1
and
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

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

Geometric setup

We begin with the line
ytx
and its intersection with the equilateral hyperbola
2
x
-
2
y

2
a
. The two intersection points become the centers of circles of radius
b
. Eliminating the parameter
t
from the coordinates of the circle intersections yields the Cartesian equation of the complete Devil’s curve.

Symbolic derivation

In[]:=
Solve[{
2
x
-
2
y
==
2
a
,y==tx},{x,y}]
In[]:=
x-
a
1-
2
t
,y-
at
1-
2
t
,x
a
1-
2
t
,y
at
1-
2
t
;
In[]:=
Solve
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
,{x,y}
In[]:=
x-
t
2
a
-
2
b
+
2
a
2
t
+
2
b
2
t
-1+
4
t
,y
2
a
-
2
b
+
2
a
2
t
+
2
b
2
t
-1+
4
t
,x
t
2
a
-
2
b
+
2
a
2
t
+
2
b
2
t
-1+
4
t
,y-
2
a
-
2
b
+
2
a
2
t
+
2
b
2
t
-1+
4
t
;
In[]:=
Eliminatex==-
t
2
a
-
2
b
+
2
a
2
t
+
2
b
2
t
-1+
4
t
,y==
2
a
-
2
b
+
2
a
2
t
+
2
b
2
t
-1+
4
t
,t//FullSimplify
In[]:=
4
y
+
2
b
(x-y)(x+y)+
2
a
(
2
x
+
2
y
)
4
x
;​​
4
y
-
4
x
+
2
b
(
2
x
-
2
y
)+
2
a
(
2
x
+
2
y
)==0;​​
4
y
-
4
x
+(
2
a
+
2
b
)
2
x
+(
2
a
-
2
b
)
2
y
==0;
a=2;b=6;​​Show


Main equation

The complete Devil’s curve is therefore given by
4
y
-
4
x
+(
2
a
+
2
b
)
2
x
+(
2
a
-
2
b
)
2
y
0.

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

This animation illustrates how the two moving centers
P
1
and
P
2
determine the corresponding points
C
1
and
C
2
on the Devil’s curve.
Manipulatea=2;b=6;​​C1[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
;​​C2[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
;​​​​P1[t_]:=-
a
1-
2
t
,-
at
1-
2
t
;P2[t_]:=
a
1-
2
t
,
at
1-
2
t
;​​O1={0,0};​​​​Show{ContourPlot[
2
x
-
2
y
==
2
a
,{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},MaxRecursion3],​​Graphics[{Black,PointSize[0.01],​​Point[O1],Text[Style["O",14,Bold],O1,{0,-1.2}],​​Point[P1[t1]],Text[Style["
P
1
",14,Bold],P1[t1],{0,-1.2}],​​Point[P2[t1]],Text[Style["
P
2
",14,Bold],P2[t1],{0,-1.2}],​​Point[C1[t1]],Text[Style["
C
1
",14,Bold],C1[t1],{0,-1.2}],​​Point[C2[t1]],Text[Style["
C
2
",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]}}]}​​,AspectRatioAutomatic,​​AxesTrue,AxesOrigin{0,0},AxesLabel{x,y},PlotRange7,ImageSize500,Style["Devil's curve",Bold,Large],{{t1,-0.9+0.006,"Value (t)"},-0.9+0.005,0.894-0.00001,0.00001},ControlPlacementTop
Out[]=
​
Devil's curve
Value (t)

2. Second construction: a right-triangle derivation

Geometric idea

Derivation

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

The following animation emphasizes the triangular configuration behind the same ribbon-shaped locus.

3. Third construction: hyperbolic parametrization and infinite branches

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

Parametric form

The resulting hyperbolic parametrization may be summarized as follows:

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

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

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

    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

    ◼
  • MathCurve: https://mathcurve.com
  • ◼
  • Historical reference: Gabriel Cramer, 1750
  • ◼
  • Additional source notes: AI; Personal.
  • 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