Lexicographical ordering of hypergraphs via spectral moments
Abstract
The lexicographical ordering of hypergraphs via spectral moments is called the -order of hypergraphs. In this paper, the -order of hypergraphs is investigated. We characterize the first and last hypergraphs in an -order of all uniform hypertrees and all linear unicyclic uniform hypergraphs with given girth, respectively. And we give the last hypergraph in an -order of all linear unicyclic uniform hypergraphs.
keywords:
hypergraph, spectral moment, adjacency tensorAMS classification (2020): 05C65, 15A18
1 Introduction
Let be a simple undirected graph with vertices and be the adjacency matrix of . The th order spectral moment of is the sum of powers of all the eigenvalues of , denoted by [1]. For two graphs with vertices, if for , then adjacency matrices of and have the same spectrum. Therefore, for . We write ( comes before in an -order) if there exists a such that for and . We write , if for .
In 1987, Cvetković and Rowlinson [2] characterized the first and last graphs in an -order of all trees and all unicyclic graphs with given girth, respectively. Other works on the -order of graphs can be referred to [3, 4, 5, 6, 7, 8]. The -order of graphs had been used in producing graph catalogues [9].
In this paper, the -order of hypergraphs is defined. We characterize the first and last hypergraphs in an -order of all uniform hypertrees and all linear unicyclic uniform hypergraphs with given girth, respectively. And we give the last hypergraph in an -order of all linear unicyclic uniform hypergraphs.
Next, we introduce some notations and concepts for tensors and hypergraphs. For a positive integer , let . An -order -dimension complex tensor is a multidimensional array with entries on complex number field , where .
Let be the set of -dimension complex vectors and be the set of -order -dimension complex tensors. For , is a vector in whose th component is
A number is called an eigenvalue of if there exists a nonzero vector such that
A hypergraph is called -uniform if for all . For an -uniform hypergraph with vertices, its adjacency tensor is the order dimension tensor , where
Clearly, is the adjacency matrix of when is -uniform [12]. The degree of a vertex of is the number of edges containing the vertex, denoted by or . A vertex of is called a core vertex if it has degree one. An edge of is called a pendent edge if it contains core vertices. Sometimes a core vertex in a pendent edge is also called a pendent vertex. The girth of is the minimum length of the hypercycles of , denoted by . is called linear if any two different edges intersect into at most one vertex. The -power hypergraph is the -uniform hypergraph which obtained by adding vertices with degree one to each edge of the graph .
In 2005, the concept of eigenvalues of tensors was proposed by Qi [10] and Lim [11], independently. The eigenvalues of tensors and related problems are important research topics of spectral hypergraph theories [13, 14, 15, 16], especially the trace of tensors [16, 17, 18, 19, 20].
Morozov and Shakirov gave an expression of the th order trace of a tensor [17]. Hu et al. proved that is equal to the sum of powers of all eigenvalues of [18]. For a uniform hypergraph , the sum of powers of all eigenvalues of is called the th order spectral moment of , denoted by . Then . Shao et al. established some formulas for the th order trace of tensors in terms of some graph parameters [19]. Clark and Cooper expressed the spectral moments of hypergraphs by the number of Veblen multi-hypergraphs and used this result to give the “Harary-Sachs” coefficient theorem for hypergraphs [16]. Chen et al. gave a formula for the spectral moment of a hypertree in terms of the number of some sub-hypertrees [20].
This paper is organized as follows. In Section 2, the -order of hypergraphs is defined. We introduce operations of moving edges on hypergraphs and give changes of the Zagreb index after operations of moving edges. In Section 3, we give the first and last hypergraphs in an -order of all uniform hypertrees. In Section 4, the expressions of th and th order spectral moments of linear unicyclic -uniform hypergraphs are obtained in terms of the number of sub-hypergraphs. We characterize the first and last hypergraphs in an -order of all linear unicyclic uniform hypergraphs with given girth. And we give the last hypergraph in an -order of all linear unicyclic uniform hypergraphs.
2 Preliminaries
For two -uniform hypergaphs with vertices, if for , then adjacency tensors of and have the same spectrum. Therefore, for . We write ( comes before in an -order) if there exists a such that for and . We write if for . In this paper, is also written . Let and be two sets of hypergraphs. We write ( comes before in an -order) if for each and each .
For an -uniform hypergraph with vertices, let In [12], the th order traces of the adjacency tensor of an -uniform hypergraph were given for .
Next, we introduce operations of moving edges on hypergraphs and give changes of the Zagreb index after operations of moving edges. The sum of the squares of the degrees of all vertices of a hypergraph is called the Zagreb index of , denoted by [21]. Let , we denote by the sub-hypergraph of obtained by deleting the edges of .
Transformation 1: Let be an edge of an -uniform hypergraph , be the pendent edges incident with , where , and . Write . Let .
Lemma 2.2.
Let be obtained from by transformation 1. Then .
Proof.
By the definition of the Zagreb index, we have
∎
Transformation 2: Let and be two vertices in a uniform hypergraph , be the pendent edges incident with and be the pendent edges incident with , where and . Write , . If , let . If , let .
Lemma 2.3.
Let be obtained from by transformation 2. Then .
Proof.
By the definition of the Zagreb index, if , we have
If , we have
∎
The -uniform hypertree with a maximum degree of less than or equal to is called the binary -uniform hypertree. For two vertices of an -uniform hypergraph , the distance between and is the length of a shortest path from to , denoted by [22]. Let . Let be pairwise disjoint connected hypergraphs with and for each , where . Denote by the hypergraph obtained from by attaching to with identified with for each [23]. Let be a path of length .
Transformation 3: Let be an -uniform connected hypergraph with . Let be a binary -uniform hypertree with and such that , , , be a pendent vertex and . Let . is obtained from by deleting and adding .
Lemma 2.4.
Let be obtained from by transformation 3. Then .
Proof.
By the definition of the Zagreb index, we have
∎
Transformation 4: Let be an -uniform connected hypergraph with such that , and . Let be two binary -uniform hypertrees, where . denotes the hypergraph that results from identifying with the pendent vertex of and identifying with the pendent vertex of . Suppose that is a pendent vertex of , let be obtained from by deleting and adding .
Lemma 2.5.
Let be obtained from by transformation 4.
(1). If , then ;
(2). If , then .
Proof.
By the definition of the Zagreb index, if , we have
If , , we have
∎
3 The -order in hypertrees
In this section, we give the first and last hypergraphs in an -order of all uniform hypertrees.
In [20], the first th order spectral moments of uniform hypertrees were given. Let be the number of sub-hypergraphs of isomorphic to and be a star with edges.
Lemma 3.6.
[20] Let be an -uniform hypertree. Then
Let be the set of all -uniform hypertrees with edges. The following theorem gives the last hypergraph in an -order of all -uniform hypertrees.
Theorem 3.7.
In an -order of , the last hypergraph is the hyperstar .
Proof.
Since in all -uniform hypertrees with edges the spectral moments are the same, the first significant spectral moment is the th. By Lemma 3.6, is determined by the number of . The number of vertices of -uniform hypertrees with edges is . For any hypertree in , we have
where .
Repeating transformation 1, any -uniform hypertree with edges can changed into . And by Lemma 2.2, each application of transformation 1 strictly increases the Zagreb index. Therefore, in an -order of , the last hypergraph is the hyperstar . ∎
Let T be the set of all binary -uniform hypertrees with edges. We characterize the first few hypergraphs in the -order of all -uniform hypertrees.
Theorem 3.8.
.
Proof.
Let be the set of all sub-hyperpaths length of an -uniform hypergraph .
Lemma 3.9.
Let be an edge and be pairwise disjoint connected -uniform hypergraphs with and for each , where , . Let . Let , where are respectively the pendent vertices of and . If , then
Proof.
Since , let be an edge incident with . Let be an edge incident with and be an edge incident with . We have and . For a hyperpath with , is also written in this paper.
If , there are hyperpaths in and not in . Since , There is only one hyperpath in and not in . And the edges of are not in . We have So, .
If , let . There are hyperpaths in and not in . Since , There are only two hyperpaths , in and not in . And the edges of and are not in . We have So, .
If , similar to , there are hyperpaths in and not in . For an -uniform hyperpath with edges, the number of the sub-hyperpaths with edges is . Since ,
Since , there are only hyperpaths in and not in . We have So, if , .
Therefore, if , we have ∎
The following theorem gives the first hypergraph in an -order of all -uniform hypertrees.
Theorem 3.10.
In an -order of , the first hypergraph is the hyperpath .
Proof.
In an -order of , by Theorem 3.8, the first hypergraph is in T. When , Therefore, in an -order of , the first graph is the path . When , since the spectral moments are the same in T, the first significant spectral moment is the th. By Lemma 3.6, is determined by the number of and .
For any hypertree in T, . Let denote the set of all edges of that contain at least 3 vertices whose degree is equal to 2. Fix a vertex of degree as a root. Let be the hypertrees attached at . We can repeatedly apply the transformation from Lemma 3.9 at any two vertices with largest distance from the root in every hypertree and , as long as does not become a hyperpath. From Lemma 3.9, each application of this transformation strictly decreases the number of sub-hyperpaths with edges. In the end of this process, we arrive at the hyperpath . Therefore, in an -order of , the first hypergraph is the hyperpath . ∎
4 The -order in unicyclic hypergraphs
In this section, the expressions of th and th order spectral moments of linear unicyclic -uniform hypergraphs are obtained in terms of the number of sub-hypergraphs. We characterize the first and last hypergraphs in an -order of all linear unicyclic -uniform hypergraphs with given girth. And we give the last hypergraph in an -order of all linear unicyclic -uniform hypergraphs.
Let be a weighted uniform hypergraph, where . Let and , where . Let be a cycle with edges. In [24], the formula for the spectral moments of linear unicyclic -uniform hypergraphs was given.
Theorem 4.11.
[24] Let be a linear unicyclic -uniform hypergraph with girth . If , then
(4.1) |
and
where
, , denotes the set of connected sub-hypergraphs of which are hypertrees, denotes the set of connected sub-hypergraphs of which contain the hypercycle.
If , then .
We give expressions of th and th order spectral moments of a linear unicyclic -uniform hypergraph in terms of the number of some sub-hypergraphs.
Corollary 4.12.
Let be a linear unicyclic -uniform hypergraph. Then we have
Proof.
Corollary 4.13.
Let be a linear unicyclic -uniform hypergraph with girth . Then we have
Let be a linear unicyclic -uniform hypergraph with girth . Then we have
Proof.
Since , we have
(1). is an edge with ;
(2). is a hyperpath of length with , or , , where ;
(3). is a hyperpath of length with , where ;
(4). is a hyperstar with edges and , where .
Therefore,
When ,
since , we have
(1). is an edge with ;
(2). is a hyperpath of length with , or , , where ;
(3). is a hyperpath of length with , where ;
(4). is a hyperstar with edges and , where .
The set of all linear unicyclic -uniform hypergraphs with edges which contain a hypercycle will be denoted by . Let be the linear unicyclic -uniform hypergraph obtained from the hypercycle by attached pendant edges to one of non core vertices on . The following theorem gives the last hypergraph in an -order of all linear unicyclic -uniform hypergraphs with given girth.
Theorem 4.14.
In an -order of the last hypergraph is .
Proof.
Since in the spectral moments are the same, the first significant spectral moment is the th. By Corollary 4.12, is determined by the number of . The number of vertices of linear unicyclic -uniform hypergraphs with edges is . For any , we have
where .
Repeating transformation 1, any linear unicyclic -uniform hypergraph in can be changed into a linear unicyclic -uniform hypergraph such that all the edges not on are pendant edges and incident with non core vertices of .
After repeating transformation 1, if we repeat transformation 2, any linear unicyclic -uniform hypergraph in can be changed into a linear unicyclic -uniform hypergraph obtained from the hypercycle by attached pendant edges to one of non core vertices on .
From Lemma 2.2 and Lemma 2.3, each application of transformation 1 or 2 strictly increases the Zagreb index. Hence, in an -order of the last hypergraph is .
∎
The set of all linear unicyclic -uniform hypergraphs with edges will be denoted by . The following theorem gives the last hypergraph in an -order of all linear unicyclic -uniform hypergraphs.
Theorem 4.15.
In an -order of the last hypergraph is .
Proof.
By Theorem 4.14, we get that in an -order of the last hypergraph is . By the definition of the Zagreb index, we have . Since the derivative of over is equal to , for with the equality if and only if . Hence, in an -order of the last hypergraph is . ∎
For let U be the set of all linear unicyclic -uniform hypergraphs with edges and girth such that the degree of all the vertices is less than or equal to . We characterize the first few hypergraphs in the -order of all linear unicyclic -uniform hypergraphs with given girth.
Theorem 4.16.
For
Proof.
As in the proof of Theorem 4.14 we pay attention to the Zagreb index. Repeating transformation 3, any -uniform hypertree attached to an -uniform hypergraph can be changed into a binary -uniform hypertree. After repeating transformation 3, if we repeat transformation 4, then any linear unicyclic -uniform hypergraph in can be changed into a linear unicyclic -uniform hypergraph in U. And from Lemma 2.4 and Lemma 2.5, the Zagreb indices decrease. Hence, we have ∎
We give a transformation which will decrease the number of sub-hyperpaths with edges of hypergraphs as follows:
Transformation 5: Let be an -uniform hyperpath, be a pendent vertex of for each and be core vertices of a linear -uniform hypercycle , where and . Let . Suppose that in , is a pendent vertex of , let be obtained from by deleting and adding .
Lemma 4.17.
Let be obtained from by transformation 5. Then .
Proof.
Let and . So and , where is the set of all the sub-hyperpaths with edges of , each of them contains both at least one edge in and at least one edge in We have and .
If , since , in there are 2 hyperpaths at least which contain and two edges in . In there is a hyperpath which contain and two edges in . Therefore, we have . Hence, . So, .
If , since , in there are 2 hyperpaths at least which contain and two edges in and there is a hyperpath which contain two edges in and an edge in . In there is a hyperpath which contain and two edges in and there is a hyperpath which contain two edges in and an edge in . Therefore, we have . Hence, . So, .
∎
Let be the linear unicyclic -uniform hypergraph obtained by the coalescence of at one of its core vertices with at one of its pendent vertices. The following theorem gives the first hypergraph in an -order of all linear unicyclic -uniform hypergraphs with given girth.
Theorem 4.18.
For , in an -order of the first hypergraph is .
Proof.
In an -order of , by Theorem 4.16, the first hypergraph is in U. Since the spectral moments are the same in U, the first significant spectral moment is the th. By Corollary 4.13, is determined by the number of and . For any , .
Let be pairwise disjoint binary -uniform hypertrees, be a pendent vertex of for each and be core vertices of , where and . For any , let denote the set of all edges of that contain at least 3 vertices whose degree is equal to 2. Let the vertex as a root in . We can repeatedly apply the transformation from Lemma 3.9 at any two vertices with largest distance from the root in every hypertree and , as long as does not become a hyperpath. By Lemma 3.9, each application of this transformation strictly decreases the number of sub-hyperpaths with edges.
When all hypertrees turn into hyperpaths, we can repeatedly apply the transformation 5, as long as there exist at least two hyperpaths of length at least one, By Lemma 4.17, each application of transformation 5 strictly decreases the number of sub-hyperpaths with edges. In the end of this process, we arrive at the . ∎
Acknowledgments
This work is supported by the National Natural Science Foundation of China (No. 11801115, No. 12071097, No. 12042103 and No. 12242105), the Natural Science Foundation of the Heilongjiang Province (No. QC2018002) and the Fundamental Research Funds for the Central Universities.
References
References
- [1] D. Cvetković, M. Doob, and H. Sachs. Spectra of Graphs. Academic Press, 1980.
- [2] D. Cvetković and P. Rowlinson. Spectra of unicyclic graphs. Graphs Comb., 3(1):7–23, 1987.
- [3] Y. Wu and H. Liu. Lexicographical ordering by spectral moments of trees with a prescribed diameter. Linear Algebra Appl., 433(11):1707–1713, 2010.
- [4] X. Pan, X. Hu, X. Liu, and H. Liu. The spectral moments of trees with given maximum degree. Appl. Math. Lett., 24(7):1265–1268, 2011.
- [5] B. Cheng, B. Liu, and J. Liu. On the spectral moments of unicyclic graphs with fixed diameter. Linear Algebra Appl., 437(4):1123–1131, 2012.
- [6] B. Cheng and B. Liu. Lexicographical ordering by spectral moments of trees with pendant vertices and integer partitions. Appl. Math. Lett., 25(5):858–861, 2012.
- [7] S. Li, H. Zhang, and M. Zhang. On the spectral moment of graphs with cut edges. Electron. J. Linear Algebra, 26:718–731, 2013.
- [8] S. Li and S. Hu. On the spectral moment of graphs with given clique number. Rocky Mountain J. Math., 46(1):261–282, 2016.
- [9] D. Cvetković and M. Petrić. A table of connected graphs on six vertices. Discrete Math., 50:37–49, 1984.
- [10] L. Qi. Eigenvalues of a real supersymmetric tensor. J. Symbolic Comput., 40(6):1302–1324, 2005.
- [11] L. Lim. Singular values and eigenvalues of tensors: a variational approach. In Proceedings 1st IEEE International Workshop on Computational Advances of Multitensor Adaptive Processing, pages 129–132. IEEE, 2005.
- [12] J. Cooper and A. Dutle. Spectra of uniform hypergraphs. Linear Algebra Appl., 436(9):3268–3292, 2012.
- [13] Y. Fan, T. Huang, Y. Bao, C. Zhuan-Sun, and Y. Li. The spectral symmetry of weakly irreducible nonnegative tensors and connected hypergraphs. Trans. Amer. Math. Soc., 372(3):2213–2233, 2019.
- [14] G. Gao, A. Chang, and Y. Hou. Spectral Radius on Linear -Graphs without Expanded . SIAM J. Discrete Math., 36(2):1000–1011, 2022.
- [15] L. Qi and Z. Luo. Tensor Analysis: Spectral Theory and Special Tensors. SIAM, 2017.
- [16] G. Clark and J. Cooper. A Harary-Sachs theorem for hypergraphs. J. Combin. Theory Ser. B, 149:1–15, 2021.
- [17] A. Morozov and S. Shakirov. Analogue of the identity Log Det = Trace Log for resultants. J. Geom. Phys., 61(3):708–726, 2011.
- [18] S. Hu, Z. Huang, C. Ling, and L. Qi. On determinants and eigenvalue theory of tensors. J. Symbolic Comput., 50:508–531, 2013.
- [19] J. Shao, L. Qi, and S. Hu. Some new trace formulas of tensors with applications in spectral hypergraph theory. Linear Multilinear Algebra, 63(5):971–992, 2015.
- [20] L. Chen, C. Bu, and J. Zhou. Spectral moments of hypertrees and their applications. Linear Multilinear Algebra, 70(21):6297–6311, 2022.
- [21] K. Cardoso and V. Trevisan. Energies of hypergraphs. Electron. J. Linear Algebra, 36:293–308, 2020.
- [22] H. Lin and B. Zhou. Distance spectral radius of uniform hypergraphs. Linear Algebra Appl., 506:564–578, 2016.
- [23] Y. Fan, Y. Yang, C. She, J. Zheng, Y. Song, and H. Yang. The trace and estrada index of uniform hypergraphs with cut vertices. Linear Algebra Appl., 660:89–117, 2023.
- [24] Y. Fan, J. Zheng, and Y. Yang. The trace of uniform hypergraphs with application to Estrada index. arXiv:2210.03311v1, 2022.