Introduction

Let \(G\) be a connected graph with vertex set \(V(G)\) and edge set \(E(G)\). As usual, the cardinality of \(V(G)\) and \(E(G)\) are denoted by \(|V(G)|\) and \(|E(G)|\), respectively. For any two vertices \(u,v\in V(G)\), the distance between \(u\) and \(v\) is denoted by \({{d}_{G}}(u,v)\) and is given by the number of edges in the shortest path connecting \(u\) and \(v\). Also we denote the sum of distances between \(v\in V(G)\) and every other vertices in \(G\) by \(d(x|G)\), i.e., \(d(x|G)=\sum \nolimits _{v\in V(G)}{{{d}_{G}}(x,v)}\). The eccentricity of a vertex \(v\), denoted by \({{\varepsilon }_{G}}(v)\), is the largest distance from \(v\) to any other vertex \(u\) of \(G\). Different topological indices based on vertex eccentricity are already subject to various mathematical and chemical study. The total eccentricity index of \(G\) is defined as \(\zeta (G)=\sum \nolimits _{v\in V(G)}{{{\varepsilon }_{G}}(v)}\). Fathalikhani et al. [12] have studied total eccentricity of some graph operations. Some studies on average eccentricities are also found in literature [5, 17].

If two graphs \(G\) and \(H\) are isomorphic, we write \(G\cong H\). Let \(Top(G)\) represents certain topological index of \(G\) and if \(G\cong H\), then \(Top(G)=Top(H)\). Let \(L(G)\) denotes the line graph of \(G\), is the graph whose vertices are the edges of \(G\) and two vertices of \(L(G)\) are adjacent if and only if the corresponding edges are adjacent in \(G\).

As an extension of Cartesian product graphs, Barrière et al. [3, 4] introduced the generalized hierarchical product of graphs. Many results on different topological indices of generalized hierarchical product of graphs are reported in the literature [1, 2, 10, 15]. Eliasi and Taeri [9] introduced the F-sum graphs. It is evident that the Cartesian product, F-sum product and cluster product are special cases of generalized hierarchical product and thus the results for these products can be deduced from those of generalized hierarchical product of graphs.

In this paper, the total eccentricity index of the generalized hierarchical product of graphs is computed. Also we find the total eccentricity indices of Cartesian product graph, the F-sum graph, the cluster product graph and the corona product graph as some special cases. In addition to these, as applications, we present explicit results for total eccentricity index of different classes of chemical graphs and nanostructurs such as \({C}_{4}\)-nanotubes, \({C}_{4}\)-nanotorus, zig zag polyhex nanotube, the hexagonal chain and so on.

Generalized Hierarchical Product of Graphs

Definition 1

Let \(G\) and \(H\) be two connected graphs and \(U\) be a non-empty subset of \(V(G)\). Then the hierarchical product of \(G\) and \(H\), denoted by \(G(U)\varPi H\), is the graph with vertex set \(V(G)\times V(H)\), and any two vertices \((u,v)\) and \(({u}',{v}')\) of \(G(U)\varPi H\) are adjacent if and only if \(\Big [u={u}'\in V(G)\) and \((v,v')\in E(H)\Big ]\) or \(\Big [v=v'\in V(H)\) and \((u,u')\in E(G)\Big ]\).

A path between the vertices \(u,v\in V(G)\) through \(U\subseteq V(G)\) is a \(uv\)-path in \(G\) containing some vertex \(x\in U\) (vertex \(x\) could be the vertex \(u\) or \(v\)). The distance between \(u\) and \(v\) through \(U\) is the length of the shortest path between \(u\) and \(v\) through \(U\) and is denoted by \({{d}_{G(U)}}(u,v)\). If \(u\in U\), then we have,

$$\begin{aligned} {{\varepsilon }_{G(U)}}(u)={{\max }_{u\in V(G)}}{{d}_{G\big (U\big )}}(u,v)~\text{ and }~\zeta (G\big (U\big ))=\sum \limits _{{{u}_{i}}\in V(G)}{{{\varepsilon }_{G\big (U\big )}}({{u}_{i}})}. \end{aligned}$$

Lemma 1

[4] Let \(G\) and \(H\) be two connected graphs and \(U\subseteq V\big (G\big )\). Then \({{\varepsilon }_{G\big (U\big )\varPi H}}(u,v)={{\varepsilon }_{G\big (U\big )}}(u)+{{\varepsilon }_{H}}(v).\)

Theorem 1

Let \(G\) and \(H\) be two connected graphs and \(U\subseteq V(G)\). Then

$$\begin{aligned} \zeta (G(U)\varPi H)=|V(H)|\zeta (G(U))+|V(G)|\zeta (H). \end{aligned}$$
(1)

Proof

Let \(V(G)=\{{{u}_{1}},{{u}_{2}},...,{{u}_{n}}\}\) and \(V(H)=\{{{v}_{1}},{{v}_{2}},...,{{v}_{m}}\}\). Then, using definition of total eccentricity index and Lemma 1, we have

$$\begin{aligned} \zeta (G(U)\varPi H)&= \sum \limits _{({{u}_{i}},{{v}_{j}})}{{{\varepsilon }_{G(U)\varPi H}}({{u}_{i}},{{v}_{j}})}\\&= \sum \limits _{{{u}_{i}}\in V(G)}{\sum \limits _{{{v}_{j}}\in V(H)}{\left\{ {{\varepsilon }_{G(U)}}({{u}_{i}})+{{\varepsilon }_{H}}({{v}_{j}}) \right\} }}\\&= |V(H)|\sum \limits _{{{u}_{i}}\in V(G)}{{{\varepsilon }_{G(U)}}({{u}_{i}})}+|V(G)|\sum \limits _{{{v}_{j}}\in V(H)}{{{\varepsilon }_{H}}({{v}_{j}})}\\&= |V(H)|\zeta (G(U))+|V(G)|\zeta (H). \end{aligned}$$

This completes the proof. \(\square \)

Definition 2

Let \(G\) and \(H\) be two connected graphs. The Cartesian product of \(G\) and \(H\), denoted by \(G\square H\), is the graph with vertex set \(V(G)\times V(H)\), and any two vertices \(({{u}_{p}},{{v}_{r}})\) and \(({{u}_{q}},{{v}_{s}})\) are adjacent if and only if \(\Big [{{u}_{p}}={{u}_{q}}\in V(G)\) and \(({{v}_{r}},{{v}_{s}})\in E(H)\Big ]\) or \(\Big [{{v}_{r}}={{v}_{s}}\in V(H)\) and \(({{u}_{p}},{{u}_{q}})\in E(G)\Big ]\) and \(r,s=1,2,\ldots ,|V(H)|\).

From definition of the Cartesian product graph it is clear that, the Cartesian product of graphs is a special case of generalized hierarchical product graph, that is, if \(U=V(G)\), then \(G(U)\varPi H\cong G\square H\). So, from the previous theorem the following corollary follows.

Corollary 1

Let \(G\) and \(H\) be two connected graphs, then

$$\begin{aligned} \zeta (G\square H)=|V(H)|\zeta (G)+|V(G)|\zeta (H). \end{aligned}$$
(2)

Fathalikhani et al. [12] obtained the same result from direct calculation.

Using (2), now we compute total eccentricity of the \({C}_{4}\)-nanotorus, nanotube and also for polynomial chain.

Let \({{P}_{n}}(n\ge 1)\) and \({{C}_{n}}(n\ge 3)\) be path and cycle of order \(n\) respectively, then we have

$$\begin{aligned} {\zeta ({P}_{n} }) = \left\{ \begin{array}{l@{\quad }l} \frac{3}{4}{{n}^{2}}-\frac{1}{2}n,\quad &{}\text{ when } n \text{ is } \text{ even }\\ \frac{3}{4}{{n}^{2}}-\frac{1}{2}n-\frac{1}{4},\quad &{}\text{ when } n \text{ is } \text{ odd }, \end{array}\right. \end{aligned}$$

and

$$\begin{aligned} {\zeta ({C}_{n} }) = \left\{ \begin{array}{l@{\quad }l} \frac{1}{2}{{n}^{2}},\quad &{}\text{ when } n \text{ is } \text{ even }\\ \frac{1}{2}n(n-1),\quad &{}\text{ when } n \text{ is } \text{ odd }. \end{array}\right. \end{aligned}$$

Example 1

The \({C}_{4}\)-nanotorus can be viewed as the Cartesian product of \(C_m\) and \(C_n\), i.e., \(T{{C}_{4}}(m,n)={{C}_{m}}\square {{C}_{n}}\). So, its total eccentricity is given by

$$\begin{aligned} {\zeta (T{{C}_{4}}(m,n) }) = \left\{ \begin{array}{l@{\quad }l} \frac{1}{2}mn(m+n),\quad &{}\text{ when } m, n \text{ both } \text{ are } \text{ even },\\ \frac{1}{2}mn(m+n-2), \quad &{}\text{ when } m, n \text{ both } \text{ are } \text{ odd }\\ \frac{1}{2}mn(m+n-1),\quad &{}\text{ when } \text{ either } \text{ of } m, n \text{ is } \text{ odd } \text{ and } \text{ the } \text{ other } \text{ is } \text{ even }. \end{array}\right. \end{aligned}$$

Example 2

The \({C}_{4}\)-nanotube can be viewed as the Cartesian product of \(P_n\) and \(C_m\), i.e., \(TU{{C}_{4}}(m,n)={{P}_{n}}\square {{C}_{m}}\). So, its total eccentricity is given by

$$\begin{aligned} {\zeta (TU{{C}_{4}}(m,n) }) = \left\{ \begin{array}{l@{\quad }l} \frac{1}{2}mn\left( \frac{3}{2}m+n-1\right) ,\quad &{}\text{ when } m, n \text{ both } \text{ are } \text{ even },\\ mn\left( \frac{3}{4}m+\frac{1}{2}n-1\right) -\frac{1}{4}n,\quad &{}\text{ when } m, n \text{ both } \text{ are } \text{ odd },\\ \frac{1}{2}mn\left( \frac{3}{2}m+n-2\right) ,\quad &{}\text{ when } m \text{ is } \text{ even } \text{ and } n \text{ is } \text{ odd },\\ \frac{1}{2}mn\left( \frac{3}{2}m+n-1\right) -\frac{1}{4}n,\quad &{}\text{ when } m \text{ is } \text{ odd } \text{ and } n \text{ is } \text{ even }. \end{array}\right. \end{aligned}$$

Example 3

The \(m\times n\) grid graph can be viewed as the Cartesian product of \(P_n\) and \(P_m\), i.e., \(G_{m,n}={{P}_{n}}\square {{P}_{m}}\). So, the total eccentricity of the grid graph \(G_{m,n}\) is given by

$$\begin{aligned} \zeta (G_{m,n}) = \left\{ \begin{array}{l@{\quad }l} \frac{3}{4}mn(m+n)-mn,&{}\text{ when } m, n \text{ both } \text{ are } \text{ even },\\ \frac{1}{4}mn(m+n)-mn,&{}\text{ when } m, n \text{ both } \text{ are } \text{ odd },\\ \frac{1}{4}mn(m+n)-mn-\frac{1}{4}m,&{}\text{ when } m \text{ is } \text{ even } \text{ and } n \text{ is } \text{ odd },\\ \frac{3}{4}mn(m+n)-mn-\frac{1}{4}n,&{}\text{ when } m \text{ is } \text{ odd } \text{ and } n \text{ is } \text{ even }. \end{array}\right. \end{aligned}$$

F-sum Graphs

The concept of F-sum graph was first introduced by Eliasi and Taeri [9] and the Weiner indices of the resulting graphs were studied therein. Li and Wang [14] derived explicit expression of the PI indices of four sums of two graphs. The hyper and reverse Weiner indices of F-sum graphs were studied by Metsidik et al. [16]. Eskender and Vumar [11] determined the eccentric connectivity index of F-sum graphs in terms of some invariants of the factors.

The subdivision graph of a graph \(G\), denoted by \(S(G)\), is obtained from \(G\) by replacing each edge of \(G\) by a path of length two. The triangle parallel graph of a graph \(G\) is denoted by \(R(G)\) and is obtained from \(G\) by replacing each edge of \(G\) by a triangle. The line superposition graph \(Q(G)\) of a graph \(G\) is obtained from \(G\) by inserting a new vertex into each edge of \(G\) and then joining with edges each pair of new vertices on adjacent edges of \(G\). The total graph \(T(G)\) of a graph \(G\) has its vertices as the edges and vertices of \(G\) and adjacency in \(T(G)\) is defined by the adjacency or incidence of the corresponding elements of \(G\).

Definition 3

Let F be one of the subdivision operations \(S, Q, R\) or \(T\). For two connected graphs \(G\) and \(H\), the F-sum, denoted by \(G{{+}_{F}}H\), is the graph with vertex set \((V(G)\cup E(G))\times V(H)\), and any two vertices \((u,v)\) and \(({u}',{v}')\) of \(G{{+}_{F}}H\) are adjacent if and only if \(\Big [u={u}'\in V(G)\) and \((v,{v}')\in E(H)\Big ]\) or \(\Big [v={v}'\in V(H)\) and \((u,{u}')\in E(F(G))\Big ]\).

Lemma 2

[11] Let \(G\) and \(H\) be two connected graphs. If \(U=V(G)\), then we have

  1. a.

    \(|V(S(G))|=|V(G)|+|E(G)|\), \(|E(S(G))|=2|E(G)|\).

  2. b.

    For each vertex \(v\in U\), \({{\varepsilon }_{S(G)(U)}}(v)=2{{\varepsilon }_{G}}(v)\).

  3. c.

    For each vertex \(v\in V(S(G))\backslash U\), \({{\varepsilon }_{S(G)(U)}}(v)=2{{\varepsilon }_{L(G)}}(v)+1\).

Theorem 2

Let \(G\) \((n\ge 2)\) and \(H\) be two connected graphs. Then,

$$\begin{aligned} \zeta \big ({{G}{{+}_{S}}}H\big )=|V(H)|\big [ 2\zeta (G)+\zeta (L(G))+|E(G) \big ]+\left[ |V(G)|+|E(G)| \right] \zeta (H). \end{aligned}$$
(3)

Proof

If \(U\) be a non-empty subset of \(V(S(G))\), we have by Lemma 2,

$$\begin{aligned} \zeta (S(G)(U))&= \sum \limits _{v\in V(S(G))}{{{\varepsilon }_{S(G)(U)}}(v)}\\&= \sum \limits _{v\in U}{{{\varepsilon }_{S(G)(U)}}(v)}+\sum \limits _{v\in V(S(G))\backslash U}{{{\varepsilon }_{S(G)(U)}}(v)}\\&= 2\sum \limits _{v\in U}{{{\varepsilon }_{G}}(v)}+\sum \limits _{v\in V(L(G))}{(2{{\varepsilon }_{L(G)}}(v)+1)}\\&= 2\zeta (G)+\zeta (L(G))+|E(G)|. \end{aligned}$$

Combining this result with (1) we get the desired result. \(\square \)

Lemma 3

[11] Let \(G\) and \(H\) be two connected graphs. If \(U=V(G)\), then we have

  1. a.

    \(|V(R(G))|=|V(G)|+|E(G)|\), \(|E(R(G))|=3|E(G)|\).

  2. b.

    For each vertex, \(v\in U\), \({{\varepsilon }_{R(G)(U)}}(v)={{\varepsilon }_{G}}(v)\).

  3. c.

    For each vertex, \(v\in V(R(G))\backslash U\), \({{\varepsilon }_{R(G)(U)}}(v)={{\varepsilon }_{L(G)}}(v)+1\).

Theorem 3

Let \(G~(n\ge 2)\) and \(H\) be two connected graphs. Then

$$\begin{aligned} \zeta ({{G}{{+}_{R}}}H)=|V(H)|\big [ \zeta (G)+\zeta (L(G))+|E(G) \big ]+\big [ |V(G)|+|E(G)| \big ]\zeta (H). \end{aligned}$$

Proof

If \(U\) be a non-empty subset of \(V(R(G))\), we have using the Lemma 3,

$$\begin{aligned} \zeta (R(G)(U))&= \sum \limits _{v\in V(R(G))}{{{\varepsilon }_{R(G)(U)}}(v)}\\&= \sum \limits _{v\in U}{{{\varepsilon }_{R(G)(U)}}(v)}+\sum \limits _{v\in V(R(G))\backslash U}{{{\varepsilon }_{R(G)(U)}}(v)}\\&= 2\sum \limits _{v\in U}{{{\varepsilon }_{G}}(v)}+\sum \limits _{v\in V(L(G))}{({{\varepsilon }_{L(G)}}(v)+1)}\\&= \zeta (G)+\zeta (L(G))+|E(G)|. \end{aligned}$$

Again using (1) we get the desired result. \(\square \)

Lemma 4

[11] Let \(G\) and \(H\) be two connected graphs. If \(U=V(G)\), then we have

  1. a.

    \(|V(Q(G))|=|V(G)|+|E(G)|\), \(|E(Q(G))|=2|E(G)|+|E(L(G))|\).

  2. b.

    For each vertex, \(v\in U\), \({{\varepsilon }_{Q(G)(U)}}(v)={{\varepsilon }_{G}}(v)+1\).

  3. c.

    For each vertex, \(v\in V(Q(G))\backslash U\), \({{\varepsilon }_{Q(G)(U)}}(v)={{\varepsilon }_{L(G)}}(v)+1\).

Theorem 4

Let \(G~(n\ge 2)\) and \(H\) be two connected graphs. Then

$$\begin{aligned} \zeta ({{G}{{+}_{Q}}}H)=|V(H)|\big [ \zeta (G)+\zeta (L(G))+|V(G)|+|E(G) \big ]+\big [ |V(G)|+|E(G)| \big ] \zeta (H). \end{aligned}$$

Proof

We have using the Lemma 4, if \(U\) be a non-empty subset of \(V(R(G))\),

$$\begin{aligned} \zeta (Q(G)(U))&= \sum \limits _{v\in V(Q(G))}{{{\varepsilon }_{Q(G)(U)}}(v)}\\&= \sum \limits _{v\in U}{{{\varepsilon }_{Q(G)(U)}}(v)}+\sum \limits _{v\in V(Q(G))\backslash U}{{{\varepsilon }_{Q(G)(U)}}(v)}\\&= 2\sum \limits _{v\in U}{\big ({{\varepsilon }_{G}}(v)}+1\big )+\sum \limits _{v\in V(L(G))}{({{\varepsilon }_{L(G)}}(v)+1)}\\&= \zeta (G)+|V(G)|+\zeta (L(G))+|E(G)|. \end{aligned}$$

As before, we get the desired result from (1). \(\square \)

Lemma 5

[11] Let \(G\) and \(H\) be two connected graphs. If \(U=V(G)\), then we have

  1. a.

    \(|V(T(G))|=|V(G)|+|E(G)|\), \(|E(T(G))|=3|E(G)|+|E(L(G))|\).

  2. b.

    For each vertex, \(v\in U\), \({{\varepsilon }_{T(G)(U)}}(v)={{\varepsilon }_{G}}(v)\).

  3. c.

    For each vertex, \(v\in V(T(G))\backslash U\), \({{\varepsilon }_{T(G)(U)}}(v)={{\varepsilon }_{L(G)}}(v)+1\).

Theorem 5

Let G\((n\ge 2)\) and \(H\) be two connected graphs. Then

$$\begin{aligned} \zeta ({{G}{{+}_{T}}}H)=|V(H)|\left[ \zeta (G)+\zeta (L(G))+|E(G) \right] +\left[ |V(G)|+|E(G)| \right] \zeta (H). \end{aligned}$$

Proof

We have using the last Lemma 5, if \(U\) be a non-empty subset of \(V(R(G))\),

$$\begin{aligned} \zeta (T(G)(U))&= \sum \limits _{v\in V(T(G))}{{{\varepsilon }_{T(G)(U)}}(v)}\\&= \sum \limits _{v\in U}{{{\varepsilon }_{T(G)(U)}}(v)}+\sum \limits _{v\in V(T(G))\backslash U}{{{\varepsilon }_{T(G)(U)}}(v)}\\&= \sum \limits _{v\in U}{{{\varepsilon }_{G}}(v)}+\sum \limits _{v\in V(L(G))}{({{\varepsilon }_{L(G)}}(v)+1)}\\&= \zeta (G)+\zeta (L(G))+|E(G)|. \end{aligned}$$

Thus, we get the desired result from (1). \(\square \)

Let \(U=V({{C}_{n}})\), where \({{C}_{n}}(n\ge 3)\) be a cycle, then from (3), we have the following corollary.

Corollary 2

Let \(H\) be an arbitrary connected graph, then

$$\begin{aligned} {\zeta ({{C}_{n}}{{+}_{S}}H }) = \left\{ \begin{array}{l@{\quad }l} 2n\zeta (H)+n(2n+1)|V(H)|,\quad &{}\text{ when } n \text{ is } \text{ even }\\ 2n\zeta (H)+n(2n-1)|V(H)|,\quad &{}\text{ when } n \text{ is } \text{ odd }.\\ \end{array}\right. \end{aligned}$$
(4)

Example 4

Let \({{L}_{n}}\cong {{P}_{n+1}}{{+}_{S}}{{P}_{2}}\) be a linear hexagonal chain [8] with \(n\ge 2\). Then using (3), we have \(\zeta ({{L}_{n}})=6{{n}^{2}}+8n+2\).

Example 5

Let \(\varGamma \) be the zigzag polyhex nanotube \(TUHC6[2n,2]\) with \(n\ge 3\). Since \(\varGamma \cong {{C}_{n}}{{+}_{S}}{{P}_{2}}\), using (3), we have

$$\begin{aligned} \zeta (\varGamma ) = \left\{ \begin{array}{l@{\quad }l} 4{{n}^{2}}+6n, \quad &{}\text{ when } n \text{ is } \text{ even }\\ 4n(n-1)+6n, \quad &{}\text{ when } n \text{ is } \text{ odd }.\\ \end{array}\right. \end{aligned}$$
(5)

Total Eccentricity Index of Cluster and Corona Product of Graphs

Definition 4

The cluster product of two graph \(G\) and \(H\), denoted by \(G\left\{ H \right\} \), 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\) for \(i=1,2,\ldots ,|V(G)|\).

If \(|V(G)|=n\), \(|E(G)|=q\) and \(|V(H)|={n}'\), \(|E(H)|={q}'\), then from definition of cluster product graphs \(|V(G\left\{ H \right\} )|=n{n}'\) and \(|E(G\left\{ H \right\} )|=(q+n{q}')\). Let the root vertex of \(H\) is denoted by \(x\). Note that, if \(U=\left\{ x \right\} \subset V(G)\) then \(G\left\{ H \right\} \cong H(U)\varPi G\cong H \big (\left\{ x \right\} \big )\varPi G\). Then from (1), we have the following results.

Theorem 6

Let \(G\) and \(H\) be two connected graphs and \(x\) is the root vertex of \(H\), then

$$\begin{aligned} \zeta \big (G\left\{ H \right\} \big )=|V(G)|\big [ |V(H)|{{\varepsilon }_{H}}(x)+d(x|H) \big ] +|\zeta (G) \end{aligned}$$
(6)

Proof

Since, \(U=\left\{ x \right\} \subset V(H)\), so

$$\begin{aligned} \zeta (H(U))=\zeta (H(\left\{ x \right\} ))=|V(H)|{{\varepsilon }_{H}}(x)+d(x|H). \end{aligned}$$

So, using equation (1) we get the desired result. \(\square \)

For a given graph \(G\), its \(t\)-thorny graph \({G}^{t}\) is obtained by attaching \(t\) thorns (degree 1 vertices) to each vertex of \(G\). This type of graph was introduced by Gutman [13] and some eccentricity related thorny graphs are studied by De [6, 7]. On the other hand, we can also obtain the \(t\)-thorny graph \({G}^{t}\) by cluster product of \(G\) and the star graph \({{S}_{t+1}}\) with \((t+1)\) vertices, where the root of \({{S}_{t+1}}\) is on its vertex of degree \(t\). This type of cluster product graph is known as \(t\)-fold bristled graph \(Brst(G)\). So by the previous theorem the total eccentricity index of \(t\)-thorny graph \({G}^{t}\) or \(t\)-fold bristled graph \(Brst(G)\) can easily be computed.

Corollary 3

The total eccentricity index of the \(t\)-thorn graph \({{G}^{t}}\) is computed as follows

$$\begin{aligned} \zeta ({{G}^{t}})=(t+1)\zeta (G)+n(2t+1). \end{aligned}$$
(7)

Proof

Let \(H\cong {{S}_{t+1}}\), with root of \({{S}_{t+1}}\) being the central vertex of the star which is of degree \(t\). Then, we have \({{\varepsilon }_{H}}(x)=1\), \(d(x|(H)=t\) and \(|V(H)|=(t+1)\).

So, using last theorem the desired result follows. \(\square \)

From the above corollary, the total eccentricity index of the \(t\)-fold bristled graph of \({C}_{n}\) and \({P}_{n}\) can easily be computed.

Example 6

The total eccentricity index of \(t\)-thorny ring \(C_{n}^{t}\) is given by

$$\begin{aligned} \zeta (C_{n}^{t}) = \left\{ \begin{array}{l@{\quad }l} \frac{1}{2}{{n}^{2}}t+2nt+\frac{1}{2}{{n}^{2}}+n, \quad &{}\text{ when } n \text{ is } \text{ even }\\ \frac{1}{2}{{n}^{2}}t+\frac{3}{2}nt+\frac{1}{2}{{n}^{2}}+\frac{1}{2}n,&{}\text{ when } n \text{ is } \text{ odd }. \end{array}\right. \end{aligned}$$
(8)

Example 7

The total eccentricity index of \(t\)-thorny ring \(P_{n}^{t}\) is given by

$$\begin{aligned} \zeta (P_{n}^{t}) = \left\{ \begin{array}{l@{\quad }l} \frac{3}{4}{{n}^{2}}t+\frac{3}{2}nt+\frac{3}{4}{{n}^{2}}+\frac{1}{2}n, \quad &{}\text{ when } n \text{ is } \text{ even }\\ \frac{3}{4}{{n}^{2}}t+\frac{3}{2}nt+\frac{3}{4}{{n}^{2}}+\frac{1}{2}n-\frac{1}{4}(t+1), \quad &{}\text{ when } n \text{ is } \text{ odd }. \end{array}\right. \end{aligned}$$
(9)

Example 8

The square comb lattice \(Cq(N)\) is the cluster product graph \({{P}_{n}}\left\{ {{P}_{n}} \right\} \), with \(N={{n}^{2}}\) number of vertices and the root of \({P}_{n}\) is on the vertex of degree one. So using (6), its total eccentricity index is given by

$$\begin{aligned} {\zeta (Cq(N) }) = \left\{ \begin{array}{l@{\quad }l} {{n}^{2}}\left( \frac{9}{4}n-2 \right) , \quad &{}\text{ when } n \text{ is } \text{ even }\\ {{n}^{2}}\left( \frac{9}{4}n-2 \right) -\frac{1}{4}n, \quad &{}\text{ when } n \text{ is } \text{ odd }. \end{array}\right. \end{aligned}$$
(10)

Now let us compute the total eccentricity index of the corona product of graphs.

Definition 5

The corona product of two graphs \(G\) and \(H\) denoted by \(G\odot H\), is a graph obtained by taking one copy of \(G\) and \(|V(G)|\) copies of \(H\) and joining the i-th vertex of \(G\) to every vertex of in the copy of \(H\), for \(i=1,2,\ldots ,|V(G)|\). According to definition of corona product graph \(|V(G\odot H)|=(n{n}'+n)\) and \(|E(G\odot H)|=(q+n{q}'+n{n}')\).

Corollary 4

Let \(G\) be a connected \((n,q)\) graph and \(H\) is \(({n}',{q}')\) graph. Then

$$\begin{aligned} \zeta (G\odot H)=n(2{n}'+1)+({n}'+1)\zeta (G) \end{aligned}$$
(11)

Proof

For any graph \(H\), let \(|V(H)|=n\) and \(|E(H)|=q\). Also let \(x\) be the root vertex of the join of the graphs \(H\) and \({K}_{1}\), denoted by \((H+x)\). Then graph \(|V(H+x)|={n}'+1\) and \(|E(H)|={n}'+{q}'\). Also note that,

$$\begin{aligned} {{\varepsilon }_{(H+x)}}(x)=1,\, d(x|(H+x))={n}'\,\hbox {and}\, G\odot H=G(\left\{ H+x \right\} ). \end{aligned}$$

So from the relation (6), we have

$$\begin{aligned} \zeta (G\left\{ H+x \right\} )&= |V(G)|\left[ |V(H+x)|{{\varepsilon }_{H+x}}(x)+d(x|H+x) \right] +|V(H+x)|\zeta (G)\\&= n\left[ ({n}'+1)+{n}' \right] +({n}'+1)\zeta (G). \end{aligned}$$

as desired. \(\square \)

Remark 1

Note that, for a given graph \(G\), \(G\left\{ {{S}_{t+1}} \right\} =G\odot {\bar{{K}_{t}}}\), where \({{K}_{t}}\) is the complete graph with \(t\) vertices and \({{S}_{t+1}}\) is the star graph on \((t+1)\) vertices, with the root of \({{S}_{t+1}}\) as the central vertex which is of degree \(t\). Here we can easily verify that

$$\begin{aligned} \zeta (G\left\{ {{S}_{t+1}} \right\} )=\zeta (G\odot {\bar{{K}_{t}}})=n(2t+1)+(t+1)\zeta (G). \end{aligned}$$

Example 9

Let \(H\) be any graph with \(n\) vertices, then using (11) the following result follows.

$$\begin{aligned} {\zeta ({{P}_{m}}\odot H}) = \left\{ \begin{array}{l@{\quad }l} m(2n+1)+(n+1)(\frac{3}{4}{{m}^{2}}-\frac{1}{2}m), \quad &{}\text{ when } m \text{ is } \text{ even }\\ m(2n+1)+(n+1)(\frac{3}{4}{{m}^{2}}-\frac{1}{2}m-\frac{1}{4}), \quad &{}\text{ when } m \text{ is } \text{ odd }.\\ \end{array}\right. \end{aligned}$$
(12)

Example 10

Similarly for any graph \(H\) with \(n\) vertices, using (11) the following result follows.

$$\begin{aligned} {\zeta ({{C}_{m}}\odot H}) = \left\{ \begin{array}{l@{\quad }l} m(2n+1)+\frac{1}{2}{{m}^{2}}(n+1), \quad &{}\text{ when } m \text{ is } \text{ even }\\ m(2n+1)+\frac{1}{2}m(m-1)(n+1), \quad &{}\text{ when } m \text{ is } \text{ odd }.\\ \end{array}\right. \end{aligned}$$
(13)

Example 11

One of the hydrogen suppressed molecular graph i.e., kenograph is bottleneck graph \((B)\) which is the corona product of \({K}_{2}\) and \(G\), where \(G\) is a given graph. So, by (11), total eccentricity of \((B)\) is given by \(\zeta (B)=6n+4\), where \(n\) is the number of vertices of \(G\).

The star graph \(S_{n}\) on \(n\) vertices is the corona product of \(K_{1}\) and \(\overline{K}_{n-1}\). The bistar \(B_{n,n}\) is the graph obtained by joining the centre vertices of two copies of \(K_{1,n}\) by an edge and is given by \(P_{2}\odot \overline{K}_{n}\). So from the above formula the total eccentricities of these graphs are obtained as below.

Example 12

\(\zeta (K_{1}\odot \overline{K}_{n-1})=2n-1\) and \(\zeta (P_{2}\odot \overline{K}_{n})=6n+4\).

Let \(G\) be the graph of order \(n\). Then the following result follows.

Corollary 5

The total eccentricity index of suspension graph \(K_{1}\odot G\) is \(\zeta (K_{1}\odot G)=2n+1\).

The sunlet graph with \(2n\) vertices is obtained by attaching \(n\) pendent edges to the cycle \(C_{n}\). So it can be obtained by corona product of \(C_{n}\) and \(K_{1}\).

Example 13

For the sunlet graph \(C_{n}\odot K_{1}\), we have

$$\begin{aligned} {\zeta ({{C}_{n}}\odot {K}_{1}}) = \left\{ \begin{array}{l@{\quad }l} 3n+n^{2}, \quad &{}\text{ when } n \text{ is } \text{ even }\\ 3n+n(n-1), \quad &{}\text{ when } n \text{ is } \text{ odd }. \end{array}\right. \end{aligned}$$

Let \(G_{1}, G_{2},...,G_{n}\) be a set of finite pairwise disjoint graphs. The bridge graph with respect to the vertices \(v_{1}, v_{2},...,v_{n}\), denoted by \(B(G_{1}, G_{2},...,G_{n};v_{1}, v_{2},...,v_{n})\) is the graph obtained by connecting the vertices \(v_{i}\) and \(v_{i+1}\) of \(G_{i}\) and \(G_{i+1}\) by an edge for all \(i=1,2,...,(n-1)\). If \(G_{1}\cong G_{2}\cong ...\cong G_{n}\) and \(v_{1}= v_{2}=...= v_{n}=v\), we define \(G_{n}(G,v)=B(G, G,...,G;v, v,...,v)\). In particular, let \(B_{n}=G_{n}(P_{3},v)\) and \(T_{n,k}=G_{n}(C_{k},u)\) are special brige graphs. Then from definition of corona product of graphs, \(B_{n}\cong P_{n}\odot \overline{K}_{2}\) and \(T_{n,3}\cong P_{n}\odot K_{2}\).

Example 14

$$\begin{aligned} {\zeta (B_{n})}={\zeta (T_{n,3})}= \left\{ \begin{array}{l@{\quad }l} \frac{9}{4}{{n}^{2}}+\frac{7}{2}n, \quad &{}\text{ when } n \text{ is } \text{ even }\\ \frac{9}{4}{{n}^{2}}+\frac{7}{2}n-\frac{3}{4}, \quad &{}\text{ when } n \text{ is } \text{ odd }. \end{array}\right. \end{aligned}$$