Galoitica: Journal of Mathematical Structures and Applications cover
Galoitica: Journal of Mathematical Structures and Applications

Online ISSN 2834-5568

Full Length Article

Volume 11 • Issue 2 • PP: 15-21 • 2024

A Study on the Wiener Polynomials for the Paraffin Polynomial-Rings

Sandra Terazic 1*
1Department of Mathematics, University of Rijeka, City of Rijeka, Croatia
* Corresponding Author.
verified

Open Access & Copyright

© 2024 The Author(s). Published by ASPG. This article is licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0).

Abstract

In this paper, we find the Wiener polynomial of multi-circles of Paraffin structural. We prove that this obtained formula is better than the formulas, which are previously presented. Also, we evaluate the coefficients for any limited power of  without depending on the number of circles, and we find the Wiener index and average distance for this structural. On the other hand, we build a MATLAB program to evaluate the Wiener polynomial coefficient, Wiener index, and average distance.

Full Text

This HTML version is generated from the article PDF. The PDF remains the version of record.

1. Introduction

In many chemical structures, we notice the existence of data from the hexagonal systems, which consists of hexagonal rings connected to each other, and that any two rings in this system are either shared by an edge or not shared.

By matching each hexagonal ring with a vertex, and connecting any two of the resulting vertices with an edge when the two rings have an edge in common, the resulting statement is called the characteristic graph of the hexagonal system.

A hexagonal system is said to be Catacondensed if there are no three hexagonal rings sharing one vertex.

Types of Catacondensed unbranched hexagonal systems contain data such that each characteristic statement is equivalent to a trail statement ([6], [2], [8-9]).

A non-branched Catacondensed hexagonal ring system is said to be a multi-circles of paraffin structural, which is sometimes called a hexagonal ring band graph if every edge common to any two rings is the same as all edges common to any two rings of the same system, as shown in Figure -1-

Figure 1. Multi-circles of paraffin structural
Figure 1. Multi-circles of paraffin structural

We will code this type of compound with 𝑯𝟐𝒑, since 2p represents the number of carbon atoms corresponding to the rank of the statement, and p is always an odd number.

In the statement related to G, the number of pairs of vertices of G that are on the dimension K of each other is denoted by the symbol d(G,k) where 𝑘= 0,1,2, . . . , δ

The wiener polynomial [3] of G is defined as:

𝑾(𝑮; 𝒙) = ∑ 𝒅(𝑮; 𝒌)𝒙𝒌 𝜹 𝒌=𝟎 ;

The Wiener index is defined by the statement G: is the sum of the distances between all pairs of vertices in G, that is:

𝑾(𝑮) = ∑𝒅(𝒖, 𝒗)
{𝒖,𝒗}

The sum is taken on each of two different vertices u or v in G.

The Wiener proof based on the Wiener polynomial can be expressed as the derivative of the Wiener polynomial for x, when x=1, that is:

𝜹 𝑾(𝑮) = 𝑾′(𝑮; 𝒙)|𝒙=𝟏= ∑𝒌𝒅(𝑮; 𝒌) 𝒌=𝟏

Where 𝑾′(𝑮; 𝒙)represents the derivative of the Wiener polynomial.

If the number of vertices in the connected statement G is p, then there are

2 𝑝(𝑝−1) unordered pairs of different vertices in the statement. We can now define the average distance [1] of G as the product of dividing the Wiener proof of G by 1/2 p (p-1), and the average distance of G is denoted by 𝑫̅(𝑮), that is:

𝑫̅(𝑮) = 𝑾(𝑮) 𝒑(𝒑−𝟏)/𝟐

We must mention that the Scientist H.Wiener [3] was the first to study the total distance in the data he observed in the structures of chemical molecules, as his results and contributions were well known to specialized chemists, but mathematicians ' knowledge of them was limited. And that the usefulness of the Wiener polynomial is to obtain the total distance, which represents the Wiener index, which has wide uses in Chemistry [1].

2. The Main Theorem

The Wiener polynomial of a paraffin polynomial-rings 𝑯𝟐𝒑 of rank 2p is:

𝜹 𝑾(𝑯𝟐𝒑; 𝒙) = ∑𝒅(𝑯𝟐𝒑; 𝒌)𝒙𝒌 𝒌=𝟎

Where:

𝒅(𝑯𝟐𝒑, 𝟎) = 𝟐𝒑;
𝒅(𝑯𝟐𝒑, 𝟏) = 𝟏 𝟐(𝟓𝒑−𝟑);
𝒅(𝑯𝟐𝒑, 𝒌) = 𝟒(𝒑−𝒌) + 𝟐+ 𝑹;        𝒌= 𝟐, 𝟑, . . . . , δ                (1)

Thus:

𝑹= [(𝒑−𝟏)/𝟐           𝒘𝒉𝒆𝒏 𝒌= 𝟑 𝟎                    𝒐𝒕𝒉𝒆𝒓 𝒘𝒊𝒔𝒆

And that the diameter is p, and δ=p.

Proof:

Suppose that the headers of the statement 𝑯𝟐𝒑 are tagged with the formula.

𝑉1 = {𝑥1, 𝑥2, . . . , 𝑥𝑝} 𝑉2 = {𝑥𝑝+1, 𝑥𝑝+2, . . . , 𝑥2𝑝}

We will denote the distance between any two vertices in 𝑉𝑖 at a distance k from each other by 𝒅(𝑯𝟐𝒑, 𝒌)𝑉𝑖,since i=1,2, and denote the distance between a vertex of 𝑉1 with a vertex of 𝑉2 at a distance k from each by 𝒅(𝑯𝟐𝒑, 𝒌)𝑉1𝑉2.

We note that:

𝑑(𝐻2𝑝, 𝑘)𝑉𝑖= 𝑑(𝑃𝑝, 𝑘) = 𝑝−𝑘         ;      𝑖= 1,2

For each k = 0,1,2,…, p

Where 𝑷𝒑 is a trail of rank p.

It is clear that 𝒅(𝑯𝟐𝒑, 𝟎) = 𝒅(𝑯𝟐𝒑, 𝟎)𝑉1 + 𝒅(𝑯𝟐𝒑, 𝟎)𝑉2 = 𝑝+ 𝑝= 2𝑝 and:
𝒅(𝑯𝟐𝒑, 𝟏) = 𝒅(𝑯𝟐𝒑, 𝟏)𝑉1 + 𝒅(𝑯𝟐𝒑, 𝟏)𝑉2 + 𝒅(𝑯𝟐𝒑, 𝟏)𝑉1𝑉2
= (𝒑−𝟏) + (𝒑−𝟏) + 𝟏 𝟐(𝒑+ 𝟏) = 𝟏 𝟐(𝟓𝒑−𝟑)

Where:

(𝒑+𝟏)/𝟐 = 𝟏 𝟐(𝒑+ 𝟏) 𝒅(𝑯𝟐𝒑, 𝟏)𝑉1𝑉2 = ∑ 𝒅(𝒙𝟐𝒊−𝟏, 𝑯𝟐𝒑, 𝟏)𝑉2 = ∑ 𝟏 𝒊=𝟏 𝒊=𝟏
(𝒑+𝟏)/𝟐

Now, we follow the method of mathematical induction to prove the relationship (1) at k=2, then:

𝒅(𝑯𝟐𝒑, 𝟐) = 𝒅(𝑯𝟐𝒑, 𝟐)𝑉1 + 𝒅(𝑯𝟐𝒑, 𝟐)𝑉2 + 𝒅(𝑯𝟐𝒑, 𝟐)𝑉1𝑉2
= (𝒑−𝟐) + (𝒑−𝟐) + 𝟐+ 𝟐(𝒑−𝟐) = 𝟒(𝒑−𝟐) + 𝟐

Where:

𝒑 𝒑−𝟏 𝒅(𝑯𝟐𝒑, 𝟐)𝑉1𝑉2 = ∑𝒅(𝒙𝒊, 𝑯𝟐𝒑, 𝟐)𝑉2 = 1 + ∑𝒅(𝒙𝒊, 𝑯𝟐𝒑, 𝟐)𝑉2 + 𝟏 𝒊=𝟏 𝒊=𝟐 𝒑−𝟏
= 𝟐+ 𝟐(𝒑−𝟐) = 𝟏+ ∑𝟐+ 𝟏 𝒊=𝟐

When k=3, then:

𝒅(𝑯𝟐𝒑, 𝟑) = 𝒅(𝑯𝟐𝒑, 𝟑)𝑉1 + 𝒅(𝑯𝟐𝒑, 𝟑)𝑉2 + 𝒅(𝑯𝟐𝒑, 𝟑)𝑉1𝑉2
= (𝒑−𝟑) + (𝒑−𝟑) + 𝟒+ 𝟐(𝒑−𝟏 𝟐 ) + 𝟑(𝒑−𝟓 𝟐 )
= 𝟒(𝒑−𝟑) + 𝟐+ (𝒑−𝟏)/𝟐

Where:

𝒑 𝒑−𝟐 𝒅(𝑯𝟐𝒑, 𝟑)𝑉1𝑉2 = ∑𝒅(𝒙𝒊, 𝑯𝟐𝒑, 𝟑)𝑉2 = 1 + 2 + ∑𝒅(𝒙𝒊, 𝑯𝟐𝒑, 𝟑)𝑉2 + 𝟐+ 𝟏 𝒊=𝟏 𝒊=𝟑
(𝒑−𝟏)/𝟐
(𝒑−𝟑)/𝟐
+ 𝟐+ 𝟏 + ∑ 𝒅(𝒙𝟐𝒋, 𝑯𝟐𝒑, 𝟑)𝑉2 𝒋=𝟐
= 𝟏+ 𝟐+ ∑ 𝒅(𝒙𝟐𝒋−𝟏, 𝑯𝟐𝒑, 𝟑)𝑉2 𝒋=𝟐
(𝒑−𝟏)/𝟐 (𝒑−𝟑)/𝟐 = 𝟒+ 𝟐(𝒑−𝟏 𝟐 ) + 𝟑(𝒑−𝟓 𝟐 ) = 𝟑+ ∑ 𝟐 + ∑ 𝟑+ 𝟑 𝒋=𝟐 𝒋=𝟐

When k=4, then:

𝒅(𝑯𝟐𝒑, 𝟒) = 𝒅(𝑯𝟐𝒑, 𝟒)𝑉1 + 𝒅(𝑯𝟐𝒑, 𝟒)𝑉2 + 𝒅(𝑯𝟐𝒑, 𝟒)𝑉1𝑉2
= (𝒑−𝟒) + (𝒑−𝟒) + 𝟐+ 𝟐(𝒑−𝟒) = 𝟒(𝒑−𝟒) + 𝟐

Where:

𝒑−𝟑 𝒑 𝒅(𝑯𝟐𝒑, 𝟒)𝑉1𝑉2 = ∑𝒅(𝒙𝒊, 𝑯𝟐𝒑, 𝟒)𝑉2 + ∑𝒅(𝒙𝒊, 𝑯𝟐𝒑, 𝟑)𝑉2 + ∑𝒅(𝒙𝒊, 𝑯𝟐𝒑, 𝟑)𝑉2 𝒊=𝟏 𝒊=𝟒 𝒊=𝒑−𝟐 𝒑−𝟑 𝒑 + ∑𝟏 𝒑−𝟐
𝟑 = 𝟑+ 𝟐(𝒑−𝟔) + 𝟑= 𝟐+ 𝟐(𝒑−𝟒) = ∑𝟏 + ∑𝟐 + ∑𝟏 𝒊=𝟏 𝒊=𝟒

We assume that Formula (1) is true when k=r, thus:

𝒅(𝑯𝟐𝒑, 𝒓) = 𝟒(𝒑−𝒓) + 𝟐

Now we will prove that Formula (1) is true when k=r+1

𝒅(𝑯𝟐𝒑, 𝒓+ 𝟏) = 𝒅(𝑯𝟐𝒑, 𝒓+ 𝟏)𝑉1 + 𝒅(𝑯𝟐𝒑, 𝒓+ 𝟏)𝑉2 + 𝒅(𝑯𝟐𝒑, 𝒓+ 𝟏)𝑉1𝑉2
= (p −(r + 1)) + (p −(r + 1)) + 2 + 2(p −(r + 1))
= 𝟒(𝒑−(𝒓+ 𝟏)) + 𝟐

thus:

𝒑−𝒓 𝒑 𝒓 𝒅(𝑯𝟐𝒑, 𝒓+ 𝟏)𝑉1𝑉2 = ∑𝒅(𝒙𝒊, 𝑯𝟐𝒑, 𝒓+ 𝟏)𝑉2 + ∑𝒅(𝒙𝒊, 𝑯𝟐𝒑, 𝒓+ 𝟏)𝑉2 + ∑ 𝒅(𝒙𝒊, 𝑯𝟐𝒑, 𝒓+ 𝟏)𝑉2 𝒊=𝟏 𝒊=𝒓+𝟏 𝒊=𝒑−𝒓+𝟏 𝒑−𝒓 𝒑 𝒓 + ∑𝟐 + ∑ 𝟏
= 𝒓+ 𝟐(𝒑−𝟐𝒓) + 𝒓 = ∑𝟏 + ∑𝟐 + ∑ 𝟏 𝒊=𝟏
𝒊=𝟏 𝒊=𝒓+𝟏 𝒊=𝒑−𝒓+𝟏
= 𝟐+ (𝒑−(𝒓+ 𝟏)) + 2

3. The result

Wiener's proof of the paraffin polytope-the 𝑯𝟐𝒑 rings of rank 2p are:

𝑾(𝑯𝟐𝒑) = 1 3 𝑝(𝑝+ 1)(2𝑝+ 1) −1 1
1 3 (𝑝+ 3)

And that the average distance of this compound is not more than

Proof:

𝑾(𝑯𝟐𝒑) = 𝑾′(𝑯𝟐𝒑; 𝒙)|𝒙=𝟏 = 1
𝒑 2 (5𝑝−3) + 8(𝑝−2) + 4 + 12(𝑝−3) + 6 + 3 2 (𝑝−1) + ∑𝟒𝒌(𝒑−𝒌) + 𝟐𝒌 𝒌=𝟒

The above formula can be written in the following form:

𝒑 𝑾(𝑯𝟐𝒑) = −𝟏+ ∑𝟒𝒌(𝒑−𝒌) + 𝟐𝒌 𝒌=𝟏 𝒑 𝒑 ∑𝒌𝟐 𝒌=𝟏
∑𝒌𝟐 = −𝟏+ 𝟐(𝟐𝒑+ 𝟏) ∑𝒌−𝟒 𝒌=𝟏
= −𝟏+ 𝟐(𝟐𝒑+ 𝟏)(𝒑(𝒑+ 𝟏) 𝟐 ) −𝟒(𝒑(𝒑+ 𝟏)(𝟐𝒑+ 𝟏) 𝟔 )
= −𝟏+ 𝟏 𝟔𝒑(𝒑+ 𝟏)(𝟐𝒑+ 𝟏)(𝟔−𝟒) = 𝟏 𝟑𝒑(𝒑+ 𝟏)(𝟐𝒑+ 𝟏) −𝟏

And that the average distance:

𝑫̅(𝑯𝟐𝒑) = 𝑾(𝑯𝟐𝒑) 𝟐𝒑(𝟐𝒑−𝟏)/𝟐
= 𝒑(𝒑+ 𝟏)(𝟐𝒑+ 𝟏) −𝟑 𝟑𝒑(𝟐𝒑−𝟏)

And after simplifying the amount, we get:

𝑫̅(𝑯𝟐𝒑) = 𝟏 𝟑(𝒑+ 𝟐) + (𝒑−𝟏) 𝒑(𝟐𝒑−𝟏) 𝟏
(𝒑−𝟏) 𝒑(𝟐𝒑−𝟏) is no more than

We note that the magnitude

𝟑, whatever the value of p. (Since p is always greater than or equal to 3 in these compounds). Then:

𝑫̅(𝑯𝟐𝒑) < 𝟏 𝟑(𝒑+ 𝟐) + 𝟏 𝟑= 𝟏 𝟑(𝒑+ 𝟑) 𝟏

Where the magnitude

𝟑(𝒑+ 𝟑)represents the upper bound of the average distance for 𝑯𝟐𝒑 and does not represent the upper limit constraint.

For example, if the value of p is 7, then:

𝑊(𝐻14; 𝑥) = 14 + 16𝑥+ 22𝑥2 + 21𝑥3 + 14𝑥4 + 10𝑥5 + 6𝑥6 + 2𝑥7
𝑊(𝐻14; 𝑥) = 279
𝑫̅(𝑯𝟐𝒑) = 𝟐𝟕𝟗/𝟗𝟏≅𝟑. 𝟎𝟔𝟓𝟗< 𝟑. 𝟑𝟑𝟑𝟑

Finally, we designed a program in the MATLAB language to calculate the coefficients of the Wiener polynomials as a sequence of numbers starting with the coefficient for powers of zero and ending with the coefficient for powers of p, as well as giving Wiener's proof and the average distance once a p value is entered.

To verify the accuracy of the program, we entered p=7 and the results were matched, starting from the coefficients for the Wiener polynomial, the Wiener proof and the distance parameter.

4. The Main Algorithm

1. Start.

2. Enter the value of p (which represents the number of carbon atoms).

3. Create the adjacency matrix A (by dividing the matrix A into four partial matrices and defining these matrices and then performing some operations on them), It is known that matrix A is a symmetric matrix.

4. Definition of a zero-initial Matrix B and a zero-initial Matrix s.

5. Put k=1.

6. Put s(k)=0.

7. Calculation of the matrix C, C=A^k.

8. Put i=1

9. Put j=i+1.

10. If 𝐴(𝑖, 𝑗) ≠0and B (i, j) = 0, then:

B(i, j) = k s(k) = s(k)+1

11. Put j=j+1.

12. If j<=2*p go to step 10 otherwise make i=i+1.

13. If i<=2*p-1 Go to step 9 otherwise make k=k+1.

14. If k<=p go to step 6.

15. We print Wiener polynomial coefficients [2*p s(1) s(2) s(3) … s(p)] (Starting from the coefficient for forces zero to the coefficient for forces p).

16. We print the Wiener index guide 𝑖𝑛𝑑𝑒𝑥= ∑ 𝑘𝑠(𝑘) 𝑝 𝑘=1

17. We print the average distance average = index / p(2*p-1)

18. The end.

5. The program

% Program to evaluate Coefficients of Wiener Polynomial, Wiener index and Average distance for multi-circles of paraffin structural G of order 2*p.(p is positive odd integer number).

p=input(' input p = ');

a=ones(1,p-1);

b=diag(a,1)+diag(a,-1);

c=eye(p,p);

for i=2:2:p-1 c(:,i)=0;

% A is adjacency matrix of the graph.

A=[b c;c b];

B=zeros(2*p,2*p);

s=zeros(1,p);

for k=1:p s(k)=0;

C=A^k;

for i=1:2*p-1 for j=i+1:2*p if (C(i,j)~=0)&(B(i,j)==0)

B(i,j)=k;

s(k)=s(k)+1;

%coefficient stands for the Wiener polynomial coefficients. coefficients=[2*p,s]

% [2*p,s]is given matrix with size (1,p+1) such that the first element is

% 2*p, and other elements are matrix elements s.

% Wiener index of G is given by index.

index=sum(polyder(fliplr(coefficients)))

% average distance of G is given by average.

average=index/(p*(2*p-1)) input p = 7 coefficients =

14 16 22 21 14 10 6 2 index = average =

3.0659

References

[1]       J.I. Doyle and J.E. Graver (1977) “Mean distance in a graph“, Discrete Math., Vol. 17, PP.147-154.

[2]       A.A. Dobrynin (1993) “On decomposition of the Wiener index for Graphs of Catacondensed Hexagonal Systems”, Graph Theory Notes of New York; XXV. PP.19-21.

[3]       Gutman (1993) “Some properties of the Wiener polynomial”, Graph Theory Notes of New York; XXV. PP.13-18.

[4]       H. Hosoya (1988) “On some counting polynomials in chemistry”, Discrete Applied Math. 19, PP.239-257.

[5]       Walid A.M. Saeed (1999) Wiener Polynomials of Graphs, Ph.D. Thesis, Mousl University.

[6]       H. Wiener (1947) “Structural determination of paraffin boiling points”, J. Amer. Chem. Soc., 69, PP.17-20.

[7]       Ahmadi, M. R, Nezhad, R. J. (2011). Energy and Wiener index of zero-divisor graphs. Iran. J. Math. Chem. 2(1): 45–51.

[8]       Afkhami, M., Barati, Z, Khashyarmanesh, K. (2014). When the unit, unitary and total graphs are ring graphs and outer planar. Rocky Mountain J. Math. 44(3): 705–716.

[9]       Koam, A. N. A., Ahmad, A, Haider, A. (2019). On eccentric topological indices based on edges of zero-divisor graphs. Symmetry 11(7): 907.

Continue Reading

View the full issue arrow_forward

Cite This Article

Choose your preferred format

format_quote
Terazic, Sandra. “A Study on the Wiener Polynomials for the Paraffin Polynomial-Rings.” Galoitica: Journal of Mathematical Structures and Applications, vol. 11, no. 2, 2024, pp. 15–21. https://doi.org/10.54216/GJMSA.0110202.
Terazic, S. (2024). A Study on the Wiener Polynomials for the Paraffin Polynomial-Rings. Galoitica: Journal of Mathematical Structures and Applications, 11(2), 15–21. https://doi.org/10.54216/GJMSA.0110202
Terazic, Sandra. “A Study on the Wiener Polynomials for the Paraffin Polynomial-Rings.” Galoitica: Journal of Mathematical Structures and Applications 11, no. 2 (2024): 15–21. https://doi.org/10.54216/GJMSA.0110202.
Terazic, S. (2024) ‘A Study on the Wiener Polynomials for the Paraffin Polynomial-Rings’, Galoitica: Journal of Mathematical Structures and Applications, 11(2), pp. 15–21. Available at: https://doi.org/10.54216/GJMSA.0110202.
Terazic S. A Study on the Wiener Polynomials for the Paraffin Polynomial-Rings. Galoitica: Journal of Mathematical Structures and Applications. 2024;11(2):15-21. doi:10.54216/GJMSA.0110202
S. Terazic, “A Study on the Wiener Polynomials for the Paraffin Polynomial-Rings,” Galoitica: Journal of Mathematical Structures and Applications, vol. 11, no. 2, pp. 15–21, 2024, doi: 10.54216/GJMSA.0110202.
policy

Publisher's Note

The statements, opinions, and data presented in this article are solely those of the author(s) and do not necessarily represent those of ASPG, the journal, or its editors. ASPG and the editors disclaim responsibility for any harm arising from the use of any ideas, methods, instructions, or products described in this article, to the fullest extent permitted by applicable law.

Digital Archive Ready