Equi Neighbor Polynomial of Some Binary Graph Operations

Dhanya P.1, Anil Kumar V.2
1Department of Mathematics, CKGM Govt. College, Perambra P. O. Kozhikode, Kerala, India 673 525
2Department of Mathematics, University of Calicut, Malappuram, Kerala, India 673 635

Abstract

Let \(G(V,E)\) be a simple graph of order \(n\) with vertex set \(V\) and edge set \(E\). Let \((u, v)\) denote an unordered vertex pair of distinct vertices of \(G\). For a vertex \(u \in G,\) let \(N(u)\) be the set of all vertices of \(G\) which are adjacent to \(u\) in \(G.\) Then for \(0\leq i \leq n-1\), the \(i\)-equi neighbor set of \(G\) is defined as: \(N_{e}(G,i)=\{(u,v):u, v\in V, u\neq v\) and \(|N(u)|=|N(v)|=i\}.\) The equi-neighbor polynomial \(N_{e}[G;x]\) of \(G\) is defined as \(N_{e}[G;x]=\sum_{i=0}^{(n-1)} |N_{e}(G,i)| x^{i}.\) In this paper we discuss the equi-neighbor polynomial of graphs obtained by some binary graph operations.

Keywords: \(i-\)Equi neighbor set, Equi neighbor polynomial

1. Introduction

Let \(G(V, E)\) be a simple graph of order \(n\) with vertex set \(V\) and edge set \(E\). Let \((u, v)\) denote an unordered vertex pair of distinct vertices of \(G\). For a vertex \(u \in G,\) let \(N(u)\) be the set of all vertices of \(G\) which are adjacent to \(u\) in \(G.\) Then for \(0\leq i \leq n-1\), the \(i\)-equi neighbor set of \(G\) is defined as: \(N_{e}(G,i)=\{(u,v):u, v\in V, u\neq v \ \text{and}\ |N(u)|=|N(v)|=i\}.\) The equi-neighbor polynomial \(N_{e}[G;x]\) of \(G\) is defined as \(N_{e}[G;x]=\sum_{i=0}^{(n-1)} |N_{e}(G,i)| x^{i}\) [1].

Binary graph operations are used to model the action between two network systems. Binary graph operations are usually known as graph products in which two initial graphs are acted together according to some specific rules to produce a new graph.

In this paper we discuss the equi-neighbor polynomial of graphs obtained by some binary graph operations.

2. Main Results

In this section, we discuss the equi-neighbor polynomial of graphs obtained by some binary graph operations.

If \(H\) and \(K\) are two graphs, then the join, \(H \vee K\) is the graph with vertex set \(V(H) \cup V(K)\) and the edge set \(E(H)\cup E(K) \cup \{uv: u \in V(H), v \in V(K)\}.\)

Theorem 1. If \(H\) and \(K\) are any two graphs with \(h\) and \(k\) vertices respectively, then the equi neighbor polynomial of the join of \(H\) and \(K\) is given by \[N_{e}[H \vee K;x]=x^k N_{e}[H;x]+x^h N_{e}[K;x]+\displaystyle \sum_{i=0}^{h-1}(H,i)n(K,i+k-h)x^{i+k},\] where \(n(H,i)\) denotes the number of vertices of \(H\) with \(i\) neighbors and \(n(K,i+k-h)\) denotes the number of vertices of \(K\) with \(i+k-h\) neighbors.

Proof. Observe that from the definition of \(H \vee K,\) each vertex of \(K\) has \(k\) more than the number of neighbors as in \(H\) and each vertex \(K\) has \(h\) more than the number of neighbors as in \(K.\) Therefore it is enough to consider the following three cases:

Case (i) Let \(u,v\in V(H);\) \(|N(u)|=|N(v)|=i\) in \(H.\)

Then \(u\) has \((i+k)\) neighbors in \(H \vee K,\) which are the \(i\) neighbors in \(H\) and the \(k\) vertices in \(K.\) The same is true for \(v.\) Hence the pair \((u, v)\) has \((i+k)\)-equi neighbors in \(H \vee K\) and there are \(|N_{e}(H,i)|\) such pairs.

Case (ii) Let \(u,v\in V(K);\) \(|N(u)|=|N(v)|=i\) in \(K.\)

Then \(u\) has \((i+h)\) neighbors in \(H \vee K,\) which are the \(i\) neighbors in \(K\) and the \(h\) vertices in \(H.\) The same is true for \(v.\) Hence the pair \((u, v)\) has \((i+h)\)-equi neighbors in \(H \vee K\) and there are \(|N_{e}(K,i)|\) such pairs.

Case (iii) Let \(u\in V(H), v \in V(K);\) \(|N(u)|= i\) in \(H,\) \(|N(v)|= i+k-h\) in \(H.\)

Then \(u\) and \(v\) have \((i+h)\) neighbors in \(H \vee K.\) Hence the pair \((u, v)\) has \((i+k)\)-equi neighbors in \(H \vee K\) and there are \(n(H, i) n(K, i+k-h)\) such pairs.
Thus we have,

\[\begin{aligned} N_e[H \vee K;x]&=\sum_{i=0}^{h-1}|N_e(H,i)|x^{i+k}+\sum_{i=0}^{k-1}\left| N_e(K,i)\right|x^{i+h}\\ &\quad+\sum_{i=0}^{h-1}n(H,i)n(K,i+k-h)x^{i+k}\\ &= x^{k}N_e[H;x]+x^{h}N_e[K;x]+\sum_{i=0}^{h-1}n(H,i)n(K,i+h-k)x^{i+k}. \end{aligned}\] This completes the proof. ◻

Consider the graph \(G(V, E)\) and let \(w\notin V.\) Then the graph \(G+w\) is a graph obtained from \(G\) including the vertex \(w\) in \(G\) and joining it to all other vertices of \(G.\)

Corollary 1. \(N_e[G+w;x]=xN_e[G;x]+n(G, n-1)x^{n}\), where \(n(G,n-1)\) represents the number of vertices of \(G\) with \((n-1)\) neighbors.

Proof. The result follows from the fact that \(G+w\) is isomorphic to \(G \vee K_1,\) where \(K_1\) is the complete graph on a single vertex with \(V(K_1)=\lbrace w \rbrace.\) ◻

A Wheel graph \(W_n,n>3\) is obtained by taking the join of the cycle graph \(C_{n-1}\) and the complete graph \(K_1\).

Lemma 1.

For a cycle graph \(C_n,\) \[N_{e}[C_n;x]= {n \choose 2}x^2 , n\ge3.\]

Corollary 2. If \(W_n, n>3\) is a wheel graph with \(n\) vertices, then \[\begin{aligned} N_e[W_n;x]=& \begin{cases} {n-1 \choose 2}x^3, &\text{if} \ \ n\neq 4,\\ 6x^3, &\text{if}\ \ n=4.\end{cases} \end{aligned}\]

Proof. Observe that \(W_n\) is isomorphic to \(C_n-1 \vee K_1;\) where \(C_n-1\) is the cycle graph on \(n\) vertices and \(K_1\) is the complete graph on a single vertex. Therefore, using lemma 1 and Theorem 1, it follows that

Case (i) Let \(n \neq 4\). Then, \[\begin{aligned} N_e[C_{n-1} \vee K_1;x]&=x{n-1 \choose 2}x^{2}+x \times 0={n-1 \choose 2}x^3. \end{aligned}\]

Case (ii) Let \(n=4\). Then, \[\begin{aligned} N_e[C_{n-1} \vee K_1;x] &=x \times 3x^{2}+x^{3} \times 0+3 \times 1 \times x^{3}=6x^{3}. \end{aligned}\]

This completes the proof. ◻

A Shell graph \(S_n,\) where \(n\geq 3\) is obtained from the cycle graph \(C_n\) by adding the edges corresponding to the \((n-3)\) concurrent chords of the cycle.

Lemma 2. If \(P_n\) is a path graph of length \(n;\) \(n\geq 2\), we have \[N_{e}[P_n;x]=\ x+{n-2 \choose 2}x^2; n \geq 2.\]

Corollary 3. For a shell graph \(S_n;\) \(n\ge 3\), we have \[N_e[S_n;x]=\begin{cases} {n-3 \choose 2}x^3+x^2,&\text{if} \ n \neq 3,4,\\ 3x^2, & \text{if} \ n=3,\\ x^3+x^2,&\text{if} \ n=4.\end{cases}\]

Proof. Note that \(S_n=P_{n-1}\vee {K_1}\). Then the result follows from Lemma 2 and Theorem 1. ◻

The corona of two graphs \(K\) and \(H\) is formed from one copy of \(K\) and \(|V(K)|\) copies of \(H\) where the \(i^{th}\) vertex of \(K\) is adjacent to every vertex in the \(i^{th}\) copy of \(H\) [2]. It is denoted by \(K \circ H.\)

Theorem 2. If \(K\) is a graph having \(k\) vertices and \(H\) is a graph having \(h\) vertices, then the equi neighbor polynomial of corona of \(K\) and \(H\) is given by \[\begin{aligned} N_e[K \circ H;x]& =x^{h}N_e[K;x]+kxN_e[H;x]+{k \choose 2}\sum_{i=0}^{h-1}[n(H,i)]^2x^{i+1}+n(K,0)n(H, h-1)x^h, \end{aligned}\] where \(n(H,i)\) represents the number of vertices of \(H\) with \(i\) neighbors and \(n(K,0)\) represents the number of isolated vertices of \(K.\)

Proof. Observe that, from the definition of \(K \circ H\),

  1. each vertex of \(K\) has \(h\) more than the number of neighbors as in \(K\),

  2. each vertex in a copy of \(H\) has one more than the number of neighbors as in \(H\) and there are \(k\) copies of \(H\).

Therefore it is enough to consider the following four cases;

Case (i) Let \(u,v\in V(K);\) \(|N(u)|=|N(v)|=i\) in \(K.\)

Then \(u\) has \((i+h)\) neighbors in \(K \circ H,\) which are the \(i\) neighbors in \(K\) and the \(h\) vertices in a copy of \(H\) corresponding to the vertex \(u.\) \(v\) also has \((i+h)\) neighbors in \(K \circ H,\) which are the \(i\) neighbors in \(K\) and the \(h\) vertices in the copy of \(H\) corresponding to the vertex \(v.\) Hence the pair \((u, v)\) has \((i+h)\)-equi neighbors in \(K \circ H\) and there are \(|N_{e}(K,i)|\) such pairs.

Case (ii) Let \(u,v \in V(H_j);\) where \(H_j\) denotes the \(j^{th}\) copy of \(H;j=1,2,…k;\) \(|N(u)|=|N(v)|=i\) in \(H_j.\)

Then \(u\) has \((i+1)\) neighbors in \(K \circ H,\) which are the \(i\) neighbors in \(H\) and the vertex in \(K\) corresponding to \(H_j.\) The same is true for \(v.\) Hence the pair \((u, v)\) has \((i+1)\)-equi neighbors in \(K \circ H\) and there are \(|N_{e}(H,i)|\) such pairs corresponding to the copy \(H_j\) of \(H.\) Note that there are \(k\) such copies of \(H.\)

Case (iii) Let \(u \in V(H_j),\) \(v \in V(H_k),\) where \(H_j\) anf \(H_k\) denote the \(j^{th}\) and \(k^{th}\) copy of \(H\) respectively; \(j, k \in \{1,2,…,k\};\) \(j \neq k;\) \(|N(u)|=|N(v)|=i\) in \(H.\)

Then the pair \((u, v)\) has \((i+1)\)-equi neighbors in \(K \circ H\) and there are \({k \choose 2}[n(H,i)]^2\)such pairs.

Case (iv) Let \(u \in V(K)\) and \(v\in V(H_j),\) where \(H_j\) denote the \(j^{th}\) copy of \(H;\) \(j \in \{1,2,…,k\};\) \(|N(u)|= 0\) in \(K;\) \(|N(v)|=h-1\) in \(H.\)

Then \(u\) and \(v\) have \(h\) neighbors in \(K \circ H.\) Hence the pair \((u, v)\) has \(h\)-equi neighbors in \(K \circ H\) and there are \(n(K,0)n(H, h-1)\) such pairs. Thus,

\[\begin{aligned} N_e[K \circ H;x]&=\sum_{i=0}^{k-1}|N_e(K,i)|x^{i+h}+k\sum_{i=0}^{h-1}\left| N_e(H,i)\right|x^{i+1} +{k \choose 2}\sum_{i=0}^{h-1}[n(H,i)]^{2}x^{i+1}+n(K,0)n(H, h-1)x^h\\ &=x^{h}N_e[K;x]+kxN_e[H;x]+{k \choose 2}\sum_{i=0}^{h-1}[n(H,i)]^2x^{i+1} +n(K,0)n(H, h-1)x^h. \end{aligned}\] This completes the proof. ◻

The graph \(Q(m,n)\) \(;m \geq 1, n>1\) is obtained by identifying each vertex of the complete graph \(K_m\) with a vertex of a unique \(K_n\) where there are \(m\) copies of \(K_n\) [3].

Corollary 4. For \(m \geq 1, n>1,\) we have \[N_e[Q(m,n);x]=\{{m \choose 2}(n-1)^{2}+m{n-1 \choose 2}\}x^{n-1}+{m \choose 2}x^{m+n-2}.\]

Proof. The result follows from the fact that \(Q(m,n)\) and \(K_m \circ K_{n-1}\) are isomorphic. ◻

The Cartesian product of two graphs \(K\) and \(H\) is the graph \(K\square H\) with vertex set \(V(K) \times V(H)\) and the vertices \((u, v)\) and \((x, y)\) are adjacent if and only if \(u=x\) and \(vy \in E(H)\) or \(ux \in E(G)\) and \(v=y.\)

Theorem 3. If \(K\) is a graph with vertex set \(V(K)=\{u_1,u_2,…,u_k\}\) and \(H\) is a graph with vertex set \(V(H)=\{v_1,v_2,…,v_h\},\) then the equi neighbor polynomial of cartesian product of \(K\) and \(H\) is given by, \[\begin{aligned} N_e[K\square H;x] &=N_e[K; x] \sum_{r=1}^{h}x^{d_r^{1}}+N_e[H; x]\sum_{r=1}^{k}x^{d_r} +2 \sum_{(i, j) \in I \times I}|N_e(K, i)||N_e(H,j)|x^{i+j}\\ & \quad + \sum_{m=1}^{k+h-2}\{\sum_{i, j \in I;i \neq j}n(K, i)n(K, j)n(H, m-i)n(H, m-j)x^{m}\}, \end{aligned}\] where \(d_r=|N(u_r)|, r=1, 2, …, k,\) \(d_r^{1}=|N(v_r)|, r=1, 2, …, h\), \(I=\{0, 1, 2,…, k-1 \},\) \(n(K, i)\) and \(n(H,i)\) represent the number of vertices in \(K\) and \(H\) respectively with \(i\) neighbors.

Proof. Let the vertices of \(K\square H\) be denoted by \(u_iv_j\) where \(i\in \lbrace1,2,\ldots,k\rbrace\) and \(j\in \lbrace1,2,\ldots,h\rbrace\). Observe that from the definition of \(K\square H\) the number of neighbors of a vertex \(u_iv_j\) in \(K\square H\) is equal to the sum of the number of neighbors of \(u_i\) in \(K\) and the number of neighbors of \(v_j\) in \(H;\) \(i\in \lbrace1,2,\ldots,k\rbrace\), \(j\in \lbrace1,2,\ldots,h\rbrace\). Therefore it is enough to consider the following four cases;

Case (i) Consider the vertex pairs of \(K\square H\) of the form \((u_rv_s,u_rv_t),\) \(r\in\{1,2,\ldots,k\},\) \(s,t\in \{1,2,\ldots,h\},\) \(s\neq t;\) with \(|N(u_r)|= d_r\) in \(K\) and \(|N(v_s)|=|N(v_t)|=i\) in \(H.\) Then the pair \((u_rv_s,u_rv_t)\) has \((i+d_r)\)-equi neighbors in \(K\square H\) and there are \(|N_e(H,i)|\) such pairs, for each \(r \in \{1,2,\ldots,k\}.\)

Case (ii) Consider the vertex pairs of \(K\square H\) of the form \((u_sv_r,u_tv_r),\) where \(s,t\in \{1,2,\ldots,k\},\) \(r\in \{1,2,\ldots,h\},\) \(s\neq t,\) with \(|N(u_s)|=|N(u_t)|=i\) in \(K\) and \(|N(v_r)|= d_r^{1}\) in \(H.\) Then the pair \((u_sv_r,u_tv_r)\) has \((i+d_r^{1})\)-equi neighbors in \(K\square H\) and there are \(|N_e(K,i)|\) such pairs, for each \(r \in \{1,2,\ldots,h\}.\)

Case (iii) Consider the vertex pairs of \(K\square H\) of the form \((u_sv_r,u_tv_l)\), where \(s, t\in\{1,2,\ldots,k\},\) \(r,l\in \{1,2,\ldots,h\},\) \(s\neq t,\) \(r\neq l,\) with \(|N(u_s)|=|N(u_t)|=i\) in \(K\) and \(|N(v_r)|=|N(v_l)|=j\) in \(H.\) Then the pair \((u_sv_r,u_tv_l)\) has \((i+j)\)-equi neighbors in \(K\square H\) and there are \(2|N_e(K,i)||N_e(H,j)|\) such pairs.

Case (iv) Consider the vertex pairs of \(K\square H\) of the form \((u_sv_r,u_tv_l)\), \(s,t\in \{1,2,\ldots,k\},\) \(r,l\in \{1,2,\ldots,h\}\) with \(|N(u_s)|=i,\) \(|N(u_t)|=j\) in \(K,\) where \(i \neq j.\) Then the pair \((u_sv_r,u_tv_l)\) has \(m\)-equi neighbors in \(K\square H\) and there are \(n(K, i)n(K, j)n(H, m-i)n(H, m-j)\) such pairs for each \(m \in \{1,2,\ldots,h+k-2\}.\) Thus,

\[\begin{aligned} N_e[K \square H;x]&=\sum_{i=0}^{h-1}|N_e(H,i)|x^{i} \times \sum_{r=1}^{k}x^{d_r} + \sum_{i=0}^{k-1}|N_e(K,i)|x^{i} \times \sum_{r=1}^{h}x^{d_r^{1}}+ \sum_{(i, j) \in I \times I}2|N_e(K,i)||N_e(H,j)|x^{i+j}\\ &\quad + \sum_{m=1}^{k+h-2}\left\{\sum_{i, j \in I;i \neq j}n(K, i)n(K, j)n(H, m-i)n(H, m-j)x^{m}\right\} \\ &=N_e[K; x] \sum_{r=1}^{h}x^{d_r^{1}}+N_e[H; x]\sum_{r=1}^{k}x^{d_r} +2 \sum_{(i, j) \in I \times I}|N_e(H, i)||N_e(H,j)|x^{i+j}\\ & \quad + \sum_{m=1}^{k+h-2}\left\{\sum_{i, j \in I;i \neq j}n(K, i)n(K, j)n(H, m-i)n(H, m-j)x^{m}\right\}. \end{aligned}\] This completes the proof. ◻

A Ladder graph \(L_n;n \geq 2\) is obtained as the cartesian product of two paths one of which has only one edge.

Corollary 5. For a Ladder graph \(L_n,\) we have \[N_e[L_n;x]=(n-2)(2n-5)x^3+6x^{2}; n \geq 2.\]

Proof. Since \(L_n\) is isomorphic to \(P_n \square P_2\), \(N[L_n;x]=N[P_n \square P_2;x]\). Note that \(N_e[P_n;x]={n-2 \choose 2}x^{2}+x\). So we obtain, \[\begin{aligned} N_e[L_n;x]&=x\big[2x+(n-2)x^{2}\big]+\Big[x+{n-2 \choose 2}x^{2}\Big] 2x+2\Big[x^{2}+{n-2 \choose 2}x^{3}\Big]\\ &=(n-2)(2n-5)x^3+6x^{2}. \end{aligned}\] This completes the proof. ◻

A Circular ladder graph \(CL_n;n \geq 3\) is obtained as the cartesian product of the cycle graph \(C_n\) and the path \(P_2\).

Corollary 6. For a Circular ladder graph \(CL_n,\) we have \[N_e[CL_n;x]=n(2n-1)x^3;n \geq 3.\]

Proof. Using the Lemma 1, Theorem 3 and using the fact that \(CL_n\) is isomorphic to \(C_n \square P_2\), it follows that, \[\begin{aligned} N_e[CL_n;x]&=x \times nx^{2}+{n \choose 2}x^{2} \times 2x+2{n \choose 2} \times 1 \times x^{3}\\ &=n(2n-1)x^3. \end{aligned}\] This completes the proof. ◻

A \(m-\)book graph is obtained as the cartesian product of the star graph \(K_{1,m}\) and the path graph \(P_2.\)

Corollary 7. If \(B_m\) is a \(m-\)book graph, then we have \[\begin{aligned} N_e[B_m;x]=& \begin{cases} x^{m+1}+m(2m-1)x^2, &\text{if} \ \ m> 1,\\ 6x^2, &\text{if}\ \ m=1.\end{cases} \end{aligned}\]

Proof. Since \(B_m\) is isomorphic to \(K_{1, m} \square P_2,\) \(N_e[B_m;x]=N_e[K_{1, m} \square P_2; x]\). Note that \[N_{e}[K_{1,m};x]= \begin {cases}{m \choose 2} x, &\ m\geq 1, \\ x, &\ m=1. \end{cases}.\] Thus we obtain,

Case (i) Let \(m >1\). Then, \[\begin{aligned} N_e[K_{1, m} \square P_2;x]&=x\big[x^{m}+mx\big]+{m \choose 2}x \times 2x+2{m \choose 2} \times1 \times x^{2} =x^{m+1}+m(2m-1)x^2. \end{aligned}\]

Case (ii) Let \(m=1\). Then, \[\begin{aligned} N_e[K_{1, m} \square P_2;x] &=x \times 2x+x \times 2x + 2 \times 1 \times 1 \times x^{2} =6x^{2}. \end{aligned}\]

This completes the proof. ◻

A rooted graph is a graph in which one vertex is distinguished as a root. The Rooted product of a graph \(G\) and a rooted graph \(H\) is obtained as follows;

Take \(|V(G)|\) copies of \(H\) and for each vertex \(v_i\) of \(G,\) identify \(v_i\) with the root vertex of the \(i^{th}\) copy of \(H\) [4].

Theorem 4. Let \(G\) be a graph with \(n\) vertices. Let \(H\) be a rooted graph with \(m\) vertices, having a root vertex \(v_1\) with degree \(d\). If \(G\prime\) is the rooted product of \(G\) and \(H\), then,

\[\begin{aligned} N_e[G\prime;x]&=x^{d}N_e[G;x]+n^{2}N_e[H;x] +{n \choose 2}\sum_{i=0,i \neq d}^{m-1}n(H,i)x^{i} +\sum_{i=0}^{n-1}n(G,i)n(H,i+d)x^{i} \\ &\quad-\frac{(n+1)}{2}n(H,d)+ n(G, 0)n(H,d)+\frac{(n+1)}{2} – n(G,0)nx^{d}, \end{aligned}\] where \(n(G,i)\) and \(n(H,i)\) represent the number of vertices of \(G\) and \(H\) respectively with \(i\) neighbors.

Proof. Let \(V(G)=\lbrace u_1,u_2,\ldots, u_n\rbrace\) and let \(V(H)=\lbrace v_1,v_2,\ldots,v_m \rbrace\) where \(v_1\) is the root vertex. Then a vertex of \(G'\) can be represented by \(u_rv_s\) where \(r\in\{1,2, \ldots,n\}\) and \(s\in\{1,2,\ldots, m \}\). Observe that, from the definition of the rooted product of \(G\) and \(H\),

  1. the number of neighbors of vertices of \(G \prime\) of the form \(u_rv_1,\) \(r\in\{1,2, \ldots,n\}\) is equal to the sum of the number of neighbors of \(u_r\) in \(G\) and the number of neighbors of \(v_1\) in \(H.\)

  2. the number of neighbors of vertices of \(G \prime\) of the form \(u_rv_s,\) \(r\in\{1,2, \ldots,n\}\); \(s\in\{2,3, \ldots,m\}\) is equal to the number of neighbors of \(v_s\) in \(H.\)

Therefore it is enough to consider the following seven cases;

Case (i) Consider the vertex pairs of \(G \prime\) of the form \((u_rv_1,u_sv_1),\) where \(r,s\in\{1,2,\ldots,n\};\) \(r\neq s\); with \(|N(u_r)|=|N(u_s)|=i\) in \(G.\) Then \(u_rv_1\) has \((i+d)\) neighbors in \(G \prime.\) The same is true for \(u_sv_1.\) Hence the pair \((u_rv_1,u_sv_1)\) has \((i+d)\)-equi neighbors in \(G \prime\) and there are \(|N_e(G,i)|\) such pairs.

Case (ii) Consider the vertex pairs of \(G \prime\) of the form \((u_rv_s,u_rv_t)\), where \(r\in\{1,2,\ldots,n\}\), \(s,t\in\{2,3,\ldots,m\}\), \(s\neq t,\) with \(|N(v_s)|=|N(v_t)|=i \neq d\) in \(H.\) Then the pair \((u_rv_s,u_rv_t)\) has \(i\)-equi neighbors in \(G \prime\) and there are \(|N_e(H,i)|\) such pairs, corresponding to each \(r\in\{1,2,\ldots,n\}.\)

Case (iii) Consider the vertex pairs of \(G \prime\) of the form \((u_rv_s,u_rv_t)\), where \(r\in\{1,2,\ldots,n\}\), \(s,t\in\{2,3,\ldots,m\}\), \(s\neq t\), with \(|N(v_s)|=|N(v_t)|=d\) in \(H.\) Then the pair \((u_rv_s,u_rv_t)\) has \(d\)-equi neighbors in \(G \prime\) and there are \(|N_e(H,d)|-n(H, d)+1\) such pairs, corresponding to each \(r\in\{1,2,\ldots,n\}.\)

Case (iv) Consider the vertex pairs of \(G \prime\) of the form \((u_rv_1,u_rv_s)\), where \(r\in\{1,2,\ldots,n\}\), \(s\in\{2,3,\ldots,m\}\), with \(|N(u_r)|=i\) in \(G\) and \(|N(v_s)|=i+d\) in \(H.\)

Subcase (i) Let \(i = 0.\) Then the pair \((u_rv_1,u_rv_s)\) has \(d\)-equi neighbors in \(G \prime\) and there are \(n(G, 0) \{n(H, d)-1\}\) such pairs.

Subcase (ii) Let \(i \neq 0.\) Then the pair \((u_rv_1,u_rv_s)\) has \((i+d)\)-equi neighbors in \(G \prime\) and there are \(n(G, i) n(H, i+d)\) such pairs.

Case (v) Consider the vertex pairs of \(G \prime\) of the form \((u_rv_1,u_sv_t)\), where \(r,s\in\{1,2,\ldots,n\}\), \(t\in\{2,3,\ldots,m\}\), \(r\neq s\), with \(|N(u_r)|=i\) in \(G\) and \(|N(v_t)|=i+d\) in \(H.\)

Subcase (i) Let \(i = 0.\) Then the pair \((u_rv_1,u_sv_t)\) has \(d\)-equi neighbors in \(G \prime\) and there are \((n-1)n(G, 0)\{n(H, d)-1\}\) such pairs.

Subcase (ii) Let \(i \neq 0.\) Then the pair \((u_rv_1,u_sv_t)\) has \((i+d)\)-equi neighbors in \(G \prime\) and there are \((n-1)n(G, i)n(H, i+d)\) such pairs.

Case (vi) Consider the vertex pairs of \(G \prime\) of the form \((u_rv_s,u_tv_l)\), where \(r,t\in\{1,2,\ldots,n\}\), \(s,l\in\{2,3,\ldots,m\}\), \(r\neq t\), with \(|N(v_s)|= |N(v_l)|=i \neq d\) in \(H.\) Then the pair \((u_rv_s,u_tv_l)\) has \(i\)-equi neighbors in \(G \prime\) and there are \({n \choose 2}\big[2|N_e(H,i)|+n(H, i)\big]\) such pairs.

Case (vii) Consider the vertex pairs of \(G \prime\) of the form \((u_rv_s,u_tv_l)\), where \(r,t\in\{1,2,\ldots,n\}\), \(s,l\in\{2,3,\ldots,m\}\), \(r\neq t,\) with \(|N(v_s)|= |N(v_l)|=d\) in \(H.\) Then the pair \((u_rv_s,u_tv_l)\) has \(d\)-equi neighbors in \(G \prime\) and there are \({n \choose 2}\big[2|N_e(H,d)|-n(H, d)+1\big]\) such pairs. Thus,

\[\begin{aligned} N_e[G \prime;x]&=x^{d}N_e[G; x]+n \sum_{i=0;i \neq d}^{m-1}|N_e(H,i)|x^{i} +n \{|N_e(H,d)|-n(H,d)+1\}x^{d} \\ &\quad +n(G, 0)\{n(H,d)-1\}x^{d}+ \sum_{i=1}^{n-1}n(G,i)n(H,i+d)x^{i+d}\\ &\quad+ (n-1)n(G,0) \{n(H,d)-1\}x^{d}+ (n-1) \sum_{i=1}^{n-1} n(G,i) n(H, i+d)x^{i+d}\\ &\quad+{n \choose 2} \sum_{i=0; i \neq d}^{m-1} \{2|N_e(H,i)|+n(H,i)\} x^{i} + {n \choose 2}\{2|N_e(H,d)|-n(H,d)+1\} x^{d} \\ &=x^{d}N_e[G;x]+n^{2}N_e[H;x] +{n \choose 2}\sum_{i=0,i \neq d}^{m-1}n(H,i)x^{i} +\sum_{i=1}^{n-1}n(G,i)n(H,i+d)x^{i}\\ &\quad-\frac{(n+1)}{2}n(H,d) + n(G, 0)n(H,d)+\frac{(n+1)}{2} – n(G,0)\}nx^{d}. \end{aligned}\] This completes the proof. ◻

The Tensor product of two graphs \(K\) and \(H\) is the graph \(K \times H\) with vertex set \(V(K) \times V(H)\) and the vertices \((u,v)\) and \((x, y)\) are adjacent if and only if \(ux \in E(K)\) and \(vy\in E(H).\)

Theorem 5. If \(K\) is a graph with vertex set \(V(K)=\{u_1,u_2,…,u_k\}\) and \(H\) is a graph with vertex set \(V(H)=\{v_1,v_2,…,v_h\},\) then the equi neighbor polynomial of Tensor product of \(K\) and \(H\) is given by \[\begin{aligned} N_e[K\times H;x] =& \sum_{r=1}^{k}N_e[K; x^{d_r^{1}}] +\sum_{r=1}^{h}N_e[H; x^{d_r}] +2 \sum_{(i, j) \in I_1 \times I_2}|N_e(H, i)||N_e(H,j)|x^{ij}\\ & +\sum_{i, j \in I_1;i \neq j}\left\{ \sum_{( m, n) \in I_2 \times I_2;im=jn} n(K, i)n(K, j)n(H, m)n(H, n)x^{im}\right\} \\&+ n(K, 0) \sum_{ m, n \in I_2;m \neq n} n(H,m)n(H,n), \end{aligned}\] where \(I_1=\{0, 1, 2,…, k-1 \}\), \(I_2=\{0, 1, 2,…, h-1 \},\) \(d_r=|N(u_r)|,r \in \{1, 2, …,k\}\), \(d_r^{1}=|N(v_r)|,\) \(r \in \{1, 2, …, h\},\) \(n(K, i)\) and \(n(H,i)\) represent the number of vertices in \(K\) and \(H\) with \(i-\) neighbors respectively.

Proof. Let the vertices of \(K\times H\) be denoted by \(u_iv_j,\) where \(i\in \lbrace1,2,\ldots,k\rbrace\) and \(j\in \lbrace1,2,\ldots,h\rbrace.\) Observe that from the definition of \(K\times H\) the number of neighbors of a vertex \(u_iv_j\) in \(K\times H\) is equal to the product of the number of neighbors of \(u_i\) in \(K\) and the number of neighbors of \(v_j\) in \(H;\) \(i\in \lbrace1,2,\ldots,k\rbrace\), \(j\in \lbrace1,2,\ldots,h\rbrace\). Therefore it is enough to consider the following five cases;

Case (i) Consider the vertex pairs of \(K\times H\) of the form \((u_rv_s,u_rv_t),\) where \(r\in\{1,2,\ldots,k\},\) \(s,t\in \{1,2,\ldots,h\},\) \(s\neq t,\) with \(|N(u_r)|= d_r\) in \(K\) and \(|N(v_s)|=|N(v_t)|=i\) in \(H.\) Then the pair \((u_rv_s,u_rv_t)\) has \((i \times d_r)\)– equi neighbors in \(K\times H\) and there are \(|N_e(H,i)|\) such pairs, corresponding to each \(r \in \{1,2,\ldots,k\}.\)

Case (ii) Consider the vertex pairs of \(K\times H\) of the form \((u_sv_r,u_tv_r)\) where \(s,t\in \{1,2,\ldots,k\},\) \(r\in \{1,2,\ldots,h\},\) \(s\neq t,\) with \(|N(u_s)|=|N(u_t)|=i\) in \(K\) and \(|N(v_r)|= d_r^{1}\) in \(H.\) Then the pair \((u_sv_r,u_tv_r)\) has \((i \times d_r^{1})\)– equi neighbors in \(K\times H\) and there are \(|N_e(K,i)|\) such pairs, corresponding to each \(r \in \{1,2,\ldots,h\}.\)

Case (iii) Consider the vertex pairs of \(K\times H\) of the form \((u_sv_r,u_tv_l),\) where \(s,t\in \{1,2,\ldots,k\},\) \(r,l\in \{1,2,\ldots,h\},\) \(s \neq t,\) \(r \neq l,\) with \(|N(u_s)|=|N(u_t)|=i\) in \(K\) and \(|N(v_r)|=|N(v_l)|=j\) in \(H.\) Then the pair \((u_sv_r,u_tv_l)\) has \((i \times j)\)– equi neighbors in \(K\times H\) and there are \(2|N_e(K,i)||N_e(H,j)|\) such pairs.

Case (iv) Consider the vertex pairs of \(K\times H\) of the form \((u_sv_r,u_tv_l),\) where \(s,t\in \{1,2,\ldots,h\},\) \(r,l\in\{1,2,\ldots,k\}\) with \(|N(u_s)|=i,\) \(|N(u_t)|=j\) in \(K,\) where \(i \neq j,\) and \(|N(v_r)|=m,\) \(|N(v_l)|=n\) satisfying \(im= jn.\) Then for any set of values for \(i\) and \(j\) satisfying \(i \neq j,\) we get \(\sum_{( m, n) \in I_2 \times I_2;im=jn} n(K, i)n(K, j)n(H, m)n(H, n)\) pairs of vertices with \(im\)-equi neighbors.

Case (v) Consider the vertex pairs of \(K\times H\) of the form \((u_rv_s,u_rv_t),\) where \(r\in\{1,2,\ldots,k\},\) \(s,t\in \{1,2,\ldots,h\},\) with \(|N(u_r)|=0,\) \(|N(v_s)|=m,\) \(|N(v_t)|=n,\) \(m \neq n.\) Then the pair \((u_rv_s,u_rv_t)\) has zero-equi neighbors and there are \(n(K, 0) \sum_{m, n \in I_2;m \neq n} n(H,m)n(H,n)\) such pairs.

This completes the proof. ◻

3. Conclusion

In this paper, we discussed the equi neighbor polynomial of graphs obtained by some graph binary operations. The paper has provided explicit formulae to find the equi neighbor polynomial of some well-known graph products such as join, corona, cartesian product, rooted product, and tensor product of two graphs in terms of the equi neighbor polynomial of the parent graphs.

Acknowledgments

We thank the anonymous referees for their helpful comments.

References:

  1. Dhanya, P., and Kumar, A. V., 2004. The number of equi neighbor sets graphs. Advances and Applications in Discrete Mathematics
  2. Frucht, R., and Harary, F., 1970. On the corona of two graphs. Aequationes Mathematicae, 4, pp.322-325.
  3. Shyama, M. P., and Anilkumar, V., 2016. On the roots of Hosoya polynomials. Journal of Discrete Mathematical Sciences and Cryptography, 19, pp.199-219.
  4. Godsil, C. D., and McKay, B. D., 1978. A new graph product and its spectrum. Bulletin of Australian Mathematical Society, 18, pp.21-28.