1 Introduction

In this paper, we explore collective dynamics driven by rank-based interactions, i.e. that’s to say interactions determined by the rank of the agents with respect to certain criterion. There are many examples where such interactions take place. In economics for instance, it was extensively analysed in [14] that agents are more sensitive to their rank compared to others (salary or wealth for example) than their own independent cardinal level. To go further, [17] studies, in an organisation, compensation schemes which pay according to an individual’s ordinal rank rather than their output level. Such payoff based on the rank approach also appears very naturally in a variety of economics applications such as bids, the labour market, portfolio management, the oil market, academic production, reputation, etc.

Evolutionary game theory studies the evolution of strategies/genes transmitted through natural selection. In chimpanzees as in cockroaches a group is formed of a dominant male, females and lower order males. Only the dominant male is supposed to mate with the females. However, when the dominant male is absent, the females also reproduce with other males giving the preference to males in descending order [12]. It is also known that the rank of an offspring strongly depends on the rank of its mother [16], so that in the replicator dynamic process the rank increases the chance of reproduction. The study of such models requires taking into account interactions depending on the rank of the agents.

In this article we focus on the dynamics of bird flocks. There is a widespread literature of flocking models where the birds react to their neighbours as a function of the neighbours’ distance from them within the flock. These are the co-called “metric” interactions. In this context, dynamics based on alignment [20], consensus [11] or attraction-repulsion see [3, 4] have been widely studied. However, there has been recent compelling evidence [1] that interactions within bird flocks are mostly metric free, as the birds react primarily with a limited number of their nearest neighbours irrespective of the distances between them. This observation has motivated the concept of “topological interaction”, which has been widely echoed in the scientific literature [5, 7, 10, 13, 19].

Our goal is to investigate the large size limit of a system of agents interacting through topological interactions. Specifically, we consider a leader-follower model [8, 9] where at random times a randomly chosen bird, the follower, decides to adopt the velocity of another bird, its leader, in the flock. The follower chooses its leader according to a probability only depending on the proximity rank of the latter with respect to the former. If we assume that the probability has a strong cutoff as soon as the proximity rank exceeds a certain value, of the order of seven in actual flocks, the considered model is akin to the topological interactions of [1].

To our knowledge, [6] is the first mathematical work where interaction rules between agents depending on their rank are considered. The closest to our work is [15] where kinetic and hydrodynamic models for topological interactions have been proposed. However, the considered dynamics is different from ours. In [15], it is supposed that an agent’s velocity relaxes towards an average velocity of its neighbours where the relative weights of the neighbours depend on their proximity rank to the considered agent. Therefore, it is a model of Cucker-Smale type [11] combined with a topological interaction rule. In [15], a mean-field type kinetic model is rigorously derived under some regularisation in the large system size limit and a hydrodynamic model under a monokinetic closure assumption is proposed.

Here, the interaction rule is different and, in the large system size limit, leads to a Boltzmann type model with an integral operator describing the balance between gains and losses due to the interactions rather than a mean-field model where the interactions are described through a force field. From the mathematical viewpoint, this makes a considerable difference, as an empirical measure approach is not possible. Instead, one has to rely on the propagation of chaos property for the solution of the master equation. In the present work, propagation of chaos is assumed and its proof is defered to future work. Still, under this assumption, the derivation of the kinetic equation is not obvious and as we will see, relies on fine approximation properties of Bernstein polynomials.

Indeed, we will realise that the derivation of a kinetic model requires the estimation of the probability that given two particles say numbered 1 and 2, the rank of 2 with respect to 1 be equal to a given integer j. Then, the interaction probability of 1 with 2 in this configuration is a function K(j / N), where N is the total number of particles and the function K is characteristic of the considered interaction. Thanks to an easy combinatorial estimation, the total probability of 1 interacting with 2 is found as the Bernstein polynomial approximation of K when N is large. Due to some cancellations, the first order correction in powers of 1 / N of the Bernstein polynomial approximation of K is also needed. This correction can be found in the literature [18].

The paper is organised as follows. In Sect. 2, we present the N particle dynamics and state the main result. In Sect. 3, we derive the master equation of the process and the equation for the first marginal under the assumption of propagation of chaos. In Sect. 4 we precisely state our main result, namely that, in the limit \(N \rightarrow \infty \) and the assumption of propagation of chaos, the equation for the first marginal reduces to a kinetic equation of Boltzmann type with spatial nonlinearity. To prove this theorem, we use results on Bernstein’s polynomial approximation from the literature [18]. Section 5 offers some considerations on the limit kinetic equation and illustrates our discussion with numerical simulations emphasising that the large-time and large number of particles limits do not commute. Finally, a conclusion is drawn in Sect. 6.

2 The N-particle Dynamics

Consider a set of N particles. The particle i is characterised by its position \(x_i \in {\mathbb R}^n\) and its velocity \(v_i \in {\mathbb R}^n\) where \(n\ge 1\) is both the spatial and velocity dimension. For a given particle i we can order the other particles relatively to their distance to i. More precisely, we have the following:

Definition 1

(Rank) Consider N particles located at \(x_1, \ldots , x_N\). Consider the i-th particle and order the list \(\big (|x_j-x_i|\big )_{j=1, \ldots , N, \, j \not = i}\) by increasing order and denote by \(R^N(i,j)\in \{1, \ldots , N-1\}\) the position of the j-th item in this list. If two indices j and \(j'\) are such that \(|x_j-x_i| = |x_{j'}-x_i|\), then we choose arbitrarily an ordering between these two numbers. We define \(R^N(i,i)=0\). Now, we define the rank of j with respect to i as:

$$\begin{aligned} r^N(i,j) = \frac{R^N(i,j)}{N-1} \quad \in \quad \bigcup _{k=1}^{N-1} \Big \{ \frac{k}{N-1} \Big \}. \end{aligned}$$

We introduce a function K: \(r \in [0,1] \mapsto K(r) \in [0,\infty )\) such that

$$\begin{aligned} \int _0^1 K(r) \;\mathrm{d}r = 1. \end{aligned}$$

We define

$$\begin{aligned} K^N (r) = \dfrac{K(r)}{\sum _{k=1}^{N-1} K \Big ( \frac{k}{N-1} \Big )}\,, \end{aligned}$$

in order to have for any \(i \in \{1, \ldots , N\}\):

$$\begin{aligned} \sum _{\begin{array}{c} j=1\\ j\not =i \end{array}}^N K^N\big (r^N(i,j) \big ) = \sum _{k=1}^{N-1} K^N \left( \frac{k}{N-1} \right) = 1. \end{aligned}$$

In this way, for any \(i \in \{1, \ldots , N\}\), the collection \((\pi _{ij})_{j=1, j \not = i}^N\), where

$$\begin{aligned} \pi _{ij}^N = K^N \big ( r^N(i,j) \big ), \end{aligned}$$

defines a discrete probability measure on the set \(\{j\in \{1, \ldots , N\}, \, \, j \not = i\}\).

Consider N particles \(\{ (x_1(t), v_1(t)), \ldots , (x_N(t), v_N(t)) \}\) which are subject to the following dynamics (previously referred to as the “Choose the Leader” dynamics [8, 9]):

  • The dynamics is a succession of free-flights and collisions.

  • During free-flight, particles follow straight trajectories

    $$\begin{aligned} \left\{ \begin{array}{l} \dot{x}_i = v_i, \\ \dot{v}_i = 0\;. \end{array} \right. \end{aligned}$$
  • At Poisson random times with a rate equals to N, particles undergo the following collisions process: Pick a particle i in \(\{1, \ldots , N\}\) with uniform probability 1 / N and perform a collision, i.e. pick a collision partner j in the set \(\{j\in \{1, \ldots , N\}, \, \, j \not = i\}\) with probability \(\pi _{ij}^N\) and perform:

    $$\begin{aligned} \left\{ \begin{array}{l} (x_i,x_j) \hbox { remains unchanged, } \\ (v_i,v_j) \hbox { is changed into } (v_j,v_j). \end{array} \right. \end{aligned}$$

Remark 1

It is a priori unclear that the dynamics will be non-trivial in the limit \(N \rightarrow \infty \) for a rate of the Poisson process equal to N. This will appear clearly in the section dealing with the passage to the limit \(N \rightarrow \infty \) (see Sect. 4).

Since the rank of j with respect to i is an intrinsic property of the positions of the pair of particles and does not depend on how they are numbered, we have the following properties of the rank:

Remark 2

Let \((x_1, \ldots , x_N)\) be a set on N particles.

  1. (i)

    The rank \(r^N(i,j)\), and hence \(\pi _{ij}^N\), is a function of \((x_1, \ldots , x_N)\), i.e.

    $$\begin{aligned} r^N(i,j) = r^N(i,j)(x_1, \ldots , x_N). \end{aligned}$$

    More precisely, we consider the rank \(r^N(i,j)\) as a function of \(L^\infty ({\mathbb R^{nN}})\).

  2. (ii)

    The rank is permutation invariant, i.e. for any permutation \(\sigma \in \mathfrak {S}_N\) where \(\mathfrak {S}_N\) denotes the set of permutations of \(\{1,\ldots ,N\}\), we have

    $$\begin{aligned} r^N(\sigma (i), \sigma (j))\big (x_{\sigma (1)}, \ldots , x_{\sigma (N)}\big ) = r^N(i,j)(x_1, \ldots , x_N). \end{aligned}$$

The aim of this article is to study the limit of this dynamics when the number of particles goes to \(\infty \). To do so we will assume that the propagation of chaos property holds true i.e.

$$\begin{aligned} f^{(N)}\big (Z_1,\cdots ,Z_N{,} t \big )=\prod _{\ell =1}^N f^{(1)}_N(Z_\ell ,t), \quad \forall \mathbf{Z}\in {\mathbb R}^{2nN}, \quad \forall t \in [0,\infty ). \end{aligned}$$

Assuming that \(f^{(1)}_N \rightarrow f\) and \(\rho ^{(1)}_N:=\int f^{(1)}_N\;\mathrm{d}v\rightarrow \rho = \int f \;\mathrm{d}v\), then in the limit \(N \rightarrow \infty \), we will prove that f is a solution of the kinetic equation:

$$\begin{aligned} \frac{\partial f}{\partial t}(x,v)+v\cdot \nabla _x f(x,v)=\rho (x) \int f(x',v)\,K\left( M_\rho \big (x,|x'-x| \big )\right) \;\mathrm{d}x' - f(x,v), \end{aligned}$$

where \(M_\rho \) is the partial mass of \(\rho \) and is defined by

$$\begin{aligned} M_\rho (x,s)=\int _{x' \in B(x,s)} \rho (x')\;\mathrm{d}x', \end{aligned}$$

and where \(B(x,s) = \{ y \in {\mathbb R}^n \, | \, |y-x| \le s \}\) is the ball centred at x and of radius \(s>0\).

Remark 3

The conservation of mass property holds true by Lemma 5 applied to \(H=K\).

In the following section, we derive the master equation for this process, Sect. 3.1, and the first marginal equation for indistinguishable particles, Sect. 3.2. Then, in Sect. 3.3, we derive the master equation under the assumption of propagation of chaos.

3 Master Equation and Propagation of Chaos

3.1 Master Equation

To simplify the notation, when no confusion is possible, we will denote \(\mathbf{x}:=(x_1,\ldots ,x_N)\), \(\mathbf{v}:=(v_1,\ldots ,v_N)\), \(Z_i:=(x_i,v_i)\), \(\mathbf{Z}:=(Z_1,\ldots ,Z_N)\) and \(\;\mathrm{d}\mathbf{Z}:=\;\mathrm{d}x_1 \;\mathrm{d}v_1\ldots \;\mathrm{d}x_N \;\mathrm{d}v_N\).

As the collisions occur at Poisson times with rate N, the master equation in weak form is, for all test function \(\phi ^N:\mathbf{Z}\mapsto \phi ^N(\mathbf{Z})\):

$$\begin{aligned}&\partial _t \int f^{(N)}(\mathbf{Z})\,\phi ^N(\mathbf{Z})\;\mathrm{d}\mathbf{Z}- \sum _{i=1}^N \int f^{(N)}\big (\mathbf{Z}) (v_i \cdot \nabla _{x_i} \big )\,\phi ^N(\mathbf{Z})\;\mathrm{d}\mathbf{Z}\nonumber \\&\quad = N\int \left[ \frac{1}{N}\! \sum _{\begin{array}{c} i,j=1\\ j\not =i \end{array}}^N \pi _{ij}^N(\mathbf{x}) \,\phi ^N \big (Z_1, \ldots , x_i, v_j , \ldots , x_j, v_j , \ldots Z_N \big ) -\phi ^N(\mathbf{Z})\right] f^{(N)}(\mathbf{Z}) \;\mathrm{d}\mathbf{Z}\nonumber \\&\quad = N \int \left[ \frac{1}{N}\sum _{\begin{array}{c} i,j=1\\ j\not =i \end{array}}^N \int \pi _{ij}^N(\mathbf{x})\,\phi ^N \big (Z_1, \ldots , x_i, v'_i , \ldots , x_j,v_j, \ldots Z_N \big )\,\delta \big (v'_i-v_j \big )\;\mathrm{d}v'_i \right. \nonumber \\&\qquad \left. -\,\phi ^N(\mathbf{Z})\right] f^{(N)}(\mathbf{Z})\;\mathrm{d}\mathbf{Z}. \end{aligned}$$
(1)

By exchanging the notations \(v_i\) and \(v'_i\) we obtain the following master equation in the strong form:

$$\begin{aligned} \partial _t f^{(N)}(\mathbf{Z}) = \sum _{i=1}^N f^{(N)}(\mathbf{Z}) \, \big (v_i \cdot \nabla _{x_i} \big ) + N L f^{(N)}(\mathbf{Z}), \end{aligned}$$

where the operator L is defined by

$$\begin{aligned} L f^{(N)}(\mathbf{Z}) := \frac{1}{N} \sum _{\begin{array}{c} i,j=1\\ i\not =j \end{array}}^N \pi _{ij}^N(\mathbf{x})\, \delta (v_i-v_j) \! \int f^{(N)}(Z_1, \ldots , x_i, v'_i , \ldots Z_N) \;\mathrm{d}v'_i-f^{(N)}(\mathbf{Z}). \end{aligned}$$

We now state a property which will be needed in the remainder of this article, namely that if \(f^{(N)}(t)\) is permutation invariant at time \(t=0\) then it stays permutation invariant for all times.

Lemma 1

(Invariance under permutation) Define for all \(\sigma \in \mathfrak {S}_N\),

$$\begin{aligned} \sigma f^{(N)} (\mathbf{Z}) := f^{(N)} \big (\mathbf{Z}_{\sigma (1)}, \ldots , \mathbf{Z}_{\sigma (N)} \big ). \end{aligned}$$

Then we have:

$$\begin{aligned} L (\sigma f^{(N)}) = \sigma \big ( L f^{(N)} \big ) . \end{aligned}$$

As a consequence, if \(f^{(N)}(t)\) is permutation invariant at time \(t=0\), i.e. \(\sigma f^{(N)}(t)|_{t=0} = f^{(N)}(t)|_{t=0}\) for all \(\sigma \in \mathfrak {S}_N\), then it is permutation invariant for all times.

Proof

To emphasise the dependence in \(\mathbf{Z}\), we can rewrite the operator L as:

$$\begin{aligned} L f^{(N)} (\mathbf{Z})= \frac{1}{N} \sum _{\begin{array}{c} i,j=1\\ i\not =j \end{array}}^N \pi _{ij}^N \big (\mathbf {\mathbf{x}}(\mathbf{Z})\big ) \delta \big (V_i(\mathbf{Z}) -V_j(\mathbf{Z}) \big ) P_i f^{(N)}(\mathbf{Z}) -f^{(N)}(\mathbf{Z}), \end{aligned}$$

with \(\mathbf {\mathbf{x}}(\mathbf{Z})= \mathbf{x}\), \( V_i(\mathbf{Z}) = v_i\) and

$$\begin{aligned} P_i f^{(N)}(\mathbf{Z}) = \int \,f^{(N)} \big (Z_1, \ldots , x_i, v'_i , \ldots Z_N \big ) \;\mathrm{d}v'_i\;. \end{aligned}$$

First note that, setting \(\sigma \mathbf{Z}= \big (Z_{\sigma (1)}, \ldots , Z_{\sigma (N)} \big )\), we have

$$\begin{aligned} V_i (\mathbf{Z}) = V_{\sigma (i)} (\sigma \mathbf{Z})\,, \quad \hbox {and}\quad P_i (\sigma f^{(N)}) (\mathbf{Z}) = P_{\sigma (i)} f^{(N)} (\sigma \mathbf{Z}). \end{aligned}$$

Therefore by applying the \(\sigma ^{-1}\) permutation to the double sum and using the permutation invariance of the rank, see Lemma 2 (ii), we obtain

$$\begin{aligned} L \sigma f^{(N)} (\mathbf{Z})&= \frac{1}{N} \sum _{\begin{array}{c} i,j=1\\ i\not =j \end{array}}^N \pi _{ij}^N(\mathbf {\mathbf{x}}(\mathbf{Z})) \, \delta \big (V_i (\mathbf{Z}) -V_j (\mathbf{Z}) \big ) \, P_i \big (\sigma f^{(N)} \big ) (\mathbf{Z}) \\&\quad -\big (\sigma f^{(N)}\big )(\mathbf{Z})\\&= \frac{1}{N} \sum _{\begin{array}{c} i,j=1\\ i\not =j \end{array}}^N K^N \big [r^N(i,j)\big ](\mathbf {\mathbf{x}}(\mathbf{Z})) \, \delta \big (V_i (\mathbf{Z}) -V_j (\mathbf{Z}) \big ) \, P_{\sigma (i)} f^{(N)} (\sigma \mathbf{Z})\\&\quad -\big (\sigma f^{(N)} \big )(\mathbf{Z})\\&=\frac{1}{N} \sum _{\begin{array}{c} i',j'=1\\ i'\not =j' \end{array}}^N K^N \big [r^N(\sigma ^{-1}(i'),\sigma ^{-1}(j')) \big ] \big (\mathbf {\mathbf{x}}(\mathbf{Z}) \big ) \, \delta \big (V_{\sigma ^{-1}(i')} (\mathbf{Z})\\&\quad -V_{\sigma ^{-1}(j')} (\mathbf{Z}) \big ) P_{i'} f^{(N)} (\sigma \mathbf{Z}) -(\sigma f^{(N)})(\mathbf{Z})\\&= \frac{1}{N} \sum _{\begin{array}{c} i',j'=1\\ i'\not =j' \end{array}}^N K^N \big [r^N(i',j') \big ] \big (\mathbf {\mathbf{x}}(\sigma \mathbf{Z}) \big ) \, \delta \big (V_{i'} (\sigma \mathbf{Z})\\&\quad -V_{j'} (\sigma \mathbf{Z}) \big ) P_{i'} f^{(N)} \big (\sigma \mathbf{Z}\big ) -f^{(N)} \big (\sigma \mathbf{Z}\big )\\&= (L f^{(N)}) (\sigma \mathbf{Z}) = \sigma L \partial _t f^{(N)} (\mathbf{Z}). \end{aligned}$$

The above property states that \(\sigma ^{-1} L \sigma = L\), for all \(\sigma \in \mathfrak {S}_N\). Supposing that L is a bounded operator, we deduce that \(\sigma ^{-1} L^k \sigma = L^k\), for all \(k \in {\mathbb N}\) and consequently \(\sigma ^{-1} e^L \sigma = e^L\). Now, the solution of the problem \(\partial _t f^{(N)} = NLf^{(N)}\) with \(f^{(N)}|_{t=0} = f^{(N)}_0\) can be written \(f^{(N)}(t) = e^{NLt} f^{(N)}_0\). We deduce that \(\sigma f^{(N)}(t) = e^{NLt} \sigma f^{(N)}_0\). Therefore, if \(\sigma f^{(N)}_0= f^{(N)}_0\), then \(\sigma f^{(N)}(t)= f^{(N)}(t)\), for all \(t \ge 0\). If L is not bounded, the same property remains true thanks to an approximation argument. \(\square \)

3.2 First Marginal Equation for Indistinguishable Particles

In the remainder of this article, we will suppose that \(f^{(N)}\) is invariant under permutations which physically means that the particles are indistinguishable. This allows us to define the k-particle marginal as

$$\begin{aligned} f^{(k)}_N \big (Z_1, \ldots , Z_k,t \big )=\int f^{(N)} \big (Z_1,\ldots ,Z_N,t \big )\;\mathrm{d}Z_{k+1} \ldots \;\mathrm{d}Z_N . \end{aligned}$$
(A1)

and \(f^{(k)}_N\) is still invariant under permutations of \((Z_1, \ldots , Z_k)\).

Proposition 1

(First marginal equation for indistinguishable particles) Assume (A1). For any test functions satisfying

$$\begin{aligned} \phi ^N(Z_1,\ldots ,Z_N)=\phi (Z_1)\,, \end{aligned}$$
(2)

we have

$$\begin{aligned} \partial _t \int f^{(1)}_N(Z_1)\,\phi (Z_1) \;\mathrm{d}Z_1&=\sum _{i=1}^N \int f^{(1)}_N(\mathbf{Z}) \,(v_i \cdot \nabla _{x_i})\,\phi (\mathbf{Z})\;\mathrm{d}\mathbf{Z}\\&\quad + (N-1) \int \pi _{12}^N(\mathbf{x}) \,\phi \big (x_1,v_2 \big ) f^{(N)} (\mathbf{Z}) \;\mathrm{d}\mathbf{Z}\\&\quad + (N-1) \int \pi _{21}^N(\mathbf{x}) \,\phi (Z_1) f^{(N)} (\mathbf{Z}) \;\mathrm{d}\mathbf{Z}\\&\quad + (N-1)(N-2) \int \pi _{23}^N(\mathbf{x}) \,\phi (Z_1) f^{(N)} (\mathbf{Z}) \;\mathrm{d}\mathbf{Z}\\&\quad - N \int \phi (Z_1) \, f^{(1)}_N(Z_1) \;\mathrm{d}Z_1. \end{aligned}$$

Remark 4

Since \(\pi _{ij}^N = K^N ( r^N(i,j))\) and \( K^N (r) = {K(r)}/{\sum K ( {k}/{(N-1)} )} \), \(\pi _{ij}^N\) is of order 1 / N. Hence the first three terms are of order 1 while the last two ones are of order N. Section 4 will be devoted to the study of these terms and to the proof that the difference of the last two terms is of the same order as the first three ones.

Proof

Separating the cases \(i=1\ne j\), \(j=1\ne i\), and \(i\ge 2\), \(j\ge 2\), the master equation (1) gives

$$\begin{aligned} \partial _t \int f^{(N)}(\mathbf{Z})\,\phi (\mathbf{Z}) \;\mathrm{d}\mathbf{Z}\nonumber \\ = \sum _{j=2}^N A_{j}^{(1)}+\sum _{i=2}^N A_{i}^{(2)}&+ \sum _{i=2}^N \sum _{j=2, j \not = i}^N A_{i,j} - N\int \phi (x_1,v_1) f^{(N)}(\mathbf{Z}) \;\mathrm{d}\mathbf{Z}, \end{aligned}$$
(3)

with

$$\begin{aligned} A_{j}^{(1)}&:=\int \pi _{1j}^N (\mathbf{x}) \,\phi (x_1,v_j)f^{(N)}(\mathbf{Z}) \;\mathrm{d}\mathbf{Z},\\ A_{i}^{(2)}&:=\int \pi _{i1}^N (\mathbf{x}) \,\phi (Z_1)f^{(N)}(\mathbf{Z}) \;\mathrm{d}\mathbf{Z},\\ A_{i,j}&:=\int \pi _{ij}^N(\mathbf{x})\, \phi (Z_1)f^{(N)}(\mathbf{Z}) \;\mathrm{d}\mathbf{Z}. \end{aligned}$$

To compute the first term \(A_{j}^{(1)}\), we perform the change of variables \(Z'_2 = Z_j\) and \(Z'_j = Z_2\), which leads to:

$$\begin{aligned} A_{j}^{(1)}\!= & {} \! \int \pi _{1j}^N \Big (x_1,x'_j, \ldots ,x'_2, \ldots ,x_N \Big ) \,\phi \Big (x_1,v'_2 \Big )\, f^{(N)} \Big (Z_1,Z'_j,\ldots ,Z'_2,\ldots , Z_N \Big ) \\&\times \;\mathrm{d}Z_1 \;\mathrm{d}Z'_j \ldots \;\mathrm{d}Z'_2 \ldots \;\mathrm{d}Z_N \,. \end{aligned}$$

Using the permutation invariance of the rank (see Lemma 2 (ii)), we have

$$\begin{aligned} \pi _{1j}^N \Big (x_1,x'_j, \ldots ,x'_2, \ldots ,x_N \Big ) = \pi _{12}^N \Big (x_1,x'_2, \ldots ,x'_j, \ldots ,x_N \Big ) . \end{aligned}$$

Therefore, dropping the primes and using the permutation invariance of \(f^{(N)}\), we obtain

$$\begin{aligned} A_{j}^{(1)}= \int \pi _{12}^N(\mathbf{x}) \,\phi (x_1,v_2) f^{(N)} (\mathbf{Z}) \;\mathrm{d}\mathbf{Z}, \end{aligned}$$

which does not depend on j.

Similarly, we have

$$\begin{aligned} A_{i}^{(2)}= & {} \int \pi _{i1}^N \Big (x_1,x_i, \ldots ,x_2, \ldots ,x_N \Big ) \,\phi (Z_1)\, f^{(N)} \big (Z_1,Z_i,\ldots ,Z_2,\ldots , Z_N\big ) \\&\times \;\mathrm{d}Z_1 \;\mathrm{d}Z_i \ldots \;\mathrm{d}Z_2 \ldots \;\mathrm{d}Z_N \, \end{aligned}$$

so that, using the permutation invariance of the rank, see Lemma 2 (ii), and the permutation invariance of \(f^{(N)}\) as previously, we obtain

$$\begin{aligned} A_{i}^{(2)}= \int \pi _{21}^N(\mathbf{x}) \,\phi (Z_1) f^{(N)} (\mathbf{Z}) \;\mathrm{d}\mathbf{Z}\,, \end{aligned}$$

which does not depend on i.

Also, we have with \(i \ge 2\), \(j \ge 2\) and \(i \not = j\):

$$\begin{aligned} A_{i,j}= & {} \int \pi _{ij}^N(x_1,x_i, x_j\ldots ,x_2, \ldots , x_3, \ldots ,x_N) \,\phi (Z_1) \\&\times \, f^{(N)}(Z_1,Z_i, Z_j,\ldots ,Z_2,\ldots , Z_3, \ldots Z_N) \\&\times \;\mathrm{d}Z_1 \;\mathrm{d}Z_i \;\mathrm{d}Z_j \ldots \!\;\mathrm{d}Z_2 \ldots \!\;\mathrm{d}Z_3 \ldots \!\;\mathrm{d}Z_N . \end{aligned}$$

Then using the permutation invariance of the rank, see Lemma 2 (ii), and the permutation invariance of \(f^{(N)}\) as previously, we obtain

$$\begin{aligned} A_{i,j}= \int \pi _{23}^N(\mathbf{x}) \,\phi (Z_1) \,f^{(N)} (\mathbf{Z}) \;\mathrm{d}\mathbf{Z}\,. \end{aligned}$$

For the last term of (3) we obviously have

$$\begin{aligned} \int \phi (Z_1) f^{(N)}(\mathbf{Z}) \;\mathrm{d}\mathbf{Z}= \int \phi (Z_1) \, f^{(1)}_N(Z_1) \;\mathrm{d}Z_1. \end{aligned}$$

Collecting all these identities, we obtain the identity stated in Proposition 1. \(\square \)

3.3 Propagation of Chaos

Assume now that the propagation of chaos property holds true i.e.

$$\begin{aligned} f^{(N)}\big (Z_1,\cdots ,Z_N, t \big )=\prod _{\ell =1}^N f^{(1)}_N(Z_\ell ,t), \quad \forall \mathbf{Z}\in {\mathbb R}^{2nN}, \quad \forall t \in [0,\infty ), \end{aligned}$$
(A2)

and define:

$$\begin{aligned} \rho ^{(1)}_N (x) = \int f^{(1)}_N (x,v) \;\mathrm{d}v. \end{aligned}$$

We remark that \(\rho ^{(1)}_N\) is a probability density.

We have the following proposition:

Proposition 2

(First marginal equation with propagation of chaos) Assume (A2). For any test functions satisfying (2), we have

$$\begin{aligned}&\partial _t \int f^{(1)}_N(Z_1)\,\phi (Z_1) \;\mathrm{d}Z_1 \nonumber \\&\quad = \sum _{i=1}^N \int f^{(1)}_N(\mathbf{Z})\, \big (v_i \cdot \nabla _{x_i} \big )\,\phi (\mathbf{Z})\;\mathrm{d}\mathbf{Z}+ \big (A^N \big ) + \big (B^N \big ) + \big (C^N \big ) + \big (D^N \big ) , \end{aligned}$$
(4)

with

$$\begin{aligned} \big (A^N\big )&=\frac{1}{S^N(K)} \int \phi (x_1,v_2) \, f^{(1)}_N (Z_1) \, f^{(1)}_N (Z_2) \\&\quad \times K\left( r^N(1,2)(\mathbf{x})\right) \prod _{\ell =3}^N \rho ^{(1)}_N(x_\ell ) \;\mathrm{d}x_\ell \;\mathrm{d}Z_1 \;\mathrm{d}Z_2, \\ \big (B^N \big )&= \frac{1}{S^N(K)}\int \phi (Z_1) \, f^{(1)}_N (Z_1) K\left( r^N(2,1)(\mathbf{x})\right) \prod _{\ell =2}^N \rho ^{(1)}_N(x_\ell ) \;\mathrm{d}x_\ell \;\mathrm{d}Z_1, \\ \big (C^N \big )&= \frac{N-2}{S^N(K)} \int \phi (Z_1) \, f^{(1)}_N (Z_1) K\left( r^N(2,3)(\mathbf{x})\right) \prod _{\ell =2}^N \rho ^{(1)}_N(x_\ell ) \;\mathrm{d}x_\ell \;\mathrm{d}Z_1, \\ \big (D^N \big )&=- N \int \phi (Z_1) \, f^{(1)}_N(Z_1) \;\mathrm{d}Z_1, \end{aligned}$$

where \(S^N(K) \) is given by

$$\begin{aligned} S^N(K) = \frac{1}{N-1} \sum _{k=1}^{N-1} K\left( \frac{k}{N-1} \right) . \end{aligned}$$

We note that \(S^N(K) \) is the Riemann sum approximation of \(\int _0^1 K(r) \;\mathrm{d}r\). Since we assume \(\int _0^1 K(r) \;\mathrm{d}r = 1\), \(S^N(K)\) converges to 1 as N goes to \(\infty \). Hence \((A^N)\) and \((B^N)\) are of order 1, while \((C^N)\) and \((D^N)\) are of order N. In the next section we will prove that the difference \((C^N) + (D^N)\) is actually of order 1.

Proof

This result is a direct consequence of Proposition 1, integrating in v when possible. We then use that

$$\begin{aligned} K^N=\frac{K}{(N-1)S_N(K)}, \end{aligned}$$

to obtain the stated result. \(\square \)

4 Limit Equation

For a density \(\rho \), define the partial mass of \(\rho \) centred in x and of radius s by:

$$\begin{aligned} M_\rho (x, s) = \int _{|x-x'| \le s} \rho \big (x' \big ) \;\mathrm{d}x'\;. \end{aligned}$$

We now state the main theorem of this article:

Theorem 1

(Limit equation) Assume (2). If

$$\begin{aligned} \lim _{N \rightarrow \infty }f^{(1)}_N \rightarrow f \quad \hbox {and}\quad \lim _{N \rightarrow \infty }\rho ^{(1)}_N \rightarrow \rho = \int f \;\mathrm{d}v, \end{aligned}$$

then, in the limit \(N \rightarrow \infty \), for all test functions \(\phi \) we have:

$$\begin{aligned}&\partial _t \int f(\mathbf{Z}) \,\phi (\mathbf{Z})\;\mathrm{d}\mathbf{Z}\\&\quad = \int \phi (x_1,v_2) \, f (Z_2)\,\rho (x_1)\,K\left( M_{\rho }(x_1,|x_2-x_1|\right) \;\mathrm{d}x_1\;\mathrm{d}Z_2 \\&\qquad -\int \phi (Z_1) \, f (Z_1)\;\mathrm{d}Z_1, \end{aligned}$$

or, in strong form:

$$\begin{aligned} \frac{\partial f}{\partial t}(x,v)+v\cdot \nabla _x f(x,v)=\rho (x) \int f(x',v)\,K\left( M_\rho \big (x,|x'-x| \big )\right) \;\mathrm{d}x' - f(x,v). \end{aligned}$$

This result will be obtained by passing to the limit when \(N \rightarrow \infty \) in (4). To pass to the limit in the transport term of (4) is classical and we refer the reader to classical textbooks on the subject. We divide the proof of this theorem in two sections. Section 4.1 is dedicated to the analysis of the terms \((A^N)\) and \((B^N)\) of (4). We prove that in the limit these two terms are of order 1 and can be expressed by means of the partial mass (see Proposition 4). The proofs rely on a combinatorial interpretation of the rank and on the fact that the integrals can be seen as the expectation of a suitable random variable (see Lemma 2). In Sect. 4.2 we use the same idea of interpreting the integrals occurring in the expression of \((C^N)\) as the expectation of a suitable random variable: the integral is dealt with in Lemma 3 and the sum \((C^N)+(D^N)\) will be proved to be of order 1 as stated in Proposition 5.

The main common difficulty while using the expectation interpretation of these terms is to evaluate truncated binomial sums. To handle this computation, the proofs will make an intensive and crucial use of the Bernstein polynomial approximation:

Proposition 3

(Bernstein polynomial approximation, [18]) Let f be a function defined on [0, 1]. The n-th Bernstein polynomial associated with f is defined by

$$\begin{aligned} B_n(f;x):=\sum _{i=0}^n f\left( \frac{i}{n} \right) {n \atopwithdelims ()i} x^i(1-x)^{n-i}\;. \end{aligned}$$

If \(f \in {\mathcal {C}}^2[0,1]\) then

$$\begin{aligned} B_n(f;x)=f(x)+\frac{x(1-x)}{2n}f''(x)+o\left( \frac{1}{n}\right) . \end{aligned}$$

4.1 Evaluation of \((A^N)\) and \((B^N)\)

We first express the integrals involved in \((A^N)\) and \((B^N)\) in terms of the partial mass and determine the leading order behaviour of these quantities when N is large:

Proposition 4

(Evaluation of \((A^N)\) and \((B^N)\)) Under the assumptions of Theorem 1, we have for large N

$$\begin{aligned}&S^N(K)\times (A^N)\\&\quad = \int \phi (x_1,v_2) \, \rho ^{(1)}_N (Z_1) \, f^{(1)}_N (Z_2) \, K\left( M_{\rho ^{(1)}_N} \big (x_1, |x_1-x_2| \big )\right) \;\mathrm{d}x_1 \;\mathrm{d}Z_2 +o(1), \end{aligned}$$

and

$$\begin{aligned}&S^N(K)\times (B^N) \\&\quad = \int \phi (Z_1) \, f^{(1)}_N (Z_1) \, K\left( M_{\rho ^{(1)}_N} (x_2, |x_1-x_2|)\right) \rho ^{(1)}_N (x_2) \;\mathrm{d}Z_1 \;\mathrm{d}x_2 +o(1). \end{aligned}$$

To prove this result we first interpret the integrals involved in \((A^N)\) and \((B^N)\) as expectations of suitable random variables. We first state the

Lemma 2

Under the assumptions of Theorem 1, we have for N large,

$$\begin{aligned} \int K\left( r^N(1,2)(\mathbf{x})\right) \prod _{\ell = 3}^N \rho ^{(1)}_N (x_\ell ) \;\mathrm{d}x_\ell = K\left( M_{\rho ^{(1)}_N} \big (x_1, |x_1-x_2| \big )\right) +o(1)\,, \end{aligned}$$

and

$$\begin{aligned}&\int K\left( r^N(2,1)(\mathbf{x})\right) \prod _{\ell = 2}^N \rho ^{(1)}_N (x_\ell ) \;\mathrm{d}x_\ell \\&\quad =\int K\left( M_{\rho ^{(1)}_N} (x_2, |x_1-x_2|)\right) \rho ^{(1)}_N (x_2) \;\mathrm{d}x_2+o(1)\;.\end{aligned}$$

Proof

We first give a combinatorial interpretation of the rank and then use it to interpret the various expressions involved in the statement of the Lemma as expectations over suitably chosen random variables.

\(\bullet \) Let us fix \(x_1\) and \(x_2\). The rank \(r^N(1,2)\) is equal to the number of points \(x_3, \ldots , x_N\) belonging to the ball \(B = B(x_1,|x_2-x_1|) = \{ x \, : \, |x-x_1| \le |x_2-x_1| \}\) plus one unit, scaled by the factor \(N-1\), i.e.

$$\begin{aligned} r^N(1,2) (\mathbf{x}) = \frac{ \# \{ j \in \{3, \ldots , N\} \, : \, x_j \in B \} +1 }{N-1}. \end{aligned}$$

Denote \(P_R\) be the probability such that \(R^N(1,2) = R\) where \(R^N(1,2) = (N-1) \,r^N(1,2) \). To have \(R^N (1,2)= R\), we have to choose \(R-1\) particles amongst \(N-2\) to lie in B. The probability that one of the \(R-1\) particles belongs to B is equal to

$$\begin{aligned} p:= M_{\rho ^{(1)}_N} \big (x_1, \big |x_2-x_1 \big | \big )\,, \end{aligned}$$

while the probability that one of the \(N-2 - (R-1)\) remaining particles lies in \({\mathbb R}^n \setminus B\) is \(1-p\). Therefore,

$$\begin{aligned} P_R = {N-2 \atopwithdelims ()R-1} \, p^{R-1} \, (1-p)^{N-2-(R-1)}. \end{aligned}$$
(5)

\(\bullet \) Now, \(x_1\) and \(x_2\) being fixed, the quantity

$$\begin{aligned} \int K\left( r^N(1,2)(\mathbf{x})\right) \, \prod _{\ell = 3}^N \rho ^{(1)}_N (x_\ell ) \;\mathrm{d}x_\ell , \end{aligned}$$

can be interpreted as the expectation of \(K(r^N(1,2))\) when \(N-2\) points \(x_3, \ldots , x_N\) are drawn according to independent identically distributed probabilities with density \(\rho ^{(1)}_N (x) \;\mathrm{d}x\). It will be denoted \({\mathbb E} \{ K(r^N(1,2)(\mathbf{x})) \}\).

By (5), we compute

$$\begin{aligned} {\mathbb E} \left\{ K\left( r^N(1,2)(\mathbf{x})\right) \right\}&= \sum _{R=1}^{N-1} K\left( \frac{R}{N-1} \right) {N-2 \atopwithdelims ()R-1} \, p^{R-1} \, (1-p)^{N-2-(R-1)}\\&= \sum _{R=0}^{M} K\left( \frac{R+1}{M+1} \right) {M \atopwithdelims ()R} \, p^R \, (1-p)^{M-R}, \end{aligned}$$

with \(M = N-2\). Since, for N large, \(K\left( {(R+1)}/{(M+1)} \right) = K\left( {R}/{M} \right) +o(1)\) (remarking that \(R/M \le 1\)),

$$\begin{aligned} {\mathbb E} \left\{ K\left( r^N(1,2)(\mathbf{x})\right) \right\} = \sum _{R=0}^{M} K\left( \frac{R}{M} \right) {M \atopwithdelims ()R} \, p^R \, (1-p)^{M-R}+o(1). \end{aligned}$$

Using Bernstein’s approximation, Proposition 3, we obtain

$$\begin{aligned} {\mathbb E} \left\{ K\left( r^N(1,2)(\mathbf{x})\right) \right\} = K(p)+o(1)\;. \end{aligned}$$

Which is the first statement.

\(\bullet \) The identity

$$\begin{aligned} \int K\left( r^N(2,1)(\mathbf{x})\right) \prod _{\ell = 3}^N \rho ^{(1)}_N (x_\ell ) \;\mathrm{d}x_\ell =K\left( M_{\rho ^{(1)}_N} (x_1, |x_2-x_1|)\right) +o(1), \end{aligned}$$

is obtained in an analogous way by exchanging the role of 1 and 2. We then have to integrate by \(\rho ^{(1)}_N (x_2) \;\mathrm{d}x_2\) to obtain the stated result.\(\square \)

Proof of Proposition 4

Inserting the expressions of Lemma 2 in \((A^N)\) and \((B^N)\) we readily obtain the stated result. \(\square \)

4.2 Evaluation of \((C^N) + (D^N)\)

Similarly to the previous section, the aim of this section is to determine the leading order behaviour of \((C^N) + (D^N)\) when N is large:

Proposition 5

(Evaluation of \((C^N) + (D^N)\)) Under the assumptions of Theorem 1, we have

$$\begin{aligned} (C^N)+(D^N)= & {} -\int \phi (Z_1) \, f^{(1)}_N (Z_1)\;\mathrm{d}Z_1 \\&-\int \phi (Z_1) \, f^{(1)}_N (Z_1)\,\rho ^{(1)}_N(x_2)\,K\left( M_{\rho ^{(1)}_N}(x_2,|x_1-x_2|\right) \;\mathrm{d}x_2 \;\mathrm{d}Z_1+o(1). \end{aligned}$$

Like in the previous section, the first step of the proof consists of interpreting some of the integrals involved in \((C^N)\) as an expectation over a suitable random variable (see Lemma 3) and then the remaining integral (see Lemma 4). The proof of Proposition 5 will then just be a collection of these estimates with terms coming from \(\int K(s)\;\mathrm{d}s\).

Lemma 3

Under the assumptions of Theorem 1, we have for large N

$$\begin{aligned}&\int K\left( r^N(2,3)(\mathbf{x})\right) \prod _{\ell =4}^N \rho ^{(1)}_N(x_\ell ) \;\mathrm{d}x_\ell \\&\quad = K(p_{23})- \frac{K'(p_{23})}{N} \big (1-\chi _{B(x_2,|x_2-x_3|)}(x_1)\big ) \\&\qquad +\,\frac{1}{N} \left[ \frac{p_{23}(1-p_{23})}{2}K''(p_{23})+2(1-p_{23})K'(p_{23})\right] + o\left( \frac{1}{N}\right) , \end{aligned}$$

where \(p_{23}=M_{\rho ^{(1)}_N} (x_2, |x_2-x_3|)\) only depends on \(x_2\) and \(x_3\) and

$$\begin{aligned} \chi _{B(x_2,|x_2-x_3|)}(x_1)= \left\{ \begin{array}{l@{\quad }l} 1 &{}\hbox {if }x_1 \in B(x_2,|x_2-x_3|)\\ 0&{}\hbox {otherwise.} \end{array} \right. \end{aligned}$$

Proof

Similarly to the proof of Lemma 2, we interpret the quantity

$$\begin{aligned} \int K\left( r^N(2,3)(\mathbf{x})\right) \prod _{\ell =4}^N \rho ^{(1)}_N(x_\ell ) \;\mathrm{d}x_\ell , \end{aligned}$$

as the expectation of \(K\left( r^N(2,3)(\mathbf{x})\right) \) when the \(N-4\) points \(x_4, \ldots , x_N\) are drawn according to independent identically distributed probabilities with density \(\rho ^{(1)}_N (x) \;\mathrm{d}x\). Two cases have to be distinguished:

\(\bullet \) First case: if \(x_1 \in B(x_2,|x_2-x_3|)\) – Like in the proof of Lemma 2 we have

$$\begin{aligned} r^N(2,3)=\frac{ \# \left\{ j \in \{4 \ldots , N\} \, |:\, x_j \in B(x_2,|x_2-x_3|) \right\} +2 }{N-1}. \end{aligned}$$

Hence, setting \(p_{23}=M_{\rho ^{(1)}_N} (x_2, |x_2-x_3|)=:p\),

$$\begin{aligned} {\mathbb {E}}\left\{ K\left( r^N(2,3)(\mathbf{x})\right) \right\}&= \sum _{R=2}^{N-1} K\left( \frac{R}{N-1} \right) {N-3 \atopwithdelims ()R-2} \, p^{R-2} \, (1-p)^{N-3-(R-2)}\\&=\sum _{R=0}^{M} K\left( \frac{R+2}{M+2} \right) {M \atopwithdelims ()R} \, p^{R} \, (1-p)^{M-R}, \end{aligned}$$

with \(M=N-3\). By expanding K, we have, uniformly with respect to \(R \in \{0,\cdots ,M\}\)

$$\begin{aligned} K\left( \frac{R+2}{M+2} \right) =K\left( \frac{R}{M} \right) +\frac{2}{M}\left( \frac{M-R}{M+2} \right) K'\left( \frac{R}{M} \right) + o\left( \frac{1}{M} \right) . \end{aligned}$$

Since \((M-R)/(M+2)=1-M/R + o(1)\) we obtain uniformly with respect to \(R \in \{0,\cdots ,M\}\)

$$\begin{aligned} K\left( \frac{R+2}{M+2} \right) =K\left( \frac{R}{M} \right) +\frac{2}{M}\left( 1-\frac{R}{M} \right) K'\left( \frac{R}{M} \right) + o\left( \frac{1}{M} \right) . \end{aligned}$$

So, we obtain

$$\begin{aligned} {\mathbb {E}}\left\{ K\left( r^N(2,3)(\mathbf{x})\right) \right\}= & {} \sum _{R=0}^{M} K\left( \frac{R}{M} \right) {M \atopwithdelims ()R} \, p^{R} \, (1-p)^{M-R} \\&+\,\frac{2}{M}\sum _{R=0}^{M}\left( 1-\frac{R}{M} \right) K'\left( \frac{R}{M} \right) {M \atopwithdelims ()R} \, p^{R} \, (1-p)^{M-R}+ o\left( 1 \right) . \end{aligned}$$

Using Bernstein’s approximation, Proposition 3, to K and to \(p \mapsto (1-p)K'(p)\) we obtain

$$\begin{aligned} {\mathbb {E}}\left\{ K\left( r^N(2,3)(\mathbf{x})\right) \right\}&=K(p)+ \frac{p(1-p)}{2M}K''(p) +\frac{2(1-p)}{M}K'(p)+ o\left( 1 \right) \nonumber \\&=K(p)+\frac{2(1-p)}{N}K'(p) + \frac{p(1-p)}{2N}K''(p)+ o\left( 1\right) . \end{aligned}$$
(6)

\(\bullet \) Second case: if \(x_1 \notin B(x_2,|x_2-x_3|)\) – In this case,

$$\begin{aligned} r^N(2,3)=\frac{ \# \left\{ j \in \{4 \ldots , N\} \, : \, x_j \in B(x_2,|x_2-x_3|) \right\} +1 }{N-1}. \end{aligned}$$

Following the same step as before we compute, with \(p=M_{\rho ^{(1)}_N} (x_2, |x_2-x_3|)\)

$$\begin{aligned} {\mathbb {E}}\left\{ K\left( r^N(2,3)(\mathbf{x})\right) \right\} = \sum _{R=1}^{N-2} K\left( \frac{R}{N-1} \right) {N-3 \atopwithdelims ()R-1} \, p^{R-1} \, (1-p)^{N-3-(R-1)}, \end{aligned}$$

which we rewrite

$$\begin{aligned} {\mathbb {E}}\left\{ \left( r^N(2,3)(\mathbf{x})\right) \right\} =\sum _{R=0}^{M} K\left( \frac{R+1}{M+2} \right) {M \atopwithdelims ()R} \, p^{R} \, (1-p)^{M-R}, \end{aligned}$$

with \(M=N-3\). By expanding K, we have

$$\begin{aligned} K\left( \frac{R+1}{M+2} \right) =K\left( \frac{R}{M} \right) +\frac{1}{M}\left( 1-\frac{2R}{M} \right) K'\left( \frac{R}{M} \right) + o\left( \frac{1}{M} \right) . \end{aligned}$$

So, we have

$$\begin{aligned} {\mathbb {E}}\left\{ \left( r^N(2,3)(\mathbf{x})\right) \right\}&=\sum _{R=0}^{M} K\left( \frac{R}{M} \right) {M \atopwithdelims ()R} \, p^{R} \, (1-p)^{M-R} \\&\quad +\frac{1}{M}\sum _{R=0}^{M}\left( 1-\frac{2R}{M} \right) K'\left( \frac{R}{M} \right) {M \atopwithdelims ()R} \, p^{R} \, (1-p)^{M-R}+ o\left( 1\right) . \end{aligned}$$

Using Bernstein’s approximation (see Proposition 3), we obtain

$$\begin{aligned} {\mathbb {E}}\left\{ \left( r^N(2,3)(\mathbf{x})\right) \right\}&=K(p)+ \frac{p(1-p)}{2M}K''(p)+\frac{1-2p}{M}K'(p)+ o\left( 1 \right) \nonumber \\&=K(p)+\frac{2(1-p)}{N}K'(p)- \frac{K'(p)}{N}+\frac{p(1-p)}{2N}K''(p)+o\left( 1\right) . \end{aligned}$$
(7)

\(\bullet \) We obtain the result stated in Lemma 3 by noticing that Expression (7) is equal to the sum of Expression (6) and an extra term \(-K'(p)/N\).

Lemma 4

(Evaluation of \(S^N(K)\times (C^N)/(N-2)\) ) Under the assumptions of Theorem 1, we have

$$\begin{aligned} \frac{S^N(K)}{N-2}\times (C^N)= & {} \left( 1+\frac{1}{N}+\frac{K(1)-K(0)}{2N} \right) \int \phi (Z_1) \, f^{(1)}_N (Z_1)\;\mathrm{d}Z_1\\&- \frac{1}{N}\int \phi (Z_1) \, f^{(1)}_N (Z_1)\,\rho _N^{(1)}(x_2)\,K\left( M_{\rho _N^{(1)}}(x_2,|x_2-x_3|\right) \;\mathrm{d}x_2 \;\mathrm{d}Z_1 \!+\!o(1). \end{aligned}$$

Proof

Using Lemma 3 and separating the cases \(x_1 \in B(x_2,|x_2-x_3|)\) and \(x_1 \not \in B(x_2,|x_2-x_3|)\), we can write

$$\begin{aligned} \frac{S^N(K)}{N-2}\times \big (C^N \big ) = (1)+(2)+ o\left( 1\right) , \end{aligned}$$

where, writing p for \(p_{23}\), i.e. \(p=M_{\rho ^{(1)}_N} (x_2, |x_2-x_3|)\), we have:

$$\begin{aligned} (1)= & {} \frac{1}{N}\int _{x_1 \in B(x_2,|x_2-x_3|)} \qquad \phi (Z_1) \, f^{(1)}_N (Z_1) K'(p)\,\rho _N^{(1)}(x_2)\,\rho _N^{(1)}(x_3)\;\mathrm{d}x_2 \;\mathrm{d}x_3 \;\mathrm{d}Z_1 \\&+\,o\left( \frac{1}{N} \right) , \end{aligned}$$

and

$$\begin{aligned} (2)= & {} \int \phi (Z_1) \, f^{(1)}_{N} (Z_1) \left( K(p)+\frac{1-2p}{N}K'(p)+\frac{p(1-p)}{2N}K''(p)\right) \\&\times \,\rho _N^{(1)}(x_2)\,\rho _N^{(1)}(x_3)\;\mathrm{d}x_2 \;\mathrm{d}x_3 \;\mathrm{d}Z_1 + o\left( \frac{1}{N} \right) . \end{aligned}$$

\(\bullet \) For the term (1), we first notice that \(x_1 \in B(x_2,|x_2-x_3|)\) is equivalent to saying that \(x_3 \notin B(x_2,|x_1-x_2|)\) so that, for \(p=M_{\rho ^{(1)}_N} (x_2, |x_2-x_3|)\),

$$\begin{aligned} (1)= & {} \frac{1}{N}\int _{x_3 \notin B(x_2,|x_1-x_2|)} \phi (Z_1) \, f^{(1)}_N (Z_1) K'(p)\,\rho _N^{(1)}(x_2)\,\rho _N^{(1)}(x_3)\;\mathrm{d}x_2 \;\mathrm{d}x_3 \;\mathrm{d}Z_1 \\&+\,o\left( \frac{1}{N} \right) \;. \end{aligned}$$

By the change of variable stated in Lemma 5 and applied to \(H=K'\), \(\rho =\rho _N^{(1)}\), \(x=x_2\), and \(r= |x_1-x_2|\) we have

$$\begin{aligned}&\int _{x_3 \notin B(x_2,|x_1-x_2|)} K'\left( M_{\rho ^{(1)}_N} (x_2, |x_2-x_3|)\right) \rho _N^{(1)}(x_3)\;\mathrm{d}x_3 \\&\quad =K(1)-K\left( M_{\rho _N^{(1)}}(x_2,|x_1-x_2|\right) \;. \end{aligned}$$

Inserting this in (1) we obtain

$$\begin{aligned} N\times (1)= & {} K(1)\int \phi (Z_1) \, f^{(1)}_N (Z_1)\;\mathrm{d}Z_1 \int \rho _N^{(1)}(x_2) \;\mathrm{d}x_2 \nonumber \\&- \int \phi (Z_1) \, f^{(1)}_N (Z_1)\,\rho _N^{(1)}(x_2)\,K\left( M_{\rho _N^{(1)}}(x_2,|x_1-x_2|\right) \;\mathrm{d}x_2 \;\mathrm{d}Z_1 + o(1) \nonumber \\= & {} K(1)\int \phi (Z_1) \, f^{(1)}_N (Z_1)\;\mathrm{d}Z_1 \nonumber \\&- \int \phi (Z_1) \, f^{(1)}_N (Z_1)\,\rho _N^{(1)}(x_2)\,K\left( M_{\rho _N^{(1)}}(x_2,|x_1-x_2|\right) \;\mathrm{d}x_2 \;\mathrm{d}Z_1 \!+\! o(1). \end{aligned}$$
(8)

\(\bullet \) Using again the change of variable result of Lemma 5 together with integration by parts, we compute:

$$\begin{aligned}&\int \Big (K(p)+ \frac{1-2p}{N}K'(p)+\frac{p(1-p)}{2N}K''(p)\Big ) \rho _N^{(1)}(x_3)\;\mathrm{d}x_3 \\&\qquad =\int _0^1 \big ( K(\tilde{p})+\frac{1-2\tilde{p}}{N}K'(\tilde{p})+\frac{\tilde{p}(1-\tilde{p})}{2N}K''(\tilde{p})\big ) \, d\tilde{p}\\&\qquad = 1+\frac{1}{N}-\frac{K(0)+K(1)}{2N}, \end{aligned}$$

where \(p=M_{\rho ^{(1)}_N} (x_2, |x_2-x_3|)\). From this and Lemma 3, we deduce:

$$\begin{aligned} (2) = \left( 1+\frac{1}{N}-\frac{K(0)+K(1)}{2N}\right) \int \phi (Z_1) \, f^{(1)}_N (Z_1) \;\mathrm{d}Z_1 + o \left( \frac{1}{N} \right) . \end{aligned}$$
(9)

\(\bullet \) Combining the two terms (8) and (9), we obtain the result stated in Lemma 4.

We are now ready to prove Proposition 5

Proof of Proposition 5

The proof is divided in two main steps.

\(\bullet \) We first have

$$\begin{aligned} S^N(K)&=\frac{1}{N-1} \sum _{k=1}^{N-1}K \left( \frac{k}{N-1}\right) \\&= \frac{K(1)-K(0)}{2(N-1)} + \frac{1}{N-1} \left( \frac{K(0)+K(1)}{2}+\sum _{k=1}^{N-2}K \left( \frac{k}{N-1}\right) \right) \;. \end{aligned}$$

In the second term of this expression, we recognise the approximation of \(\int _0^1K(s)\;\mathrm{d}s\) by the trapezoidal rule. As the trapezoidal rule is second order, it leads to

$$\begin{aligned} S^N(K)&= \frac{K(1)-K(0)}{2(N-1)} + \int _0^1K(s)\;\mathrm{d}s +o\left( \frac{1}{N}\right) \\&= \frac{K(1)-K(0)}{2N} + 1 +o\left( \frac{1}{N}\right) \;. \end{aligned}$$

As a consequence

$$\begin{aligned} \frac{N-2}{S^N(K)}&=N \frac{1-2/N}{1+(K(1)-K(0))/2N + o(1/N)} \nonumber \\&=N-\frac{K(1)-K(0)}{2} -2+o(1)\;. \end{aligned}$$
(10)

\(\bullet \) Now collecting the estimate of Corollary 4 and (10) we obtain

$$\begin{aligned} (C^N)=&\frac{N-2}{S^N(K)} \left[ (1)+(2)\right] \\ =&\left( N- \frac{K(1)-K(0)}{2} -2\right) \int \phi (Z_1) \, f^{(1)}_N (Z_1)\;\mathrm{d}Z_1 \\&+ \left( 1+\frac{K(1)-K(0)}{2} \right) \int \phi (Z_1) \, f^{(1)}_N (Z_1)\;\mathrm{d}Z_1 \\&- \int \phi (Z_1) \, f^{(1)}_N (Z_1)\,\rho _N^{(1)}(x_2)\,K\left( M_{\rho _N^{(1)}}(x_2,|x_1-x_2|\right) \;\mathrm{d}x_2 \;\mathrm{d}Z_1 + o\left( 1\right) \;. \end{aligned}$$

And as

$$\begin{aligned} (D^N)=-N\int \phi (Z_1) \, f^{(1)}_N (Z_1)\;\mathrm{d}Z_1 , \end{aligned}$$

we obtain the statement of Proposition 5. \(\square \)

4.3 Proof of Theorem 1

We have to pass to the limit in (4). By Propositions 4 and 5 we have

$$\begin{aligned}&\partial _t \int f^{(1)}_N(Z_1)\,\phi (Z_1) \;\mathrm{d}Z_1 - \sum _{i=1}^N \int f^{(1)}_N(\mathbf{Z})\, (v_i \cdot \nabla _{x_i})\,\phi (\mathbf{Z})\;\mathrm{d}\mathbf{Z}\\&\quad =\left( \frac{1}{S^N(K)} -1 \right) \!\int \! \phi (Z_1) \, f^{(1)}_N (Z_1) \, K\left( M_{\rho ^{(1)}_N} (x_2, |x_1\!-\!x_2|)\right) \rho ^{(1)}_N (x_2) \;\mathrm{d}Z_1 \;\mathrm{d}x_2\\&\quad \quad +\frac{1}{S^N(K)}\int \phi (x_1,v_2) \, \rho ^{(1)}_N (Z_1) \, f^{(1)}_N (Z_2) \, K\left( M_{\rho ^{(1)}_N} (x_1, |x_1\!-\!x_2|)\right) \;\mathrm{d}x_1 \;\mathrm{d}Z_2 \\&\quad \quad -\int \phi (Z_1) \, f^{(1)}_N (Z_1)\;\mathrm{d}Z_1 +o(1) . \end{aligned}$$

As N goes to \(\infty \), the second line goes to 0 since \(S^N(K) \) is the Riemann sum approximation of \(\int _0^1 K(r) \;\mathrm{d}r= 1\). The convergence in the other terms is formally obvious and leads to the stated result.

5 Discussion

5.1 Large-Time Behaviour

Consider a function homogeneous in space \((t,x,v) \mapsto G(t,v)\). Since \(\int K=1\), by Lemma 5, we get

$$\begin{aligned} \frac{\partial G}{\partial t}(v)=-v\cdot \nabla _x G(v)+G(v)\int K\left( M_\rho (x,|x'-x|)\right) \;\mathrm{d}x' - G(v)=0\;. \end{aligned}$$

Hence any function homogeneous in space \((t,x,v) \mapsto G(t,v)\) is a stationary solution. Moreover, on a periodic spatial domain, we can expect that any solution converges at large-times toward a function of this type. The proof of such a claim is left to future work.

5.2 Discrete Versus Continuous Approach

We can wonder if the large-time and large number of particles limits permute. It does not seem the case. Indeed, the number of distinct velocities decreases when there is a finite number of particles while, as discussed in the previous section, the distribution of velocities remains constant in time in the case of a continuum of particles.

In the case of a finite number of particles the consensus in the direction the particles adopt is longer and longer to obtain, see Figs. 12 and 3.

Fig. 1
figure 1

Trajectories of the particles on the left, variance and number of different speed as functions of time in the case of 10 particles taken randomly in \([-10,10]\) for the position and for the speed

Fig. 2
figure 2

Trajectories of the particles on the left, variance and number of different speed as functions of time in the case of 20 particles taken randomly in \([-10,10]\) for the position and for the speed

Fig. 3
figure 3

Trajectories of the particles on the left, variance and number of different speed as functions of time in the case of 70 particles taken randomly in \([-10,10]\) for the position and for the speed

6 Conclusion

In this paper, we have investigated a system of particles interacting through leader following interactions where the choice of the leader is determined by a topological rule. Under a propagation of chaos assumption, we have shown that the large system size limit is described by a spatially nonlocal kinetic model of Boltzmann type. This result heavily relies on approximation properties of Bernstein polynomials. Obviously, the very simple leader following model considered in this paper offers many directions of complexification leading to biologically or socially more realistic rules. An example could be the introduction of some noise, e.g. the velocity after the interaction would be randomly selected according to a probability law centred around the leader velocity. One could also think of the two particles joining their average velocity up to some noise, in the spirit of [2]. Finally, binary interactions with the closest neighbour could also be investigated.