On the probability of planarity of a random graph near the critical point

# On the probability of planarity of a random graph near the critical point

Marc Noy Departament de Matemàtica Aplicada II. Universitat Politècnica de Catalunya. Jordi Girona 1-3, 08034 Barcelona. Spain. marc.noy@upc.edu. Partially supported by grants MTM2011-24097 and DGR2009-SGR1040.    Vlady Ravelomanana Liafa Umr CNRS 7089. Université Denis Diderot. 175, Rue du Chevaleret 75013 Paris. France. vlad@liafa.jussieu.fr.    Juanjo Rué Instituto de Ciencias Matemáticas. Calle Nicolás Cabrera 15, 28049 Madrid. Spain. juanjo.rue@icmat.es. Partially supported by grants JAE-DOC (CSIC), MTM2011-22851 and SEV-2011-0087.
###### Abstract

Let be the uniform random graph with vertices and edges. Erdős and Rényi (1960) conjectured that the limiting probability

 limn→∞Pr{G(n,n2) is planar}

exists and is a constant strictly between and . Łuczak, Pittel and Wierman (1994) proved this conjecture and Janson, Łuczak, Knuth and Pittel (1993) gave lower and upper bounds for this probability. In this paper we determine the exact limiting probability of a random graph being planar near the critical point . For each , we find an exact analytic expression for

 p(λ)=limn→∞Pr{G(n,n2(1+λn−1/3)) is planar}.

In particular, we obtain . We extend these results to classes of graphs closed under taking minors. As an example, we show that the probability of being series-parallel converges to . For the sake of completeness and exposition we reprove in a concise way several basic properties we need of a random graph near the critical point.

We dedicate this paper to the memory of Philippe Flajolet.

## 1 Introduction

The random graph model assigns uniform probability to graphs on labelled vertices with edges. A fundamental result of Erdős and Rényi  is that the random graph undergoes an abrupt change when is around , the value for which the average vertex degree is equal to one. When and , almost surely the connected components are all of order , and are either trees or unicyclic graphs. When and , almost surely there is a unique giant component of size . We direct to reader to the reference texts  and  for a detailed discussion of these facts.

We concentrate on the so-called critical window where is a real number, identified by the work of Bollobás [2, 3]. Let us recall that the excess of a connected graph is the number of edges minus the number of vertices. A connected graph is complex if it has positive excess. As , complex components disappear and only trees and unicyclic components survive, and as , components with unbounded excess appear. A thorough analysis of the random graph in the critical window can be found in  and , which constitute our basic references.

For each fixed , we denote the random graph by . The core of is obtained by repeatedly removing all vertices of degree one from . The kernel is obtained from by replacing all maximal paths of vertices of degree two by single edges. The graph satisfies almost surely several fundamental properties, that were established in  by a subtle simultaneous analysis of the and the models.

1. The number of complex components is bounded.

2. Each complex component has size of order , and the largest suspended tree in each complex component has size of order .

3. has size of order and maximum degree three, and the distance between two vertices of degree three in is of order .

4. is a cubic (3-regular) multigraph of bounded size.

The key property for us is the last one. It implies that almost surely the components of are trees, unicyclic graphs, and those obtained from a cubic multigraph  by attaching rooted trees to the vertices of , and attaching ordered sequences of rooted trees to the edges of . Some care is needed here, since the resulting graph may not be simple, but asymptotically this can be accounted for.

It is clear that is planar if and only if the kernel is planar. Then by counting planar cubic multigraphs it is possible to estimate the probability that is planar. To this end we use generating functions. The trees attached to are encoded by the generating function  of rooted trees, and complex analytic methods are used to estimated the coefficients of the corresponding series. This allows us to determine the exact probability

 p(λ)=limn→∞Pr{G(n,n2(1+λn−1/3)) is planar}.

In particular, we obtain .

This approach was initiated in the seminal paper by Flajolet, Knuth and Pittel , where the authors determined the threshold for the appearance of the first cycles in . A basic feature in  is to estimate coefficients of large powers of generating functions using Cauchy integrals and the saddle point method. This path was followed by Janson, Knuth, Łuczak and Pittel , obtaining a wealth of results on . Of particular importance for us is the determination in  of the limiting probability that has given excess. The approach by Łuczak, Pittel and Wierman in  is more probabilistic and has as starting point the classical estimates by Wright  on the number of connected graphs with fixed excess. The range of these estimates was extended by Bollobás  and more recently the analysis was refined by Flajolet, Salvy and Schaeffer , by giving complete asymptotic expansions in terms of the Airy function.

The paper is organized as follows. In Section 2 we present the basic lemmas needed in the sequel. Except for the proof of Lemma 1, the paper is self-contained. Lemmas 2 to 5 are proved in  with a different presentation; for the sake of completeness and exposition we provide shorter and hopefully more accessible proofs. In Section 3 we compute the number of cubic planar multigraphs, suitably weighted, where we follow . In Section 4 we compute the exact probability that the random graph is planar as a function of . We generalize this result by determining the probability that belongs to a minor-closed class of graphs in several cases of interest.

We close this introduction with a remark. The problem of 2-satisfiability presents a striking analogy with the random graph process. Given Boolean variables and a conjunctive formula of clauses, each involving two literals, the problem is to determine the probability that the formula is satisfiable when grows with . The threshold has been established at and the critical window is also of width ; see . However the exact probability of satisfiability when the number of clauses is has not been determined, and appears to be a more difficult problem.

## 2 Preliminaries

All graphs in this paper are labelled. The size of a graph is its number of vertices. A multigraph is a graph with loops and multiple edges allowed.

We recall that the generating function of rooted trees satisfies

 T(z)=zeT(z).

Using Lagrange’s inversion , one recovers the classical formula for the number of rooted labelled trees.The generating function for unrooted trees is

 U(z)=T(z)−T(z)22.

This can be proved by integrating the relation , or more combinatorially using the dissimilarity theorem for trees .

A graph is unicyclic if it is connected and has a unique cycle. Unicyclic graphs can be seen as an undirected cycle of length at least three to which we attach a sequence of rooted trees. Since the directed cycle construction corresponds algebraically to (see ), the generating function is

 V(z)=12(log11−T(z)−T(z)−T(z)22).

Graphs all whose components are unicyclic are given by the exponential formula:

 eV(z)=e−T(z)/2−T(z)2/4√1−T(z).

The following result, which is fundamental for us, is proved in [16, Theorem 4] by a careful analysis of the structure of complex components in . We say that a property holds asymptotically almost surely (a.a.s.) in if the probability that is satisfied tends to one as . Recall that .

###### Lemma 1.

For each , the kernel of is a.a.s. a cubic multigraph.

Given a cubic multigraph with loops, double edges and triple edges, define its weight  as

 w(M)=2−a2−b6−c.

This weight (called the compensation factor in ), has the following explanation. When we substitute edges of the kernel by sequences of rooted trees, a loop has two possible orientations that give raise to the same graph. A double (triple) edge can be permuted in two (six) ways, again producing the same graph. From now on, all multigraphs we consider are weighted, so that we omit the qualifier. The following lemma is proved in  using a combination of guessing and recurrence relations. The next proof is already contained in [4, Chap. 2].

###### Lemma 2.

The number of cubic multigraphs with vertices is equal to

 Er=(6r)!(3r)!23r62r.
###### Proof.

A cubic multigraph can be modeled as a pairing of darts (half-edges), 3 for each vertex, with a total of darts. The number of such pairings is . However, we have to divide by the number of ways of permuting each of the triples of darts. The weight takes care exactly of the number of times a cubic multigraph is produced in this process. ∎

The next result is essentially proved in  using several algebraic manipulations. Here we present a concise proof. We denote by the coefficient of in the power series .

###### Lemma 3.

The number of simple graphs with vertices, edges and cubic kernel of size satisfies

 g(n,M,r)≤n![zn]U(z)n−M+r(n−M+r)!eV(z)Er(2r)!T(z)2r(1−T(z))3r

and

 g(n,M,r)≥n![zn]U(z)n−M+r(n−M+r)!eV(z)Er(2r)!T(z)8r(1−T(z))3r.
###### Proof.

Such a graph is the union of a set of unrooted trees, a set of unicyclic graphs, and a cubic multigraph with a rooted tree attached to each vertex of and a sequence (possibly empty) of rooted trees attached to each edge of . Let us see first that . Indeed, the final excess of edges over vertices must be . Each tree component contributes with excess , each unicyclic component with excess , and (together with the attached trees) with excess . Hence

The first two factors and on the right-hand side of the inequalities encode the set of trees and unicyclic components. The last part encodes the kernel . It has  vertices and is labelled, hence the factor ; the weighting guarantees that each graph contributing towards is counted exactly once. The trees attached to the vertices give a factor . The sequences of trees attached to the edges give each a factor . However, this allows for the empty sequence and the resulting graph may not be simple, so we get only an upper bound. To guarantee that the final graph is simple we take sequences of length at least two, encoded by (length one is enough for multiple edges of , but length two is needed for loops). Since this misses some graphs, we get a lower bound. ∎

The following technical result is essentially Lemma 3 from . We reprove it here for completeness in a simplified version tailored to our needs (see also the proof of Theorem 5 in ).

###### Lemma 4.

Let . Then for any fixed and integer we have

 n!((n2)M)[zn]U(z)n−M+r(n−M+r)!T(z)a(1−T(z))3reV(z)=√2πA(3r+12,λ)(1+O(λ4n1/3)) (1)

uniformly for , where

 A(y,λ)=e−λ3/63(y+1)/3∑k≥0(1232/3λ)kk!Γ((y+1−2k)/3). (2)
###### Proof.

The proof is based on relating the left-hand side of Equation (1) to the integral representation of defined in [13, Equation(10.7)]:

 A(y,λ)=12πi∫Πs1−yeK(λ,s)ds,

where is the polynomial

 K(λ,s)=(s+λ)2(2s−λ)6=s33+λs22−λ36

and is a path in the complex plane that consists of the following three straight line segments:

 s(t)=⎧⎪⎨⎪⎩−e−πi/3t,for−∞

The constant term in the left-hand side of (1) is estimated using Stirling’s formula, getting

 n!((n2)M)1(n−M+r)!=√2πn2n−M+rnre−λ3/6+3/4−n(1+O(λ4n1/3)). (3)

The coefficient of in Equation (1) is estimated by means of a contour integral around , using the expressions of and in terms of :

 12πi∮(T(z)−T(z)22)n−M+rT(z)ae−T(z)/2−T(z)2/4(1−T(z))3r+1/2dzzn+1.

We make the change of variable , whose inverse is , and we obtain

 2M−n−ren2πi∮g(u)enh(u)duu, (4)

where the integrand is split into a smooth function

 g(u)=ua(2u−u2)re−u/2−u2/4(1−u)3r−1/2

and a large power involving

 h(u)=u−1−logu−(1−Mn)log11−(u−1)2.

The contour path in Equation (4) should be such that . As remarked in  (see also ), the function satisfies . Moreover, precisely at the critical value we also have . This triple zero shows up in the procedure used in  when estimating (4) for large  by means of the saddle-point method. Notice that is singular at , due to the singularity at of .

Let , and let be the positive solution to

 λ=α−1−α.

This choice is necessary in order to get precise bounds for the tail estimates that appear using the saddle-point method. Following the proof of [13, Lemma 3], we evaluate (4) on the path , where runs from to . That is,

 ∮f(u)duu=iν∫πn1/3−πn1/3f(e−(α+it)ν)dt.

The main contribution to the value of this integral comes from the vicinity of . The magnitude of depends on the real part . Observe that decreases as increases, and that has its maximum on the circle when . We write . Analyzing , we have

 nh(e−sν)=s33+λs22+O((λ2s2+s4)ν),

uniformly in any region such that . For the function , we have

 g(e−sν)=(2e−sν−e−2sν)r(1−e−sν)3r−1/2e−sνa−e−sν/2−e−2sν/4=(sν)1/2−3re−3/4(1+O(sν)).

If is the integrand of (4), we have

 e−λ3/6f(e−sν)=e−3/4ν1/2−3rs1−(3r+1/2)eK(λ,s)(1+O(sν)+O(λ2s2ν)+O(s4ν))

when . Finally,

 e−λ3/62πi∮f(u)duu=e−3/4ν3/2−3rA(3r+12,λ)+O(ν5/2−3re−λ3/6λ3r/2+1/4),

where the error term has been derived from those already in . The proof of the lemma is completed by multiplying (3) and (4), and canceling equal terms. ∎

It is important to notice that in the previous lemma the final asymptotic estimate does not depend on the choice of . The next result is a direct consequence and can be found as Formula (13.17) in .

###### Lemma 5.

The limiting probability that the random graph has a cubic kernel of size is equal to

 √2πerA(3r+12,λ),

where and is as in the previous lemma.

In particular, for the limiting probability is

 √23(43)rerr!(2r)!.
###### Proof.

Using the notation of Lemma 3, the probability for a given is by definition

 g(n,M,r)((n2)M).

Lemma 3 gives upper and lower bounds for this probability, and Using Lemma 4 we see that both bounds agree in the limit and are equal to

 Er(2r)!√2πA(3r+12,λ),

thus proving the result. A key point is that the discrepancy between the factors and in the bounds for does not affect the limiting value of the probability. ∎

Notice that if we replace the by the numbers arising by counting planar cubic multigraphs, we obtain immediately the probability that has a cubic planar kernel of size . Since is planar if and only if its kernel is planar, we can use this fact to compute the probability of  being planar. But first we must compute .

## 3 Planar cubic multigraphs

In this section we compute the numbers of cubic planar multigraphs of size . The associated generating function has been obtained recently by Kang and Łuczak  (generalizing the enumeration of simple cubic graphs in ), but their derivation contains some minor errors. They do not affect the correctness of , since the asymptotic estimates needed by the authors are still valid. However, for the computations that follow we need the exact values. The next result is from , with the corrections mentioned below. All multigraphs are weighted as in the previous section.

###### Lemma 6.

Let be the generating function of connected cubic planar multigraphs. Then  is determined by the following system of equations:

 3zdG1(z)dz=D(z)+C(z)B(z)=z22(D(z)+C(z))+z22C(z)=S(z)+P(z)+H(z)+B(z)D(z)=B(z)2z2S(z)=C(z)2−C(z)S(z)P(z)=z2C(z)+12z2C(z)2+z222(1+C(z))H(z)=u(z)(1−2u(z))−u(z)(1−u(z))3z2(C(z)+1)3=u(z)(1−u(z))3.

The generating functions and correspond to distinct families of edge-rooted cubic planar graphs, and is an algebraic function related to the enumeration of 3-connected cubic planar graphs (dually, 3-connected triangulations).

The corrections with respect to  are the following. In the first equation a term has been removed. In the second and sixth equations we have replaced a term by . In the fourth equation we have removed a term . For the combinatorial interpretation of the various generating functions and the proof of the former equations we refer to . Notice that eliminating from the last two equations we obtain a relation between and . This relation can be used to obtain a single equation satisfied by , eliminating from the remaining equations. We reproduce it here in case the reader wishes to check our computations.

 1048576z6+1034496z4−55296z2+(9437184z6+6731264z4−1677312z2+55296)C+(37748736z6+18925312z4−7913472z2+470016)C2+(88080384z6+30127104z4−16687104z2+1622016)C3+(132120576z6+29935360z4−19138560z2+2928640)C4+(132120576z6+19314176z4−12429312z2+2981888)C5+(88080384z6+8112384z4−4300800z2+1720320)C6+(37748736z6+2097152z4−614400z2+524288)C7+(9437184z6+262144z4+65536)C8+1048576C9z6=0.

The first terms are

 C(z)=z2+258z4+594z6+11339128z8+⋯

This allows us to compute and , hence also . The first coefficients of are as follows.

 G1(z)=524z2+516z4+121128z6+1591384z8+⋯

Using the set construction, the generating function for cubic planar multigraphs is then

 G(z)=eG1(z)=∞∑r=0Grz2r(2r)!=1+524z2+3851152z4+8393382944z6+350025617962624z8+⋯, (5)

where is the number of planar cubic multigraphs with vertices. This coincides with the generating function for all cubic (non-necessarily planar) multigraphs up to the coefficient of . The first discrepancy is in the coefficient of . The difference between the coefficients is , corresponding to the 10 possible ways of labelling , the unique non-planar cubic multigraph on six vertices.

## 4 Probability of planarity and generalizations

Let be a graph with a cubic kernel . Then clearly is planar if and only if is planar, and we can compute the probability that is planar by counting over all possible planar kernels.

###### Theorem 7.

Let be the number of cubic planar multigraphs with vertices. Then the limiting probability that the random graph is planar is

 p(λ)=∑r≥0√2πgrA(3r+12,λ).

In particular, the limiting probability that is planar is

 p(0)=∑r≥0√23(43)rgrr!(2r)!≈0.99780.
###### Proof.

The same analysis as in Section 2 shows that is the probability that the kernel is planar and has vertices. Summing over all possible , we get the desired result. ∎

As already mentioned, Erdős and Rényi  conjectured that exists and . This was proved in , showing that exists for all and that . The bounds in  for are

 0.98707

obtained by considering connected cubic multigraphs with at most six vertices. We remark that Stepanov  showed that for (without actually establishing the existence of the limiting probability). The function is plotted in Figure 1. As expected, is close to 1 when and close to 0 when . For instance, and .

Besides planar graphs, one can consider other classes of graphs. Let be a class of graphs closed under taking minors, that is, if is a minor of and , then . If are the excluded minors of , then we write . (By the celebrated theorem of Robertson and Seymour, the number of excluded minors is finite, but we do not need this deep result here). The following result generalizes the previous theorem.

###### Theorem 8.

Let and assume all the are 3-connected. Let be the number of cubic multigraphs in with vertices. Then the limiting probability that the random graph is in is

 pG(λ)=∑r≥0√2πhrA(3r+12,λ).

In particular, the limiting probability that is in is

 pG(0)=∑r≥0√23(43)rhrr!(2r)!.

Moreover, for each we have

 0
###### Proof.

If all the are 3-connected, then clearly a graph is in if and only its kernel is in . The probability is then computed as in Theorem 7. It is positive since contains all trees and unicyclic graphs, which contribute with positive probability (although tending to 0 as ). To prove that it is less than one, let be the largest size of the excluded minors . By splitting vertices it is easy to construct cubic graphs containing as a minor, hence contains as a minor with positive probability (alternatively, see the argument at the end of ). It follows that . ∎ Figure 1: The probability of G(λ) being planar and of being series-parallel are both plotted for λ∈[−1..4]. The function on top corresponds to the planar case.

In some cases of interest we are able to compute the numbers explicitly. Let be the class of series-parallel graphs. The same system of equations as in Lemma 6 holds for series-parallel graphs with the difference that now (this is due to the fact that there are no 3-connected series-parallel graphs). The generating function for cubic series-parallel multigraphs can be computed as

 Gsp(z)=1+524z2+3371152z4+5556582944z6+155173457962624z8+⋯

For instance, , corresponding to the fact that is the only cubic multigraph with vertices which is not series-parallel. The limiting probability that is series-parallel is

 psp(0)≈0.98003.

See Figure 1 for a plot of .

The class of outerplanar graphs does not fall directly under this scheme, since is not 3-connected, but adapting the equations in Lemma 6 (in particular the parallel decomposition encoded by ) it is possible to enumerate exactly cubic outerplanar multigraphs. The first terms in the generating function are

 Gout(z)=1+524z2+3371152z4+5556582944z6+148537937962624z8+⋯

The first discrepancy with is at , corresponding to the graph with either a loop or a double edge attached at the vertices of degree two. The probability of being outerplanar is

 pout(0)≈0.97979.

We do not plot in Figure 1 since it is too close to to see a clear distinction.

As another example, consider excluding . Since the only 3-connected non-planar graph in is , which is not cubic, the limiting probability of being in this class is exactly the same as of being planar, although is exponentially larger than the class of planar graphs . But excluding the graph , obtained by adding one edge to , does increase the probability, since is in the class and is cubic and non-planar (the probability is computable since the 3-connected graphs in are known ). Other classes such as or can be analyzed too using the results from .

It would be interesting to compute the probability that has genus . For this we need to count cubic multigraphs of genus (orientable or not). We only know how to do this for , the reason being that a 3-connected planar graph has a unique embedding in the sphere. This is not at all true in positive genus. It is true though that almost all 3-connected graphs of genus have a unique embedding in the surface of genus (see ). This could be the starting point for the enumeration, by counting first 3-connected maps of genus (a map is a graph equipped with a 2-cell embedding). But this is not enough here, since we need the exact numbers of graphs.

## Acknowledgements

The first and third authors acknowledge the warm hospitality and support from the Laboratoire d’Informatique Algorithmique: Fondements et Applications (LIAFA) in Paris, where much of this work was done.

## References

•  M. Bodirsky, M. Kang, M. Löffler, C. McDiarmid. Random cubic planar graphs. Random Structures Algorithms 30 (2007) 78–94.
•  B. Bollobás. The evolution of random graphs. Trans. Amer. Math. Soc. 286 (1984) 257-274.
•  B. Bollobás. The evolution of sparse random graphs. In Graph Theory and Combinatorics (Proc. Cambridge Combinatorial Conf. in Honour of Paul Erdős), Academic Press, San Diego, 1984, pp. 35–37.
•  B. Bollobás. Random Graphs. Academic Press, London, 1985.
•  B. Bollobás, C. Borgs, J. T. Chayes, J. H. Kim, D. B. Wilson. The Scaling Window of the 2-SAT Transition. Random Structures Algorithms 18 (2001), 201–256.
•  G. Chapuy, E. Fusy, O. Giménez, B. Mohar, M. Noy. Asymptotic enumeration and limit laws for graphs of fixed genus. J. Combin. Theory Ser. A 118 (2011) 748–777.
•  P. Erdős, A. Rényi. On the evolution of random graphs. Publ. Math. Inst. Hung. Acad. Sci. 5 (1960) 17–61.
•  P. Flajolet, D. E. Knuth, B. Pittel. The first cycles in an evolving graph. Discrete Math. 75 (1989) 167–215.
•  P. Flajolet, B. Salvy, G. Schaeffer. Airy Phenomena and Analytic Combinatorics of Connected Graphs. Electr. J. Combin. 11 (2004) R34.
•  P. Flajolet, R. Sedgewick. Analytic Combinatorics. Cambridge University Press, Cambridge, 2009.
•  S. Gerke, O. Giménez, M. Noy, A. Weissl. The number of graphs not containing as a minor. Electr. J. Combin. 15 (2008) R114.
•  O. Giménez, M. Noy, J. Rué. Graph classes with given 3-connected components: asymptotic enumeration and random graphs. Random Structures Algorithms (to appear).
•  S. Janson, D. E. Knuth, T. Łuczak, B. Pittel. The birth of the giant component. Random Structures Algorithms 4 (1993) 233–358.
•  S. Janson, T. Łuczak, A. Rucinski. Random Graphs. John Wiley, New York, 2000.
•  M. Kang, T. Łuczak. Two critical periods in the evolution of random planar graphs. arXiv:1006.0444v2 (to appear in Trans. Amer. Math. Soc.).
•  T. Łuczak, B. Pittel, J. C. Wierman. The structure of a random graph near the point of the phase transition. Trans. Amer. Math. Soc. 341 (1994) 721–748.
•  R. Otter. The number of trees. Ann. of Math. 49 (1948) 583–599.
•  V. E. Stepanov. On some features of the structure of a random graph near a critical point. Theory Probab. Appl. 32 (1988) 573–594.
•  E. M. Wright. The Number of Connected Sparsely Edged Graphs. III. Asymptotic results. Journal of Graph Theory 4 (1980) 393–407.
You are adding the first comment!
How to quickly get a good reply:
• Give credit where it’s due by listing out the positive aspects of a paper before getting into which changes should be made.
• Be specific in your critique, and provide supporting evidence with appropriate references to substantiate general statements.
• Your comment should inspire ideas to flow and help the author improves the paper.

The better we are at sharing our knowledge with each other, the faster we move forward.
The feedback must be of minimum 40 characters and the title a minimum of 5 characters   