Stability of Linear Flocks on a Ring Road
Abstract.
We discuss some stability problems when each agent of a linear flock in interacts with its two nearest neighbors (one on either side).
Key words and phrases:
Dynamics of flocks; Stability2000 Mathematics Subject Classification:
34D05; 93B52; 92D50JJPV enjoyed the gracious hospitality of the Univeristy of Coimbra while part of this work was done.
1. Introduction
A flock consists of a large number of moving physical objects, called agents, with their positions being controlled in such a way that they move along a prescribed path, in a prescribed and fixed configuration (or in formation). Each agent knows the position and velocity of only a few other agents, and this flux of information defines a communication graph.
In [5] graph theory and linear systems techniques are combined to provide a framework for studying the control of formations. The main tools of graph theory that are related to the problem are the directed graph Laplacians and the connectedness of the graph. Linear feedback is then used to stabilize the patterns.
More recently [6] studied a system of coupled linear differential equations describing the movement of cars in , where each car reacts only to its immediate neighbors, and only the movement of the first agent (the leader) is independent from the rest of the group. In the paper it was proved that When equal attention is paid to both neighbors perturbations in the orbit of the leader grow as they propagate through the flock. In fact, perturbations grow proportional to size of the flock: when the leader’s perturbation has amplitude 1, then the perturbation in the orbit of the agent furthest away from the leader will be proportional to (the size of the flock).
The aim of this paper is first of all to study the (asymptotic) stability of a family of such systems. This is answered in detail in Theorems 3.2 and 3.3. Next we assume the flock has a leader that chooses its orbit independently of the other members of the flock. We then analyze how exactly the system converges to a stable flight pattern if the leader changes its orbit. This question only makes sense when the system is already asymptotically stable, which is therefore assumed henceforth. The latter question is important in applications as too great fluctuations in the course of convergence to a coherent flight pattern will make that flock unviable.
In all of these arguments we closely follow the reasoning set forth in previous works [7, 8, 9]. However there are two important differences. The first is that the farthest member of the flock (in this work) is coupled to the leader. In the language of partial differential equations, this is akin to changing a boundary condition. The reason is twofold. Changing the boundary condition can greatly aid the mathematics, and therefore help to gain insight. The second reason is a deeper one: we do not know how these boundary condition influence the stability of these systems, and thus this note can be viewed a test case (when compared with the papers just cited). The other difference with the previous papers is that we here allow the weight of the coupling with neighbors to be negative. While at first glance this seems a little odd, there is a good reason to do so, if one hopes to study systems with more than nearest neighbor coupling. Suppose for example that one models local interaction as a discretization of a fourth derivative, a very natural idea. However the couplings to the first and second nearest neighbors will now have different signs. This goes against the grain of what one knows about Laplacian systems in general, where in general all couplings must have the same sign (see [1]). In this case we managed to overcome that problem and analyze stability also when the signs of the (nearest neighbor) interactions are different. (By necessity they must add up to 1.)
The outline of this paper is as follows. In the next section we start by specifying the model. Next we discuss the asymptotic stability of the model. Following [8] we introduce two other types of stability for flocks. These describe the effect of perturbations in the leaders motion on the outlying members of the flocks. A flock with agents is harmonically stable if the effect of a harmonic motion of the leader on the outlying members grows less than exponentially fast in (everything else held fixed). A flock is said to be impulse stable if the effect of the leader being kicked is less than exponential on the outlying members. Thus is section 4, we discuss harmonic stability of the model. The problem of impulse stability is still unsolved. We present a few comments on that problem in section 5. (The appendix contains technical results and is included for completeness.)
2. The model
We begin this section establishing the model of this work. The agents move in along orbits , , with velocities . When they are moving in the desired formation their velocities are equal and their relative positions are determined by a priori given constants :
(2.1) |
We write the equation of motion for this model in terms of
(2.2) |
These then have the following form:
(2.3) |
for all , and
(2.4) |
a priori given. We will assume the feedback parameters , are negative reals and the weight is a arbitrary real number.
It is intuitively convenient, though not necessary, to keep a particular realization of the above system in mind. Identify with , so that the agents move on a (topological) circle. Suppose further that the offsets are given by . Now the desired configuration is that of agents moving at constant speed and uniformly distributed along a circle. (This explains our title.)
Our strategy here is primarily studying qualitative aspects of the solution of (2.3)-(2.4) as we let tend to infinity while keeping all other parameters (, , and ) fixed. In particular we wish to understand (1) when the system is asymptotically stable and (2) how does it converge to its equilibrium when it is asymptotically stable. This stable equilibrium is given by the two parameter family of orbits:
and
These orbits are called in formation orbits (for a more detailed discussion, cf. [6, 7, 8, 9]).
It is advantageous to write (2.3)-(2.4) in a more compact form:
The system can now be recast as a first order ordinary differential equation:
(2.5) |
The matrix and the vector are defined below.
Setting
(2.6) |
the matrix defined by
(2.7) |
where is the -dimensional identity matrix, is called the reduced graph Laplacian. It describes the flow of information among the agents, with the exception of the leader (hence the word ‘reduced’).
The orbit of the leader is assumed to be beforehand given and therefore only appears in the forcing term . We will refer to this agent as an independent leader. Analyzing (2.3)-(2.4) and assuming without loss of generality that , one gathers that:
(2.8) |
In order to define matrix of (2.5) in terms of these quantities, we use the Kronecker product, ,
where and the matrices:
The advantage of this somewhat roundabout way of defining the matrix is that in the eigenvalues of the reduced Laplacian can be given explicitly. From that the eigenvalues of can then be derived.
3. Asymptotic Stability
The system defined in (2.3)-(2.4) is called asymptotically stable if all eigenvalues of have negative real part. Assuming the , for , the solution of the system tends to exponentially fast (in ) if and only if the system is asymptotically stable. This corresponds to the classical notion of asymptotic stability.
The study of the eigenvalues of the matrix defined in (2.6) constitutes a special case of results given in [2, 3]. They are given by:
for all real . These eigenvalues are all real if and only if and imaginary otherwise, and the locus of the set of eigenvalues is invariant under multiplication by . We have:
Proposition 3.1.
The reduced Laplacian has eigenvalues , for , for all real values of .
One can show that the eigenvalues of are the solutions of the equation
(3.1) |
where runs through the spectrum of (cf. [4, 5, 6, 7]). So we have:
Theorem 3.2.
-
(1)
The eigenvalues of are
where runs through the spectrum of .
-
(2)
For , all real numbers are contained in the interval , and the system is asymptotically stable if and only if both and are strictly smaller than zero.
These expressions are the same as the corresponding ones for a slghtly differnt one dimensional flock given in [8]. There it was assumed that . We extend that research by looking at real values of outside the interval . This may at first seem obscure. Here however is the motivation. Suppose for a moment that one allows each agent to interact with two neighbors on either side, then one could be tempted to model this interaction as a discretization of a fourth derivative in the spatial variable. In that case some of the weights of the interaction would have negative values.
Theorem 3.3.
Proof.
When is negative, the eigenvalues of satisfy , where assumes the values . In particular, for an sufficiently large, the ’s will distribute themselves smoothly in the interval
(3.2) |
We need to prove that eigenvalues of (provided by (3.1)) have negative real part. We first look at eigenvalues that correspond to approaching to . By continuity we may set . We get
These roots are real and have opposite signs if is positive and have the same sign as if is negative. This proves that for small enough the corresponding eigenvalues of have negative real part if and only if and are negative.

It remains to check for what values of the real part of or can become greater than or equal to (cf. Figure 3.1). To that end we set , with real. The real and imaginary part of the equation (3.1) now become (abbreviating to ):
The first equation defines a hyperbola in the plane, and the second equation a line through the origin. Real solutions for and exist if and only if and are given by
Such solutions exist for some smaller than (see interval (3.2)) if and only if in addition
4. Harmonic Stability
The system is harmonically unstable roughly if oscillatory or harmonic perturbations in the orbit of the leader (that is: of the form ) have their amplitude magnified by a factor that is exponentially large in (cf. [8]).
We first need some notation. It will often be convenient to replace by a different constant:
or, equivalently,
We also define (for ):
(4.1) |
where
Proposition 4.1.
Proof.
All eigenvalues of have negative real part. Let be given by . Under these assumptions, the motion of the system is asymptotic (as ) to . This leads to a recursive equation on , for ,
The boundary conditions are given by:
Let be the roots of the associated characteristic polynomial
The general solution is
A convenient way to solve for is by setting and . The boundary conditions can be rewritten as
or, equivalently,
Substituting this into and using the fact that the product of the equals , we get the result. ∎
We will assume here without further proof that fluctuations of the leader that are propagated through the system are largest for the agents furthest away from the leader, i.e. halfway in the flock. For simplicity we only consider in this section the response of the agent where is odd (and large).
Corollary 4.2.
Recall that by Theorems 3.2 and 3.3 the system is asymptotically stable if and only if and and negative or else and both of the following hold:
-
•
and are negative, and
-
•
or else .
Recall from the proof of Theorem 4.1 that if equals then is asymptotic to . Thus the amplification at the -th agent of the leader’s signal is given . We need to determine whether is exponential in (instability) or less than exponential (stability). We may assume . So let
Following [8], we call a system harmonically stable if it is asymptotically stable and if
Theorem 4.3.
The system given by the equation (2.5) is harmonically stable if and only if and and are negative.

Proof.
We concentrate first on the case. Here we have:
Geometrically what happens is that the system exhibits near-resonance. More precisely, the curves are (quadratically) tangent to the unit circle at (see Figure 4.1). Of course when the denominator cancels and is undefined. The quadratic tangency means that (for large) the curves pass the points on the unit circle at a distance proportional to . In turn this means that
grows linearly in and is thus harmonically stable.
Analytically this can be worked out precisely by doing a pole expansion on . A very similar calculation was done in detail in [7] and we will not repeat that calculation here. The only differences with that calculation are: here we are calculating and not , and here our eigenvalues are slightly different from those in the cited paper.
Now we turn to the other cases: . We first argue that the cases and are symmetric. In particular if we use a new value instead of , then in the expression for , and are all replaced by their reciprocals as can be seen by inspecting the polynomial in the proof of Proposition 4.1. A little calculation shows that is invariant under this operation. It is thus sufficient to consider only .
Proposition 6.3 tells us that for all there is no resonance or near resonance as the two have distinct modulus. Lemma 6.4 implies that, for less than some given there, is bigger than 1. Since in this case and , we have for :
and thus the expression in the above Corollary grows exponentially in . Therefore all these systems are harmonically unstable. ∎
5. An open problem
Suppose now that the flock is in a stable equilibrium (i.e. moves stably in formation) when the leader suddenly and quickly changes its velocity. Roughly speaking we call the system impulse stable when the physical response of the other agents (i.e., the acceleration, or the velocity, or the position) is less than exponential in . As observed in the proof of Theorem 4.3, the case is extremely similar to the problem studied in [7], and the solution is in fact similar to the one given in that case. The calculations there indicate responses that are ‘proportional’ to . Thus may we conclude that here also:
Proposition 5.1.
The system given in the equation (2.5) is impulse stable when it is asymptotically stable and when .
The cases lead to problems similar to the one that remained unsolved in [9]. It seems very likely at this point that most of these cases are impulse unstable, though this is by no means obvious or known. More specifically, as we vary , and , we do not even qualitatively understand the large behavior of the motion of these flocks. This question is relevant because velocity changes of the leader are a natural context in which stability plays an important role for the cohesion of the flock. We might think for example of a lead car accelerating when a traffic light turns green or a large flock of animals changing course because outlying members spotted and try evade a predator.
The mathematical problem boils down to an inverse Fourier transform of where is large. Current standard integration techniques do not readily give asymptotic (in ) expressions for such integrals. We do not address this challenging question any further here, leaving it as an open problem for future research.
6. APPENDIX: Technical Results
In this section we gather some technical results which we exhibited partially before in [8]. The results there were proved only for . Some of the calculations extend verbatim (or almost) to all . The proof of the main result, Proposition 6.3, had to be modified substantially however.
Lemma 6.1.
Let be sufficiently small.
-
(1)
For , we have:
and
-
(2)
For , we have
and
Proof.
By sheer calculation. (See [6] for some of the computational details.) ∎
Remark 6.1.
This expansion diverges for ; in that case we have (cf. [6]):
Lemma 6.2.
The complicated looking conditions in the following proposition are nothing but the conditions that insure asymptotic stability (see Theorems 3.2 and 3.3).
Proposition 6.3.
Let and and negative or let and suppose that both of the following hold:
- i:
-
and are negative, and
- ii:
-
or else .
Then, defined by
exists and is contained in interval with only two exceptions:
-
•
when , equals at and is is strictly smaller than for , or
-
•
when , is strictly smaller than , if , and , if .

Proof.
It is clear from remark 6.1 that when the two eigenvalues are equal to , when , and so at that point the quotient equals . The arguments below establish that the quotient is always smaller than , for all positive values of . As far as the second exception is concerned: We will show that the equality of and occurs at some . The arguments below, however, insure that for smaller (non-negative) values of , the modulus of the quotient of the eigenvalues is strictly smaller than .
From its definition, when is large. Substitute this into the expression for in equation (4.1) to see that for a large enough , in fact, becomes very small. In the following, note that if and only if and if and only if (see Figure 6.1). So when , Lemma 6.1 implies that equals , for all .
It is now sufficient to prove that, for , the absolute values are never equal. So suppose there are and such that . The definition of in equation (4.1) provides:
Dividing this by , squaring the equation, and noting that
we get
If , then is a positive real number and therefore is real for some , which is impossible by Lemma 6.2. If , then is a negative real number so that is imaginary. Setting the real part of equal to in Lemma 6.2 yields . If is non-negative, this has no solution (because is real). So suppose it is positive. Then substitute the positive solution into and check that . Substituting this in turn into (4.1), we see that the modulus of is greater than that of (here means the root in the upper half plane) as long as . When , we have . ∎


Lemma 6.4.
For each , there is a unique such that
and
Proof.
We know that and, from the proof of the previous lemma, for a large , is small. It is sufficient to prove that is the unique solution in of and that it is simple.
In fact, consider the characteristic equation and suppose that there is a root . Then
Equating this to the expression given in Lemma 6.2 and using the Pythagorean trigonometric identity, we to obtain:
This equation factors as follows:
The second factor is a quadratic expression in which has a positive leading coefficient and a negative trailing coefficient. This gives exactly one simple positive root for , yielding a unique simple positive root . ∎
Remark 6.2.
In fact,
References
- [1] John S. Caughman, J. J. P. Veerman, Kernels of Directed Graph Laplacians, Electr. J. Comb. 13, No 1, R39, 2006.
- [2] C.M. da Fonseca, Interlacing properties for Hermitian matrices whose graph is a given tree, SIAM J. Matrix Anal. Appl. 27 (2005), no. 1, 130-141.
- [3] C.M. da Fonseca, On the location of the eigenvalues of Jacobi matrices, Appl. Math. Lett. 19 (2006), no. 11, 1168-1174.
- [4] C.M. da Fonseca, J.J.P. Veerman, On the spectra of certain directed paths, Appl. Math. Lett. 22 (2009), no. 9, 1351-1355.
- [5] J.J.P. Veerman, J.S. Caughman, G. Lafferriere, A. Williams, Flocks and formations, J. Stat. Phys. 121 (2005), Vol. 5-6, 901-936.
- [6] J.J.P. Veerman, B.D. Stošić, A. Olvera, Spatial instabilities and size limitations of flocks, Netw. Heterog. Media 2 (4) (2007), 647-660.
- [7] J.J.P. Veerman, B.D. Stošić, F.M. Tangerman, Automated traffic and the finite size resonance, submitted.
- [8] J.J.P. Veerman, Stability of large flocks: an example, submitted.
- [9] J.J.P. Veerman, F.M. Tangerman, Impulse stability of large flocks: an example, submitted.