1 Introduction and main result

In this paper, we consider the energy functional

$$\begin{aligned} \mathcal I_\rho ^{(L)}[E] := {{\,\mathrm{Per}\,}}E - \frac{\gamma }{2} \int _{-L/2}^{L/2} \int _{-L/2}^{L/2} (\mathbb {1}_E(x)-\rho )|x-y|(\mathbb {1}_E(y)-\rho )\,{dx}\,d{y} \end{aligned}$$
(1)

defined on sets \(E\subset [-L/2,L/2]\) and involving a parameter \(\rho \in (0,1)\), as well as the corresponding ground-state energy

$$\begin{aligned} e^{(L)}_\rho (\ell ) := \inf \left\{ \mathcal I_\rho ^{(L)}[E] :\ E\subset [-L/2,L/2],\, |E|=\ell \right\} . \end{aligned}$$
(2)

The constant \(\gamma >0\) is fixed throughout this paper and will not be reflected in the notation. (In fact, by rescaling E and L we could set \(\gamma =1\).) By \({{\,\mathrm{Per}\,}}E\), we denote the perimeter of the set E in the sense of geometric measure theory which, however, is elementary in this one-dimensional context. Namely, a bounded set \(E\subset \mathbb {R}\) is of finite perimeter if and only if, up to sets of measure zero, there is an \(N\in \mathbb {N}\) such that E is the union of N intervals whose closures are disjoint, and in this case \({{\,\mathrm{Per}\,}}E = 2N\).

The minimization problem (2) arises in nuclear physics. As suggested originally in [7, 14], nuclear matter at extremely high densities, as for instance, in the crust of neutron stars, exhibits exotic phases, sometimes called ‘nuclear pasta phases’. The relevant parameter \(\rho \in (0,1)\) describes the ratio between the charge density of a uniform background of electrons and that of the nuclei. For values of \(\rho \) around 1 / 2, it is believed that nuclear matter arranges itself in a slablike structure which is periodic with respect to one direction. Within Gamow’s liquid drop model [5], this slablike regime is described by the energy functional (1).

The model (1), however, is of interest also beyond this concrete physical problem. It is variant of a one-dimensional Coulomb problem. These are introduced as toy models which mimic some of the properties of the (much harder) three-dimensional Coulomb problem and have been studied, for instance, in [1, 2, 8,9,10]. One phenomenon which is of particular interest is the emergence of periodic structures. While a proof of this property still eludes us in the three-dimensional context, it has been shown to occur in several one-dimensional models; see, for instance, [3, 6, 12, 15, 16] and references therein.

Remarkably, the minimization problem defining \(e^{(L)}_\rho (\ell )\) can be solved explicitly. In the ‘neutral’ case \(\ell =\rho L\), this was shown in a different, but essentially equivalent formulation in the work [15] by Ren and Wei. We give a more quantitative and, we think, simpler proof of their solution. Moreover, we present several extensions which, we believe, are new. One of these concerns the study of the non-neutral case \(\ell =\rho L+Q\) with an excess charge \(Q\ne 0\). We show that this excess charge goes to the boundary and lowers the energy per length (in the thermodynamic limit \(L\rightarrow \infty \)) by an amount of \(\gamma Q^2/4\). This is in contrast to the three-dimensional case, where the excess charge raises the energy per volume by an amount proportional to \(Q^2\) [11].

Another generalization concerns the Coulomb kernel \(-\frac{1}{2}|x-y|\) in (1). This function coincides, up to irrelevant terms, with the Neumann Green’s function on the interval \((-L/2,L/2)\). (Because of this fact, our result in the neutral case is equivalent to the Ren–Wei result.) In other occurrences of the above model, and also as a technical tool in certain proofs, it is natural to consider Green’s functions on \((-L/2,L/2)\) with different boundary conditions, namely either periodic or Dirichlet boundary conditions. We show that, remarkably, the ground-state energies for these various choices all coincide on any given interval. Moreover, the optimizing sets coincide up to translations.

We now proceed to a precise statement of our main results. We begin with the ‘neutral’ case \(\ell =\rho L\) considered previously in [15]. We consider the set

$$\begin{aligned} E_{\rho ,N,L} = \bigcup _{n=1}^N \left[ \frac{(2n-N-1-\rho )L}{2N},\frac{(2n-N-1+\rho )L}{2N}\right] . \end{aligned}$$

This is the union of N intervals of length \(\rho L/N\) centered at the points \((2n-N-1)L/(2N)\), \(n=1,\ldots ,N\).

Theorem 1

Let \(\rho \in (0,1)\) and \(L>0\). Then,

$$\begin{aligned} e^{(L)}_\rho (\rho L) = L \min _{N \in \mathbb {N}} \left( 2(N/L) + \frac{\gamma }{12} \frac{\rho ^2(1-\rho )^2}{(N/L)^2} \right) . \end{aligned}$$

The minimum on the right side is attained by at least one and at most two \(N\in \mathbb {N}\). Minimizing sets are exactly those of the form \(E_{\rho ,N,L}\) with a minimizing N. In particular, minimizing sets are periodic with minimal period L / N.

Strictly speaking, this is not exactly the result from [15]. They consider the energy functional (1) with \({{\,\mathrm{Per}\,}}E\) replaced by the relative perimeter \({{\,\mathrm{Per}\,}}(E,(-L/2,L/2))\), where boundaries of E coinciding with one of the points \(\pm L/2\) are not counted. This has the effect that their functional has twice as many minimizers.

Having Theorem 1, it is easy to compute the thermodynamic limit.

Corollary 2

Let \(\rho \in (0,1)\). Then,

$$\begin{aligned}&\lim _{L\rightarrow \infty } \frac{e^{(L)}_\rho (\rho L)}{L} = \left( \frac{3}{2} \right) ^{2/3} \gamma ^{1/3} \rho ^{2/3}(1-\rho )^{2/3}. \end{aligned}$$

Moreover, the set of limit points in \(L^1_\mathrm{loc}(\mathbb {R})\) of minimizers consists of the two sets

$$\begin{aligned} \sum _{n\in \mathbb {Z}} \left[ \beta \left( n -\frac{\rho }{2}\right) ,\beta \left( n+\frac{\rho }{2}\right) \right] \qquad \text {and}\qquad \sum _{n\in \mathbb {Z}} \left[ \beta \left( n+\frac{1-\rho }{2}\right) ,\beta \left( n+\frac{1+\rho }{2}\right) \right] \end{aligned}$$

with \(\beta = 2^{2/3} 3^{1/3} \gamma ^{-1/3} (\rho (1-\rho ))^{-2/3}\).

In fact, we prove that Theorem 1 implies the uniform bound

$$\begin{aligned} \frac{e^{(L)}_\rho (\rho L)}{L} \ge \left( \frac{3}{2} \right) ^{2/3} \gamma ^{1/3} \rho ^{2/3}(1-\rho )^{2/3} \qquad \text {for all}\ L>0 \,, \end{aligned}$$
(3)

as well as the remainder bound

$$\begin{aligned} \frac{e^{(L)}_\rho (\rho L)}{L} = \left( \frac{3}{2} \right) ^{2/3} \gamma ^{1/3} \rho ^{2/3}(1-\rho )^{2/3} + O(L^{-2}) \qquad \text {as}\ L\rightarrow \infty . \end{aligned}$$
(4)

It is remarkable that the remainder here is \(O(L^{-2})\) and not \(O(L^{-1})\). We also show that the error bound \(O(L^{-2})\) cannot be improved.

It is also remarkable that the energy in the thermodynamic limit does not behave linearly as \(\rho \rightarrow 0\) or \(\rho \rightarrow 1\). This reflects the fact that the minimization problem \({{\,\mathrm{Per}\,}}E - (\gamma /2) \iint _{E\times E}|x-y|\,d{x}\,d{y}\) over sets \(E\subset \mathbb {R}\) with fixed |E| yields \(-\infty \). In contrast, in the three-dimensional case, where the corresponding whole space problem does have a minimizer, the analogous energy in the thermodynamic limit can be shown to behave linearly as \(\rho \rightarrow 0\) with a coefficient depending on the whole space problem [4].

Next, we comment on the non-neutral case. Since the explicit solution is somewhat complicated to state, we content ourselves with the statement in the thermodynamic limit.

Corollary 3

Let \(\rho \in (0,1)\), \(L>0\) and \(Q\in \mathbb {R}\). Then,

$$\begin{aligned} \lim _{L\rightarrow \infty } L^{-1} e^{(L)}_\rho (\rho L + Q) = \left( \frac{3}{2} \right) ^{2/3} \gamma ^{1/3} \rho ^{2/3}(1-\rho )^{2/3} - \frac{1}{4}\gamma Q^2. \end{aligned}$$

Thus, non-neutrality lowers the energy per length. We refer to the proof for a description of minimizing sets.

So far, we have considered the problem where the sets interact through the whole space Green’s function \(-|x-y|/2\). As a final topic, we consider various choices of Green’s functions corresponding to different boundary conditions, namely

$$\begin{aligned}&-\frac{1}{2} |x-y| + \frac{1}{2L} (x^2+y^2) - \frac{1}{4}L&\text {Neumann case} \nonumber \\&-\frac{1}{2}|x-y| - \frac{1}{L} xy + \frac{1}{4} L&\text {Dirichlet case} \nonumber \\&-\frac{1}{2}|x-y| +\frac{1}{2L} (x-y)^2 + \frac{1}{12}L&\text {periodic case}. \end{aligned}$$
(5)

The formula above in the periodic case is valid when \(|x-y|\le L/2\) and is extended L-periodically to \(\mathbb {R}\). We denote by k any one of these three kernels and consider the energy functional

$$\begin{aligned} \tilde{\mathcal I}_\rho ^{(L)}[E] := {{\,\mathrm{Per}\,}}E - \gamma \int _{-L/2}^{L/2} \int _{-L/2}^{L/2} (\mathbb {1}_E(x)-\rho )k(x,y)(\mathbb {1}_E(y)-\rho )\,d{x}\,d{y} \end{aligned}$$

and the minimization problem

$$\begin{aligned} \tilde{e}^{(L)}_\rho (\ell ) := \inf \left\{ \tilde{\mathcal I}_\rho ^{(L)}[E] :\ E\subset [-L/2,L/2],\ |E|=\ell \right\} . \end{aligned}$$

In the periodic case, we agree to interpret \({{\,\mathrm{Per}\,}}E\) as the perimeter of E considered as a subset of \(\mathbb {R}/L\mathbb {Z}\) and drop the constraint \(E\subset [-L/2,L/2]\), interpreting the double integral as an integral over \((\mathbb {R}/L\mathbb {Z})\times (\mathbb {R}/L\mathbb {Z})\).

Theorem 4

Let k be one of the kernels in (5). Then, for any \(\rho \in (0,1)\) and \(L>0\),

$$\begin{aligned} \tilde{e}^{(L)}_\rho (\rho L) = L \min _{N \in \mathbb {N}} \left( 2(N/L) + \frac{\gamma }{12} \frac{\rho ^2(1-\rho )^2}{(N/L)^2} \right) . \end{aligned}$$
(6)

Moreover, equality holds if and only if

  1. (1)

    in the Neumann case, \(E=E_{\rho ,N,L}\),

  2. (2)

    in the Dirichlet case, \(E=E_{\rho ,N,L}+a\) for \(a\in [-(1+\rho )L/(2N),(1+\rho )L/(2N)]\),

  3. (3)

    in the periodic case, \(E=E_{\rho ,N,L}+a\) for \(a\in \mathbb {R}\),

where, in all cases, N is optimal for the minimum on the right side in (6).

The results in the Dirichlet and in the periodic case seem to be new. Non-sharp bounds in the periodic case have been obtained in [13].

The structure of this paper is as follows. Section 2 contains the main inequality on which our argument hinges and we use it to derive Theorem 1. In Sect. 3, we discuss different boundary conditions and prove Theorem 4. Finally, in Sect. 4 we discuss the thermodynamic limit proving Corollary 2, the bounds stated thereafter and Corollary 3.

2 The main inequality

The key ingredient in the proof of Theorem 1 is the following lower bound.

Proposition 5

  1. (1)

    Let \(\rho \in (0,1)\) and \(N\in \mathbb {N}\). For any set \(E\subset \mathbb {R}\) which is the union of at most N intervals, one has

    $$\begin{aligned} -\frac{1}{2} \iint _{E\times E} |x-y|\,d{x}\,d{y} + \rho \int _E x^2\,d{x} \ge - \frac{1}{12\rho } |E|^3 \left( 1- \frac{(1-\rho )^2}{N^2} \right) \,. \end{aligned}$$

    Equality holds if and only if E is the union of exactly N intervals, centered at the points \(\frac{(2n-N-1)|E|}{2\rho N}\), \(n=1,\ldots ,N\), and all of equal length.

  2. (2)

    Let \(\rho \ge 1\). For any set \(E\subset \mathbb {R}\), one has

    $$\begin{aligned} -\frac{1}{2} \iint _{E\times E} |x-y|\,d{x}\,d{y} + \rho \int _E x^2\,d{x} \ge \frac{\rho -2}{12} |E|^3. \end{aligned}$$

    Equality holds if and only if E is an interval centered at the origin.

Proof

We will prove the assertion of part (1), but with the case \(\rho =1\) included. Before doing so, let us observe that this will also imply the statement for \(\rho >1\). Indeed, once the \(\rho =1\) statement is proved, we know that

$$\begin{aligned} -\frac{1}{2} \iint _{E\times E} |x-y|\,d{x}\,d{y} + \int _E x^2\,d{x} \ge - \frac{1}{12}|E|^3 \end{aligned}$$

with equality if and only if E is an interval centered at the origin. On the other hand, by a simple rearrangement inequality we know that for \(\rho >1\)

$$\begin{aligned} (\rho - 1) \int _E x^2 \,d{x} \ge (\rho - 1) \int _{-|E|/2}^{|E|/2} x^2 \,d{x} = \frac{\rho - 1}{12} |E|^3 \end{aligned}$$

with equality if and only if E is an interval centered at the origin. This implies the claimed statement for \(\rho >1\).

Thus, in the following we will assume that \(\rho \in (0,1]\). We denote by \(x_1<\cdots <x_N\) the centers of the intervals and by \(q_1,\ldots ,q_N\) their lengths. (If there are less than N intervals, we set some of the \(q_n\)’s equal to zero.) We will show that

$$\begin{aligned}&-\frac{1}{2} \iint _{E\times E} |x-y|\,d{x}\,d{y} + \rho \int _E x^2\,d{x} \nonumber \\&\quad = \rho \sum _n q_n \left( x_n - \frac{1}{2\rho } \left( \sum _{m<n} q_m - \sum _{m>n} q_m \right) \right) ^2 \nonumber \\&\qquad + \frac{(1-\rho )^2}{12\rho } \sum _n q_n^3 - \frac{1}{12\rho } \left( \sum _n q_n \right) ^3. \end{aligned}$$
(7)

Dropping the first term on the right side, which is nonnegative, and bounding using Hölder’s inequality

$$\begin{aligned} \sum _n q_n^3 \ge N^{-2} \left( \sum _n q_n \right) ^3 \,, \end{aligned}$$

we obtain from (7) the lower bound in the proposition. Moreover, the nonnegative term that we dropped vanishes if and only if

$$\begin{aligned} x_n = \frac{1}{2\rho } \left( \sum _{m<n} q_m - \sum _{m>n} q_m \right) \qquad \text {for all}\ n=1,\ldots ,N. \end{aligned}$$

Note that this minimizing configuration is consistent with coming from centers of intervals, since (recalling that \(\rho \le 1\))

$$\begin{aligned} x_{n+1} - x_n = \frac{1}{2\rho } (q_n + q_{n+1}) \ge \frac{1}{2} (q_n+q_{n+1}) \,, \end{aligned}$$

so \(x_n + q_n/2 \le x_{n+1}- q_{n+1}/2\). Finally, in Hölder’s inequality equality holds if and only if \(q_n = N^{-1} \sum _m q_m\) for all n. From this, we deduce the conditions for equality in the proposition.

It remains to prove identity (7). By a straightforward computation of integrals, we find

$$\begin{aligned} -\frac{1}{2} \iint _{E\times E} |x-y|\,d{x}\,d{y} + \rho \int _E x^2\,d{x}= & {} - \sum _{n<m} q_n q_m |x_n-x_m| \\&- \frac{2-\rho }{12} \sum _n q_n^3 + \rho \sum _n q_n x_n^2. \end{aligned}$$

Recalling that the \(x_n\) are ordered, we can complete the square and obtain

$$\begin{aligned} - \sum _{n<m} q_n q_m |x_n-x_m| + \rho \sum _n q_n x_n^2&= \rho \sum _n q_n \left( x_n - \frac{1}{2\rho } \left( \sum _{m<n} q_m - \sum _{m>n} q_m \right) \right) ^2 \\&\qquad - \frac{1}{4\rho } \sum _n q_n \left( \sum _{m<n} q_m - \sum _{m>n} q_m \right) ^2. \end{aligned}$$

We now observe that

$$\begin{aligned} \sum _n q_n \left( \sum _{m<n} q_m - \sum _{m>n} q_m \right) ^2 + \frac{1}{3} \sum _n q_n^3 = \frac{1}{3} \left( \sum _n q_n \right) ^3. \end{aligned}$$

This can be proved by induction, for instance. Combining the last two identities, we obtain (7). \(\square \)

Corollary 6

Let \(\rho \in (0,1)\), \(L>0\) and \(N\in \mathbb {N}\). For any set \(E\subset [-L/2,L/2]\) which is the union of at most N intervals, one has

$$\begin{aligned}&-\frac{1}{2} \int _{-L/2}^{L/2} \int _{-L/2}^{L/2} (\mathbb {1}_E(x)-\rho )|x-y|(\mathbb {1}_E(y)-\rho )\,d{x}\,d{y} \\&\qquad \ge -\frac{1}{12\rho } |E|^3 \left( 1- \frac{(1-\rho )^2}{N^2} \right) + \frac{1}{4} \rho |E| L^2- \frac{1}{6} \rho ^2 L^3. \end{aligned}$$

Moreover, if \((N-1+\rho )|E| \le \rho N L\), then equality holds if and only if E is the union of exactly N intervals, centered at the points \(\frac{(2n-N-1)|E|}{2\rho N}\), \(n=1,\ldots ,N\), and all of equal length.

Proof

Since \(E\subset [-L/2,L/2]\), we have

$$\begin{aligned}&-\frac{1}{2} \int _{-L/2}^{L/2} \int _{-L/2}^{L/2} (\mathbb {1}_E(x)-\rho )|x-y|(\mathbb {1}_E(y)-\rho )\,d{x}\,d{y}\\&\qquad = -\frac{1}{2} \iint _{E\times E} |x-y|\,d{x}\,d{y} + \rho \int _E x^2\,d{x} + \frac{1}{4} \rho |E| L^2 - \frac{1}{6} \rho ^2 L^3. \end{aligned}$$

The claimed inequality now follows from the proposition. Moreover, the equality conditions in the proposition are consistent with the constraint \(E\subset [-L/2,L/2]\) if and only if \((N-1)|E|/(2\rho N) + |E|/(2N) \le L/2\). \(\square \)

Now, we are in position to prove our main result.

Proof of Theorem 1

Sets of finite perimeter in \(\mathbb {R}\) are finite unions of intervals. Therefore, we can compute the infimum over all sets E of finite perimeter with \(|E|=\rho L\) by first minimizing over all set E with \(|E|=\rho L\) which are the union of exactly N intervals and then taking the infimum over N. If we insert \(|E|=\rho L\) into the bound in Corollary 6, we obtain for any set \(E\subset [-L/2,L/2]\) with \(|E|=\rho L\) which is the union of N intervals,

$$\begin{aligned} -\frac{1}{2} \int _{-L/2}^{L/2} \int _{-L/2}^{L/2} (\mathbb {1}_E(x)-\rho )|x-y|(\mathbb {1}_E(y)-\rho )\,d{x}\,d{y} \ge \frac{1}{12} L^3 \frac{\rho ^2(1-\rho )^2}{N^2}. \end{aligned}$$

Moreover, for such E, \({{\,\mathrm{Per}\,}}E=2N\). This yields the claimed lower bound. This lower bound is, in fact, optimal since in the case \(|E|=\rho L\) the condition in Corollary 6 is satisfied, and therefore the bound is attained by the set described in the corollary. \(\square \)

3 Different boundary conditions

Our goal in this section is to prove Theorem 4. The main ingredient in the proof is the following analogue of Proposition 5 where translation invariance is restored.

Proposition 7

Let \(\rho \in (0,1]\) and \(N\in \mathbb {N}\). For any set \(E\subset \mathbb {R}\) which is the union of at most N intervals, one has

$$\begin{aligned}&-\frac{1}{2} \iint _{E\times E} |x-y|\,d{x}\,d{y} + \rho \int _E x^2\,d{x} - \frac{\rho }{|E|} \left( \int _E x\,d{x} \right) ^2 \\&\quad \ge - \frac{1}{12\rho } |E|^3 \left( 1- \frac{(1-\rho )^2}{N^2} \right) . \end{aligned}$$

Equality holds if and only if E is the union of exactly N intervals, centered at the points \(\frac{(2n-N-1)|E|}{2\rho N}+X\), \(n=1,\ldots ,N\), for some \(X\in \mathbb {R}\), and all of equal length.

Proof

Let \(X:= |E|^{-1} \int _E x\,d{x}\) and \(E'=E-X\). Then,

$$\begin{aligned}&-\frac{1}{2} \iint _{E\times E} |x-y|\,d{x}\,d{y} + \rho \int _E x^2\,d{x} - \frac{\rho }{|E|} \left( \int _E x\,d{x} \right) ^2 \\&\qquad = -\frac{1}{2} \iint _{E\times E} |x-y|\,d{x}\,d{y} + \rho \int _E (x-X)^2\,d{x} \\&\qquad =-\frac{1}{2} \iint _{E'\times E'} |x-y|\,d{x}\,d{y} + \rho \int _{E'} x^2\,d{x}. \end{aligned}$$

Since \(|E'|=|E|\) and since \(E'\) is also the union of at most N intervals, the claimed lower bound now follows immediately from Proposition 5.

Moreover, also by that proposition, equality holds if and only if \(E'\) is the union of exactly N intervals, centered at the points \(\frac{(2n-N-1)|E^{\prime }|}{2\rho N}\), \(n=1,\ldots ,N\), and all of equal length. Clearly, this is equivalent to the statement in the proposition.\(\square \)

Proof of Theorem 4

In the Neumann case, we have \(k(x,y) = -\frac{1}{2}|x-y| + c(x)+c(y)\) for some function c. Thus, under the neutrality condition \(|E|=\rho L\) we have \(\tilde{\mathcal I}^{(L)}_\rho [E] = \mathcal I^{(L)}_\rho [E]\), and so the assertion follows immediately from Theorem 1.

In the periodic case, we observe that \(k(x-y)=-\frac{1}{2}|x-y|+\frac{1}{2L}(x-y)^2+\frac{1}{12}L\) holds not only for \(|x-y|\le L/2\), but even for \(|x-y|\le L\). Thus, both in the Dirichlet and in the periodic case we have \(k(x,y)=-\frac{1}{2}|x-y|-\frac{1}{L}xy + c(x)+c(y)\) for all x and y in the domain of integration with some function c. Thus, under the neutrality condition \(|E|=\rho L\) we have

$$\begin{aligned} \tilde{\mathcal I}^{(L)}_\rho [E]= & {} \mathcal I^{(L)}_\rho [E] - \frac{1}{L} \left( \int _{-L/2}^{L/2} x(\mathbb {1}_E(x)-\rho )\,d{x} \right) ^2 \\= & {} \mathcal I^{(L)}_\rho [E] - \frac{\rho }{|E|} \left( \int _E x\,d{x} \right) ^2. \end{aligned}$$

Arguing as in the proof of Corollary 6, with Proposition 7 instead of Proposition 5, we obtain the assertion. \(\square \)

4 The thermodynamic limit

With the exact formula from Theorem 1 at hand, it is easy to compute the thermodynamic limit with optimal remainder estimates.

Proof of Corollary 2

We use the explicit expression for the infimum from Theorem 1 and write

$$\begin{aligned} 2(N/L) + \frac{\gamma }{12} \frac{\rho ^2(1-\rho )^2}{(N/L)^2} = \gamma ^{1/3} \rho ^{2/3} (1-\rho )^{2/3} \ f\left( \frac{2N}{L\gamma ^{1/3} \rho ^{2/3} (1-\rho )^{2/3}}\right) \end{aligned}$$

with

$$\begin{aligned} f(x) = x + \frac{1}{3x^2}. \end{aligned}$$

The function f has a unique minimum at \(x=(2/3)^{1/3}\) with \(f((2/3)^{1/3}) = (3/2)^{2/3}\). Thus, a minimizer consists of \(N = \beta ^{-1} L + o(L)\) intervals as \(L\rightarrow \infty \). Inserting this into the formula for \(E_{\rho ,N,L}\) we obtain the claim about limit points of minimizers. \(\square \)

Remark 8

Since \(f(x)\ge (3/2)^{2/3}\) for all x, the preceding proof yields the uniform bound (3). Moreover, along the sequence \((L_N)_{N\in \mathbb {N}}\) defined by \(2N/(L_N\gamma ^{1/3} \rho ^{2/3}(1-\rho )^{2/3}) = (2/3)^{1/3}\) we have

$$\begin{aligned} e_\rho ^{(L)}(\rho L_N) - L_N \left( \frac{3}{2} \right) ^{2/3} \gamma ^{1/3} \rho ^{2/3}(1-\rho )^{2/3} = 0. \end{aligned}$$

We now prove the remainder bound (4) and show its optimality. Given \(L>0\), choose N such that

$$\begin{aligned} \frac{2N}{L\gamma ^{1/3} \rho ^{2/3} (1-\rho )^{2/3}} \le (2/3)^{1/3} < \frac{2(N+1)}{L\gamma ^{1/3} \rho ^{2/3} (1-\rho )^{2/3}} \end{aligned}$$

and define

$$\begin{aligned} \delta _- = (2/3)^{1/3} - \frac{2N}{L\gamma ^{1/3} \rho ^{2/3} (1-\rho )^{2/3}} \,, \qquad \delta _+ = \frac{2(N+1)}{L\gamma ^{1/3} \rho ^{2/3} (1-\rho )^{2/3}} - (2/3)^{1/3}. \end{aligned}$$

Then,

$$\begin{aligned} 0\le \delta _\pm \le \frac{2}{L\gamma ^{1/3} \rho ^{2/3} (1-\rho )^{2/3}}. \end{aligned}$$

Since the function f introduced in the previous proof has a unique local minimum,

$$\begin{aligned} L^{-1} e_\rho ^{(L)}(\rho L)&= \gamma ^{1/3} \rho ^{2/3} (1-\rho )^{2/3} \\&\quad \times \min \left\{ f\left( \frac{2N}{L\gamma ^{1/3} \rho ^{2/3} (1-\rho )^{2/3}} \right) , f\left( \frac{2(N+1)}{L\gamma ^{1/3} \rho ^{2/3} (1-\rho )^{2/3}} \right) \right\} \\&= \gamma ^{1/3} \rho ^{2/3} (1-\rho )^{2/3} \min \left\{ f\left( (2/3)^{1/3}-\delta _- \right) , f\left( (2/3)^{1/3} + \delta _+ \right) \right\} . \end{aligned}$$

Since

$$\begin{aligned} f(x) = (3/2)^{2/3} + c (x- (2/3)^{1/3})^2 + o((x-(2/3)^{1/3})^2) \qquad \text {as}\ x\rightarrow (2/3)^{1/3} \end{aligned}$$

with \(c=(3/2)^{4/3}\), we conclude that

$$\begin{aligned} L^{-1} e_\rho ^{(L)}(\rho L) = \gamma ^{1/3} \rho ^{2/3} (1-\rho )^{2/3} \left( (3/2)^{2/3} + c \min \{ \delta _+^2 +o(\delta _+^2), \delta _-^2 + o(\delta _-^2)\} \right) . \end{aligned}$$

Clearly,

$$\begin{aligned} \limsup _{L\rightarrow \infty } L \min \{\delta _+,\delta _-\} = \frac{1}{\gamma ^{1/3} \rho ^{2/3}(1-\rho )^{2/3}}, \end{aligned}$$

and therefore

$$\begin{aligned} \limsup _{L\rightarrow \infty } L^2 \left( L^{-1} e_\rho ^{(L)}(\rho L) - (3/2)^{2/3}\gamma ^{1/3} \rho ^{2/3} (1-\rho )^{2/3} \right) = \frac{c}{\gamma ^{1/3} \rho ^{2/3}(1-\rho )^{2/3}}. \end{aligned}$$

This proves the claimed optimal error bound.

Finally, we discuss the problem with an excess charge.

Proof of Corollary 3

We infer from Corollary 6 that for any set \(E\subset [-L/2,L/2]\) with \(|E|=\rho L +Q\) which consists of at most N intervals we have the lower bound

$$\begin{aligned} \mathcal I^{(L)}_\rho [E]&\ge 2N -\frac{\gamma }{12\rho } (\rho L +Q)^3 \left( 1- \frac{(1-\rho )^2}{N^2} \right) + \frac{\gamma }{4} \rho (\rho L+Q) L^2- \frac{\gamma }{6} \rho ^2 L^3 \\&= 2N + \frac{\gamma }{12\rho } (\rho L +Q)^3 \frac{(1-\rho )^2}{N^2} -\frac{\gamma }{12\rho } (3 \rho L Q^2 + Q^3). \end{aligned}$$

Therefore,

$$\begin{aligned} e^{(L)}_\rho (\rho L+Q)&\ge \min _{N\in \mathbb {N}} \left( 2N + \frac{\gamma }{12\rho } (\rho L +Q)^3 \frac{(1-\rho )^2}{N^2}\right) \nonumber \\&\quad -\frac{\gamma }{12\rho } (3 \rho L Q^2 + Q^3). \end{aligned}$$
(8)

Clearly,

$$\begin{aligned} \lim _{L\rightarrow \infty } L^{-1} \frac{\gamma }{12\rho } (3 \rho L Q^2 + Q^3) = \frac{\gamma }{4} Q^2 \,, \end{aligned}$$

which gives the claimed contribution to the energy due to the excess charge. Moreover, elementary analysis shows that

$$\begin{aligned}&\lim _{L\rightarrow \infty } L^{-1} \min _{N\in \mathbb {N}} \left( 2N + \frac{\gamma }{12\rho } (\rho L +Q)^3 \frac{(1-\rho )^2}{N^2}\right) \nonumber \\&\quad = \left( \frac{3}{2} \right) ^{2/3} \gamma ^{1/3} \rho ^{2/3}(1-\rho )^{2/3}. \end{aligned}$$
(9)

This yields the claimed asymptotic lower bound

$$\begin{aligned} \liminf _{L\rightarrow \infty } L^{-1} e^{(L)}_\rho (\rho L+Q) \ge \left( \frac{3}{2} \right) ^{2/3} \gamma ^{1/3} \rho ^{2/3}(1-\rho )^{2/3} - \frac{\gamma }{4} Q^2. \end{aligned}$$

In order to prove an asymptotic upper bound, we first assume

$$\begin{aligned} Q<2^{2/3} 3^{1/3}\gamma ^{-1/3} \rho ^{1/3} (1-\rho )^{1/3}. \end{aligned}$$
(10)

In fact, under this assumption we will be able to solve the \(e^{(L)}_\rho (\rho L + Q)\) problem explicitly for L large enough. To do so, we note that the elementary analysis leading to (9) shows also that the minimum on the right side is attained by some N satisfying

$$\begin{aligned} N = 2^{-2/3} 3^{-1/3} \gamma ^{1/3} \rho ^{2/3} (1-\rho )^{2/3} L +o(L) \,. \end{aligned}$$

Therefore, for L large enough we can restrict the minimum in (8) to such N, and then assumption (10) implies that the inequality

$$\begin{aligned} (N-1+\rho ) Q \le \rho (1-\rho )L \end{aligned}$$

holds for all considered N. Using the latter inequality, we infer from the second part of Corollary 6 that the above lower bound on \(\mathcal I^{(L)}_\rho [E]\) can be saturated, and therefore we infer that equality holds in (8) for all sufficiently large L. This proves the claimed asymptotic upper bound under the assumption (10).

It remains to deal with Q for which (10) does not hold. In fact, we give a proof that works for all \(Q>0\) by reducing it to the case \(Q<0\) (and \(\rho \) to \(1-\rho \)). This proof, however, does not yield the optimal set. We start by observing

$$\begin{aligned} \mathcal I^{(L)}_\rho [E] = \mathcal I^{(L)}_{1-\rho }[(-L/2,L/2)\setminus E] + \left( {{\,\mathrm{Per}\,}}E - {{\,\mathrm{Per}\,}}\left( (-L/2,L/2)\setminus E \right) \right) . \end{aligned}$$

Since

$$\begin{aligned} \left| {{\,\mathrm{Per}\,}}E - {{\,\mathrm{Per}\,}}\left( (-L/2,L/2)\setminus E \right) \right| \le 2 \,, \end{aligned}$$

we conclude that for all \(\ell >0\),

$$\begin{aligned} \left| e^{(L)}_\rho (\ell ) - e^{(L)}_{1-\rho }(L-\ell ) \right| \le 2. \end{aligned}$$

In particular, because of what we have already shown in the first part of the proof (noting that this formula is invariant under changing \(\rho \) to \(1-\rho \) and Q to \(-Q\)),

$$\begin{aligned} L^{-1} e^{(L)}_\rho (\rho L+Q)&= L^{-1} e^{(L)}_{1-\rho }((1-\rho )L-Q) + O(L^{-1}) \\&= \left( \frac{3}{2} \right) ^{2/3} \gamma ^{1/3} \rho ^{2/3}(1-\rho )^{2/3} - \frac{\gamma }{4} Q^2 + o(1). \end{aligned}$$

This proves the claimed asymptotic upper bound. \(\square \)