I’ve just uploaded to the arXiv my preprint The maximal length of the Erdős–Herzog–Piranian lemniscate in high degree. This paper resolves (in the asymptotic regime of sufficiently high degree) an old question about the polynomial lemniscates
attached to monic polynomials of a given degree
, and specifically the question of bounding the arclength
of such lemniscates. For instance, when
, the lemniscate is the unit circle and the arclength is
; this in fact turns out to be the minimum possible length amongst all (connected) lemniscates, a result of Pommerenke. However, the question of the largest lemniscate length is open. The leading candidate for the extremizer is the polynomial
whose lemniscate is quite convoluted, with an arclength that can be computed asymptotically as
where is the beta function.

(The images here were generated using AlphaEvolve and Gemini.) A reasonably well-known conjecture of Erdős, Herzog, and Piranian (Erdős problem 114) asserts that this is indeed the maximizer, thus for all monic polynomials of degree
.
There have been several partial results towards this conjecture. For instance, Eremenko and Hayman verified the conjecture when . Asympotically, bounds of the form
had been known for various
such as
,
, or
; a significant advance was made by Fryntov and Nazarov, who obtained the asymptotically sharp upper bound
and also obtained the sharp conjecture for
sufficiently close to
. In that paper, the authors comment that the
error could be improved, but that
seemed to be the limit of their method.
I recently explored this problem with the optimization tool AlphaEvolve, where I found that when I assigned this tool the task of optimizing for a given degree
, that the tool rapidly converged to choosing
to be equal to
(up to the rotation and translation symmetries of the problem). This suggested to me that the conjecture was true for all
, though of course this was far from a rigorous proof. AlphaEvolve also provided some useful visualization code for these lemniscates which I have incorporated into the paper (and this blog post), and which helped build my intuition for this problem; I view this sort of “vibe-coded visualization” as another practical use-case of present-day AI tools.
In this paper, we iteratively improve upon the Fryntov-Nazarov method to obtain the following bounds, in increasing order of strength:
In particular, the Erdős–Herzog–Piranian conjecture is now verified for sufficiently large .
The proof of these bounds is somewhat circuitious and technical, with the analysis from each part of this result used as a starting point for the next one. For this blog post, I would like to focus on the main ideas of the arguments.
A key difficulty is that there are relatively few tools for upper bounding the arclength of a curve; indeed, the coastline paradox already shows that curves can have infinite length even when bounded. Thus, one needs to utilize some smooth or algebraic structure on the curve to hope for good upper bounds. One possible approach is via the Crofton formula, using Bezout’s theorem to control the intersection of the curve with various lines. This is already good enough to get bounds of the form (for instance by combining it with other known tools to control the diameter of the lemniscate), but it seems challenging to use this approach to get bounds close to the optimal
.
Instead, we follow Fryntov–Nazarov and utilize Stokes’ theorem to convert the arclength into an area integral. A typical identity used in that paper is
where is area measure,
is the log-derivative of
,
is the log-derivative of
, and
is the region
. This and the triangle inequality already lets one prove bounds of the form
by controlling
using the triangle inequality, the Hardy-Littlewood rearrangement inequality, and the Polya capacity inequality.
But this argument does not fully capture the oscillating nature of the phase on one hand, and the oscillating nature of
on the other. Fryntov–Nazarov exploited these oscillations with some additional decompositions and integration by parts arguments. By optimizing these arguments, I was able to establish an inequality of the form
where is an enlargement of
(that is significantly less oscillatory, as displayed in the figure below), and
are certain error terms that can be controlled by a number of standard tools (e.g., the Grönwall area theorem).
One can heuristically justify (1) as follows. Suppose we work in a region where the functions ,
are roughly constant:
,
. For simplicity let us normalize
to be real, and
to be negative real. In order to have a non-trivial lemniscate in this region,
should be close to
. Because the unit circle
is tangent to the line
at
, the lemniscate condition
is then heuristically approximated by the condition that
. On the other hand, the hypothesis
suggests that
for some amplitude
, which heuristically integrates to
. Writing
in polar coordinates as
and
in Cartesian coordinates as
, the condition
can then be rearranged after some algebra as
If the right-hand side is much larger than in magnitude, we thus expect the lemniscate to be empty in this region; but if instead the right-hand side is much less than
in magnitude, we expect the lemniscate to behave like a periodic sequence of horizontal lines of spacing
. This makes the main terms on both sides of (1) approximately agree (per unit area).
A graphic illustration of (1) (provided by Gemini) is shown below, where the dark spots correspond to small values of that act to “repel” (and shorten) the lemniscate. (The bright spots correspond to the critical points of
, which in this case consist of six critical points at the origin and one at both of
and
.)

By choosing parameters appropriately, one can show that and
, yielding the first bound
. However, by a more careful inspection of the arguments, and in particular measuring the defect in the triangle inequality
where ranges over critical points. From some elementary geometry, one can show that the more the critical points
are dispersed away from each other (in an
sense), the more one can gain over the triangle inequality here; conversely, the
dispersion
of the critical points (after normalizing so that these critical points have mean zero) can be used to improve the control on the error terms
. Optimizing this strategy leads to the second bound
At this point, the only remaining cases that need to be handled are the ones with bounded dispersion: . In this case, one can do some elementary manipulations of the factorization
to obtain some quite precise control on the asymptotics of and
; for instance, we will be able to obtain an approximation of the form
with high accuracy, as long as is not too close to the origin or to critical points. This, combined with direct arclength computations, can eventually lead to the third estimate
The last remaining cases to handle are those of small dispersion, . An extremely careful version of the previous analysis can now give an estimate of the shape
for an absolute constant , where
is a measure of how close
is to
(it is equal to the dispersion
plus an additional term
to deal with the constant term
). This establishes the final bound (for
large enough), and even shows that the only extremizer is
(up to translation and rotation symmetry).
