Abstract
In order to solve a problem, a usual approach is to represent it in a simple structure and bring it to some particular cases. In graph theory, this approach is used to illustrate this problem by a graph, then treat it on simple sets expressing the relations between its elements. Thus that researchers saw the appearance of spanning trees. The aim of this approach is the evaluation of the number of spanning trees in some networks which can not be find using the existing methods, such as large networks, or with multiple connections. In this paper we focus on graphs with multiple edges and we consider the multi-edges fan and wheel graphs, deriving of exact and recursive functions based on operations and geometric transformations.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
1 Introduction
Enumeration of spanning trees of a graph has been the subject of several Studies in the history of mathematics. However, this area is still a very active field of research since that the number of spanning trees was the interest of several researchers in different disciplines. This number is an important invariant related to different topological and dynamical properties of graphs, such as its reliability for communication networks [1–3], robustness for social networks [4, 5], synchronization capability [6] and the study of random walks [7].
The number of spanning trees of a graph that describes a network tends to be one of the most natural characteristics from the viewpoint of its reliability, and deriving a formula to count the number of spanning trees for various graphs has become a vital role not only in applied mathematics but also in computer science.
Indeed, the graph theory ensures a good modeling of a communication network such as the vertices of graph represent the nodes of the network and edges illustrate the interconnection between nodes.
In this paper, we assume that \(G = (V_{G},E_{G},F_{G})\) is a planar connected graph with \(V_{G}\) is the set of vertices, \(E_{G}\) is the set of edges and \(F_{G}\) is the set of faces.
In the topological sense, a graph is said to be connected if each pair of its vertices belongs to a path, while the planarity constraint is verified when no edges are crossing each other. We define a tree as a connected graph without cycle and a spanning tree of G, a subgraph of G that includes every vertex and is also a tree [8].
The number of spanning trees of a graph, also called it’s complexity, is the set of all the spanning trees of this graph noted \(\tau (G)\). The study of this number was initiated by the physicist Kirchoff who proposed the called “Matrix Tree Theorem” expressing the number of spanning tree for any graph by determined the Laplacian matrix defined by \(L(G)=D(G)-A(G)\), with D(G) and A(G) are respectively the matrix of degrees and the adjacency matrix [9]. The advantage of this theorem resides in the fact that it processes any type of graph. However, for large graphs, with a large number of vertices, the use of this result become impractical due to the calculation of the determinant of a large matrix. The remedy to this problem was to develop a simple technique to enumerate spanning trees of a graph without going through the determinant. Thus, Cayley proposed a great expression for the number of spanning trees in complete graphs \(K_{n}\) on n vertices, \(K_{n}\) graph has \(n^{n-2}\) spanning trees [10]. Then Feussner [11] managed to find a technical based on simple operations (deletion and contraction), which consists in establishing recursive functions computing the complexity of planar graphs without passing through the laplace of the latter. According to Feussner, let G be a planar graph, for any edge \(e=uv \in E_{G}\)
However, the only disadvantage of this method is that its use concerns only graphs containing a single edge, Thus we propose its generalization to treat graphs with multiple edges. The enumeration of spanning trees for large graphs with infinite vertices is a demanding and a difficult task, thus there is much interest in obtaining closed expressions. Wherefore, many works derive formulas to calculate the complexity for some classes of simple graphs (without loops or multiple edges) [12–19]. Bogdanowicz [13], Myers [20] and Haghighi [15] derives the explicit formulas \(\tau (F_{n})\) and \(\tau (W_{n})\); the number of spanning trees in Fan and Wheel graphs with (\( n= |V_{F_{n}}|-2\)) to be (Fig. 1):
Previous researches on techniques facilitating the enumeration of spanning trees treat simple graphs. Although many problem in practice can be represented by graphs. Consider the example of wide communication networks where the number of spanning trees is an important measure of the reliability, and that of social networks where it represents the network robustness, this invariant may be investigated to study the reliability and robustness respectively of communications and social networks. These kind of networks are characterized by multiple connections between its components, that problem was not treated before, whence the interest of our paper to treat graphs with multiple connections.
In the following, we deal with non simple graphs that contains multiple edges (loops do not contribute on the construction of a spanning tree). We describe a general formula based on deletion contraction of multiple edges, we focus on the planar k-multi-edges graphs \(F_{n,k}\) and \(W_{n,k}\) illustrated in Fig. 2, with n the number of sets of multiple edges and k the number of edges in a set of multiple edges. The \(F_{n,k}\) graph represented at the left of the Fig. 2 contains \(n+1\) vertices, n faces and \(n\cdot (k+1)-1\) edges with one complete vertex of degree \(n\cdot k\) connected to each vertex by k multi-edges, two vertices of degree \(k+1\) and the rest of degree \(k+2\), and at the right is illustrated the \(W_{n,k}\) graph on \(n+1\) vertices, \(n+1\) faces and \(n.(k+1)\) edges which is formed from a cycle \(C_{n-1}\) on \(n-1\) vertices by adding a vertex adjacent to every vertex of \(C_{n-1}\) (complete vertex) by k multiple edges, the complete vertex is of degree n.k and the rest of \(k+2\) degree.
The rest of the paper is organized as follows. Section 2 describes a generalization of feussner’s formula to treat non simple graphs with multiple edges, Sect. 3 describes the application of this generalization to count spanning trees in fan graphs with multiple edges. Section 4 treat complexity of the multi-edges wheel graph. Finally, Sect. 5 concludes the paper.
2 Spanning trees in graphs with multiple edges
Previous works in computing spanning trees found formulas that enumerate spanning trees in simple graphs (without loops or multiple edges). In this section we present our research result, a formula seen as a generalization of Feussner’s technical to treat graphs with multiple edges. Then, we apply it in Sect. 3 to find exact and recursive formulas to compute complexities of two famous graphs, the fan and wheel graphs by more feature; that of the multiple edges.
Definition 2.1
Let G be a graph and let u, v be two vertices of G connected by multiple edges \(e_{k}\). We denote by \(G - e_{k}\) the graph obtained by deleting the multiple edges \(e_{k}\) and the graph remains connected, and by \(G\cdot e_{k}\) or G.uv the graph obtained by deleting the multiple edges \(e_{k}\) and pasting the two vertices u and v.
Here is an example of graphs G, \(G-e_{k}\) and \(G\cdot e_{k}\); see Fig. 3.
Lemma 2.2
Let G be a graph If \(e_{k} = uv \in E(G)\) (\(e_{k}\) are multiple edges \(e_{1},e_{2},\ldots ,e_{k}\)); see Fig. 3, then:
Proof
Let S be the set of spanning trees of a graph G;
\(\tau (G)=|S|\)
\(S_{1}\) is the set of spanning trees of G without the multiple edges \(e_{k}\);
\(|S_{1}|=\tau (G-e_{k})\)
\(S_{2}\) is the set of spanning trees of G containing the multiple edges \(e_{k}\);
\(|S_{2}|=k\cdot \tau (G\cdot e_{k})\) since we have k multiple edges to delete
\(|S|=|S_{1}|+|S_{2}|\), then \(\tau (G)=\tau (G-e_{k})+k\cdot \tau (G\cdot uv)\).
3 Complexity of fan graph with multiple edges
In this section we enumerate spanning trees of the fan graph with multiple edges, we consider the regular k-multi-edges fan illustrated in the left of Fig. 2 denoted \(F_{n,k}\), we found exact and recursive formulas to compute its complexity, afterwards we compute that of the (\(k',k\))-multi-edges fan illustrated in Fig. 5 which will be used to compute the complexity of the k-multi-edges wheel graph (see Sect. 4).
3.1 The regular k-multi-edges fan graph
Let \(F_{n,k}\) be the fan graph with k multiple edges, and let \(C_{n,k}\) represent its complexity (Fig. 4).
Lemma 3.1
The number of spanning trees in the planar k-multi-fan is defined as the sequence:
Proof
we apply the Lemma 2.2 recursively until get:
with \(C_{1,k+1}=k+1\), then the result.
The latest works in graph theory are often performed by computer scientists, because of the importance that assume the algorithmic aspects.
We can compute the complexity of \(F_{n,k}\) otherwise as an applicative way, by the derivation of the following simple recursive formula:
Lemma 3.2
Spanning trees of \(F_{n,k}\) satisfies:
Proof
then the result.
It is desired to establish a functional expression of the complexity of sequence, in other words an expression such as computing the number of pairs for a given values of n and k does not presuppose the knowledge of any number of pairs for any else values n and k, which does not enable the recurrence formula.
Theorem 3.3
Complexity of the k-multi-fan graph is given by the following formula depending on n and k
Proof
We consider the formula in Lemma 3.1 as:
We pose \(S_{n}=U_{0}+U_{1}+\cdots +U_{n-1}+U_{n}\), so \(U_{n}=S_{n}-S_{n-1}\) that we inject in the equation;
The characteristic equation is \(r^2-(k+2)r+1=0\), \(\Delta =k^2+4k > 0\) therefore, the solutions of this equation are: \(r_{1}=\frac{k+2-\sqrt{k^2+2k}}{2}\) and \(r_{2}=\frac{k+2+\sqrt{k^2+2k}}{2}\), hence
\(U_{n}=S_{n}-S_{n-1}=\alpha \cdot r_{1}^{n-1}(r_{1}-1)+\beta \cdot r_{2}^{n-1}(r_{2}-1)\), using the initial conditions
we replace in the equation and develop to get:
hence the result.
Particular case In the previous Theorem 3.3, if we take \(k = 1\), we obtain formula of the simple fan graph \(F_{n}\) mentioned in Eq. (1).
3.2 The (k\(^{\prime }\),k)-multi-edges fan graph
In this subsection we focus on the enumeration of spanning trees in the \((k',k)\)-multi-edges fan graph, denoted by \(F_{n,k',k}\), with n number of triangles, \(k'\in \mathbb {N}\) the degree of the first multiple edges and the rest are k degrees as shown in Fig. 5, the complexity of this graph will be needed to compute that of the k-multi-edges wheel graph \(W_{n,k}\) treated in Sect. 4.
Lemma 3.4
Spanning trees in the planar \((k',k)\) multi-fan graph denoted \(C_{n,k',k}\) are computed as:
Proof
Using Lemma 2.2 we have:
To compute spanning trees of \(F_{n,k',k}\) we need to compute that of \(F_{n,k+1,k}\), we reuse Lemma 2.2 recursively:
with \(C_{1,k+1,k}=C_{k+1}=k+1.\)
We multiply the equation of \(C_{n-1,k+1,k}\) by \((k+1)\), the equation of \(C_{n-2,k+1,k}\) by \((k+1)^2\) and so on until the last equation \(C_{2,k+1,k}\) which will be multiplied by \((k+1)^{n-2}\). Summing all the obtained equations, we can find the number of spanning trees in \(C_{n,k+1,k}\) which is given by: \(C_{n,k+1,k}=\sum _{i=1}^{n-1}C_{i,k}.(k+1)^{n-i-1}+(k+1)^{n},\ n\ge 2\) we replace this result and that found in Lemma 3.1 in Lemma 3.4; to obtain \(C_{n,k',k}\) the complexity of \(F_{n,k',k}\).
The Fig. 6 illustrate an example of computation of \(C_{4,k+1,k}\):
4 Complexity of the multi-edges wheel graph
Let \(W_{n,k}\) be the k-multi-edges wheel graph represented in the right of Fig. 2 and let \(A_{n,k}\) represent its number of spanning trees \(\tau (W_{n,k})=A_{n,k}\)
Theorem 4.1
Complexity of the k-multi-wheel graph is given by the following formula depending on n and k
Proof
We use deletion contraction method recursively for \(W_{n,k}\) (as illustrated in the example of Fig. 7, for \(n=4\)), to compute \(A_{n,k}\) as follow:
with \(C_{1,nk,k}=C_{1,nk}=n.k\), we sum previous equations to obtain the result.
The Fig. 7 bellow explains the demo, we fix \(n=4\) and compute \(A_{4,k} \)
5 Conclusion
Previous works in computation of spanning trees in planar graphs treat simple undirected graphs with no loops or multiple edges. In this paper, we have interested by enumerating spanning trees in undirected graphs with multiple edges, we have considered a special kinds of graphs with multiple connections called the k-multi-edges fan and wheel graphs, \(F_{n,k}\) and \(W_{n,k}\), with k the number of multiples edges. We considered the deletion contraction technique of multiple edges, for these latter we found exact and recursive formulas that express complexity of those graphs, and which can be used for both simple and multiple edges graphs.
References
Atajan, T., Hiroshi I.: Network reliability analysis by counting the number of spanning trees. In: International Symposiumon Communications and Information Technologies (ISCIT2004 ) Sapporo,Japan (2004)
Aggarwal, K.K., Rai, S.: Reliability evaluation in computer-communication networks. IEEE Trans. Reliab. 1, 32–35 (1981)
Li, X., Huang, Z.: On the Number of Spanning Trees of Graphs and Applications of Networks. Harbin Institute of Technology Press, New York (1999)
Lemmouchi, S., Haddad, M., Kheddouci, H.: Robustness study of emerged communities from exchanges in peer-to-peer networks. Comput. Commun. 36(10), 1145–1158 (2013)
Sahbani, H., El Marraki, M.: Reliability of the closed-chain-fan social network. In: Ficloud 2015, Rome, Italy, pp. 722–725 (2015)
Takashi, N., Motter, A.E.: Synchronization is optimal in nondiagonalizable networks. Phys. Rev. E 73, 065106(R) (2006)
Marchal, P.: Loop-erased random walks, spanning trees and Hamiltonian cycles. Electron. Commun. Probab. 5, 39–50 (2000)
Diestel, R.: Graph Theory. Springer, New York (2000)
Kirchhoff, G.G.: Uber die Auflösung der Gleichungen, auf welche man bei der Untersuchung der linearen Verteilung galvanischer Strme gefhrt wird. Ann. Phys. Chem. 72, 497–508 (1847)
Cayley, A.: A theorem on trees. Quart. J. Math. 23, 376–378 (1889)
Feussner, W.: Zur Berechnung der Stromsträrke in netzförmigen Letern. Anna. Phys. 13, 1304–1329 (1902)
Desjarlais, R., Molina, M.: Counting spanning trees in grid graphs. Congr. Numer. 145, 177–185 (2000)
Bogdonowicz, Z.: Formulas for the number of spanning trees in a fan. Appl. Math. Sci 2, 781–786 (2008)
Sahbani, H., El Marraki, M.: Formula for the number of spanning tress in light graph. Appl. Math. Sci. 8(18), 865–874 (2014)
Haghighi, M.H.S., Bibak, K.: Recursive relations for the number of spanning trees. Appl. Math. Sci 46, 2263–2269 (2009)
Boesch, F.T., Prodinger, H.: Spanning tree formulas and Chebyshev polynomials. Graphs Comb 2, 191–200 (1986)
Comellas, F., Miralles, A., Hongxiao, L., Zhongzhi, Z.: The number of spanning trees of an infinite family of outerplanar, small-world and self-similar graphs. Phys. A 392, 2803–2806 (2013)
Daoud, S.N.: Generating formulas of the number of spanning trees of some special graphs. Eur. Phys. J. Plus 129(7), 1–14 (2014)
Stavros, D.Nikolopoulos, Papadopoulos, C.: The number of spanning trees in Kn-complements of Quasi-threshold graphs. Graphs and Comb. 20, 383–397 (2004)
Myers, B.R.: Number of spanning trees in a wheel. IEEE Trans. Circuit Theory CT–18, 280–282 (1971)
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Sahbani, H., El Marraki, M. On the number of spanning trees in graphs with multiple edges. J. Appl. Math. Comput. 55, 245–255 (2017). https://doi.org/10.1007/s12190-016-1034-7
Received:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s12190-016-1034-7