Abstract
Some of the most comprehensively studied degree-based topological indices are the Zagreb indices. The first Zagreb index of a graph G is defined as the sum of squares of the degrees of the vertices. Let and let be the graph obtained from the simple graph G, by attaching a self-loop to each of its vertices belonging to X. In this article, some sharp bounds for the first Zagreb index of graphs with self-loops using various parameters has been put forward.
1 Introduction
Let be a simple connected undirected graph of order n and size m. Here, be the vertex set of G and is used to denote the edge set of G. By , we mean that is adjacent to (or ) and by , we mean that is not adjacent to (or ). The open neighborhood of a vertex v in a graph G, denoted by or simply (if there is no confusion in the graph considered), is the set of all vertices adjacent to v in G, while the closed neighborhood of a vertex v, denoted by N[v] is given by . Other undefined notation and terminology of graph theory can be found in [Citation12].
Energy of simple graphs have been much studied, where as the energy of graphs with loops was recently introduced by Ivan Gutman et al. [Citation5]. Let and let be the graph obtained from the simple graph G, by attaching a self-loop to each of its vertices belonging to X. The degree of each vertex in the resulting graph is denoted by and is given by , where is the degree of in the simple graph G. If , we can write it as and , and if then . Let denote the complement of the simple graph G. By , we mean the complement of the graph which is obtained by by attaching a self loop at each vertex of . The adjacency matrix of is a symmetric square matrix of order n, whose - element is defined as
Suppose are the eigenvalues of . Then energy of is defined[Citation5] as
Readers are referred to [Citation1, Citation5, Citation8, Citation10] for more results on energy of graphs with loops.
One of the oldest graph invariant is the well-known Zagreb index first introduced in [Citation6]. The first Zagreb index denoted by is defined as
For detailed summary of this index one can refer [Citation3, Citation4, Citation9].
Similarly, the first Zagreb index of the graph denoted by is defined as
In this paper the study is restricted only to the first Zagreb index of graphs with self-loops. In Section 2, we discuss few preliminary results which are used in the later sections. Sections 3 and 4 deals with few upper bounds and lower bounds of the first Zagreb index of graphs with self loops respectively.
2 Preliminary results
We note few preliminary results which we are using in the next sections.
Lemma 1.
Let be a graph obtained from a simple graph G of order n and size m by attaching a self-loop at each vertex of and . Then
Proof.
It follows by observing that , if . ▪
Lemma 2.
Let be a graph obtained from a simple graph G of order n and size m by attaching a self-loop at each vertex of and . Then
Proof.
The proof follows directly from the inequality,
Lemma 3.
[Citation5] Let be a graph of order n and size m with self-loops. Let be the eigenvalues of . Then and
Theorem 1.
[Citation7] Let and be n-tuples of real numbers satisfying
Then,
A matrix is said to be row-regular if its row sums are equal and, it is column-regular if its column sums are equal. A matrix is regular if it is both row-regular and column-regular.
A matrix A is said to be a semi-regular matrix, if there exist a permutation matrix P such that , where B and C are regular matrices.
Theorem 2.
[Citation2] Let be an non-negative symmetric matrix with positive row sums . Then, the spectral radius satisfies, with equality if and only if A is regular or semi-regular.
Theorem 3.
[Citation14] Let G be a connected graph on vertices with a connected . Then, with equality if and only if G or is the graph , which is obtained by attaching a pendant vertex to a pendant vertex of the star .
Theorem 4.
[Citation13] Let G be a -free graph with n vertices and edges, where . Then
Lemma 4.
[Citation11] Let be a graph obtained from a simple graph G of order n and size m by attaching a self-loop at each vertex of with . If are the eigenvalues of the adjacency matrix of the graph , then with equality if and only if is a totally disconnected graph with or .
Theorem 5.
[Citation11] Let be graph obtained by a simple graph G by attaching a self-loop at each vertex of and . Then the spectral radius of the graph satisfies and the equality in both inequalities is attained when .
3 Upper bounds
In this section, several upper bounds for have obtained.
Theorem 6.
Let be a graph obtained from a simple graph G of order n and size m by attaching a self-loop at each vertex of with , and let and be the maximum and minimum degree of the graph . Then
Proof.
By substituting and in Theorem 1, we get
Hence the inequality. ▪
The following result gives the bounds for in terms of spectral radius of
Theorem 7.
Let be a graph obtained from a simple graph G of order n and size m by attaching a self-loop at each vertex of with . If is the largest eigenvalue of , then with equality if and only if is a regular with .
Proof.
From Theorem 2, we have from which the inequality follows.
For the case of equality, it is easy to observe that must be equal to n. From Theorem 2, the equality in the above follows if and only if the adjacency matrix is regular or semi-regular. But, if then there does not exist any permutation matrix P such that , where B and C are regular matrices of different order. Therefore, for the equality, must be a regular graph with . ▪
Theorem 8.
Let be a graph obtained from a simple graph G of order n and size m by attaching a self-loop at each vertex of , with . If is the energy of , then
Proof.
Consider,
Therefore, ▪
Similar to Theorem 3, Nordhaus-Gaddum type of upper bound is obtained in the following theorem.
Theorem 9.
Let be a graph obtained from a simple connected graph G of order n and size m by attaching a self-loop at each vertex of , with . If is also connected then, with equality if and only if either or is isomorphic to , where is a graph obtained from the star , by attaching a self-loop to the central vertex and a pendant edge to any one of the pendant vertex.
Proof.
Since both and are connected, we have with equality if and only if or . That is, the number of vertices having degree either equal to 1 (pendant vertex) or equal to n (must contain a loop) must be maximum. Let us suppose that, be an edge in G with and . Then there exist a unique vertex which is not adjacent to and . If and the graph induced by is an empty graph, then . Similarly, if and the graph induced by is a clique with self-loop on each vertices, then . Other than these two cases, there will always be at least two vertices with degree at least 2 and at most . Hence attains minimum value when G is or and the minimum value is equal to . Hence,
Theorem 10.
Let be a graph obtained from a simple graph G of order n and size m by attaching a self-loop at each vertex of , with . Then
Proof.
From Lemma 2, we have
Hence the proof. ▪
Let G[N[u]] be the subgraph of G induced by the vertices of N[u]. Let denote the total number of edges and self-loops in G[N[u]] and denote the total number of edges that connect the vertices of with the vertices of . Now, , and Then, with equality for if and only if either or is a totally disconnected graph with or without self-loops.
Theorem 11.
Let G be a connected -free graph with n vertices and edges, where and let be the graph obtained from G by attaching a self-loop at each vertex of with . Then, with equality if and only if is a complete bipartite graph with for and a balanced complete -partite graph with for .
Proof.
We know that with equality if and only if X is an empty set. In order to find the maximum value of ), without loss of generality, let us assume that . Let u be any vertex in , then .
Now, can not contain as a subgraph. Therefore, by using Turan’s theorem we have, the maximum number of edges in a -free graph is where s is the residual number of vertices in the balanced () or nearly balanced () complete -partite graph. Hence, with equality if and only if is a complete partite graph on vertices we get,
By using Lemma 1, we have
By simplifying,
The equality in holds for all if and only if is a complete partite graph on vertices for all and the equality in for all holds for if and only if either or is a totally disconnected graph with . Therefore, the equality holds in the above theorem, if and only if is a complete -partite graph with a self-loop on each vertex. ▪
Corollary 1.
Let be the graph obtained from a triangle-free graph G by attaching a self-loop at each vertex of , then with equality if and only if is a complete bipartite graph with self-loop on each vertices.
4 Lower bounds
Lower bounds on are discussed in this section.
Theorem 12.
Let be a graph obtained from a simple graph G of order n and size m by attaching a self-loop at each vertex of , with . Then with equality if and only if is a regular graph.
Proof.
For a sequence of real numbers , we have with equality if and only if all , for are equal.
By substituting for , where is the degree of the vertex in the graph , we get the desired inequality and the equality follows. ▪
Corollary 2.
Let be a graph obtained from a simple graph G of order n and size m by attaching a self-loop at each vertex of , with . Then with equality if and only if is a regular graph.
Proof.
From Theorem 12, we have and the equality if and only if is a regular graph, which is possible if and only if is regular. ▪
Theorem 13.
Let be a graph obtained from a simple graph G of order n and size m by attaching a self-loop at each vertex of with . If is the maximum degree of the graph , then, with equality if and only if is a regular graph or a bi-regular graph with exactly one vertex having degree equal to .
Proof.
Let be the degree sequence of the graph . Then we have, with equality if and only if all are equal for . On adding term on both sides and by simplifying we get the required inequality and the equality follows directly. ▪
Theorem 14.
Let be a graph obtained from a simple graph G of order n and size m by attaching a self-loop at each vertex of and . If and respectively the minimum and maximum degree in the graph , then with equality if and only if is a
regular graph or
a bi-regular graph, where exactly one vertex has degree equal to (or or
a tri-regular graph, where exactly two vertices are of degree equal to and .
Proof.
The proof is similar to the proof of Theorem 13. ▪
Theorem 15.
Let be a graph obtained from a simple graph G of order n and size m by attaching a self-loop at each vertex of . Let be the spectral radius (of adjacency matrix) of the graph . Then,
Proof.
Let be the ith entry of a normalized eigenvector x of the adjacency matrix, of the graph which corresponds to the largest eigenvalue (in absolute values), and let be the ith row of . Then,
Now on taking the sum from to n, we get
Theorem 16.
Let be a graph obtained from a simple graph G of order n and size m by attaching a self-loop at each vertex of with . Let and respectively be the spectral radius and energy (of adjacency matrix) of the graph . Then,
Proof.
We have,
Theorem 17.
Let be a graph obtained from a simple connected graph G of order n and size m by attaching a self-loop at each vertex of , with . If is also connected, then with equality if and only if is
Proof.
By Theorem 9, we have is minimum, if
is maximum. The term, attains the maximum value, if and are nearly equal.
When n is odd and is even, attains the maximum value if and only if , for every . The maximum value of is equal to
When n is odd and is odd, attains the maximum value if and only if for vertices and or . The maximum value of is equal to
When n is even, attains the maximum value if and only if is equal to either or , for every . In both the cases, and the minimum value of is equal to
Hence the graph must be a bi-regular graph where degree of each vertex is either equal to or ▪
Acknowledgments
We sincerely appreciate the reviewers for all the valuable comments and suggestions, which helped us to improve the quality of the manuscript.
Disclosure statement
No potential conflict of interest was reported by the author(s).
References
- Akbari, S., Al Menderj, H., Ang, M. H., Lim, J, Ng, Z. C. (2023). Some results on spectrum and energy of graphs with loops. Bull. Malaysian Math. Sci. Soc 46: 94.
- Bo, Z. (2000). On the spectral radius of nonnegative matrices. Australas. J. Comb 22: 301–306.
- Gutman, I, Das, K. C. (2004). The first Zagreb index 30 years after. MATCH Commun. Math. Comput. Chem 50(1): 83–92.
- Gutman, I., Milovanović, E, Milovanović, I. (2020). Beyond the Zagreb indices. AKCE Int. J. Graphs Comb 17(1): 74–85.
- Gutman, I., Redžepović, I., Furtula, B, Sahal, A. (2022). Energy of graphs with self-loops. match 87(3): 645–652.
- Gutman, I, Trinajstić, N. (1972). Graph theory and molecular orbitals. Total -electron energy of alternant hydrocarbons. Chem. Phys. Lett 17(4): 535–538.
- Izumino, S., Mori, H, Seo, Y. (1998). On Ozeki’s inequality. J. Inequal. Appl. 1998(3): 329791.
- Jovanović, I. M., Zogić, E, Glogić, E. (2023). On the conjecture related to the energy of graphs with self-loops. MATCH Commun. Math. Comput. Chem 89: 479–488.
- Nikolić, S., Kovačević, G., Miličević, A, Trinajstić, N. (2023). The Zagreb indices 30 years after. Croatica Chem. Acta 76(2): 113–124.
- Popat, K. M, Shingala, K. R. (2023). Some new results on energy of graphs with self loops. J. Math. Chem. 61(6): 1462–1469.
- Shetty, S. S, Bhat, K. A. (2023). Degree Based Energies of Graphs with Self-Loops. (Communicated).
- West, D. B. (2001). Introduction to Graph Theory, Vol. 2. Upper Saddle River: Prentice Hall.
- Zhou, B. (2007). Remarks on Zagreb indices. MATCH Commun. Math. Comput. Chem 57: 591–596.
- Zhou, B, Trinajstić, N. (2008). On reciprocal molecular topological index. J. Math. Chem. 44(1): 235–243.