Abstract

Let be a commutative ring where are positive prime integers with . The zero-divisor graph assigned to S is an undirected graph, denoted as with vertex set V((S)) consisting of all Zero-divisor of the ring S and for any c, d V( (S)), if and only if cd =0. A topological index/descriptor is described as a topological-invariant quantity that transforms a molecular graph into a mathematical real number. In this paper, we have computed distance-based polynomials of i-e Hosoya polynomial, Harary polynomial, and the topological indices related to these polynomials namely Wiener index, and Hyper-Wiener index.

1. Introduction

The Zero-divisor graph is the undirected graph on the set of the Zero-divisors of a commutative ring. In a Zero-divisor graph, the set of zero-divisors are considered as vertices and pairs of elements whose product is zero as its edges. The Zero-divisor graph is very helpful to study the algebraic properties of rings using graph-theoretical tools.

In 1988 Beck was the first who gives the idea of interlinking two main mathematics topics Algebra, and Graph theory [1]. First, he presented the concept of a Zero-divisor graph of Commutative Ring R, in which all the elements of ring R were considered as the vertices of a Zero-divisor graph, and those two distinct vertices c and d are connected if and only if cd =0. Beck’s main objective in his work was to show the coloring of the Commutative ring. Naseer and Anderson extended the work by Beck’s in [2]. In [3], Anderson-Livingston worked on the Zero-divisor graphs in which only non-zero Zero-divisors are considered as the vertices. Anderson-Livingston discussed the relations between ring theoretic properties of R and graph-theoretic properties of the (R). Furthermore, this study presents some important results of zero-divisor graphs. Later Anderson, Frazier, Lauve, Levy, Livingston, and Shapiro [4, 5] worked on translating the algebraic properties of rings into graphical language.

Redmond developed the idea of the Zero-divisor graphs associated to non-commutative rings [6]. He defined a Zero-divisor graph associated with a non-commutative ring in many more ways, including both directed and undirected graphs. Redmond [7] carried on this work by extending the concept of Zero-divisor graph of a Commutative ring to an ideal-based Zero-divisor graph of a Commutative ring by replacing elements whose product is zero with elements whose product lies in some ideal I of ring R. Since then, many researchers have worked on it and defined graphs such as unit graphs, the equivalence class of Zero-divisor graphs, total graphs, ideal-based Zero-divisor graphs, the Jacobson graphs, and so on (see, [711]).

Let G be graph with vertex set V(G) and edge set E(G). The degree of a vertex v is the number of edges attached to v. For any two vertices u and v, the distance between them is denoted by d(u,v) and is defined as the length of the shortest path joining them. For instance, d (u, v) = 0 If and only if u = v and d (u, v) = ∞ if there does not exist any possible shortest path. For more details on the basic definition related to graph theory, the readers can see the book by [12].

Let Z(S) be the set of Zero-divisors of the Commutative ring ‘S’. The Zero-divisor graph of S is denoted by (S) = (V( (S)), E( (S))), which is an undirected graph with V( (S)) = Z(S) \ {0} as vertex set, and for different c, d ∈ V((S)), the vertices c and d have an edge between them if and only if cd = 0 [13]. It is very interesting to translate the algebraic properties of algebraic graphs into numerical molecular descriptors. A topological index/descriptor is described as a topological-invariant quantity that transforms a molecular graph into a mathematical real number. QSPR/QSAR studies are majorly concerned with the application of these molecular descriptors or Topological indices. Many molecular descriptors have been introduced in the last decade, demonstrating their importance. A molecular structure is denoted as a graph with atoms as vertices and bonds as edges. Then, using various forms of topological indices, one can study both the algebraic and chemical aspects of the compounds. There are two main types of topological indices, the first based on degree [1419] and the second based on distance. Randic Connectivity index, Zagreb Indices, the Harmonic index, Atom bond Connectivity, and Geometric Arithmetic index are degree-based topological indices. Some well-known distance-based topological indices are the Wiener index, Hosoya index, and Estrada index [20, 21]. For details related to the computation of Hosoya and Harary polynomial of zero divisor graphs associated to some commutative rings, the readers can see [2224].

Eccentricity-based indices have been effectively used to construct a variety of mathematical models for the prediction of biological activities of various types. Several authors have examined the uses and mathematical properties of these indices. Further, the readers can see [2528] for more details about eccentricity based-indices. In 1988 Hosoya polynomial was introduced by Haruo Hosoya [29]. With its vast application in graph theory and chemistry, it is proved to be an effective distance-based topological index [30]. The Hosoya polynomial has many chemical applications [31]. Almost all distance-based topological indices can be computed from this polynomial [3234]. The Hosoya polynomial is related to a variety of topological indices, the most well-known of which is the Wiener, Hyper Wiener, and Harary polynomial. For further study see [21, 3537]. Hosoya polynomial of a graph H is defined as:

The Harary polynomial was introduced in 1985 and is denoted by and is defined as:

The generalized Harary index of graph H is denoted by and defined as:

Where t= 1,2, 3, .... The Wiener index is the oldest topological index introduced by Harold Wiener in 1947 for the study of boiling points of paraffin [38]. It plays a very important role in inverse structure-property relationship problems [39]. For applications and mathematical properties of Weiner index see [4046]. The Wiener index is defined as:

In 1993 another distance-based topological index was introduced by Randic known as the Hyper-Wiener index [35]. This index is used for predicting physicochemical properties of organic compounds [47], and is defined as:

It is easy to observe that there is an effective relation between Hosoya Polynomial, Wiener Index, and Hyper-Wiener Index.

2. Result and Discussion

Let be a commutative ring where are positive prime integers with. The total number of elements in this ring is. We are only concerned with the set of zero-divisors of denoted by having cardinality. We made the degree-based disjoint partition for vertices of the zero-divisor graph of the commutative ring, which are given as:

From the above, it is clear that. Observe that ,,=,,,,, , , , , , , . Furthermore for , for , for , for , for , for , for , for , for , for , for , for , for , for .

Let be a fixed integer and. From the above partition one can observe that the distance is same for any , where . This observation is depicted in Figure 1. If there is an edge between any two partition sets and , then it means that for any and . It can be seen that the maximum distance between any two vertices of Zero-divisor graph is atmost three. This important fact is stated in Lemma 1.

Lemma 1. The maximum diameter of the Zero-divisor graph of a commutative ring is 3 [3].

We have summarized the eccentricity and degree of each vertex of Zero-divisor graph in Table 1:

3. Hosoya and Harary Polynomial of Zero Divisor Graph

Now we compute the Harary and Hosoya polynomial of zero divisor graph. First, we find the distance for each pair of vertices of . For this, we consider the partitions, 1 as vertices. Now we compute the distance between any two vertices such that Let and . If , we simply use the notation . The cardinality of the set of ordered pair of vertices which are adjacent to each other is denoted by

Lemma 2. The cardinality of the set of ordered pair of vertices in which are adjacent to each other is:

Proof. By Handshaking lemma and using table 1 we concluded

Lemma 3. The cardinality of the set of ordered pair of vertices in which are distance 2 to each other is Where

Proof. From Figure 1. We conclude that is at distance 2 from . Hence by using the values from table 1, we have: From Figure 1, we conclude that is at distance 2 from . Hence by using the values from table 1, we have: From Figure 1, we conclude that is at distance 2 from . Hence by using the values from table 1, we have: From Figure 1. We conclude that is at distance 2 from . Hence by using the values from table 1, we have: From Figure 1, we conclude that is at distance 2 from . Hence by using the values from table 1, we have: From Figure 1, we conclude that is at distance 2 from . Hence by using the values from table 1, we have: From Figure 1, we conclude that is at distance 2 from . Hence by using the values from table 1, we have: From Figure 1, we conclude that is at distance 2 from . Hence by using the values from table 1, we have: From Figure 1, we conclude that is at distance 2 from . Hence by using the values from table 1, we have: From Figure 1, we conclude that is at distance 2 from . Hence by using the values from table 1, we have: From Figure 1, we conclude that is at distance 2 from Hence by using the values from table 1, we have: From Figure 1, we conclude that is at distance 2 from . Hence by using the values from table 1, we have: From Figure 1, we conclude that is at distance 2 from Hence by using the values from table 1, we have: From Figure 1, we conclude that is at distance 2 from Hence by using the values from table 1, we have: Finally, we add all the values computed in equations (31)–(96), and we get the required formula for :

Lemma 4. The cardinality of the set of ordered pair of vertices in which are distance 3 to each other is

Proof. By using the figure, we conclude that: Now by putting values from table 1, we obtain:

Theorem 5. The Hosoya polynomial of the graph is: Where

Proof. The Hosoya polynomial of zero divisor graph can be calculated by using lemma 2, lemma 3 and lemma 4 as follows:

Theorem 6. The Harary polynomial of the graph is Where

Proof. The Harary polynomial of can be calculated by using lemma 2, lemma 3 and lemma 4 as follows:

Corollary 7. The Wiener index and Hyper-Wiener index for zero divisor graph can be expressed as: Where

4. Conclusion

In this paper, we computed some distance-based polynomial of zero divisor graph namely Hosoya polynomial, Harary polynomial, Wiener index, and hyper Wiener index. We have seen that the eccentricity of any vertex of a zero divisor graph is always 2 or 3, which helps for the computation of the above polynomial. These computations can be helpful in computation of eccentricity based topological indices of the considered zero divisor graph.

Data Availability

No data is required to support the study.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Funding

This work is carried out as a part of employment of the authors. The authors do not receive any funding.