Research Article | Open Access

# The Number of Spanning Trees in the Composition Graphs

**Academic Editor:**J. J. Judice

#### Abstract

Using the composition of some existing smaller graphs to construct some large graphs, the number of spanning trees and the Laplacian eigenvalues of such large graphs are also closely related to those of the corresponding smaller ones. By using tools from linear algebra and matrix theory, we establish closed formulae for the number of spanning trees of the composition of two graphs with one of them being an arbitrary complete 3-partite graph and the other being an arbitrary graph. Our results extend some of the previous work, which depend on the structural parameters such as the number of vertices and eigenvalues of the small graphs only.

#### 1. Introduction

In reliable network synthesis, given the class of all connected graphs with vertices and edges, it is very important to seek graphs (known as the -optimal graphs) with the most number of spanning trees, so the number of spanning trees is closely connected to reliable network design [1, 2]. When using a probabilistic graph to model a communication network, the reliability of a network can be expressed as a function of the number of connected spanning subgraphs (spanning trees) of different orders. Thus, the number of spanning trees of a graph describing a network is one of the most natural characteristics for its reliability, and deriving closed formulae of the number of spanning trees for various graphs has attracted the attention of a lot of researchers [3–5].

It is well known that the number of spanning trees of some specific family of graphs can be given explicitly, which include the complete graph , the path , the cycle , the wheel , and the Möbius ladders; “almost-complete” graphs, the threshold graphs, and some multicomplete/star related graphs can also be obtained [6–9].

Mathematic structures can be properly understood if one has a grasp of their symmetries; it also helps to know whether they can be constructed from smaller constituents, since many large graphs (networks) are usually composed from some existing smaller graphs (networks) through graph operations (say, product [10]). In this paper, we are mainly concerned with the number of spanning trees of the composition of two graphs. Let and be two simple graphs;* the composition graphs* of and , denoted by , are a graph with vertex set , and there is an edge between and if there is an edge connecting and in , or if and there is an edge connecting and in . Sometimes it is also called* lexicographic product*. The topological parameters and some properties of such large graphs (networks) are associated strongly with those of the corresponding smaller ones.

Since the composition (lexicographic product) of two graphs is noncommutative, for example see Figure 1.

The structure of is different from the structure of . However, the number of the spanning trees of the composition graphs is got in [11]. In this paper, we enumerate spanning trees of the composition graphs with one of them being an arbitrary complete 3-partite graph and the other an arbitrary graph . The number of the spanning trees of the composition graphs depends only on the number of vertices and eigenvalues of small graphs only.

A major open problem which still remains is to devise a technique that would derive close formulae for and , where and are arbitrary graphs, or one of them is an arbitrary regular graph. Fiedler [12] gave the eigenvalues of nonnegative symmetric matrices where he obtains the description of the eigenspace of some matrix operations. This actually has been applied for some graph product in [13]. There may be some relations between the techniques used in this note. For more details on the composition graphs and matrix operations the reader is referred to [14–16].

#### 2. Preliminaries

We start with fixing some notations. Throughout the paper, let be a simple graph with vertex set and edge set . Let be the -adjacency matrix of , and let be the diagonal matrix with being the degree of the th vertex of . The Laplacian matrix of is defined to be , and the corresponding characteristic polynomial of is denoted by . Since the matrix is symmetric, all its eigenvalues are real. We assume without loss of generality that they are arranged in the nondecreasing order; that is, . The number of spanning trees of is denoted by . For other terminologies and notations which are not defined here, the reader is referred to [17].

Lemma 1 (see [17, 18]). *Let be the eigenvalues of the Laplacian matrix of the graph ; then
*

It is well known that the number of spanning trees of a given graph can be calculated through Kirchhoff’s “Matrix-Tree Theorem.” This is one of the first (and most impressive) contributions of spectral theory.

Lemma 2 (see [19]). *Let be graph on vertices. Let denote the eigenvalues of . Then
*

Let be the all-zero matrix, and let be the all-one matrix, of order . Now we give the main results of this paper.

Theorem 3. *Let be a simple graph with vertices. Let , , be the Laplacian eigenvalues of which are arranged in the nondecreasing order. Then, the eigenvalues of are , , , and , where the exponents denote the multiplicities of the eigenvalues, for , , and .*

*Proof. *Let be the Laplacian matrix of the graph . Let be the labels of the graph , where if and only if and , or and , where (assume that ), for . The node of the graph is the lexicographic order among vertex sequences; then we can represent the Laplacian matrix in the following block matrix form:
where the element of the block denotes the adjacency relation of the two nodes and . By the definition of the composition graphs, if and only if ; or and . Thus, we have
That is,
Similarly, since the sum of the elements of every row (resp., column) of Laplacian matrix is zero, we have
Let , where is an matrix, . Then we get
where is an by block matrix with each block being equal to , , , and
So the characteristic polynomial of the Laplacian matrix is
where
and , for .

In (10), according to the property of the Laplacian matrix, add all the columns to the first column; then every element of the first column is equal to . Extract ; then every element of the first column is equal to 1. Using the notation from Lemma 1, we have
where

In order to compute the determinant in (13), we start by subtracting the first column from the th column to the last column, getting
where
for .

It follows from (15) that
where
Let , . According to the property of the determinant, we have
where
for .

Adding all the columns to the first column and extracting the term , let
then
where , for .

Adding the first column to all the other columns, we get
for .

From Lemma 1 and the property of the determinant, notice that , ; substituting these into equality (24), we get the value of the determinant :
for .

Combining (17), (19), and (25), we obtain
Then we get the eigenvalues of from above equality immediately. This completes the proof.

Theorem 4. *Let be a graph with Laplacian eigenvalues . Then the number of spanning trees of the composition graphs of the complete -partite graph and the graph is equal to
**
where is the order of .*

*Proof. *It follows directly from Lemma 2 and Theorem 3.

#### 3. Some Corollaries

As direct consequences, we give some corollaries of the above Theorem 4.

Corollary 1 (see [19]). *The number of spanning trees of the complete -partite graph is equal to
**
where is the order of .*

*Proof. *According to Theorem 4, let , and note that , , and . The corollary follows immediately from Theorem 4.

Corollary 2 (see [18]). *One has the following formulae:
*

*Proof. *Note that , . Then the corollary follows immediately from Theorem 4.

Finally, as direct consequences of Theorem 4, we give closed formulae for the number of spanning trees of some new family of graphs.

Corollary 3. *Let be a complete graph, a cycle with vertices, and the nonzero eigenvalues of ; then the following results can easily be obtained:
*

#### Conflict of Interests

The author declares that there is no conflict of interests regarding the publication of this paper.

#### Acknowledgments

The author is grateful to the two anonymous referees for many friendly and helpful suggestions for improving the presentation of this paper. Project is supported by the National Natural Science Foundation of China (no. 70531030 and no. 10641003), National 973 (no. 2007CB311002 and no. 2013CB329404).

#### References

- F. T. Boesch and H. Prodinger, “Spanning tree formulas and chebyshev polynomials,”
*Graphs and Combinatorics*, vol. 2, no. 1, pp. 191–200, 1986. View at: Publisher Site | Google Scholar | Zentralblatt MATH - F. T. Boesch, A. Satyanarayana, and C. L. Suffel, “A survey of some network reliability analysis and synthesis results,”
*Networks*, vol. 54, no. 2, pp. 99–107, 2009. View at: Publisher Site | Google Scholar | Zentralblatt MATH - A. Cayley, “A theorem on trees,”
*Quarterly Journal of Mathematics*, vol. 23, pp. 276–278, 1889. View at: Google Scholar - L. Petingi, F. Boesch, and C. Suffel, “On the characterization of graphs with maximum number of spanning trees,”
*Discrete Mathematics*, vol. 179, no. 1–3, pp. 155–166, 1998. View at: Publisher Site | Google Scholar | Zentralblatt MATH - Y. Zhang, X. Yong, and M. J. Golin, “The number of spanning trees in circulant graphs,”
*Discrete Mathematics*, vol. 223, no. 1–3, pp. 337–350, 2000. View at: Publisher Site | Google Scholar | Zentralblatt MATH - K.-L. Chung and W.-M. Yan, “On the number of spanning trees of a multi-complete/star related graph,”
*Information Processing Letters*, vol. 76, no. 3, pp. 113–119, 2000. View at: Publisher Site | Google Scholar - B. Gilbert and W. Myrvold, “Maximizing spanning trees in almost complete graphs,”
*Networks*, vol. 30, no. 2, pp. 97–104, 1997. View at: Google Scholar - P. L. Hammer and A. K. Kelmans, “Laplacian spectra and spanning trees of threshold graphs,”
*Discrete Applied Mathematics*, vol. 65, no. 1–3, pp. 255–273, 1996. View at: Publisher Site | Google Scholar | Zentralblatt MATH - A. K. Kelmans and V. M. Chelnokov, “A certain polynomial of a graph and graphs with an extremal number of trees,”
*Journal of Combinatorial Theory B*, vol. 16, no. 3, pp. 197–214, 1974. View at: Google Scholar - V. Yegnanarayanan, P. R. Thiripurasundari, and T. Padmavathy, “On some graph operations and related applications,”
*Electronic Notes in Discrete Mathematics*, vol. 33, pp. 123–130, 2009. View at: Publisher Site | Google Scholar - F. Li, Z. B. Xu, H. X. Zhao, and W. Wang, “On the number of spanning trees of the lexicographic product of netwoks,”
*Scientia Sinica Informationis*, vol. 42, pp. 949–959, 2012. View at: Google Scholar - M. Fiedler, “Eigenvalues of nonnegative symmetric matrices,”
*Linear Algebra and Its Applications*, vol. 9, pp. 119–142, 1974. View at: Google Scholar - D. M. Cardoso, I. Gutman, E. A. Martins, and M. Robbiano, “A generalization of fiedler's lemma and some applications,”
*Linear and Multilinear Algebra*, vol. 59, no. 8, pp. 929–942, 2011. View at: Publisher Site | Google Scholar - Z. B. Xu, F. Li, and H. X. Zhao, “On the vertex-forwarding index of the lexicographic product of graphs,”
*Scientia Sinica Informationis*. In press. View at: Google Scholar - F. Li, W. Wang, Z. Xu, and H. Zhao, “Some results on the lexicographic product of vertex-transitive graphs,”
*Applied Mathematics Letters*, vol. 24, no. 11, pp. 1924–1926, 2011. View at: Publisher Site | Google Scholar - W. Wang, F. Li, H. Lu, and Z. Xu, “Graphs determined by their generalized characteristic polynomials,”
*Linear Algebra and Its Applications*, vol. 434, no. 5, pp. 1378–1387, 2011. View at: Publisher Site | Google Scholar - N. Biggs,
*Algebraic Graph Theory*, Cambridge University Press, Cambridge, Mass, USA, 2nd edition, 1993. - Z. Huang and X. Li, “On the number of spanning trees of some composite graphs,”
*Acta Mathematics Scientia*, vol. 15, no. 3, pp. 259–268, 1995 (Chinese). View at: Google Scholar - J. Moon,
*Enumerating Labelled Trees*, Graph Theory and Theoretical Physics, Academic Press, New York, NY, USA, 1967.

#### Copyright

Copyright © 2014 Feng Li. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.