The Google matrix controls the stability of structured ecological and biological networks


May’s celebrated theoretical work of the 70’s contradicted the established paradigm by demonstrating that complexity leads to instability in biological systems. Here May’s random-matrix modelling approach is generalized to realistic large-scale webs of species interactions, be they structured by networks of competition, mutualism or both. Simple relationships are found to govern these otherwise intractable models, and control the parameter ranges for which biological systems are stable and feasible. Our analysis of model and real empirical networks is only achievable on introducing a simplifying Google-matrix reduction scheme, which in the process, yields a practical ecological eigenvalue stability index. These results provide an insight into how network topology, especially connectance, influences species stable coexistence. Constraints controlling feasibility (positive equilibrium populations) in these systems are found more restrictive than those controlling stability, helping explain the enigma of why many classes of feasible ecological models are nearly always stable.


Some of the outstanding unsolved challenges in theoretical biology concern the puzzling relationships between the feasibility, stability and complexity of biological systems1,2,3,4,5,6,7,8,9,10,11,12,13,14. Robert May’s seminal paper1 from the 70’s, drew on the emergent patterns of ensembles of large random matrices to demonstrate that more complex and highly interconnected ecosystems are less likely to be stable, (that is, in terms of returning to equilibrium after disturbance). The approach has been applied widely in many other disciplines, ranging from systems biology, neurosciences, social network theory, to economics and banking systems15,16. May’s analysis has been broadened in recent years as methods for analysing random matrices have advanced2,3,4. In addition to stability, any credible ecological model must maintain the basic constraint of feasibility, that all species present must have positive population abundances at equilibrium5,6. However, for systems of only minimal complexity, the study of feasibility becomes mathematically intractable. Fortunately, progress over the last decade in network science has made exciting new approaches available. From this viewpoint, Rohr, Saavedra and Bascompte (RSB) in ref. 6 introduced a framework which characterizes the range of parameters possible to simultaneously conserve feasibility and stability in large complex networks.

Here we propose a completely new direction based on a powerful reduction approach for studying complex systems having large-scale interaction architectures. Mutualistic pollination networks, for example, have blocks of competitive and mutualistic interactions6,7, which often drown out the presence of other subtle underlying factors that might matter more, and can result in complex stability transitions. A basic understanding of these systems is still lacking6,7. By peeling away community-wide background interactions, simpler conditions for feasibility and stability can be derived. We make use of the same basic mechanism that sits at the heart of Brin and Page’s17 ‘Google matrix’ which ranks web pages, as it sifts through billions of hyperlinks across the entire world-wide-web17,18. The method provides a new way of working with time-honoured ecological interaction matrices. From this perspective, the Google matrix was made use of in Mathematical Biology (Stone19 (1988)), some 10 years before it was invented by Google (Supplementary Note 4).


Competition model

The Lotka–Volterra (LV) equations of interspecific competition have been a source of tremendous inspiration for ecologists. The equations, for n-competing species, read5,13,14,19,20,21,22:

Here Ni is the abundance of the i’th species, while the positive parameter ri>0 defines its birth-rate. Central to our work is the interaction matrix A=(aij). The competition coefficient aij>0 measures the negative impact species-j has directly on species-i. Intraspecific competition coefficients for individuals within a species are scaled to unity aii=1, as are the carrying capacities of all species. These commonly adopted scalings have a long historical justification1,5,13,14,19,20,21,22, but may also be relaxed (Supplementary Note 1K).

In the naive ‘uniform competition model’ each species competes with every other with equal strength aij=c, (0<c<1). To incorporate the vagaries of the real world, the limited uniform model may be ‘brought to life’ by incorporating stochasticity that acts to structurally disturb interaction parameters14,19,20,21,22,23. A large ensemble of competitive communities may be specified all of which on the average, resemble the uniform model:

with mean interaction strength <aij>=c. The structural disturbance matrix B=(bij) has elements of mean zero, uniformly distributed in the interval [−cv, +cv] with ‘spread’ v (0≤v≤1), and variance Var(bij)=σ2. In this model, environmental fluctuations make the interaction strengths vary about the mean strength of competition. Thus two communities may both have the same average strength of competition c, but the one undergoing stronger perturbations will show a greater variation in its interaction coefficients. Hence the stochastic model associates increasing disturbance with an increase in σ2. We will find it convenient to represent the level of disturbance in the whole community by γ, where:

The ensemble contains the totality of possible interaction matrices. Each matrix is associated with its own equilibrium vector of population abundances. The subset of feasible solutions of (1), all have positive equilibria, with >0 for each species-i (‘*’ indicating equilibrium). The feasible subset represents all possible candidates for survival as a persistent system.

For competition communities, the ecological interaction matrix A may be decomposed into three components: a background network of uniform all-to-all competitive interactions C (cij=c), a matrix of perturbations B=(bij) and the self-regulatory interactions via the diagonal identity matrix (1−c) I. Then A=(1c)I+B+C, or in full:

The first matrix on the Right Hand (RH) side is May’s matrix of fluctuations AM=(1c)I+B, while the second is the rank-one matrix C.

Stability of competition model

Under what conditions are feasible model competition systems stable? Recall that local stability guarantees that an ecosystem will return to equilibrium after a ‘small’ population perturbation, while global stability ensures return to equilibrium for any sized population perturbation1,24. Theoretical ecologists study matrix eigenvalues (λi) of the stability matrix S=DA to determine local stability [where diagonal matrix D =diag()]. It is important to emphasize that for the models studied here, for feasible systems (D>0), the matrix S is locally stable if all the eigenvalues of the matrix AM have positive real parts (Methods section).

A major achievement of May1 was to characterize the stability properties of the random matrix of fluctuations AM=(1−c)I+B when competition is absent (C=0). This reflects the stability of all those systems close to equilibrium in which interactions are equally likely to be positive or negative. May1 demonstrated that a typical random community will be locally stable if the interaction disturbances are ‘not too large,’ namely:

and unstable otherwise (Fig.1a). The larger the number of species n, the sharper the transition from stability to instability at γ=1 (Fig. 1a). However, the analysis does not give direct information about the stability of structured communities, such as communities of competition. Nevertheless, the matrix AM will be shown to form the backbone of more complex ecological network models.

Figure 1: Local stability and feasibility.

(a) Percentage of locally stable ‘May matrices’ AM as a function of disturbance γ in an ensemble of 500 matrices for different community sizes n=10, 20, 50 and 100. May’s stability threshold sits at γ=1. (b). The probability of feasibility, Pr (feasible), as a function of disturbance γ, for n-species competition with different community sizes n=1, 8, 14, 20 and 100. Each probability marked by a square, circle and so on is the proportion of feasible systems in 500 runs of equation (1). Analytical prediction from Supplementary Note 1C displayed as continuous curves.

We begin by arguing that stability criterion (5) for the May matrix AM proves to be the exact same stability condition for feasible LV-competition systems but for any c (0<c<1), in equation (1). To understand this, compare the matrices:

In fact A is just AM, but perturbed by the uniform competition matrix C. Quite remarkably, we show that the stability matrices associated with these two matrices are Google matrices (Methods section) and therefore have all eigenvalues, except for one, exactly the same (Fig. 2b; Supplementary Note 1F). The end result is that matrix C, with all its many interactions, has little relevance for determining stability, which can be deduced solely from analysis of the reduced matrix AM (Supplementary Note 1E). The result, which is not trivial, has gone unnoticed previously, but it is robust and holds almost exactly when the scaling of model (1) is relaxed (Supplementary Note 1K). The same underlying concept was taken advantage of in a different context to calculate PageRank via the Google matrix, in a way that takes into account the massive number of links across the entire world-wide-web17 (Methods section). Putting this all together, we have found:

Figure 2: Competition model.

(a) Competition model. Characteristics of communities having n=20 species, competition c=0.3, as a function of disturbance γ. Percentage of 500 systems that were: (i) feasible: %F (red line); (ii) possessed locally stable interaction matrices A: %LS (Locally Stable; green line); (iii) feasible together with locally stable interaction matrices A: %F&LS (blue circles); (iv) having globally stable interaction matrices %GS (Globally Stable; magenta): (v) both feasible and having globally stable interaction matrices: %F&GS (also blue circles). The graphs indicate %F=%F&LS=%F&GS. (b) As the stability matrix S=DA (blue line) is a Google matrix , its critical eigenvalue is identical to that of SM=DAM (red+; see Methods-Google matrix). The critical eigenvalues of the two matrices lie exactly on the same curve when plotted as a function of competition strength c. Here the competition interaction matrix is A=I(1 c)+C+B and AM=I(1 c)+B with n=10, v=0.4.

Result A

Feasible competition systems for any c (0<c<1), are locally stable if May’s matrix AM is locally stable, namely when γ<1, and unstable otherwise. The larger the number of species, n, the sharper is the transition from stability to instability at γ=1(Fig. 1a).

The conclusion should be seen as a restatement of May’s1 result for random communities, but now here widened to apply for random communities structured with competition. The parameter γ representing the intensity of structural disturbances, completely governs stability in a simple manner. It should also be noted that we are chiefly interested in local stability, since fortuitously, feasible locally stable competition systems can be shown to be nearly always globally stable (Supplementary Note 1G; The exceptions are discussed in the Methods section.).

Feasibility of competition model

Following the lead from Roberts (1974, 1989), suppose we draw a system at random from the stochastic ensemble competition model, for fixed model parameters. We are interested in determining the probability of its feasibility, Pr(Feasible), for which all n-species have positive equilibrium populations. The probability Pr(Feasible) may be estimated as the percentage of feasible systems from a set of 500 random model systems as plotted in Fig. 1b. It is possible to show that for a given community size n, the probability is purely a function of γ (Supplementary Note 1C). The model estimates of Pr(Feasible) match analytical predictions closely (Methods section). Clearly the larger the number of species n, the more difficult it becomes to generate a feasible system. Moreover, Fig. 1b demonstrates that large feasible systems (n>14) require that the variability of the structural disturbances is ‘not too large,’ specifically γ<1.

Importantly, analytical and numerical analyses predict that almost all feasible competition systems sit in the range γ<1 (Methods section, Supplementary Note 1H). Hence feasible systems must be stable (locally and globally; Methods section, Supplementary Note 1I) and certainly for large systems, all are stable (n>14; Fig. 2a).

To understand this further, Fig. 2a displays the feasibility and stability characteristics of an n=20 species community with c=0.3, and plotted as a function of disturbance γ. These results were deduced numerically from equation 1. Almost all feasible model communities are locally stable, and nearly always globally stable. As γ increases, the proportion of feasible systems (red) reduces to zero well before the proportion of locally (green) or globally (magenta) stable interaction matrices reduce to zero. As such, these calculations predict that nearly all feasible systems are stable, a characteristic that appears to be not restricted to the specific parameter ranges of Fig. 2a (Supplementary Note 1J).

However, this probability argument does not make transparent the key link between feasibility and stability. In Supplementary Note 1H a simple generic mathematical argument identifies this link, and can be explained via Fig. 3a. As shown, when γ increases, at least one positive equilibrium population is destined to become unsustainably large in magnitude, and finally ‘blows-up’ at γ1 when stability of the interaction matrix A is lost. Before ‘blow up,’ the large equilibrium values of some populations necessarily drive weaker species to extinction (γ=0.58), and ‘negative values,’ explaining why feasibility is lost before stability of the interaction matrix A is lost. This is the first theoretical prediction of the transition in a relatively general setting.

Figure 3: Equilibrium blow-up and loss of stability.

(a) Equilibrium abundances for competition model (v=1, c=0.3) with n=20 species plotted versus disturbance level γ. The green line plots the real part of the critical eigenvalue of the interaction matrix A which zeroes when γ=1.04, initiating instability. Feasibility is lost when γ=0.58 and a population goes negative, well before stability of A is lost at γ=1.04 where equilibria ‘blow-up’ see Methods section. (b) Equilibrium abundances of CM-model for n=20 species (n1=n2=10; c=0.2, q=0.7) plotted versus destabilizing interaction strength m. Feasibility is lost at m=0.19. This is well before the critical eigenvalue (green line) zeroes at the equilibrium ‘blow-up’ point m=0.27, where stability of A is lost.

Competition-mutualism (CM) networks

The same methods can be extended to study more complex ecological systems, such as the animal-plant system presented in RSB (refs 6, 7) in which mutualistic and competition networks operate simultaneously. Despite years of study, the stability properties of these systems remain poorly understood. Let Ai and Pi and denote the abundances of n1 animal species and n2 plant species. Equations (1) then read:

Here, all plants species compete with each other with the same negative interaction strength c (0<c<1) and likewise for animal species. Any interactions between plant species-i and animal species-j are mutualistic and positive (mij≥0).

The interaction matrix A may be split into its competitive and mutualistic blocks, and for the naive uniform model:

The two diagonal blocks of matrix C* represent the uniform competitive interactions within plants and within animals. Off-diagonal blocks of C* are set zero given plants do not compete with animals for the same resources.

The two off-diagonal cooperative blocks define the matrix M* of mutualistic interactions between plants and animals. Diagonal blocks are set to zero, since in this scheme animals (/plants) do not help their kind. Matrix M*, as shown schematically above, represents the uniform model of all-to-all interactions, although other network topologies are also explored. This includes connectance, whereby a proportion (1−q) of randomly chosen nonzero interactions of M* are set to zero, leaving a proportion q nonzero.

Moving over to the stochastic ensemble model framework, nonzero mutualistic interactions are taken to be of the form mij=m+bij>0 , and thus all of the same average strength m. The mutualism matrix is now

where B =(bij) consists of random mean-zero structural disturbances, and where the uniform model corresponds to B=0. The bij are uniformly distributed in the interval [−mv, +mv] with ‘spread’ v (0≤v≤1), having corresponding variance Var(bij)=σ2. We are chiefly interested in local stability of the interaction matrix A since fortuitously, feasible locally stable CM-systems are always found globally stable (Supplementary Note 2; RSB).

Consider then an n-species fully connected community (n1=n2=n/2 plants and animals; q=1). Figure 4a outlines the feasibility and stability properties as a function of mutualism m and competition c. The interaction matrix A is locally stable for all parameters inside the shaded prominent ‘Triangle of Stability’ Δ (green and brown). Note that the region where systems are both feasible and stable (brown), is necessarily enclosed within Δ. Stability requires competition c to lie in an interval between lower and upper bounds: strong enough to prevent runaway mutualism, but not too strong to promote competitive exclusion. Moreover the interval shrinks as mutualism increases in intensity, thereby creating the triangle’s geometry. Figure 4b demonstrates that Δ can span large areas of parameter space, especially when disturbance is low (for example, v=0.1), indicative of relatively high structural stability. The latter implies the existence of a relatively large area in parameter space where the model is both feasible and stable.

Figure 4: CM-model.

(a,b) with n=100 species (n1=n2=50), all-to-all mutualistic connectance q=1 and disturbance spread v=0.5. All systems are feasible and stable (F&S) in brown area of parameter space, which is here mutualistic strength m versus competition c. Systems possessing stable interaction matrices (S) but not feasible are located in green area of parameter space. The ‘Triangle of Stability’ Δ has LH-stability border where qm=c (magenta circles). The RH-Stability border is determined by the second-eigenvalue criterion equation (5) (red circles); and corroborated by numerical computations (blue line). (b) Similar to (a) with q=1, but compares two disturbance levels, v=0.1, and v=0.5 by overlaying plots. (c) As (b) but with low connectance q=0.4. (d) Canadian forest pollination matrix analysis n1=102, n2=12; q=0.13. v=0.5; (e) Height h(Δ) of triangle Δ, versus q (when n1=n2=50; v=0.2). Simulations (red) and mathematical prediction h(Δ)1/ (blue) from Supplementary Note 2D; (f) Testing May’s criterion γCM=1 (see below Result C). F and S plotted as function of disturbance γCM versus c (q=1, m=0.2) for n1=n2=50 species.

Contrast this pattern with a community of intermediate connectance q=0.4 in Fig. 4c, where Δ proves to be relatively small in area. This small Δ holds for disturbance levels that are both low (v=0.1) and high (v=0.9), and is characteristic to a wide range of connectance levels 0.1<q<0.9 as shown in Fig. 4e. Intriguingly, CM-systems are endowed with intrinsically poor structural stability for the intermediate connectances typical of real world networks (Fig. 4d). Note however, once connectance q exceeds 50% structural stability actually increases with q; at first gradually but the increase is rapid once the interaction network becomes tight (Fig. 4e).

Extending the Google matrix approach to CM networks

Ideally we would like to be able to predict the stability and other characteristics of the CM-system from a knowledge of the empirical interaction network M. It is not obvious that the Google matrix approach outlined above can contribute because the matrices involved are more complex in structure here. Quite remarkably though, the reduction approach can be successfully extended, and yields general criteria for mutualism matrices M of arbitrary topology.

Progress can be made by determining the borders of the triangle of stability Δ (Fig. 4a). The left-hand (LH) border is just the line qmc (magenta circles; Supplementary Note 2D). On this border a species benefits from mutualism are on average equal to its losses from competition. Stability requires that mutualism levels be of limited intensity qm<c, which include all points in Fig. 4a below the LH-border.

The RH-stability border is found by applying the Google reduction to interaction matrix A=I(1−c)+C*−M. The reduction makes it possible to discard the competition interaction matrix C*, and leads to a simple condition based importantly, on λ2(M), the ‘second-largest’ or subdominant eigenvalue of the mutualism matrix M (Supplementary Note 2C). In Supplementary Note 2C it is shown that the RH-stability boundary in Fig. 4a corresponds to the line λ2(M)=1−c.

Result B

Summarising, stability requires that we consider only points in parameter space lying below the LH-border of the triangle Δ. For these points: feasible CM-models are locally stable if

and unstable otherwise.

This establishes a direct connection between the topology of M, as coded into the eigenvalues10 of M, and the stability of the CM-model. While many analyses (for example, ref. 10) focus on the dominant eigenvalue of M, this can lead to a wrong interpretation for understanding general stability. The above criterion (10) was tested on simulated model mutualism networks in Fig. 4a,c,d,f and provides excellent predictions (red circles) of the true RH-stability border (blue).

The criterion (10) is appropriate whether or not M* has block structure or the disturbance matrix B is random, thereby opening the door for studying real empirical networks (Supplementary Note 3). As an example, consider the highly speciose mutualist-pollination network from Canadian spruce-fir forests25, having n1=102 insect species, and n2=12 plants. The eigenvalue λ2(M) accurately identifies the RH-stability border of Δ in Fig. 4d (red circles). The low connectance (q=0.13) of the matrix effectively swivels Δ to the left, and results in a mutualism-competition trade-off: intense mutualism can be maintained only for sufficiently weak levels of competition, and vice-versa. In this respect, the mutualistic network acts to reduce or minimize competition7.

Note that the feasible systems (brown region) in Fig. 4 are contained fully within the triangle of stability Δ. Figure 3b makes clear a step-wise transition. As mutualistic strength (m) increase from zero, feasibility is lost first, followed by loss of stability of the interaction matrix A at higher levels of disturbance (Methods section; Supplementary Note 2E).

All-to-all mutualism

Returning now to the methodology, it is enlightening to take the Google reduction procedure one step further. Suppose that the matrix M* is significantly structured, for example, in all-to-all connected blocks with connectance q=1. Now when investigating stability, both matrices C* and M* may be ‘discarded’ (Supplementary Note 2C). Stability may then be determined from the matrix: AM=I(1−c)−B, which returns us back to the May criterion:

Result C

Assuming that we consider only points in parameter space lying below the LH-border (Supplementary Note 2E), then: feasible all-to-all block CM-systems are locally stable if matrix AM is locally stable.and unstable otherwise (Supplementary Note 2D).

The criterion gives deeper insight into the determinants of stability in the CM-model. Namely stability is lost when the underlying stable uniform model is perturbed too severely. For the simplest case, where the number of animal equals the number of plant species (n1=n2=, q=1), the May stability condition requires γCM<1, and instability when γCM>1, where now (Supplementary Note 2A). In Fig. 4a,f, the May criterion accurately predicts the border of stability at γCM=1 (black line). The LH-border occurs as predicted at m=c=0.2 (magenta).

Real mutualism networks

Although claims have been made that mutualism networks have strong internal structure6, our analysis of 20 real empirical mutualism networks from RSB show them to have almost identical characteristics as their randomized matrix counterparts26,27 in terms of two key parameters—their critical eigenvalue and species nestedness (Fig. 5; Supplementary Note 2F). Surprisingly, any internal topological structure in these networks cannot play a major role, assuming realistic biological constraints that preserve the network degree distribution26,27. The impact of these features on the eigenvalue appears to be minimal compared with the impact of connectance on structural stability, as just outlined.

Figure 5: Nestedness.

The critical eigenvalue (blue line) of the interaction matrix and nestedness (black line; calculated as in ref. 26 for each of 21 empirical networks separated along x-axis (RSB; Supplementary Note 2F) where parameters taken as c=0.2 and m=0.1. Each red/green circle shows the average of the eigenvalue/nestedness of 25 randomized matrices26,27.


In conclusion, while recent studies of the CM-model have failed to find any stability conditions or ‘particular pattern in how the critical (stability) level of mutualistic strength varies with model parameters’ (RSB), the techniques presented here result in strong clear relationships. Moreover, May’s1 early stability predictions equation (5) for large complex random systems and equation (10), hold surprisingly well for competition, as well as highly networked CM-systems; local stability is lost when disturbances increase beyond a relatively small threshold level (γ=1). This proneness to instability increases with the number of species, intensity of competition and level of disturbance. Analysis of structural stability, the range of parameter space for which feasibility and stability holds, leads to a different but not contradictory viewpoint, more in line with Elton28. Namely, CM-systems have poor structural stability for 0.1<q<0.9, while tightly connected ecological networks have the highest structural stability. Ecosystem stability and vulnerability should be assessed by integrating the results from these two different frameworks.

The theory developed here also makes clear that constraints on feasibility are more restrictive than those on stability, and explains why nearly all feasible systems are stable for many classes of ecological models (Supplementary Note 2E). Interestingly, loss of feasibility might be viewed as an early warning precursor of the interaction matrix losing stability. Hence, external anomalies from changing climate, resource availability or environmental hazards, may readily lead to species extinctions often well before ecosystem instability can even be identified. The tools presented here, based on the Google matrix, extend the scope of May’s study of large complex systems making it possible to untangle other important ecological interaction structures. These techniques can be readily adapted to a wide range of disciplines in network science.



A calculation (Supplementary Note 1C, refs 19, 20) shows that the probability a single arbitrary species has a positive equilibrium population is purely a function of γ, the variability of the structural disturbances, that is, Pr(>0)=p(γ), as plotted in Fig. 1b (purple). A good approximation for the probability that all n-species are positive is then: Pr(Feasible)=p(γ)n. The predictions of feasibility, Pr(Feasible) accurately match model simulations for a wide range of community sizes n and parameters. This is seen in Fig. 1b which plots Pr(Feasible) as estimated as the percentage of feasible systems from a set of 500 random model systems. The figure shows that large feasible systems are only possible if the variability of the structural disturbances is ‘not too large,’ or in quantitative terms, if γ<1 (cf equation (3)). Only then can p(γ) be large enough to ensure that Pr(Feasible) is significantly greater than zero. Even for relatively small systems, the probability of feasibility is slight when γ≈1 (for example, Pr(Feasible)=0.07 when γ=1, n=8).


The stability of equation (1) is determined by the eigenvalues of the stability or community matrix S=DA, where D is the diagonal matrix D =diag(). Local stability is ensured iff all eigenvalues of S have positive real parts. For feasible competition systems, D>0, it is demonstrated in Supplementary Note 1I that the matrix S is locally stable iff all eigenvalues of AM have positive real parts. Global stability is ensured if the symmetric matrix A+AT>0 is positive definite (that is, has all eigenvalues positive; (24) and Supplementary Note 1G). In fact, nearly all feasible competition systems are globally stable, with rare counterexamples appearing only for γ>0.71 when the number of species n is not large (Fig. 2a (magenta)) as proven in Supplementary Note 1G.

When Google meets Lotka–Volterra

The simplest Google matrix is of the form:

where E is a matrix with Eij=1/n. The matrix A is an nxn stochastic matrix whose row sums add to unity, that is, Ae=e, e=[1, 1, 1, …., 1, 1]′. Matrix A usually represents a scaled directed network such as the world-wide-web. The Google matrix G has two special properties. (I) First, there is a left-eigenvector π of G such that πG=π, referred to as the PageRank vector, that provides a rank of the relative importance of the nodes (/webpages) in the network17. (II) A second property concerns the eigenvalues of A. Specifically, if A has eigenvalues λ1=1, λ2, …, λn−1, λn, then the eigenvalues of G are18 λ1=1, (1−c)λ2, …, (1−c)λn−1, (1−c)λn. It is important that the ‘damping factor’ c is in the range 0<c<1, because this gaurantees a unique solution for the PageRank vector and one that can be computed in a fast way and whose convergence is assured.

A more general Google matrix is of the form where A is an nxn matrix (not necessarily stochastic) and u is a right eigenvector of A. In the case of the Lotka–Volterra competition model, the interaction matrix is:

where the matrix of ones is E=e.eT and. eT=[1, 1, 1, … 1, 1] and AM is the May stability matrix. But A is not a Google matrix since e is not a right eigenvector of A, and thus neither of the two properties above will hold. However, at equilibrium the LV equations also satisfy the additional constraint AN*=e, where N* is the vector of equilibrium populations. Using this, it is easy to show that the stability matrix S=DA is a Google matrix. Because of the scaling involved and property II above, all but one of the eigenvalues of S=DA are identical to the eigenvalues of the May stability matrix DAM (ref. 19; Supplementary Notes 1F and 4).

Feasibilty lost before stability

For competition systems see main text. A similar generic mechanism is found for CM-systems. As the mutualistic interaction strength m increases from zero in Fig. 3b, many of the equilibrium populations grow exponentially, and ultimately reach unsustainable levels. Thus feasibility is lost at m=0.19, well before the population ‘blow-up’ point at m=0.27 where stability of the interaction matrix is always lost. The mechanism reflects an intrinsic bifurcation instability of the CM-model whereby at high levels of mutualism, species with large abundances drive weaker species to low levels and then ‘negative’ values so that feasibility is lost before stability is lost. For this reason, all feasible CM-models examined here are stable, as explained in more depth in Supplementary Note 2E.

CM-systems and the subdominant eigenvalue

Intriguingly λ2(M) is a direct proxy for interaction variability and our analysis finds it composed of two components: λ2(M)=Rand1+Rand2 (Supplementary Note 2D). (i) Rand1 represents the variability or ‘spread’ of the structural disturbances bij, via the parameter v. Surprisingly, this component has negligible impact unless connectance is extreme for example, q≈1. (ii) Rand2 represents the randomness induced by connectivity itself, since each interaction has a probability q of being nonzero. This component eclipses the former when 0.1<q<0.9. Figure 4e shows how the height h(Δ) and thus area of the stability triangle, depends on q according to both simulations and mathematical predictions (Supplementary Note 2D). Unusually, h(Δ) is almost constant and of low magnitude for 0.1<q<0.9. In this regime, a network’s connectivity has large restrictive impact on the area of Δ, and thus structural stability.

Data availability

The study required analysis of 21 empirical mutualism networks. The data were chosen based on the networks analysed in the paper of Rohr et al. (ref. 6) and published at

Additional information

How to cite this article: Stone, L. The Google matrix controls the stability of structured ecological and biological networks. Nat. Commun. 7:12857 doi: 10.1038/ncomms12857 (2016).


  1. 1

    May, R. M. Will a large complex system be stable? Nature 238, 413–414 (1972).

    ADS  CAS  Article  Google Scholar 

  2. 2

    Allesina, S. & Tang, S. Stability criteria for complex ecosystems. Nature 483, 205–208 (2012).

    ADS  CAS  Article  Google Scholar 

  3. 3

    Allesina, S. et al. Predicting the stability of large structured food webs. Nat. Commun. 6, 11–16 (2015).

    Article  Google Scholar 

  4. 4

    Johnson, S., Dominguez-Garcia, V., Donetti, L. & Muñoz, M. A. Trophic coherence determines food-web stability. Proc. Natl Acad. Sci. USA 111, 17923–17928 (2014).

    ADS  CAS  Article  Google Scholar 

  5. 5

    Roberts, A. The stability of a feasible random ecosystem. Nature 251, 607–608 (1974).

    ADS  Article  Google Scholar 

  6. 6

    Rohr, R. P., Saavedra, S. & Bascompte, J. On the structural stability of mutualistic systems. Science 345, 6195 (2014).

    Article  Google Scholar 

  7. 7

    Bastolla, U. et al. The architecture of mutualistic networks minimizes competition and increases biodiversity. Nature 458, 1018–1020 (2009).

    ADS  CAS  Article  Google Scholar 

  8. 8

    Thebault, E. & Fontaine, C. Stability of ecological communities and the architecture of mutualistic and trophic networks. Science 329, 853–856 (2010).

    ADS  CAS  Article  Google Scholar 

  9. 9

    Mougi, A. & Kondoh, M. Diversity of interaction types and ecological community stability. Science 337, 349–351 (2012).

    ADS  MathSciNet  CAS  Article  Google Scholar 

  10. 10

    Feng, W. & Takemoto, K. Heterogeneity in ecological mutualistic networks dominantly determines community stability. Sci. Rep. 4, 5912 (2014).

    ADS  CAS  Article  Google Scholar 

  11. 11

    Artzy-Randrup, Y. & Stone, L. Connectivity, cycles, and persistence thresholds in metapopulation networks. PLOS Comput. Biol. 6, 1–10 (2010).

    MathSciNet  Article  Google Scholar 

  12. 12

    Suweis, S., Simini, F., Banavar, J. R. & Maritan, A. Emergence of structural and dynamical properties of ecological mutualistic networks. Nature 500, 449–452 (2013).

    ADS  CAS  Article  Google Scholar 

  13. 13

    Gilpin, M. E. & Case, T. J. Multiple domains of attraction in competition communities. Nature 261, 40–42 (1976).

    ADS  CAS  Article  Google Scholar 

  14. 14

    Rozdilsky, I. & Stone, L. Complexity can enhance stability in competitive systems. Ecol. Lett. 4, 397–400 (2001).

    Article  Google Scholar 

  15. 15

    Haldane, A. G. & May, R. M. Systemic risk in banking ecosystems. Nature 469, 351–355 (2011).

    ADS  CAS  Article  Google Scholar 

  16. 16

    Aljadef, J., Stern, M. & Sharpee, T. Transition to chaos in random networks with cell-type-specific connectivity. Phys. Rev. Lett. 114, 088101 (2015).

    ADS  Article  Google Scholar 

  17. 17

    Brin, S. & Page, L. The anatomy of a large-scale hypertextual Web search engine. Comput. Netw. ISDN Syst. 33, 107–117 (1998).

    Article  Google Scholar 

  18. 18

    Ding, J. & Zhou, A. Eigenvalues of rank-one updated matrices with some applications. Appl. Math. Lett. 20, 1223–1226 (2007).

    MathSciNet  Article  Google Scholar 

  19. 19

    Stone, L. Some Problems of Community Ecology: Processes, Patterns and Species Persistence in Ecosystems PhD dissertation Dept. of Physics, (Monash University (1988).

  20. 20

    Roberts, A. When will a large complex system be viable? Environmental Discussion Paper Graduate School of Environmental Science, Monash University (1989).

  21. 21

    Stone, L. & Roberts, A. Conditions for a species to gain advantage from the presence of competitors. Ecology 72, 1964–1972 (1991).

    Article  Google Scholar 

  22. 22

    Jansen, V. A. A. & Kokkoris, G. D. Complexity and stability revisited. Ecol. Lett. 6, 498–502 (2003).

    Article  Google Scholar 

  23. 23

    Huston, M. A general hypothesis of species diversity. Am. Nat. 113, 81–101 (1979).

    MathSciNet  Article  Google Scholar 

  24. 24

    Goh, B. S. Global stability in many-species systems. Am. Nat. 111, 135–143 (1977).

    Article  Google Scholar 

  25. 25

    Barrett, S. C. H. & Helenurm, K. The reproductive biology of boreal forest herbs. Can. J. Botany 65, 2036–2046 (1987).

    Article  Google Scholar 

  26. 26

    Johnson, S., Dominguez-Garcia, V. & Munoz, M. A. Factors determining nestedness in complex networks. PLoS ONE 8, e74025 (2013).

    ADS  CAS  Article  Google Scholar 

  27. 27

    Stone, L. & Roberts, A. The checkerboard score and species distribution. Oecologia 85, 74–79 (1990).

    ADS  Article  Google Scholar 

  28. 28

    Elton, C. S. Ecology of Invasions by Animals and Plants Chapman & Hall (1958).

Download references


I am particularly grateful to Alan Roberts for sharing his deep insights into these research questions over many years. I thank David Ellison, Elad Shtilerman, Jinjian Wang and Jordi Bascompte for helpful discussions. The support of the Australian Research Commission grant DP150102472 is gratefully acknowledged.

Author information




L.S. conceived and executed the project and wrote the paper.

Corresponding author

Correspondence to Lewi Stone.

Ethics declarations

Competing interests

The author declares no competing financial interests.

Supplementary information

Supplementary Information

Supplementary Figures 1-24, Supplementary Notes 1-4 and Supplementary References (PDF 678 kb)

Peer review file (PDF 123 kb)

Rights and permissions

This work is licensed under a Creative Commons Attribution 4.0 International License. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in the credit line; if the material is not included under the Creative Commons license, users will need to obtain permission from the license holder to reproduce the material. To view a copy of this license, visit

Reprints and Permissions

About this article

Verify currency and authenticity via CrossMark

Cite this article

Stone, L. The Google matrix controls the stability of structured ecological and biological networks. Nat Commun 7, 12857 (2016).

Download citation

Further reading


By submitting a comment you agree to abide by our Terms and Community Guidelines. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.