Next Article in Journal
Characterization of the Minimizing Graph of the Connected Graphs Whose Complements Are Bicyclic
Previous Article in Journal
Certain Concepts of Bipolar Fuzzy Directed Hypergraphs
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

On the Additively Weighted Harary Index of Some Composite Graphs

Department of Pure Mathematics, Faculty of Mathematics and Computer Science, Amirkabir University of Technology (Tehran Polytechnic), 424, Hafez Ave., Tehran 15914, Iran
*
Author to whom correspondence should be addressed.
Mathematics 2017, 5(1), 16; https://doi.org/10.3390/math5010016
Submission received: 3 November 2016 / Revised: 2 February 2017 / Accepted: 21 February 2017 / Published: 7 March 2017

Abstract

:
The Harary index is defined as the sum of reciprocals of distances between all pairs of vertices of a connected graph. The additively weighted Harary index H A ( G ) is a modification of the Harary index in which the contributions of vertex pairs are weighted by the sum of their degrees. This new invariant was introduced in (Alizadeh, Iranmanesh and Došlić. Additively weighted Harary index of some composite graphs, Discrete Math, 2013) and they posed the following question: What is the behavior of H A ( G ) when G is a composite graph resulting for example by: splice, link, corona and rooted product? We investigate the additively weighted Harary index for these standard graph products. Then we obtain lower and upper bounds for some of them.

Graphical Abstract

1. Introduction

A topological index is a real number derived from the structure of a graph in a way that does not depend on the labeling of the vertices. Hence, isomorphic graphs have the same values of topological indices. Chemical graph theory is a branch of mathematical chemistry that is mostly concerned with finding topological indices of chemical graphs that correlate well with certain physico-chemical properties of the corresponding molecules. The basic idea behind this approach is that the physico-chemical properties are governed by the mechanism depending mostly on the valences of atoms and on their relative positions within the molecule. Since both concepts are well described in graph-theoretical terms, there are reasons to believe that chemical graphs capture enough information about real molecules to make them useful as their models.
Hundreds of different topological indices have been investigated so far and have been employed in QSAR (Quantitative Structure Activity Relationship)/QSPR (Quantitative Structure Property Relationship) studies, with various degrees of success. Most of the more useful invariants belong to one of two broad classes: they are either distance based, or bond additive. The first class contains the indices that are defined in terms of distances between pairs of vertices; the second class contains the indices defined as the sums of contributions over all edges. Typical representants of the first type are the Wiener index and its various modifications; characteristic for the second type are the Randić index [1] and the two Zagreb indices.
Another distance-based topological index of the graph G is the Harary index. The Harary index of a graph G, denoted by H ( G ) , was introduced independently by Plavšić et al. [2] and by Ivanciuc et al. [3] in 1993. The Harary index is defined as follows:
H ( G ) = { u , v } V ( G ) u v 1 d G ( u , v ) ,
where the summation goes over all pairs of vertices of G and d G ( u , v ) denotes the distance of the two vertices u and v in the graph G. For a list of new results about the Harary index see [4,5,6,7].
The additively weighted version of the Harary index was introduced by Alizadeh et al. [8] in 2013. For a given graph G, its additively weighted Harary index H A ( G ) is defined as:
H A ( G ) = { u , v } V ( G ) u v δ G ( u ) + δ G ( v ) d G ( u , v ) ,
where δ G ( u ) denotes the degree of vertex u in G. It is obvious that, if G is a k-regular graph, then H A ( G ) = 2 k H ( G ) .
Also, in the paper [8], they posed the following question: What is the behavior of H A ( G ) when G is a composite graph resulting for example by: splice, link, corona and rooted product?
In this paper we investigate the behavior of H A ( G ) under these four operations which are useful in chemistry. Also, we try to obtain upper and lower bounds for H A ( G ) of these operations.

2. Preliminary Results

All graphs considered in this paper are finite, simple and connected. For a given graph G we denote by V ( G ) its vertex set, and by E ( G ) its edge set. The cardinalities of these two sets are denoted by n and e, respectively. The degree of a vertex u V ( G ) is denoted by δ G ( u ) and the distance d G ( u , v ) between vertices u and v in G is the length of any shortest path in G connecting u and v. The diameter of the graph G, denoted by D ( G ) , is m a x { d G ( u , v ) | u , v V ( G ) } . We denote by K n and P n the complete graph and the path graph with n vertices, respectively.
A regular graph is a graph where each vertex has the same number of neighbors. A regular graph with vertices of degree k is called a k-regular graph or regular graph of degree k.
The first and the second Zagreb indices of a graph G are defined as follows:
M 1 ( G ) = u v E ( G ) ( δ G ( u ) + δ G ( v ) ) , M 2 ( G ) = u v E ( G ) δ G ( u ) δ G ( v ) .
These topological indices were conceived in the 1970s [9,10]. In 2008, in [11] the first and the second Zagreb coindices of a graph G are defined as follows:
M ¯ 1 ( G ) = u v E ( G ) ( δ G ( u ) + δ G ( v ) ) , M ¯ 2 ( G ) = u v E ( G ) δ G ( u ) δ G ( v ) .
Also, the first and the second Zagreb coindices of graph G with n vertices and e edges are equal to M ¯ 1 ( G ) = 2 e ( n 1 ) M 1 ( G ) and M ¯ 2 ( G ) = 2 e 2 M 2 ( G ) 1 2 M 1 ( G ) , respectively. For the proof of these facts, we refer the readers to [12]. We will use Zagreb indices and Zagreb coindices to formulate our results in a more compact way.
For a graph G with u V ( G ) , we define P ( G ) = u , v V ( G ) 1 d G ( u , v ) + 1 and P G ( v ) = u V ( G ) 1 d G ( u , v ) + 1 . Also we define H G ( v ) = u V ( G ) { v } 1 d G ( u , v ) .
In the rest of the paper any sum { u , v } V ( G ) h ( u , v ) denotes the sum u V ( G ) h ( u , u ) + 2 { u , v } V ( G ) u v h ( u , v ) , where h ( u , v ) is the contribution of pair u , v to the sum.
In the sequel of this paper we denote by n G , e G for the number of vertices and the number of edges of G and we denote by n H , e H for the same quantities for H.

3. Main Results

In this section we introduce the standard graph products resulting in composite graphs and then we present explicit formulas for the values of additively weighted Harary indices of them.

3.1. Rooted Product

Definition 1.
The rooted product G { H } is obtained by taking one copy of G and | V ( G ) | copies of a rooted graph H, and by identifying the root of the i-th copy of H with the i-th vertex of G, i = 1 , 2 , . . . , | V ( G ) | .
For the rooted product G { H } we have:
| V ( G { H } ) | = | V ( G ) | | V ( H ) | , | E ( G { H } ) | = | E ( G ) | + | V ( G ) | | E ( H ) | .
As an example for rooted product see Figure 1.
Lemma 1.
Let G be a simple graph and H be a rooted graph with w as its root. Then for a vertex u of G { H } such that u V ( G ) , we have δ G { H } ( u ) = δ G ( u ) + δ H ( w ) , and for a vertex v of G { H } such that v V ( G ) we have δ G { H } ( v ) = δ H ( v 0 ) , where v 0 is the corresponding vertex in H as v of H i . Also:
(1) 
if u , v V ( G ) , then d G { H } ( u , v ) = d G ( u , v ) ,
(2) 
if u V ( G ) , v V ( H i ) , where i = 1 , 2 , . . . , | V ( G ) | , then d G { H } ( u , v ) = d G ( u , w i ) + d H i ( w i , v ) = d G ( u , w i ) + d H ( w , v 0 ) , where w i is the root of H i and v 0 is the corresponding vertex in H as v of H i ,
(3) 
if u , v V ( H i ) , where i = 1 , 2 , . . . , | V ( G ) | , then d G { H } ( u , v ) = d H ( u 0 , v 0 ) , where u 0 and v 0 are the corresponding vertices in H as u and v of H i ,
(4) 
if u V ( H i ) , v V ( H j ) and 1 i < j | V ( G ) | , then d G { H } ( u , v ) = d H i ( u , w i ) + d H j ( v , w j ) + d G ( w i , w j ) = d H ( u 0 , w ) + d H ( v 0 , w ) + d G ( w i , w j ) , where w i is the root of H i and w j is the root of H j . Also, u 0 and v 0 are the corresponding vertices in H as u of H i and v of H j , respectively.
Proof. 
The proof is straightforward. ☐
Theorem 1.
Let G be a simple graph and H be a rooted graph with w as its root. Then:
H A ( G { H } ) = H A ( G ) + 2 δ H ( w ) H ( G ) + n G H A ( H ) + 2 e G H H ( w ) + 2 { u , t } V ( G ) u t v V ( H ) { w } δ G ( u ) + δ H ( v ) + δ H ( w ) d G ( u , t ) + d H ( v , w ) + { t , l } V ( G ) t l { u , v } V ( H ) { w } δ H ( u ) + δ H ( v ) d H ( u , w ) + d H ( v , w ) + d G ( t , l ) .
Proof. 
From the definition we have:
H A ( G { H } ) = { u , v } V ( G { H } ) u v δ G { H } ( u ) + δ G { H } ( v ) d G { H } ( u , v ) .
By Lemma 1, we partition the sum into four sums S i , i = 1, 2, 3, 4, where:
S 1 = { u , v } V ( G ) u v δ G { H } ( u ) + δ G { H } ( v ) d G { H } ( u , v ) = { u , v } V ( G ) u v δ G ( u ) + δ G ( v ) + 2 δ H ( w ) d G ( u , v ) = H A ( G ) + 2 δ H ( w ) H ( G ) , S 2 = i = 1 n G u V ( G ) v V ( H i ) { w i } δ G { H } ( u ) + δ G { H } ( v ) d G { H } ( u , v ) = { u , t } V ( G ) v V ( H ) { w } δ G ( u ) + δ H ( w ) + δ H ( v ) d G ( u , t ) + d H ( v , w ) , S 3 = i = 1 n G { u , v } V ( H i ) { w i } u v δ G { H } ( u ) + δ G { H } ( v ) d G { H } ( u , v ) = n G { u , v } V ( H ) { w } u v δ H ( u ) + δ H ( v ) d H ( u , v ) , S 4 = 1 i < j n G u V ( H i ) { w i } v V ( H j ) { w j } δ G { H } ( u ) + δ G { H } ( v ) d G { H } ( u , v ) = { t , l } V ( G ) t l { u , v } V ( H ) { w } δ H ( u ) + δ H ( v ) d H ( u , w ) + d H ( v , w ) + d G ( t , l ) .
Hence:
H A ( G { H } ) = H A ( G ) + 2 δ H ( w ) H ( G ) + 2 v V ( H ) { w } { u , t } V ( G ) u t δ G ( u ) + δ H ( w ) + δ H ( v ) d G ( u , t ) + d H ( v , w ) + u V ( G ) v V ( H ) { w } δ G ( u ) d H ( v , w ) + n G { w , v } V ( H ) w v δ H ( w ) + δ H ( v ) d H ( v , w ) + { t , l } V ( G ) t l { u , v } V ( H ) { w } δ H ( u ) + δ H ( v ) d H ( u , w ) + d H ( v , w ) + d G ( t , l ) .
Thus we complete the proof of this theorem. ☐
Example 1.
We have:
H A ( P 2 { K 3 } ) = 148 3 , H A ( P 3 { K 3 } ) = 313 3 .
Based on Theorem 1, we obtain the next corollary immediately.
Corollary 1.
Let G be a r-regular graph and H be a k-regular rooted graph with w as its root. Then:
H A ( G { H } ) = 2 ( r + k ) H ( G ) + 2 k n G H ( H ) + n G r H H ( w ) + 2 ( r + 2 k ) { u , t } V ( G ) u t v V ( H ) { w } 1 d G ( u , t ) + d H ( v , w ) + 2 k { t , l } V ( G ) t l { u , v } V ( H ) { w } 1 d H ( u , w ) + d H ( v , w ) + d G ( t , l ) .
We can determine a lower and an upper bound for H A ( G { H } ) , where G is a r-regular graph and H is a k-regular rooted graph.
We know that 1 d G ( u , v ) D ( G ) , where { u , v } V ( G ) , u v and D ( G ) is the diameter of G. Similarly, we have 1 d H ( u , v ) D ( H ) , where { u , v } V ( H ) , u v and D ( H ) is the diameter of H. Hence, we have:
H A ( G { H } ) 2 ( r + k ) H ( G ) + 2 k n G H ( H ) + n G r H H ( w ) + n G ( n G 1 ) ( n H 1 ) [ r + 2 k D ( H ) + D ( G ) + k ( n H 1 ) 2 D ( H ) + D ( G ) ] , H A ( G { H } ) 2 ( r + k ) H ( G ) + 2 k n G H ( H ) + n G r H H ( w ) + n G ( n G 1 ) ( n H 1 ) [ r + 2 k 2 + k ( n H 1 ) 3 ] .

3.2. Corona

Definition 2.
Let G and H be two graphs. The corona product G H is obtained by taking one copy of G and | V ( G ) | copies of H; and by joining each vertex of the i-th copy of H to the i-th vertex of G, i = 1, 2, ..., | V ( G ) | .
For the corona product G H , we have:
| V ( G H ) | = | V ( G ) | ( 1 + | V ( H ) | ) , | E ( G H ) | = | E ( G ) | + | V ( G ) | ( | V ( H ) | + | E ( H ) | ) .
As an example for the corona product see Figure 2.
Lemma 2.
Let G and H be two simple connected graphs. For a vertex u of G H such that u V ( G ) , we have δ G H ( u ) = δ G ( u ) + | V ( H ) | , and for a vertex v of G H such that v V ( H ) , we have δ G H ( v ) = δ H ( v ) + 1 . Also:
(1) 
if u , v V ( G ) , then d G H ( u , v ) = d G ( u , v ) ,
(2) 
if u V ( G ) , v V ( H i ) , where i = 1 , 2 , . . . , | V ( G ) | , then d G H ( u , v ) = d G ( u , w i ) + 1 , where w i is the i-th vertex in G,
(3) 
if u , v V ( H i ) , where i = 1 , 2 , . . . , | V ( G ) | , then:
d G H ( u , v ) = 1 if u v E ( H i ) 2 if u v E ( H i )
(4) 
if u V ( H i ) , v V ( H j ) and 1 i < j | V ( G ) | , then d G H ( u , v ) = d G ( w i , w j ) + 2 , where w i is the i-th and w j is the j-th vertices in G.
Proof. 
The proof is obvious. ☐
Lemma 3.
Let G be a simple graph and K 2 be the complete graph of order 2. Then:
H ( G { K 2 } ) = H ( G ) + P ( G ) + { u , v } V ( G ) u v 1 d G ( u , v ) + 2 .
Proof. 
By definition:
H ( G { K 2 } ) = { u , v } V ( G { K 2 } ) u v 1 d G { K 2 } ( u , v ) .
We partition the sum in the formula of H ( G { K 2 } ) into three sums S i such that S i is over A i for i = 1, 2, 3, where:
  • A 1 = { ( u , v ) | u , v V ( G ) } ,
  • A 2 = { ( u , v ) | u V ( G ) , v V ( K 2 ) i { w i } , 1 i | V ( G ) | } ,
  • A 3 = { ( u , v ) | u V ( K 2 ) i { w i } , v V ( K 2 ) j { w j } , 1 i < j | V ( G ) | } ,
where ( K 2 ) i is the i-th copy of K 2 and ( K 2 ) j is the j-th copy of K 2 in G { K 2 } .
So we have:
H ( G { K 2 } ) = S 1 + S 2 + S 3 = { u , v } V ( G ) u v 1 d G { K 2 } ( u , v ) + i = 1 n G u V ( G ) v V ( ( K 2 ) i ) { w i } 1 d G { K 2 } ( u , v ) + 1 i < j n G u V ( ( K 2 ) i ) { w i } v V ( ( K 2 ) j ) { w j } 1 d G { K 2 } ( u , v ) = { u , v } V ( G ) u v 1 d G ( u , v ) + i = 1 n G u V ( G ) 1 d G ( u , w i ) + 1 + 1 i < j n G 1 d G ( w i , w j ) + 2 = H ( G ) + P ( G ) + { u , v } V ( G ) u v 1 d G ( u , v ) + 2 .
 ☐
Theorem 2.
Let G and H be simple graphs. Then:
H A ( G H ) = H A ( G ) + 2 n H ( 1 2 e H n H ) H ( G ) + 2 n H ( 2 e H + n H ) H ( G { K 2 } ) + n G 2 M 1 ( H ) + [ 2 e H ( 1 2 n H ) n H 2 + n H ] P ( G ) + n G n H ( e H + n H 1 2 ) + n H { u , v } V ( G ) δ G ( u ) d G ( u , v ) + 1 .
Proof. 
By definition we have:
H A ( G H ) = { u , v } V ( G H ) u v δ G H ( u ) + δ G H ( v ) d G H ( u , v ) .
By Lemma 2, we partition the sum into four sums S i , i = 1 , 2 , 3 , 4 . We consider four sums S 1 , S 2 , S 3 , S 4 as follows:
S 1 = { u , v } V ( G ) u v δ G H ( u ) + δ G H ( v ) d G H ( u , v ) = { u , v } V ( G ) u v δ G ( u ) + δ G ( v ) + 2 | V ( H ) | d G ( u , v ) = H A ( G ) + 2 n H H ( G ) S 2 = i = 1 | V ( G ) | u V ( G ) v V ( H i ) δ G H ( u ) + δ G H ( v ) d G H ( u , v ) = i = 1 n G u V ( G ) v V ( H i ) δ G ( u ) + | V ( H ) | + δ H ( v ) + 1 d G ( u , w i ) + 1
Now we consider the following relation:
u V ( G ) v V ( H i ) δ G ( u ) + δ H ( v ) + n H + 1 d G ( u , w i ) + 1 = u V ( G ) n H δ G ( u ) + 2 e H d G ( u , w i ) + 1 + ( n H + 1 ) n H u V ( G ) 1 d G ( u , w i ) + 1 = n H u V ( G ) δ G ( u ) d G ( u , w i ) + 1 + ( 2 e H + n H 2 + n H ) u V ( G ) 1 d G ( u , w i ) + 1 = n H u V ( G ) δ G ( u ) d G ( u , w i ) + 1 + ( 2 e H + n H 2 + n H ) P G ( w i ) .
Hence, we have:
S 2 = i = 1 n G [ n H u V ( G ) δ G ( u ) d G ( u , w i ) + 1 + ( 2 e H + n H 2 + n H ) P G ( w i ) ] = n H { u , v } V ( G ) δ G ( u ) d G ( u , v ) + 1 + ( 2 e H + n H 2 + n H ) P ( G ) S 3 = i = 1 | V ( G ) | { u , v } V ( H i ) u v δ G H ( u ) + δ G H ( v ) d G H ( u , v ) = i = 1 n G { u , v } V ( H i ) u v δ H ( u ) + δ H ( v ) + 2 d G H ( u , v ) .
Now we consider the following relation:
{ u , v } V ( H ) u v δ H ( u ) + δ H ( v ) + 2 d G H ( u , v ) = u v E ( H ) ( δ H ( u ) + δ H ( v ) + 2 ) + u v E ( H ) δ H ( u ) + δ H ( v ) + 2 2 = M 1 ( H ) + 1 2 M ¯ 1 ( H ) + 2 | E ( H ) | + [ | V ( H ) | 2 | E ( H ) | ] = 1 2 M 1 ( H ) + n H ( e H + n H 1 2 ) .
Note that the last equality holds in view of the fact that M ¯ 1 ( H ) = 2 e H ( n H 1 ) M 1 ( H ) . So:
S 3 = i = 1 n G [ 1 2 M 1 ( H ) + n H ( e H + n H 1 2 ) ] = n G [ 1 2 M 1 ( H ) + n H ( e H + n H 1 2 ) ] S 4 = 1 i < j n G u V ( H i ) v V ( H j ) δ G H ( u ) + δ G H ( v ) d G H ( u , v ) = 1 i < j n G u V ( H i ) v V ( H j ) δ H ( u ) + δ H ( v ) + 2 d G ( w i , w j ) + 2
Now we consider the following relation, where 1 i < j n G
u V ( H i ) v V ( H j ) δ H ( u ) + δ H ( v ) + 2 d G ( w i , w j ) + 2 = 1 d G ( w i , w j ) + 2 [ u V ( H i ) v V ( H j ) ( δ H ( u ) + δ H ( v ) ) + 2 n H 2 ] = 2 n H ( 2 e H + n H ) d G ( w i , w j ) + 2
By using Lemma 3 we have:
S 4 = 2 n H ( 2 e H + n H ) { u , v } V ( G ) u v 1 d G ( u , v ) + 2 = 2 n H ( 2 e H + n H ) [ H ( G { K 2 } ) H ( G ) P ( G ) ] .
The result now follows by adding the four contributions and simplifying the expression. ☐
Example 2.
H A ( P 2 K 2 ) = 148 3 ,
H A ( P 3 K 2 ) = 313 3 .
We note that P 2 K 2 = P 2 { K 3 } and P 3 K 2 = P 3 { K 3 } and the result is similar to Example 1.
Corollary 2.
Let G be a r-regular graph and H be a simple graph. Then:
H A ( G H ) = 2 [ n H ( 1 2 e H n H ) + r ] H ( G ) + [ 2 e H ( 1 2 n H ) n H 2 + n H ( r + 1 ) ] P ( G ) + n G 2 M 1 ( H ) + 2 n H ( 2 e H + n H ) H ( G { K 2 } ) + n G n H ( e H + n H 1 2 ) .

3.3. Splice

Definition 3.
For given vertices y V ( G ) and z V ( H ) the splice of G and H by vertices y and z, which is denoted by ( G · H ) ( y ; z ) , is defined by identifying the vertices y and z in the union of G and H.
As an example for the splice of G and H see Figure 3.
Then for the splice of G and H by vertices y and z we have:
| V ( G · H ) ( y ; z ) | = | V ( G ) | + | V ( H ) | 1 , | E ( G · H ) ( y ; z ) | = | E ( G ) | + | E ( H ) | .
Lemma 4.
Let G and H be simple graphs with disjoint vertex sets. For given vertices y V ( G ) and z V ( H ) suppose that the splice of G and H by vertices y and z is denoted by G · H for convenience. Then for a vertex u of G · H such that u V ( G ) { y } we have δ G · H ( u ) = δ G ( u ) and for a vertex v of G · H such that v V ( H ) { z } we have δ G · H ( v ) = δ H ( v ) and δ G · H ( y ) = δ G ( y ) + δ H ( z ) = δ G · H ( z ) . Also:
(1) 
if u , v V ( G ) , then d G · H ( u , v ) = d G ( u , v ) ,
(2) 
if u , v V ( H ) , then d G · H ( u , v ) = d H ( u , v ) ,
(3) 
if u V ( G ) , v V ( H ) , then d G · H ( u , v ) = d G ( u , y ) + d H ( z , v ) .
Proof. 
The proof is obvious. ☐
Theorem 3.
Let G and H be two simple graphs. For vertices y V ( G ) and z V ( H ) , consider ( G · H ) ( y ; z ) . Then:
H A ( G · H ) ( y ; z ) = H A ( G ) + H A ( H ) + δ H ( z ) H G ( y ) + δ G ( y ) H H ( z ) + u V ( G ) { y } v V ( H ) { z } δ G ( u ) + δ H ( v ) d G ( u , y ) + d H ( v , z ) .
Proof. 
For convenience we denote ( G · H ) ( y ; z ) by G · H . By definition we have:
H A ( G · H ) = { u , v } V ( G · H ) u v δ G · H ( u ) + δ G · H ( v ) d G · H ( u , v ) .
We partition the sum into three sums S i such that S i is over A i for i = 1 , 2 , 3 , where A 1 = { ( u , v ) | u , v V ( G ) } , A 2 = { ( u , v ) | u , v V ( H ) } , A 3 = { ( u , v ) | u V ( G ) { y } , v V ( H ) { z } } .
So we have:
S 1 = { u , v } V ( G ) u v δ G · H ( u ) + δ G · H ( v ) d G · H ( u , v ) = { u , v } V ( G ) { y } u v δ G ( u ) + δ G ( v ) d G ( u , v ) + v V ( G ) { y } δ G ( y ) + δ H ( z ) + δ G ( v ) d G ( y , v ) = H A ( G ) + δ H ( z ) H G ( y ) .
Similarly, we have S 2 = H A ( H ) + δ G ( y ) H H ( z ) . Also:
S 3 = u V ( G ) { y } v V ( H ) { z } δ G · H ( u ) + δ G · H ( v ) d G · H ( u , v ) = u V ( G ) { y } v V ( H ) { z } δ G ( u ) + δ H ( v ) d G ( u , y ) + d H ( v , z )
The result now follows by adding the three sums S i , i = 1 , 2 , 3 . ☐
Corollary 3.
Let G be a r-regular graph and H be a k-regular graph. For vertices y V ( G ) and z V ( H ) , consider ( G · H ) ( y ; z ) . Then:
H A ( G · H ) ( y ; z ) = 2 r H ( G ) + 2 k H ( H ) + k H G ( y ) + r H H ( z ) + ( r + k ) u V ( G ) { y } v V ( H ) { z } 1 d G ( u , y ) + d H ( v , z ) .
We can determine a lower and an upper bound for H A ( G · H ) ( y ; z ) , where G and H are r-regular and k-regular graphs, respectively.
We know that 1 d G ( u , y ) D ( G ) , where u V ( G ) { y } and D ( G ) is the diameter of G. Similarly, we have 1 d H ( v , z ) D ( H ) , where v V ( H ) { z } and D ( H ) is the diameter of H. Hence, we have:
H A ( G · H ) ( y ; z ) 2 r H ( G ) + 2 k H ( H ) + k H G ( y ) + r H H ( z ) + ( r + k ) ( n G 1 ) ( n H 1 ) D ( G ) + D ( H ) ,
H A ( G · H ) ( y ; z ) 2 r H ( G ) + 2 k H ( H ) + k H G ( y ) + r H H ( z ) + ( r + k ) ( n G 1 ) ( n H 1 ) 2 .

3.4. Link

Definition 4.
A link of G and H by vertices y and z, which is denoted by ( G H ) ( y ; z ) , is defined as the graph obtained by joining y and z by an edge in the union of these graphs.
As an example of the link of two graphs see Figure 4.
For a link of G and H by vertices y and z we have:
| V ( G H ) ( y ; z ) | = | V ( G ) | + | V ( H ) | , | E ( G H ) ( y ; z ) | = | E ( G ) | + | E ( H ) | + 1 .
Lemma 5.
Let G and H be two simple graphs with disjoint vertex sets. For given vertices y V ( G ) and z V ( H ) suppose a link of G and H by vertices y and z is denoted by G H for convenience. Then for a vertex u of G H such that u V ( G ) { y } we have δ G H ( u ) = δ G ( u ) and for a vertex v of G H such that v V ( H ) { z } we have δ G H ( v ) = δ H ( v ) and δ G H ( y ) = δ G ( y ) + 1 , δ G H ( z ) = δ H ( z ) + 1 . Also:
(1) 
if u , v V ( G ) , then d G H ( u , v ) = d G ( u , v ) ,
(2) 
if u , v V ( H ) , then d G H ( u , v ) = d H ( u , v ) ,
(3) 
if u V ( G ) , v V ( H ) , then d G H ( u , v ) = d G ( u , y ) + d H ( z , v ) + 1 .
Proof. 
The proof is straightforward. ☐
Theorem 4.
Let G and H be two simple graphs. For vertices y V ( G ) and z V ( H ) , consider ( G H ) ( y ; z ) . Then:
H A ( ( G H ) ( y ; z ) ) = H A ( G ) + H A ( H ) + H G ( y ) + H H ( z ) + ( δ H ( z ) + 1 ) ( P G ( y ) 1 ) + ( δ G ( y ) + 1 ) ( P H ( z ) 1 ) + δ G ( y ) + δ H ( z ) + 2 + u V ( G ) { y } v V ( H ) { z } δ G ( u ) + δ H ( v ) d G ( u , y ) + d H ( v , z ) + 1 + u V ( G ) { y } δ G ( u ) d G ( u , y ) + 1 + v V ( H ) { z } δ H ( v ) d H ( v , z ) + 1 .
Proof. 
For convenience we denote ( G H ) ( y ; z ) by G H . By definition we have:
H A ( G H ) = { u , v } V ( G H ) u v δ G H ( u ) + δ G H ( v ) d G H ( u , v ) .
Similarly to the proof of Theorem 3, we partition the sum into three sums S i such that S i is over A i for i = 1 , 2 , 3 , where:
  • A 1 = { ( u , v ) | u , v V ( G ) } ,
  • A 2 = { ( u , v ) | u , v V ( H ) } ,
  • A 3 = { ( u , v ) | u V ( G ) , v V ( H ) } .
We consider three sums S 1 , S 2 , S 3 as follows:
S 1 = { u , v } V ( G ) u v δ G H ( u ) + δ G H ( v ) d G H ( u , v ) = { u , v } V ( G ) { y } u v δ G ( u ) + δ G ( v ) d G ( u , v ) + u V ( G ) { y } δ G ( u ) + δ G ( y ) + 1 d G ( u , y ) = H A ( G ) + H G ( y ) .
Similarly, we have S 2 = H A ( H ) + H H ( z ) . Also:
S 3 = u V ( G ) v V ( H ) δ G H ( u ) + δ G H ( v ) d G H ( u , v ) = u V ( G ) { y } v V ( H ) { z } δ G ( u ) + δ H ( v ) d G ( u , y ) + d H ( v , z ) + 1 + u V ( G ) { y } δ G ( u ) + δ H ( z ) + 1 d G ( u , y ) + 1 + v V ( H ) { z } ( δ G ( y ) + δ H ( v ) + 1 d H ( v , z ) + 1 ) + δ G ( y ) + δ H ( z ) + 2 = u V ( G ) { y } v V ( H ) { z } δ G ( u ) + δ H ( v ) d G ( u , y ) + d H ( v , z ) + 1 + δ G ( y ) + δ H ( z ) + 2 + u V ( G ) { y } δ G ( u ) d G ( u , y ) + 1 + ( δ H ( z ) + 1 ) ( P G ( y ) 1 ) + v V ( H ) { z } δ H ( v ) d H ( v , z ) + 1 + ( δ G ( y ) + 1 ) ( P H ( z ) 1 ) .
We obtain the result by adding the three sums S i , i = 1 , 2 , 3 . ☐
Corollary 4.
Let G be a r-regular graph and H be a k-regular graph. For vertices y V ( G ) and z V ( H ) , consider ( G H ) ( y ; z ) . Then:
H A ( G H ) ( y ; z ) = 2 r H ( G ) + 2 k H ( H ) + H G ( y ) + H H ( z ) + ( k + r + 1 ) [ P G ( y ) + P H ( z ) 1 ] + 1 + ( k + r ) u V ( G ) { y } v V ( H ) { z } 1 d G ( u , y ) + d H ( v , z ) + 1 .
Similarly, we can determine a lower and an upper bound for H A ( G H ) ( y ; z ) , where G and H are r-regular and k-regular graphs, respectively.
We know that 1 d G ( u , y ) D ( G ) , where u V ( G ) { y } and D ( G ) is the diameter of G. Similarly, we have 1 d H ( v , z ) D ( H ) , where v V ( H ) { z } and D ( H ) is the diameter of H. So we have:
H A ( G H ) ( y ; z ) 2 r H ( G ) + 2 k H ( H ) + H G ( y ) + H H ( z ) + ( r + k + 1 ) [ P G ( y ) + P H ( z ) 1 ] + 1 + ( r + k ) ( n G 1 ) ( n H 1 ) D ( G ) + D ( H ) + 1 , H A ( G H ) ( y ; z ) 2 r H ( G ) + 2 k H ( H ) + H G ( y ) + H H ( z ) + ( r + k + 1 ) [ P G ( y ) + P H ( z ) 1 ] + 1 + ( r + k ) ( n G 1 ) ( n H 1 ) 3 .
Remark 1.
From the definition of H ( G ) and P ( G ) , it is obvious that the complete graph has the largest H ( G ) and P ( G ) among all graphs on the same number of vertices. So, for any graph G on n vertices we have H ( G ) n 2 and P ( G ) n 2 + n . Also, from the fact that adding an edge to G will increase its additively weighted Harary index, it immediately follows that the complete graph has the largest H A ( G ) among all graph on the same number of vertices. Hence, for any graph G on n vertices we have H A ( G ) n ( n 1 ) 2 .
From the above remark, we obtain the next corollaries immediately.
Corollary 5.
Let G be a r-regular graph and H be a k-regular rooted graph. Then:
H A ( G { H } ) ( r + 1 ) [ r ( r + k ) + k 2 ( k + 1 ) ] + r k ( r + 1 ) [ 1 + r + 2 k 2 + k 2 3 ] .
Corollary 6.
Let G be a r-regular graph and H be a k-regular graph. Then:
H A ( G · H ) ( y ; z ) ( r + 1 ) r 2 + ( k + 1 ) k 2 + r k [ 2 + r + k 2 ] , H A ( G H ) ( y ; z ) ( r + 1 ) r 2 + ( k + 1 ) k 2 + 1 3 r k ( r + k ) + 1 2 ( r + k + 1 ) [ ( r + 1 ) ( r + 2 ) + ( k + 1 ) ( k + 2 ) ] .

4. Conclusions

In this paper we have investigated the additively weighted Harary index for some graph products such as splice, link, corona and rooted product. Also we have determined lower and upper bounds for some of them.

Author Contributions

This work is a part of Elnaz Ramezani’s Master’s Thesis which is done under supervision of Behrooz Khosravi.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Randić, M. On the characterization of molecular branching. J. Am. Chem. Soc. 1975, 97, 6609–6615. [Google Scholar] [CrossRef]
  2. Plavšić, D.; Nikolić, S.; Trinajstić, N.; Mihalić, Z. On the Harary index for the characterization of chemical graphs. J. Math. Chem. 1993, 12, 235–250. [Google Scholar] [CrossRef]
  3. Ivanciuc, O.; Balaban, T.S.; Balaban, A.T. Reciprocal distance matrix, related local vertex invariants and topological indices. J. Math. Chem. 1993, 12, 309–318. [Google Scholar] [CrossRef]
  4. Deng, H.; Krishnakumari, B.; Venkatakrishnan, Y.B.; Balachandran, S. Multiplicatively weighted Harary index of graphs. J. Comb. Optim. 2016. [Google Scholar] [CrossRef]
  5. Xu, K.; Wang, J.; Das, K.C.; Klavar, S. Weighted Harary indices of apex trees and k-apex trees. Discret. Appl. Math. 2015, 189, 30–40. [Google Scholar] [CrossRef]
  6. Xu, K.; Das, K.C.; Trinajstić, N. The Harary Index of a Graph; Springer: Berlin/Heidelberg, Germany, 2015. [Google Scholar]
  7. Xu, K.; Das, K.C. On Harary index of graphs. Discret. Appl. Math. 2011, 159, 1631–1640. [Google Scholar] [CrossRef]
  8. Alizadeh, Y.; Iranmanesh, A.; Došlić, T. Additively weighted Harary index of some composite graphs. Discret. Math. 2013, 313, 26–34. [Google Scholar] [CrossRef]
  9. Gutman, I.; Ruščić, B.; Trinajstić, N.; Wilcox, C.F. Graph theory and molecular orbitals. XII. Acyclic polyenes. J. Chem. Phys. 1975, 62, 3399–3405. [Google Scholar] [CrossRef]
  10. Gutman, I.; Trinajstić, N. Graph theory and molecular orbitals. Total π-electron energy of alternant hydrocarbons. Chem. Phys. Lett. 1972, 17, 535–538. [Google Scholar] [CrossRef]
  11. Došlić, T. Vertex-Weighted Wiener polynomials for composite graphs. Ars Math. Contemp. 2008, 1, 66–80. [Google Scholar]
  12. Ashrafi, A.R.; Došlić, T.; Hamzeh, A. The Zagreb coindices of graph operations. Discret. Appl. Math. 2010, 158, 1571–1578. [Google Scholar] [CrossRef]
Figure 1. The rooted product of G and H where w is the root of H.
Figure 1. The rooted product of G and H where w is the root of H.
Mathematics 05 00016 g001
Figure 2. The corona product of G and H.
Figure 2. The corona product of G and H.
Mathematics 05 00016 g002
Figure 3. The splice of G and H by vertices y and z.
Figure 3. The splice of G and H by vertices y and z.
Mathematics 05 00016 g003
Figure 4. The link of G and H by vertices y and z.
Figure 4. The link of G and H by vertices y and z.
Mathematics 05 00016 g004

Share and Cite

MDPI and ACS Style

Khosravi, B.; Ramezani, E. On the Additively Weighted Harary Index of Some Composite Graphs. Mathematics 2017, 5, 16. https://doi.org/10.3390/math5010016

AMA Style

Khosravi B, Ramezani E. On the Additively Weighted Harary Index of Some Composite Graphs. Mathematics. 2017; 5(1):16. https://doi.org/10.3390/math5010016

Chicago/Turabian Style

Khosravi, Behrooz, and Elnaz Ramezani. 2017. "On the Additively Weighted Harary Index of Some Composite Graphs" Mathematics 5, no. 1: 16. https://doi.org/10.3390/math5010016

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop