sample.bib
Metric dimension and Zagreb indices of essential ideal graph of a finite commutative ring
Abstract
Let be a commutative ring with unity. The essential ideal graph of is a graph whose vertex set consists of all nonzero proper ideals of R. Two vertices and are adjacent if and only if is an essential ideal. In this paper, we characterize the graph as having a finite metric dimension. Additionally, we identify that the essential ideal graph and annihilating ideal graph of the ring are isomorphic whenever is a product of distinct primes. We also estimate the metric dimension of the essential ideal graph of the ring . Furthermore, we determine the topological indices, namely the first and the second Zagreb indices, of .
Keywords— Essential ideal graph, metric dimension, first and second Zagreb indices
AMS Subject Classification:
1 Introduction
Let be a simple graph with vertex set and edge set . If a vertex is adjacent to a vertex in , we write in . The set , is called the set of neighbors of and is called the degree of a vertex . Also, . The distance between two vertices and of a connected graph is the number of edges in the shortest path between and . The complete graph , is a graph in which any two vertices are adjacent. A graph is a if can be partitioned into subsets (named partite sets) such that the vertices and form an edge in if they belong to different partite sets. If, in addition, there exists an edge between every two vertices belonging to different partite sets, then graph can be classified as complete k-partite graph. The graph denoted as represents a complete bipartite graph consisting of two sets with sizes and respectively. The induced subgraph, , is formed by taking the subset of vertices from , along with all the edges that connect vertices solely within . The complement of a graph is denoted by . The join of two graphs, and , represented as , is formed by adding edges between any two vertices and , where and .
The concept of metric dimension of a graph was introduced by Slater in [slater1975leaves], and was called locating sets and locating numbers.
An equivalent terminology was also introduced by Harary and Melter independently
in [harary1976metric], and used the term resolving set. Slater described the usefulness of these ideas in long-range aids to navigation. Also, these concepts
have some applications in chemistry for representing chemical compounds [johnson1993structure, johnson1998browsable], or in problems of pattern
recognition and image processing, some of which involve the use of hierarchical data structures [melter1984metric]. Other applications of this concept to the navigation of robots in networks and other areas appear in [chartrand2000resolvability, hulme1984boolean, khuller1996landmarks]. Hence,
according to its applicability resolving sets has become an interesting and popular topic of investigation in graph theory.
Topological Indices play a vital role in mathematical chemistry. They give ideas about structural characteristics with easy identification for a molecule. Hence there are a lot of molecular descriptors called graph invariants. A graph invariant is a number that is invariant under graph isomorphisms in graph theory. The graphical invariant is considered as a structural invariant related to a graph. Since the topological index is constructed as a graphical invariant in molecular graph theory, the computing of topological indices of many graph structures has been an attractive research area for scientists especially chemists and mathematicians for a long time [consonni2009molecular, gutman2012mathematical].
The first and second Zagreb indices of a graph introduced in [gutman1972graph], and elaborated in [gutman1975graph] are degree-based topological indices defined respectively as follows:
and
Let be a commutative ring with nonzero unity. An element is said to be a zero divisor of whenever there exists a nonzero element such that . An ideal of a ring is said to be an annihilating ideal of if there exists a nonzero ideal of such as . An ideal of a ring which has a nonzero intersection with every other nonzero ideal of is called an essential ideal.
The study of metric dimension and topological indices of graphs related to various algebraic structures has emerged as a compelling area of research in recent times. In [pirzada2014locating], S. Pirzada and R. Raja introduced and investigated the metric dimension of the zero divisor graph of a commutative ring . The results on topological indices of this graph can be seen in [selvakumar2022wiener]. In [banerjee2022spectra, banerjee2023adjacency], S. Banerjee determined the metric dimension and topological indices like the Wiener index, the first and the second Zagreb index of comaximal graph of the ring . In [aijaz2020annihilating], M. Aijaz and S. Pirzada computed the metric dimension of annihilating ideal graphs of commutative rings. The annihilating ideal graph , of a commutative ring , introduced and studied by M. Behboodi and Z. Rakeei in [behboodi2011annihilating], is a graph in which the vertex set consists of the set of all nonzero annihilating ideals of and two distinct vertices and are joined by an edge if and only if .
Being motivated by these works, in this paper, we study the metric dimension and topological indices of the essential ideal graph of the ring . The essential ideal graph of a commutative ring , introduced and studied by J. Amjadi in [amjadi2018essential], is a graph in which the vertex set is the set of all nonzero proper ideals of and two vertices and are joined by an edge whenever is an essential ideal. To date, there is no information about the metric dimension and topological indices of the essential ideal graph of in literature.
This paper has been organized as follows: In Section , we list the results and definitions that are needed for the present study. In Section , we determine the metric dimension of the essential ideal graph of . Also, we prove that the essential ideal graph and annihilating ideal graph of the ring are equal (up to isomorphism) whenever is a product of distinct primes. Moreover, we provide an alternate proof to show that the metric dimension of is when . In section , we calculate the first and the second Zagreb index of the graph for any .
Throughout this paper, , where and is not a prime.
2 Preliminaries
In this section, we list some definitions and results that are needed for the present study.
Definition 2.1.
A subset of vertices of a connected graph is said to resolve , if each vertex of is uniquely determined by its vector of distances to the vertices of . In general, for an ordered subset of vertices of a connected graph and a vertex of , the metric representation of with respect to is the vector . The set is a resolving set for if , for any pair of distinct vertices .
The resolving set, the metric representation of a vertex, and the metric dimension of a graph are also called the locating set, locating code of a vertex, and locating number of a graph respectively.
Definition 2.2.
Let be a connected graph with order . The metric dimension of , is defined as and such a set is the metric basis for .
For every connected graph of order , .
Definition 2.3.
Let be a connected graph with order . Two distinct vertices and are said to be distance similar if , for all . It can be verified that the distance relation is an equivalence relation on and two vertices are distance similar if either and or and .
Theorem 2.4.
[chartrand2000resolvability] Let be a connected graph with order and be a metric basis for . Then if and only if .
Theorem 2.5.
[pirzada2014locating] Let be a connected graph and is partitioned into distinct distance similar classes . Then
-
1.
Any resolving set contains all but at most one vertex from each .
-
2.
If is the number of distance similar classes that consist of a single vertex, then .
Theorem 2.6.
[amjadi2018essential] Let be a commutative ring with unity. Then, is a finite graph if and only if every vertex of has finite degree.
In [p2023structure], the authors determined the structure of essential ideal graph of the ring by defining an equivalence relation on the set of nonessential ideals of as follows:
Definition 2.7.
Let be an index set. For an ideal of , define a subset of by, .
Definition 2.8.
Let and be any two ideals of . We define a relation on by if and only if .
Thus, is partitioned into equivalent classes, and each equivalent class is denoted by . For example, if and is the representative ideal then, the corresponding equivalent class is the set .
Lemma 2.9.
Let and be two vertices of any two of the equivalent classes, say and respectively. Then and are adjacent in if and only if .
The next theorem can be found in [p2023structure], which determines the structure of the induced subgraph . The next theorem gives the structure of the induced subgraph .
Theorem 2.10.
[p2023structure] Let , where are primes, , and for at least one .Then, the induced subgraph is the generalized join of certain null graphs given by,
where for the representative ideal of the equivalent class .
The following theorem determines the structure of as the join of a complete graph induced by the essential ideals of and the induced subgraph .
Theorem 2.11.
[p2023structure] Let , where are primes, and for at least one . Then, the essential ideal graph , where is the complete graph on vertices and
3 Metric Dimension of
In this section, we compute the metric dimension of the essential ideal graph of .
Theorem 3.1.
Let be a commutative ring with unity. Then, is finite if and only if is finite.
Proof.
If is finite, obviously, is finite. Conversely, suppose that . This ensures that each vertex of has a unique -vector metric representation with respect to a minimum resolving set of cardinality . Since , for every vertex , there are only choices for . Hence, .
∎
Corollary 3.2.
Let be a commutative ring with unity. Then, is finite if and only if every vertex of has finite degree.
Lemma 3.3.
Let , where are primes and let and be two distinct nontrivial proper divisors of . Then, if and only if
Proof.
Assume that . Then, there exist integers and such that . Now,
where . Thus, . For the converse, suppose that . Then , where are primes such that and so that , and . Consequently, both divisors and of do not have as a factor and hence . ∎
Theorem 3.4.
Let , where each is a field and let for , where ’s are distinct primes for . Then, .
Proof.
We first note that the vertices of are the nonzero proper ideals of the ring , given by , where for at least one and for at least one . Thus, . Also,
. For the divisor of , define a map by (divisor conjugate of ).
Since each divisor of has a unique divisor conjugate , and for , it follows immediately that is both one-one and onto. Now, Lemma 3.3 assures that two vertices and are adjacent in if and only if and are adjacent in . Thus, is an isomorphism and hence .
Now, for each vertex of , we define a subset of the index set such that Obviously, two distinct vertices and are adjacent in if and only if . Define a map by . Clearly, is a well defined bijection preserving adjacencies and nonadjacencies in and , and hence . ∎
In [aijaz2020annihilating], the authors computed the metric dimension of the annihilating ideal graph of the rings and , .
Theorem 3.5.
[aijaz2020annihilating] For , , the following hold:
-
1.
for .
-
2.
for .
-
3.
for .
The proof is developed by showing that the annihilating ideal graph for , is isomorphic to the zero divisor graph () of the boolean ring and applying the result on metric dimension of zero divisor graph of [Proposition and Theorem of [raja2016locating]]. Hence by Theorems 3.4 and 3.5, we can have the following result.
Proposition 3.6.
Let , . Then,
-
1.
for .
-
2.
for .
-
3.
for .
In the following theorem, we give another proof for computing the metric dimension of for , , by finding a minimal resolving set of . For this, we make use of the following Lemma.
Lemma 3.7.
Let , . Then, for any two vertices and of
-
1.
if and only if and .
-
2.
if and only if and .
Proof.
First, suppose that . Obviously, . Thus, it remains to prove that . If possible, let . Then, any prime not in the generator of the ideal must be in the generator of the ideal and vice versa.
Hence, if is a vertex adjacent to the vertex , then it cannot be adjacent to the vertex as the generators of both and have at least one common prime factor. This leads to the conclusion that , is a contradiction. Thus, . For the converse, assume that and . Then .
Since , there must exist at least one prime number such that is not a prime factor of generators of both ideals and . Thus, if , we have . Consequently, .
Result follows as a direct consequence of the proof of Case .
∎
In the following theorem, we give another proof for computing the metric dimension of for .
Theorem 3.8.
Let , where are primes and . Then .
Proof.
Consider the set consisting of all minimal ideals of as in the following order:
claim: is a resolving set of
We need to show that each vertex has a unique representation of distances with respect to . For this, take any two vertices of of the form and , where are primes such that and not necessarily distinct and . Then three cases may occur- either , or , or .
Case
Then, there exists at least one prime which is in the generator of but not in that of . Now, consider a vertex in such that is not in the generator of . Then , by Lemma 3.7.
That is, . However, since is not adjacent to the vertex to which is only adjacent, .
Then, the coordinate corresponding to the vertex of in the -vector of both and are distinct. Hence, .
Case
In this case, at least one prime is not common in the generators of both and . Without loss of generality, assume that is in the generator of but not in that of and is in the generator of but not in that of . Consider the vertex such that the generator of contains as a factor but not . Then, is adjacent only to the vertex and the latter is not adjacent to . Hence, by Lemma 3.7, and .
Case
Here, there is at least one prime in the generator of but not in that of . Then, by Lemma 3.7, , and , for the vertex having not in the generator of .
This proves that , for any two distinct vertices and in . Hence is a resolving set of cardinality and .
∎
Proposition 3.9.
Let . Then, if and only if either or .
Proof.
It is obvious that when or . For the converse, assume that . Then, is complete by Theorem 2.4. Suppose . To prove , assume to the contrary that , and for at least two (say, ). Now, consider the two vertices and . Obviously, and are nonadjacent in contradicting the fact that is complete. ∎
By Theorem 2.11, , where for each of the equivalence class of the partition on the set of nonessential ideals of . This can be further viewed as , since the vertices of the subgraph are adjacent to all the vertices of the subgraphs for . Also, note that the vertices in each of the induced subgraphs and for are distance similar so that is partitioned into distance similar classes as follows.
Here, and for each of equivalent class . By Theorem 2.5, any resolving set of must contain all but at most one vertex from each of the partitioned sets for . Hence, for any resolving set ,
(1) |
Now, we identify the values of for which these bounds are attained by computing the metric dimension of .
Theorem 3.10.
Let , where are primes, , and for at least one . Then
Proof.
By Equation , we see that any resolving set of must contain at least vertices consisting of all but at most one vertex of each of the distance similar partitioned sets.
Case : for at least two
Here, it remains to show that there exists a resolving set of cardinality . Take as an ordered set consisting of vertices of , followed by vertices of the sets , for . Without loss of generality, let
Since is the only essential ideal of the set , we see that
Now, take any two vertices and of with respective index sets and .
we claim that . For and , either or . If , then there exist at least two distinct primes and such that and . Now,
and for any . Consequently, will have in all the co-ordinates corresponding to the elements from the set whereas will have in the respective coordinates. So . If , then it can be either or or none of these. Let . Since , there exists at least one prime such that is in but not in . Hence, will have in all the co-ordinates corresponding to the elements from the set and will have in all the co-ordinates corresponding to the elements from the set . Thus, . Through a similar argument, we see that whenever . Now, in the last case, there must exist at least two primes and such that is in but not in and is in but not in leading to .
Case : If for exactly one
without loss of generality take , . We know that any resolving set contains all but at most one vertex of each of the distance similar partitioned sets and by Equation , , for any resolving set . At first, we show that there is no resolving set of cardinality . For this, take as an ordered set consisting of vertices of followed by vertices of for each . That is,
Consider the vertices and of . Since is essential, . For and for any vertex , . Consequently, and . Thus, there is no resolving set of cardinality . Now, take as an ordered set obtained by adjoining one more vertex (say ) to . Let and be two distinct vertices of with index sets and respectively. Then there may occur two cases- either or . Proceeding in the same manner as in the proof of case , we see that is a resolving set of of minimum cardinality. ∎
Corollary 3.11.
Let , where be primes. Then
Example 3.12.
-
•
Consider the graph for , . Then the distance similar partition of vertices is given by,
Since any resolving set contains all but at most one vertex of each of the distance similar vertex partitioned sets, take as follows:
To prove is a minimum resolving set, it is enough to show that each vertex of has a unique metric representation. The representations of the seven vertices of are given as follows:
It can be seen that any two distinct vertices of have different metric representations with respect to . Thus is a resolving set having vertices. Also, any resolving set must contain more than elements, we conclude that .
-
•
Let , . Then the distance similar partition of vertices of is given by:
Now, take as an ordered set consisting of first vertices of , first vertices of , and so on. Then, for the vertices and of ,
Hence, cannot be a resolving set of . Without loss of generality, take . That is,
The representations of vertices of are given by,
This unique representation of vertices of ensures that is a minimum resolving set of . Hence, the metric dimension of is .
4 Zagreb Indices of
In this section, we calculate the st and nd Zagreb indices of .
Proposition 4.1.
Let , . Then
-
1.
The first Zagreb index of is, .
-
2.
The second Zagreb index of is, .
Lemma 4.2.
[jamsheena2023adjacency] Let , where are distinct primes. Then any two vertices and of the essential ideal graph of are adjacent if and only if , provided is the product of distinct primes and is the product of distinct primes for .
Theorem 4.3.
Let . Then, the fist and second Zagreb indices of are,
-
1.
-
2.
Proof.
For , the vertex set of can be partitioned as follows:
Clearly . Also, by Lemma 4.2, two vertices and of are adjacent if and only if the generators and have no prime factors in common.
Also, for a fixed ,
Hence,
-
1.
- 2.
∎
Example 4.4.
- •
-
•
Let . Then
and
This can be easily verified from Figure 1.
Theorem 4.5.
Let , where are primes, and for at least one . Then,
-
1.
.
-
2.
and for any vertex of .
Proof.
By Theorem 2.11, , where is the subgraph induced by the set of essential ideals of , and for each of the equivalent class of the set . Thus, , where the union is taken over all the equivalent classes. Then, for any vertex , and by Lemma 2.9,
(4) |
-
1.
where the summation runs over all the equivalent classes.
-
2.
First consider . Since, and there are pairs of elements in , we have
(5) Now, each vertex is adjacent to every vertex , for each of the equivalent class . Then,
and hence,
(6) Now, if we take from the vertex subset , then and for some equivalent classes and . By Lemma 2.9, and are adjacent if and only if and hence
(7) Using Equations (5), (6) and (7), we have
and are given by Equation (4).
∎
Corollary 4.6.
Let , where are primes and for at least one . Then
-
1.
-
2.
Proof.
Example 4.7.
Let . Then, , and , where . The partitioned sets of nonessential ideals of are
Then, by Theorem,
5 Conclusion
In this article, we have proved that the metric dimension of the essential ideal graph of a commutative ring is finite whenever each vertex of is of finite degree. Also, for the ring , it is identified that the graphs and coincide (up to isomorphism) when is a product of distinct primes. Furthermore, we have calculated the metric dimension of . Additionally, an alternative method has been provided to establish an upper limit for when . Finally, the first and second Zagreb indices of are computed for arbitrary values of .
6 Declarations
Conflict of interest On behalf of all authors, the corresponding author states that there is no conflict of interest.