1 Introduction

A single number, representing a chemical structure in graph-theoretical terms via the molecular graph, is called a topological descriptor and if it in addition correlates with a molecular property it is called topological index, which is used to understand physicochemical properties of chemical compounds. Topological indices are interesting since they capture some of the properties of a molecule in a single number. Hundreds of topological indices have been introduced and studied, starting with the seminal work by Wiener in which he used the sum of all shortest-path distances of a (molecular) graph for modeling physical properties of alkanes (see [22]).

Topological indices based on end-vertex degrees of edges have been used over 40 years. Among them, several indices are recognized to be useful tools in chemical researches. Probably, the best know such descriptor is the Randić connectivity index (R) [12]. There are more than thousand papers and a couple of books dealing with this molecular descriptor (see, e.g., [5,6,7, 15, 16] and the references therein). During many years, scientists were trying to improve the predictive power of the Randić index. This led to the introduction of a large number of new topological descriptors resembling the original Randić index. The first geometric–arithmetic index \(GA_1\), defined in [20] as

$$\begin{aligned} GA_1 = GA_1(G) = \sum _{uv\in E(G)}\frac{\sqrt{d_u d_v}}{\frac{1}{2} (d_u + d_v)} \end{aligned}$$

where uv denotes the edge of the graph G connecting the vertices u and v, and \(d_u\) is the degree of the vertex u, is one of the successors of the Randić index. Although \(GA_1\) was introduced in 2009, there are many papers dealing with this index (see, e.g., [1,2,3, 9, 14, 17, 20] and the references therein). There are other geometric–arithmetic indices, like \(Z_{p,q}\) (\(Z_{0,1} = GA_1\)), but the results in [2, p. 598] show that the \(GA_1\) index gathers the same information on observed molecule as other \(Z_{p,q}\) indices.

The reason for introducing a new index is to gain prediction of target property (properties) of molecules somewhat better than obtained by already presented indices. Therefore, a test study of predictive power of a new index must be done. As a standard for testing new topological descriptors, the properties of octanes are commonly used. We can find 16 physico-chemical properties of octanes at www.moleculardescriptors.eu.

The \(GA_1\) index gives better correlation coefficients than R for these properties, but the differences between them are not significant. However, the predicting ability of the \(GA_1\) index compared with Randić index is reasonably better (see [2, Table 1]). Although only about 1000 benzenoid hydrocarbons are known, the number of possible benzenoid hydrocarbons is huge. For instance, the number of possible benzenoid hydrocarbons with 35 benzene rings is \(5.85\times 10^{21}\) [19]. Therefore, the modeling of their physico-chemical properties is very important in order to predict properties of currently unknown species. The graphic in [2, Fig.7] (from [2, Table 2], [18]) shows that there exists a good linear correlation between \(GA_1\) and the heat of formation of benzenoid hydrocarbons (the correlation coefficient is equal to 0.972).

Furthermore, the improvement in prediction with \(GA_1\) index comparing to Randić index in the case of standard enthalpy of vaporization is more than \(9\%\). That is why one can think that \(GA_1\) index should be considered in the QSPR/QSAR researches.

The aim of this paper is to obtain new inequalities involving the geometric–arithmetic index \(GA_1\) and characterize graphs extremal with respect to them.

Throughout this work, \(G=(V (G),E (G))\) denotes a (nonoriented) finite simple (without multiple edges and loops) nontrivial (\(E(G) \ne \emptyset \)) graph.

2 Some lower and upper bounds for \(GA_1\)

If G is a graph with m edges, minimum degree \(\delta \) and maximum degree \({\varDelta }\), then in [1] (see also [2]) we find the bounds:

$$\begin{aligned} \frac{2m\sqrt{\delta {\varDelta }}}{\delta +{\varDelta }} \le GA_1(G)\le m. \end{aligned}$$
(1)

Let us recall Lemma 2.2 and Corollary 2.3 in [13].

Lemma 1

Let f be the function \(f(t) = \frac{2t}{1+t^2}\) on the interval \([0,\infty )\). Then f strictly increases in [0, 1], strictly decreases in \([1,\infty )\), \(f(t) = 1\) if and only if \(t = 1\) and \(f(t) = f(t_0)\) if and only if either \(t = t_0\) or \(t = t_0^{-1}\).

Corollary 1

Let g be the function \(g(x, y) = \frac{2\sqrt{xy}}{x+y}\) with \(0 < a\le x, y \le b\). Then

$$\begin{aligned} \frac{2\sqrt{ab}}{a+b}\le g(x,y)\le 1. \end{aligned}$$

The equality in the lower bound is attained if and only if either \(x = a\) and \(y = b\), or \(x = b\) and \(y = a\), and the equality in the upper bound is attained if and only if \(x = y\).

The following lemma is a direct consequence of Lemma 1 and the fact that \(\frac{2\sqrt{xy}}{x+y}= f(t)\) with \(t = \sqrt{\frac{x}{y}}\).

Lemma 2

For every \(1\le a< b\) and every \(i\in \mathbb {N}\),

$$\begin{aligned} \frac{2\sqrt{a(a+i)}}{2a+i}< \frac{2\sqrt{b(b+i)}}{2b+i} . \end{aligned}$$

Let G be a graph with n vertices, m edges, minimum degree \(\delta \) and maximum degree \({\varDelta }\). Let \(k={\varDelta }-\delta \) and consider the partition of the vertices given by their degrees where \(V_i\) is the set of vertices with degree \(\delta +i\) for every \(0\le i \le k\). Let \(n_i\) be the number of vertices in \(V_i\) and \(m_{ij}\) be the number of edges joining a vertex in \(V_i\) with a vertex in \(V_j\). Then,

$$\begin{aligned} GA_1(G)=\sum _{\begin{array}{c} i,j=0\\ i\le j \end{array}}^k \frac{2 m_{ij} \sqrt{(\delta +i)(\delta +j)}}{2\delta +i+j}= \sum _{i=0}^k m_{ii} +\sum _{\begin{array}{c} i,j=0\\ i< j \end{array}}^k \frac{2m_{ij}\sqrt{(\delta +i)(\delta +j)}}{2\delta +i+j}. \end{aligned}$$
(2)

Therefore, from this and Corollary 1 it is clear that \(GA_1(G)=m\) if and only if all the edges are joining vertices with equal degree. Hence, \(GA_1(G)=m\) if and only if each connected component of G is regular.

As usual, we use the convention

$$\begin{aligned} \sum _{\ell \in \emptyset } a_\ell =0. \end{aligned}$$

Therefore, if \(k=0\) (i.e., if G is a regular graph), then the last sum in (2) is equal to zero.

Let us assume \(k={\varDelta }-\delta >0\) and let \(n_i=|V_i|\) for every \(0\le i \le k\).

Proposition 1

Let G be a nontrivial graph with minimum degree \(\delta \) and maximum degree \({\varDelta }> \delta \). Then

$$\begin{aligned} \begin{aligned} GA_1(G)&\le \sum _{i=0}^k \min \Big \{\frac{1}{2}n_i(\delta +i),\left( {\begin{array}{c}n_i\\ 2\end{array}}\right) \Big \}+\sum _{\begin{array}{c} i,j=0\\ i< j \end{array}}^k \frac{2n_i n_j\sqrt{(\delta +i)(\delta +j)}}{2\delta +i+j} \\&\le \sum _{i=0}^k \min \Big \{\frac{1}{2}n_i(\delta +i),\left( {\begin{array}{c}n_i\\ 2\end{array}}\right) \Big \}+\sum _{\begin{array}{c} i,j=0\\ i< j \end{array}}^k \frac{2n_i n_j\sqrt{{\varDelta }({\varDelta }-j+i)}}{2{\varDelta }-j+i}. \end{aligned} \end{aligned}$$

Furthermore, if G is a connected graph, then we can replace in the previous inequalities \(\frac{1}{2}n_i(\delta +i)\) by \(\frac{1}{2}n_i(\delta +i)-1\).

Proof

First, notice that in every set \(V_i\), since there are \(n_i\) vertices, \(m_{ii} \le \left( {\begin{array}{c}n_i\\ 2\end{array}}\right) \). Also, since \(d_v=\delta +i\) for every vertex v in \(V_i\), \(m_{ii} \le \frac{1}{2}n_i(\delta +i)\). Moreover, since \(V(G)\setminus V_i\) is nonempty, if G is connected, then \(m_{ii} \le \frac{1}{2}n_i(\delta +i)-1\).

The number of edges joining \(V_i\) and \(V_j\) is at most \(n_i n_j\). Thus, the result follows from (2) and Lemma 2. \(\square \)

Note that the hypothesis \({\varDelta }>\delta \) is not essential, since if \({\varDelta }=\delta \) then the graph G is regular and \(GA_1(G)=m\).

Let us consider an ordering of the vertices in G where \(u<v\) implies that \(d_u\le d_v\). Let us assume an orientation of the edges where uv is always considered with the orientation given by the ordering \(u<v\). Let \(k={\varDelta }-\delta \), let \(m_i\) be the number of oriented edges whose tail is a vertex with degree \(\delta +i\) and \(m'_i\) the number of oriented edges whose head is a vertex with degree \(\delta +i\) for \(0\le i \le k\). Moreover, let \(a_i\) be the number of edges whose tail is a vertex with degree \(\delta +i\) and whose head is a vertex with degree at least \(\delta +i+1\) with \(0\le i \le k-1\), let \(b_i\) the number of edges whose head is a vertex with degree \(\delta +i\) and whose tail is a vertex with degree at most \(\delta +i-1\) with \(1\le i \le k\), and \(c_i\) the number of edges joining two vertices with degree \(\delta +i\) with \(0\le i \le k\). Notice that \(m_i=a_i+c_i\) and \(m'_i=b_i+c_i\) for every \(0\le i \le k\), \(m_k=c_k\) and \(m'_0=c_0\).

Define the classes of graphs \(\mathcal {G}_1\), \(\mathcal {G}_2\) and \(\mathcal {G}_3\) as follows. \(\mathcal {G}_1\) is the set of graphs G such that if \(uv \in E(G)\), then \(d_u=d_v\) or \(\max \{d_u,d_v\}= {\varDelta }\), where \({\varDelta }\) is the maximum degree of G. \(\mathcal {G}_2\) is the set of graphs G such that if \(uv \in E(G)\), then \(d_u=d_v\) or \(\min \{d_u,d_v\}= \delta \), where \(\delta \) is the minimum degree of G. \(\mathcal {G}_3\) is the set of graphs G such that if \(uv \in E(G)\), then \(d_u=d_v\) or \(|d_u - d_v|= 1\).

Proposition 2

Let G be a nontrivial graph with minimum degree \(\delta \) and maximum degree \({\varDelta }> \delta \). Then

$$\begin{aligned} \sum _{i=0}^k c_i+ \sum _{i=0}^{k-1}\frac{2a_i\sqrt{{\varDelta }(\delta +i)}}{{\varDelta }+\delta +i}\le GA_1(G) \le \sum _{i=0}^k c_i+ \sum _{i=0}^{k-1}\frac{2a_i\sqrt{(\delta +i)(\delta +i+1)}}{2\delta +2i+1}, \end{aligned}$$
(3)

and

$$\begin{aligned} \sum _{i=0}^k c_i+ \sum _{i=1}^{k}\frac{2b_i\sqrt{\delta (\delta +i)}}{2\delta +i}\le GA_1(G) \le \sum _{i=0}^k c_i+ \sum _{i=1}^{k}\frac{2b_i\sqrt{(\delta +i-1)(\delta +i)}}{2\delta +2i-1}. \end{aligned}$$
(4)

The lower bound in (3) is attained if and only if \(G \in \mathcal {G}_1\). The upper bound in (3) is attained if and only if \(G \in \mathcal {G}_3\). The lower bound in (4) is attained if and only if \(G \in \mathcal {G}_2\). The upper bound in (4) is attained if and only if \(G \in \mathcal {G}_3\).

Proof

Since

$$\begin{aligned} 1<\frac{\delta +i+1}{\delta +i}\le \frac{\delta +i+r}{\delta +i} \le \frac{{\varDelta }}{\delta +i} \end{aligned}$$

for every \(1\le r \le {\varDelta }-\delta -i\) and f is decreasing on \([1,\infty )\), Lemma 1 gives

$$\begin{aligned} f\left( \sqrt{\frac{\delta +i+1}{\delta +i}}\,\right) \ge f\left( \sqrt{\frac{\delta +i+r}{\delta +i}}\,\right) \ge f\left( \sqrt{\frac{{\varDelta }}{\delta +i}}\, \right) \,. \end{aligned}$$

Hence, (2) gives (3).

Since

$$\begin{aligned} 1< \frac{\delta +i}{\delta +i-1} \le \frac{\delta +i}{\delta +i-r} \le \frac{\delta +i}{\delta } \end{aligned}$$

for every \(1\le r \le i\) and f is decreasing on \([1,\infty )\), Lemma 1 gives

$$\begin{aligned} f\left( \sqrt{\frac{\delta +i}{\delta +i-1}}\,\right) \ge f\left( \sqrt{\frac{\delta +i}{\delta +i-r}}\,\right) \ge f\left( \sqrt{\frac{\delta +i}{\delta }}\,\right) . \end{aligned}$$

Therefore, (4) follows from (2).

One can easily check the statements on the equalities. \(\square \)

Remark 1

Note that if \(C:=\sum _{i=0}^k c_i\), \(r_i:=2a_i\sqrt{\delta +i}\) and \(r'_i:=2b_i\sqrt{\delta +i}\), then

$$\begin{aligned} C+ \sum _{i=0}^{k-1} r_i \frac{ \sqrt{{\varDelta }}}{{\varDelta }+\delta +i}\le GA_1(G) \le C+ \sum _{i=0}^{k-1} r_i \frac{\sqrt{\delta +i+1}}{2\delta +2i+1}, \end{aligned}$$

and

$$\begin{aligned} C+ \sum _{i=1}^{k} r'_i \frac{\sqrt{\delta }}{2\delta +i}\le GA_1(G) \le C+ \sum _{i=1}^{k} r'_i \frac{\sqrt{\delta +i-1}}{2\delta +2i-1}. \end{aligned}$$

Define the classes of graphs \(\mathcal {G}_1^0\) and \(\mathcal {G}_2^0\) as follows. \(\mathcal {G}_1^0\) is the set of graphs G such that if \(uv \in E(G)\), then \(\max \{d_u,d_v\}= {\varDelta }\), where \({\varDelta }\) is the maximum degree of G. \(\mathcal {G}_2^0\) is the set of graphs G such that if \(uv \in E(G)\), then \(\min \{d_u,d_v\}= \delta \), where \(\delta \) is the minimum degree of G. It is clear that \(\mathcal {G}_1^0 \subset \mathcal {G}_1\) and \(\mathcal {G}_2^0 \subset \mathcal {G}_2\).

Corollary 2

Let G be a nontrivial graph with minimum degree \(\delta \ge 2\) and maximum degree \({\varDelta }> \delta \). Then

$$\begin{aligned} \sum _{i=0}^{k}\frac{2m_i\sqrt{{\varDelta }(\delta +i)}}{{\varDelta }+\delta +i}=\sum _{i=0}^{k-1}\frac{2m_i\sqrt{{\varDelta }(\delta +i)}}{{\varDelta }+\delta +i} +m_k \le GA_1(G) \le m, \end{aligned}$$

and

$$\begin{aligned} \sum _{i=0}^{k}\frac{2m'_i\sqrt{\delta (\delta +i)}}{2\delta +i}=m'_0+\sum _{i=1}^{k}\frac{2m'_i\sqrt{\delta (\delta +i)}}{2\delta +i}\le GA_1(G) \le m. \end{aligned}$$

The first (respectively, second) lower bound is attained if and only if \(G \in \mathcal {G}_1^0\) (respectively, \(G \in \mathcal {G}_2^0\)).

Since in a connected graph with at least 3 vertices, there are no edges joining two vertices with degree 1, we have the following consequence.

Corollary 3

Let G be a nontrivial connected graph with at least 3 vertices, minimum degree 1 and maximum degree \({\varDelta }\). Then

$$\begin{aligned} \sum _{i=0}^{k}\frac{2m_i\sqrt{{\varDelta }(i+1)}}{{\varDelta }+i+1}\le GA_1(G) \le \frac{2\sqrt{2}\,m_0}{3}+ \sum _{i=1}^{k}m_i = \frac{2\sqrt{2}\,m_0}{3}+m-m_0. \end{aligned}$$

Similarly, the following result, which is Corollary 3.11 in [1], is an immediate consequence from Corollary 2. A vertex v is called pendant if the set of its neighbors has exactly one vertex, this is, if \(d_v=1\). Thus, with the notation above, there are \(m_0\) pendant vertices.

Corollary 4

Let G be a nontrivial connected graph with at least 3 vertices, minimum degree 1 and minimal non-pendant vertex degree \(\delta _1\). Then

$$\begin{aligned} GA_1(G) \le \frac{2m_0\sqrt{\delta _1}}{\delta _1+1}+ m-m_0. \end{aligned}$$

Given any graph G and \(uv\in E(G)\), let us define the gradient of the edge uv as \(\nabla _{uv}:=|d_u-d_v|\).

Proposition 3

Let G be a nontrivial graph with minimum degree \(\delta \) and maximum degree \({\varDelta }\). If \(d= \min _{uv\in E(G)}\nabla _{uv}\) and \(D= \max _{uv\in E(G)}\nabla _{uv}\), then

$$\begin{aligned} \frac{2m\sqrt{\delta (\delta +D)}}{2\delta +D} \le GA_1(G)\le \frac{2m\sqrt{({\varDelta }-d){\varDelta }}}{2{\varDelta }-d}. \end{aligned}$$
(5)

The equality in each inequality is attained if and only if G is either regular or bipartite with the two sets being respectively the set of vertices with degree \(\delta \) and degree \({\varDelta }\).

Proof

Consider any edge \(uv \in E(G)\). By symmetry, we can assume that \(d_v \ge d_u\). Thus, \(d\le d_v-d_u\le D\) and

$$\begin{aligned} \delta d_v \le \delta d_u + \delta D \le \delta d_u + d_u D. \end{aligned}$$

Hence,

$$\begin{aligned} \frac{d_v}{d_u} \le \frac{\delta +D}{\delta } \end{aligned}$$

with equality if and only if \(d_v=d_u + D\) and \(d_u= \delta \). Since

$$\begin{aligned} {\varDelta }d_u \le {\varDelta }d_v - {\varDelta }d \le {\varDelta }d_v - d_v d, \end{aligned}$$

we have

$$\begin{aligned} \frac{{\varDelta }}{{\varDelta }-d}\le \frac{d_v}{d_u} \end{aligned}$$

with equality if and only if \(d_u=d_v - d\) and \(d_v= {\varDelta }\). Hence,

$$\begin{aligned} 1\le \frac{{\varDelta }}{{\varDelta }-d}\le \frac{d_v}{d_u} \le \frac{\delta +D}{\delta }, \end{aligned}$$

and Lemma 1 gives

$$\begin{aligned} f\left( \sqrt{\frac{{\varDelta }}{{\varDelta }-d}}\, \right) \ge f\left( \sqrt{\frac{d_v}{d_u}}\, \right) \ge f\left( \sqrt{\frac{\delta +D}{\delta }}\, \right) . \end{aligned}$$
(6)

We obtain the inequalities in (5) by adding (6) for every \(uv \in E(G)\).

Therefore, the equality in the lower bound is attained if and only if \(d_v=d_u + D\) and \(d_u= \delta \) for every \(uv \in E(G)\) with \(d_v \ge d_u\); the equality in the upper bound is attained if and only if \(d_u=d_v - d\) and \(d_v= {\varDelta }\) for every \(uv \in E(G)\) with \(d_v \ge d_u\). Hence, the equality in each inequality is attained if and only if G is either regular (if \(D=0\)) or bipartite with the two sets being respectively the set of vertices with degree \(\delta \) and degree \({\varDelta }\). \(\square \)

Let \(E_0,\dots ,E_k\) (with \(k={\varDelta }-\delta \)) be a partition of the edges of G given by the gradient where \(e\in E_i\) if \(\nabla _e=i\) for each \(0\le i \le k\). Let \(e_i\) be the number of edges in \(E_i\).

Proposition 4

Let G be a nontrivial graph with minimum degree \(\delta \) and maximum degree \({\varDelta }\). Then

$$\begin{aligned} \sum _{i=0}^k \frac{2e_i\sqrt{\delta (\delta +i)}}{2\delta +i} \le GA_1(G) \le \sum _{i=0}^k \frac{2e_i\sqrt{{\varDelta }({\varDelta }-i)}}{2{\varDelta }-i}. \end{aligned}$$
(7)

The upper (respectively, lower) bound is attained if and only if \(G \in \mathcal {G}_1^0\) (respectively, \(G \in \mathcal {G}_2^0\)).

Proof

Consider any edge \(uv \in E_i\). By symmetry, we can assume that \(d_v-d_u=i\). Since \(i d_v \le i{\varDelta }\), we have

$$\begin{aligned} {\varDelta }d_u = {\varDelta }( d_v-i) \le {\varDelta }d_v -i d_v. \end{aligned}$$

Hence,

$$\begin{aligned} \frac{{\varDelta }}{{\varDelta }-i}\le \frac{d_v}{d_u} \end{aligned}$$

with equality if and only if \(d_v= {\varDelta }\). Since \(i \delta \le i d_u\),

$$\begin{aligned} \delta d_v = \delta ( d_u+i) \le \delta d_u+i d_u, \end{aligned}$$

and we have

$$\begin{aligned} \frac{d_v}{d_u} \le \frac{\delta +i}{\delta } \end{aligned}$$

with equality if and only if \(d_u= \delta \). Therefore,

$$\begin{aligned} 1\le \frac{{\varDelta }}{{\varDelta }-i}\le \frac{d_v}{d_u} \le \frac{\delta +i}{\delta }, \end{aligned}$$

and Lemma 1 gives

$$\begin{aligned} f\left( \sqrt{\frac{{\varDelta }}{{\varDelta }-i}}\, \right) \ge f\left( \sqrt{\frac{d_v}{d_u}}\, \right) \ge f\left( \sqrt{\frac{\delta +i}{\delta }}\, \right) . \end{aligned}$$
(8)

We obtain the inequalities in (7) by adding (8) for every \(uv \in E(G)\).

Therefore, the equality in the lower bound is attained if and only if \(d_u= \delta \) for every \(uv \in E(G)\) with \(d_v \ge d_u\); the equality in the upper bound is attained if and only if \(d_v= {\varDelta }\) for every \(uv \in E(G)\) with \(d_v \ge d_u\). Hence, the upper (respectively, lower) bound is attained if and only if \(G \in \mathcal {G}_1^0\) (respectively, \(G \in \mathcal {G}_2^0\)). \(\square \)

Remark 2

Therefore, notice that \(GA_1(G)=\frac{2m\sqrt{\delta {\varDelta }}}{\delta +{\varDelta }}\) if and only if \(\nabla _{uv}={\varDelta }-\delta \) for every edge uv. Furthermore, if \(\delta >0\), this occurs if and only if the graph is either regular or bipartite with the two sets being respectively the set of vertices with degree \(\delta \) and degree \({\varDelta }\).

3 Bounds involving other topological indices

In [17, Lemma 3] appears the following result.

Lemma 3

Let h be the function \(h(x,y)=\frac{2xy}{x+y}\) with \(\delta \le x,y \le {\varDelta }\). Then \( \delta \le h(x,y) \le {\varDelta }. \) The lower (respectively, upper) bound is attained if and only if \(x=y=\delta \) (respectively, \(x=y={\varDelta }\)).

First, we obtain a lower bound of \(GA_1(G)\) depending on n, m and \(\delta \).

Proposition 5

We have for any graph G with minimum degree \(\delta \), n vertices and m edges

$$\begin{aligned} GA_1(G) \ge \frac{2m\sqrt{(n-1)\delta }}{n+\delta -1}\,, \end{aligned}$$

and the equality is attained if and only if G is either a complete graph or a star graph.

Proof

Recall that \(\delta \le d_u \le n-1\) for every \(u\in V(G)\). By Corollary 1, taking \(a=\delta \) and \(b=n-1\), we have

$$\begin{aligned} GA_1(G) = \sum _{uv\in E(G)}\frac{2 \sqrt{d_u d_v}}{d_u + d_v} \ge \sum _{uv\in E(G)}\frac{2\sqrt{(n-1) \delta }}{n+\delta -1} = \frac{2m\sqrt{(n-1)\delta }}{n+\delta -1} \,. \end{aligned}$$

By Corollary 1, the equality holds for G if and only if every edge joins a vertex of degree \(\delta \) with a vertex of degree \(n-1\); if \(\delta =n-1\), then this holds if and only if G is a complete graph; if \(\delta <n-1\), then this holds if and only if \(\delta =1\) and G is a star graph. \(\square \)

In what follows we will need Cassels inequality [21, Appendix 1]. Although it is a well-known result, it is not easy to find the characterization of the cases of equality. For the sake of completeness, we prove here a more general statement (following the argument of Niculescu [10]) that allows to characterize the equality.

Lemma 4

Let \((X,\mu )\) be a measure space and \(f,g : X \rightarrow \mathbb {R}\) non-negative measurable functions. If \(\omega f \le g \le {\varOmega }f\) \(\mu \)-a.e. for positive constants \(0<\omega \le {\varOmega }\), then

$$\begin{aligned} \left( \int _X f^2 \,d\mu \right) ^{1/2} \left( \int _X g^2 \,d\mu \right) ^{1/2} \le \frac{1}{2} \left( \sqrt{\frac{{\varOmega }}{\omega }}+ \sqrt{\frac{\omega }{{\varOmega }}} \,\right) \int _X fg \,d\mu \end{aligned}$$
(9)

and the equality is attained if and only if we have \(\omega = {\varOmega }\) or \(f = g = 0\) \(\mu \)-a.e.

Proof

Recall that

$$\begin{aligned} \frac{1}{\varepsilon } a^2+\varepsilon b^2 \ge 2ab \end{aligned}$$

and the equality holds if and only if \(a=\varepsilon b\). Therefore, the hypotheses imply

$$\begin{aligned} \begin{aligned} 0 \ge \int _X (g-\omega f)(g-{\varOmega }f) \, d\mu&= \int _X g^2 \, d\mu -({\varOmega }+\omega )\int _X fg \, d\mu + {\varOmega }\omega \int _X f^2 \, d\mu \\ \left( \sqrt{\frac{{\varOmega }}{\omega }}+ \sqrt{\frac{\omega }{{\varOmega }}} \,\right) \int _X fg \,d\mu&\ge \frac{1}{\sqrt{{\varOmega }\omega }}\int _X g^2 \, d\mu + \sqrt{{\varOmega }\omega }\int _X f^2 \, d\mu \\&\ge 2 \left( \int _X g^2 \,d\mu \right) ^{1/2} \left( \int _X f^2 \,d\mu \right) ^{1/2}. \end{aligned} \end{aligned}$$

Furthermore, the equality in (9) holds if and only if \((g-\omega f)(g-{\varOmega }f)=0\) \(\mu \)-a.e. and \(\int _X g^2 \,d\mu = {\varOmega }\omega \int _X f^2 \,d\mu \). If \(\omega ={\varOmega }\), then \(g=\omega f\) and both equalities hold. Assume now that \(\omega <{\varOmega }\). Since \(f,g \ge 0\) and

$$\begin{aligned} \int _X g^2 \,d\mu = {\varOmega }\omega \int _X f^2 \,d\mu \quad \; \Leftrightarrow \quad \int _X \big (g-\sqrt{{\varOmega }\omega }\, f\big )\big (g+\sqrt{{\varOmega }\omega }\, f\big ) \, d\mu =0, \end{aligned}$$

the equality \(\int _X g^2 \,d\mu = {\varOmega }\omega \int _X f^2 \,d\mu \) is equivalent to \(g=\sqrt{{\varOmega }\omega }\, f\) \(\mu \)-a.e. Thus,

$$\begin{aligned} 0 = (g-\omega f)(g-{\varOmega }f) = \big (\sqrt{{\varOmega }\omega }-\omega )\big (\sqrt{{\varOmega }\omega }-{\varOmega }\big )f^2 \end{aligned}$$

and we conclude that if \(\omega <{\varOmega }\), then the equality in (9) is attained if and only if \(f = g = 0\) \(\mu \)-a.e. \(\square \)

We have the following direct consequence.

Lemma 5

If \(a_j,b_j\ge 0\) and \(\omega b_j \le a_j \le {\varOmega }b_j\) for \(1\le j \le k\), then

$$\begin{aligned} \left( \sum _{j=1}^k a_j^2 \right) ^{1/2} \left( \sum _{j=1}^k b_j^2 \right) ^{1/2} \le \frac{1}{2} \left( \sqrt{\frac{{\varOmega }}{\omega }}+ \sqrt{\frac{\omega }{{\varOmega }}} \,\right) \sum _{j=1}^k a_jb_j . \end{aligned}$$

If \(a_j>0\) for some \(1\le j \le k\), then the equality holds if and only if \(\omega ={\varOmega }\) and \(a_j=\omega b_j\) for every \(1\le j \le k\).

Recall that the variable Zagreb index is defined in [8] as

$$\begin{aligned} Z_\alpha (G) = \sum _{uv\in E(G)} (d_u d_v)^\alpha . \end{aligned}$$

The variable Zagreb index was used in the structure-boiling point modeling of benzenoid hydrocarbons. The obtained model is practically identical to the model based on the variable vertex-connectivity index and this is due to close relationship between the formulas for the two indices. Note that \(Z_{-1/2}\) is the usual Randić index, \(Z_{1}\) is the second Zagreb index \(M_2\), \(Z_{-1}\) is the modified Zagreb index [11], etc.

Theorem 1

We have for any graph G with minimum degree \(\delta \), maximum degree \({\varDelta }\) and m edges, and \(\alpha \in \mathbb {R}\)

$$\begin{aligned} \frac{c_{1,\alpha } m^2}{Z_{\alpha }(G)} \le GA_1(G) \le \frac{c_{2,\alpha } m^2}{Z_{\alpha }(G)} \,, \end{aligned}$$

with

$$\begin{aligned} c_{1,\alpha }:= \left\{ \begin{array}{ll} \delta ^{2\alpha +1} {\varDelta }^{-1}, \quad &{}\text{ if } \ \alpha \ge -1/2,\\ {\varDelta }^{2\alpha }, \quad &{}\text{ if } \ \alpha \le -1/2, \end{array} \right. \qquad c_{2,\alpha }:= \left\{ \begin{array}{ll} \frac{{\varDelta }({\varDelta }^{2\alpha }+\delta ^{2\alpha })^2}{4 \delta ^{2\alpha +1}}\,, \quad &{}\text{ if } \ \alpha \ge -1/2,\\ \frac{({\varDelta }^{2\alpha }+\delta ^{2\alpha })^2}{4 {\varDelta }^{2\alpha }}\,, \quad &{}\text{ if } \ \alpha \le -1/2, \end{array} \right. \end{aligned}$$

and each inequality is attained for some fixed \(\alpha \) if and only if G is regular.

Proof

Cauchy-Schwarz inequality gives

$$\begin{aligned} \begin{aligned} m^2 = \left( \sum _{uv\in E(G)} (d_u d_v)^{\alpha /2} (d_u d_v)^{-\alpha /2} \right) ^2&\le \sum _{uv\in E(G)} (d_u d_v)^{\alpha } \sum _{uv\in E(G)} (d_u d_v)^{-\alpha } \\&= Z_{\alpha }(G) \sum _{uv\in E(G)} (d_u d_v)^{-\alpha }. \end{aligned} \end{aligned}$$

We have

$$\begin{aligned} GA_1(G) = \sum _{uv\in E(G)}\frac{2\sqrt{d_u d_v}}{d_u + d_v} \ge \frac{1}{{\varDelta }}\sum _{uv\in E(G)} (d_u d_v)^{\alpha +1/2}(d_u d_v)^{-\alpha } \,. \end{aligned}$$

If \(\alpha \le -1/2\), then

$$\begin{aligned} \begin{aligned} GA_1(G) \ge \frac{1}{{\varDelta }}\sum _{uv\in E(G)} (d_u d_v)^{\alpha +1/2}(d_u d_v)^{-\alpha }&\ge {\varDelta }^{2\alpha }\sum _{uv\in E(G)} (d_u d_v)^{-\alpha } \\&\ge \frac{{\varDelta }^{2\alpha } m^2}{Z_{\alpha }(G)} \,. \end{aligned} \end{aligned}$$

If \(\alpha \ge -1/2\), then

$$\begin{aligned} GA_1(G)\ge & {} \frac{1}{{\varDelta }} \sum _{uv\in E(G)} (d_u d_v)^{\alpha +1/2}(d_u d_v)^{-\alpha }\\\ge & {} \frac{\delta ^{2\alpha +1}}{{\varDelta }} \sum _{uv\in E(G)} (d_u d_v)^{-\alpha } \\\ge & {} \frac{\delta ^{2\alpha +1} m^2}{{\varDelta }Z_{\alpha }(G)} \,. \end{aligned}$$

Hence, we obtain

$$\begin{aligned} \frac{c_{1,\alpha } m^2}{Z_{\alpha }(G)} \le GA_1(G). \end{aligned}$$

Since

$$\begin{aligned} \begin{aligned} \delta ^{2\alpha } \le \frac{(d_u d_v)^{\alpha /2}}{(d_u d_v)^{-\alpha /2}}=(d_u d_v)^{\alpha } \le {\varDelta }^{2\alpha },&\qquad \text { if }\,\alpha \ge 0, \\ {\varDelta }^{2\alpha } \le \frac{(d_u d_v)^{\alpha /2}}{(d_u d_v)^{-\alpha /2}}=(d_u d_v)^{\alpha } \le \delta ^{2\alpha },&\qquad \text { if }\,\alpha \le 0, \end{aligned} \end{aligned}$$

Lemma 5 gives

$$\begin{aligned} \begin{aligned} m^2&= \left( \sum _{uv\in E(G)} (d_u d_v)^{\alpha /2} (d_u d_v)^{-\alpha /2} \right) ^2 \ge \frac{\sum _{uv\in E(G)} (d_u d_v)^{\alpha } \sum _{uv\in E(G)} (d_u d_v)^{-\alpha }}{\frac{1}{4}\left( \frac{{\varDelta }^{\alpha }}{\delta ^{\alpha }}+\frac{\delta ^{\alpha }}{{\varDelta }^{\alpha }} \right) ^2} \\&= \frac{4\,{\varDelta }^{2\alpha }\delta ^{2\alpha }}{({\varDelta }^{2\alpha }+\delta ^{2\alpha })^2} \,\,Z_{\alpha }(G) \sum _{uv\in E(G)} (d_u d_v)^{-\alpha }. \end{aligned} \end{aligned}$$

If \(\alpha \le -1/2\), then

$$\begin{aligned} \begin{aligned} GA_1(G)&\le \frac{1}{\delta }\sum _{uv\in E(G)} (d_u d_v)^{\alpha +1/2}(d_u d_v)^{-\alpha } \le \delta ^{2\alpha } \sum _{uv\in E(G)} (d_u d_v)^{-\alpha } \\&\le \delta ^{2\alpha } \frac{({\varDelta }^{2\alpha }+\delta ^{2\alpha })^2}{4\,{\varDelta }^{2\alpha }\delta ^{2\alpha }}\, \frac{m^2}{Z_{\alpha }(G)} = \frac{({\varDelta }^{2\alpha }+\delta ^{2\alpha })^2}{4\, {\varDelta }^{2\alpha }}\, \frac{m^2}{Z_{\alpha }(G)} \,. \end{aligned} \end{aligned}$$

If \(\alpha \ge -1/2\), then

$$\begin{aligned} \begin{aligned} GA_1(G)&\le \frac{1}{\delta }\sum _{uv\in E(G)} (d_u d_v)^{\alpha +1/2}(d_u d_v)^{-\alpha } \le \frac{{\varDelta }^{2\alpha +1}}{\delta }\sum _{uv\in E(G)} (d_u d_v)^{-\alpha } \\&\le \frac{{\varDelta }^{2\alpha +1}}{\delta }\, \frac{({\varDelta }^{2\alpha }+\delta ^{2\alpha })^2}{4\,{\varDelta }^{2\alpha }\delta ^{2\alpha }}\, \frac{m^2}{Z_{\alpha }(G)} = \frac{{\varDelta }({\varDelta }^{2\alpha }+\delta ^{2\alpha })^2}{4\,\delta ^{2\alpha +1}}\, \frac{m^2}{Z_{\alpha }(G)} \,. \end{aligned} \end{aligned}$$

Hence, we obtain

$$\begin{aligned} GA_1(G) \le \frac{c_{2,\alpha } m^2}{Z_{\alpha }(G)} \,, \end{aligned}$$

If the graph is regular, then \(c_{1,\alpha }=c_{2,\alpha }={\varDelta }^{2\alpha }\), the lower and upper bounds are the same, and they are equal to \(GA_1(G)\). If a bound is attained for some \(\alpha \), then we have either \(\frac{d_u+d_v}{2} = {\varDelta }\) for every \(uv\in E(G)\) or \(\frac{d_u+d_v}{2} = \delta \) for every \(uv\in E(G)\) and we conclude that \(d_u = d_v\) for every \(u,v\in V(G)\). \(\square \)

Corollary 5

We have for any graph G with minimum degree \(\delta \), maximum degree \({\varDelta }\) and m edges

$$\begin{aligned} \frac{\delta ^{3} m^2}{{\varDelta }M_{2}(G)} \le GA_1(G) \le \frac{{\varDelta }({\varDelta }^{2}+\delta ^{2})^2 m^2}{4\, \delta ^{3} M_{2}(G)} \,, \end{aligned}$$

and each inequality is attained if and only if G is regular.

With motivation from the Randić, Zagreb and harmonic indices, the general sum-connectivity index \(H_{\alpha }\) was defined by Zhou and Trinajstić in [23] as

$$\begin{aligned} H_{\alpha }(G) = \sum _{uv\in E(G)} (d_u + d_v)^{\alpha }, \end{aligned}$$

with \(\alpha \in \mathbb {R}\). Note that \(H_{1}\) is the first Zagreb index \(M_1\), \(2H_{-1}\) is the harmonic index H, \(H_{-1/2}\) is the sum-connectivity index, etc.

Theorem 2

We have for any graph G with minimum degree \(\delta \) and maximum degree \({\varDelta }\)

$$\begin{aligned} \frac{4\,{\varDelta }\delta \sqrt{M_2(G)H_{-2}(G)}}{{\varDelta }^{2}+\delta ^{2}} \le GA_1(G) \le 2 \sqrt{M_2(G)H_{-2}(G)} \,. \end{aligned}$$

The equality in the lower bound is attained if and only if G is regular. The equality in the upper bound is attained if and only if there exists a constant \(\lambda \) such that \(d_u d_v (d_u + d_v)^2 = \lambda \) for every \(uv\in E(G)\).

Proof

Cauchy-Schwarz inequality gives

$$\begin{aligned} GA_1(G)^2= & {} \left( \sum _{uv\in E(G)} \frac{2\sqrt{d_u d_v}}{d_u + d_v} \;\right) ^2\\\le & {} \sum _{uv\in E(G)} 4d_u d_v \sum _{uv\in E(G)} \frac{1}{(d_u + d_v)^2}\\= & {} 4 M_2(G)H_{-2}(G). \end{aligned}$$

Since

$$\begin{aligned} 4\delta ^{2} \le \frac{2\sqrt{d_u d_v}}{(d_u + d_v)^{-1}}=2\sqrt{d_u d_v}\,(d_u + d_v) \le 4{\varDelta }^{2}, \end{aligned}$$

Lemma 5 gives

$$\begin{aligned} \begin{aligned} GA_1(G)^2&= \left( \sum _{uv\in E(G)} \frac{2\sqrt{d_u d_v}}{d_u + d_v} \;\right) ^2 \ge \frac{\sum _{uv\in E(G)} 4d_u d_v \sum _{uv\in E(G)} \frac{1}{(d_u + d_v)^2}}{\frac{1}{4} \left( \frac{{\varDelta }}{\delta }+\frac{\delta }{{\varDelta }} \right) ^2} \\&= \frac{16\,{\varDelta }^{2}\delta ^{2}M_2(G)H_{-2}(G)}{({\varDelta }^{2}+\delta ^{2})^2} \,. \end{aligned} \end{aligned}$$

If the graph is regular, then the lower and upper bounds are the same, and they are equal to \(GA_1(G)\).

If the lower bound is attained, then Lemma 5 gives that \(4\delta ^2 = 4{\varDelta }^2\) and G is regular.

If the upper bound is attained, then Cauchy-Schwarz inequality gives that

$$\begin{aligned} \frac{2\sqrt{d_u d_v}}{(d_u + d_v)^{-1}}=2\sqrt{d_u d_v}\,(d_u + d_v) \end{aligned}$$

is constant, and so there exists a constant \(\lambda \) such that \(d_u d_v (d_u + d_v)^2 = \lambda \) for every \(uv\in E(G)\). \(\square \)

We say that a graph is \((\alpha ,\beta )\)-biregular if it is a bipartite graph for which any vertex in one side of the given bipartition has degree \(\alpha \) and any vertex in the other side of the bipartition has degree \(\beta \).

The following result characterizes in many cases the equality in the upper bound in Theorem 2.

Proposition 6

Let G be a graph.

  • If there exists a constant \(\lambda \) such that \(d_u d_v (d_u + d_v)^2 = \lambda \) for every \(uv\in E(G)\), then each connected component of G is either regular or biregular.

  • If G is a connected graph, then there exists a constant \(\lambda \) such that \(d_u d_v (d_u + d_v)^2 = \lambda \) for every \(uv\in E(G)\) if and only if G is either regular or biregular.

Proof

Assume that there exists a constant \(\lambda \) such that \(d_u d_v (d_u + d_v)^2 = \lambda \) for every \(uv\in E(G)\). Since the function \(f:[0,\infty )\times [0,\infty ) \rightarrow \mathbb {R}\) defined as \(f(x,y)=xy (x + y)^2\) is strictly increasing in y for each fixed x, given any vertex \(u\in V(G)\), every neighbor of u has the same degree. Hence, each connected component of G is either regular or biregular. Furthermore, if G is connected, then \(d_u d_v (d_u + d_v)^2 = \lambda \) for every \(uv\in E(G)\) if and only if G is regular or biregular. \(\square \)

Example 1

It may be wondered if there exist two different pairs of natural numbers ab and cd such that \(ab(a+b)^2=cd(c+d)^2\). The answer is affirmative and such pairs of numbers can be obtained as follows.

First let us choose two Pythagorean triples: \(\alpha _1,\beta _1,\gamma _1\) and \(\alpha _2,\beta _2,\gamma _2\) with \(\alpha _1\beta _1=\alpha _2\beta _2\) (e.g., 12, 35, 37 and 20, 21, 29) and let \(a=\gamma _2\alpha _1^2\), \(b=\gamma _2\beta _1^2\), \(c=\gamma _1\alpha _2^2\) and \(d=\gamma _1\beta _2^2\). Then, notice that

$$\begin{aligned} \gamma _2\alpha _1^2 \gamma _2\beta _1^2(\gamma _2\alpha _1^2 + \gamma _2\beta _1^2)^2= \alpha _1^2\beta _1^2\gamma _1^4\gamma _2^4 =\lambda , \end{aligned}$$

and

$$\begin{aligned} \gamma _1\alpha _2^2 \gamma _1\beta _2^2(\gamma _1\alpha _2^2 + \gamma _1\beta _2^2)^2= \alpha _2^2\beta _2^2\gamma _1^4\gamma _2^4 = \alpha _1^2\beta _1^2\gamma _1^4\gamma _2^4 =\lambda . \end{aligned}$$

Therefore, the best characterization of the upper bound in Theorem 2 is the one in Proposition 6.

In [17, Theorem 4] appears the inequality

$$\begin{aligned} GA_1(G) \le \sqrt{M_2(G)Z_{-1}(G)} \,. \end{aligned}$$

Note that Theorem 2 improves this upper bound of \(GA_1(G)\) since \(4d_ud_v \le (d_u+d_v)^2\) gives

$$\begin{aligned} 4 H_{-2}(G) = \sum _{uv\in E(G)} \frac{4}{(d_u + d_v)^2} \le \sum _{uv\in E(G)} \frac{1}{d_u d_v} = Z_{-1}(G), \end{aligned}$$

and \(2 \sqrt{H_{-2}(G)} \le \sqrt{Z_{-1}(G)}\).

Theorem 3

We have for any graph G with minimum degree \(\delta \), maximum degree \({\varDelta }\) and m edges

$$\begin{aligned} \frac{\delta ^2 m^2}{ M_2(G)} \le GA_1(G) \le \frac{{\varDelta }^{1/2} ({\varDelta }+ \delta \,)^3 m^2}{8 \,\delta ^{3/2}M_2(G)} \,, \end{aligned}$$

and each equality is attained if and only if G is regular.

Proof

Lemma 3, Cauchy-Schwarz inequality and Corollary 1 give

$$\begin{aligned} \begin{aligned} \big ( \delta m \big )^2&\le \left( \sum _{uv\in E(G)} \frac{2d_u d_v}{d_u + d_v} \;\right) ^2 \le \sum _{uv\in E(G)} \left( \, \frac{2\sqrt{d_u d_v}}{d_u + d_v}\;\right) ^2 \sum _{uv\in E(G)} \left( \sqrt{d_u d_v}\;\right) ^2 \\&\le \sum _{uv\in E(G)} \frac{2\sqrt{d_u d_v}}{d_u + d_v} \sum _{uv\in E(G)} d_u d_v = GA_1(G) M_2(G) . \end{aligned} \end{aligned}$$

Since

$$\begin{aligned} \frac{1}{{\varDelta }} \le \frac{\frac{2\sqrt{d_u d_v}}{d_u + d_v}}{\sqrt{d_u d_v}} =\frac{2}{d_u + d_v} \le \frac{1}{\delta }\,, \end{aligned}$$

Lemmas 3, 5 and Corollary 1 give

$$\begin{aligned} \begin{aligned} \big ( {\varDelta }m \big )^2&\ge \left( \sum _{uv\in E(G)} \frac{2d_u d_v}{d_u + d_v} \;\right) ^2 \ge \frac{\sum _{uv\in E(G)} \left( \, \frac{2\sqrt{d_u d_v}}{d_u + d_v}\;\right) ^2 \sum _{uv\in E(G)} \left( \sqrt{d_u d_v}\;\right) ^2}{\frac{1}{4} \left( \sqrt{\frac{{\varDelta }}{\delta }}+\sqrt{\frac{\delta }{{\varDelta }}}\, \right) ^2} \\&\ge \frac{\frac{2\sqrt{{\varDelta }\delta }}{{\varDelta }+ \delta }\sum _{uv\in E(G)} \frac{2\sqrt{d_u d_v}}{d_u + d_v} \sum _{uv\in E(G)} d_u d_v}{\frac{1}{4} \left( \sqrt{\frac{{\varDelta }}{\delta }}+\sqrt{\frac{\delta }{{\varDelta }}}\, \right) ^2} = \frac{8\,({\varDelta }\delta )^{3/2}GA_1(G) M_2(G)}{({\varDelta }+ \delta \,)^3}\, . \end{aligned} \end{aligned}$$

If the graph is regular, then the lower and upper bounds are the same, and they are equal to \(GA_1(G)\).

By Lemma 3, if a bound is attained, then we have either \(d_u=d_v = \delta \) for every \(uv\in E(G)\) or \(d_u=d_v = {\varDelta }\) for every \(uv\in E(G)\), and we conclude that \(d_u = d_v\) for every \(u,v\in V(G)\). \(\square \)

Note that Theorem 3 improves the bounds in Corollary 5, since

$$\begin{aligned} \frac{\delta ^{3}}{{\varDelta }} \le \delta ^{2}, \qquad \frac{{\varDelta }^{1/2} ({\varDelta }+ \delta \,)^3}{8 \,\delta ^{3/2}} \le \frac{{\varDelta }({\varDelta }^{2}+\delta ^{2})^2}{4\, \delta ^{3}} \,, \end{aligned}$$

where the second inequality follows from

$$\begin{aligned}&(s-1)(2s^8+2s^7+2s^6+s^5 +5s^4+2s^3+2s^2-s+1)\ge 0 \qquad \text {for } \, s\ge 1, \\&\quad 2s^9-s^6+4s^5-3s^4-3s^2 +2s-1 \ge 0 \qquad \text {for } \, s\ge 1, \\&\quad (s^2+1)^3 \le \; 2s(s^4+1)^2 \qquad \text {for } \, s\ge 1, \\&\quad (t+1)^3 \le \; 2\sqrt{t}\,(t^2+1)^2 \qquad \text {for } \, t\ge 1, \\&\quad \delta ^{3/2}({\varDelta }+ \delta \,)^3 \le 2{\varDelta }^{1/2}({\varDelta }^{2}+\delta ^{2})^2 \qquad \text {taking } \, t=\frac{{\varDelta }}{\delta }. \end{aligned}$$

Theorem 4

We have for any graph G with minimum degree \(\delta \) and maximum degree \({\varDelta }\)

$$\begin{aligned} \frac{H(G)^2}{ Z_{-1}(G)} \le GA_1(G) \le \frac{({\varDelta }+ \delta \,)^3H(G)^2}{8\,({\varDelta }\delta )^{3/2}Z_{-1}(G)} \,, \end{aligned}$$

and each inequality is attained if and only if G is regular.

Proof

Cauchy-Schwarz inequality and Corollary 1 give

$$\begin{aligned} \begin{aligned} H(G)^2&= \left( \sum _{uv\in E(G)} \frac{2}{d_u + d_v} \;\right) ^2 \le \sum _{uv\in E(G)} \left( \, \frac{2\sqrt{d_u d_v}}{d_u + d_v}\;\right) ^2 \sum _{uv\in E(G)} \left( \frac{1}{\sqrt{d_u d_v}}\;\right) ^2 \\&\le \sum _{uv\in E(G)} \frac{2\sqrt{d_u d_v}}{d_u + d_v} \sum _{uv\in E(G)} \frac{1}{d_u d_v} = GA_1(G) Z_{-1}(G) . \end{aligned} \end{aligned}$$

Since Lemma 3 implies

$$\begin{aligned} \delta \le \frac{\frac{2\sqrt{d_u d_v}}{d_u + d_v}}{\frac{1}{\sqrt{d_u d_v}}} =\frac{2 d_u d_v}{d_u + d_v} \le {\varDelta }, \end{aligned}$$

Lemma 5 gives

$$\begin{aligned} \begin{aligned} H(G)^2&= \left( \sum _{uv\in E(G)} \frac{2}{d_u + d_v} \;\right) ^2 \ge \frac{\sum _{uv\in E(G)} \left( \, \frac{2\sqrt{d_u d_v}}{d_u + d_v}\;\right) ^2 \sum _{uv\in E(G)} \left( \frac{1}{\sqrt{d_u d_v}}\;\right) ^2}{\frac{1}{4} \left( \sqrt{\frac{{\varDelta }}{\delta }}+\sqrt{\frac{\delta }{{\varDelta }}}\, \right) ^2} \\&\ge \frac{\frac{2\sqrt{{\varDelta }\delta }}{{\varDelta }+ \delta }\sum _{uv\in E(G)} \frac{2\sqrt{d_u d_v}}{d_u + d_v} \sum _{uv\in E(G)} \frac{1}{d_u d_v}}{\frac{1}{4} \left( \sqrt{\frac{{\varDelta }}{\delta }}+\sqrt{\frac{\delta }{{\varDelta }}}\, \right) ^2} = \frac{8\,({\varDelta }\delta )^{3/2}GA_1(G) Z_{-1}(G)}{({\varDelta }+ \delta \,)^3}\, . \end{aligned} \end{aligned}$$

If the graph is regular, then the lower and upper bounds are the same, and they are equal to \(GA_1(G)\).

By Lemma 5, if the upper bound is attained, then \({\varDelta }=\delta \) and G is regular.

If the lower bound is attained, then Corollary 1 gives \(d_u = d_v\) for every \(uv\in E(G)\). Cauchy-Schwarz inequality gives that there exists a constant \(\lambda \) such that

$$\begin{aligned} \frac{2\sqrt{d_u d_v}}{d_u + d_v} = \lambda \frac{1}{\sqrt{d_u d_v}} \end{aligned}$$

for every \(uv\in E(G)\). Hence, \(d_u = \lambda \) for every \(u\in V(G)\) and G is regular./

The forgotten topological index is defined as

$$\begin{aligned} F(G) = \sum _{u\in V(G)} d_u^3 = \sum _{uv\in E(G)} (d_u^2+d_v^2) \end{aligned}$$

(see [4]).

Theorem 5

We have for any graph G with minimum degree \(\delta \), maximum degree \({\varDelta }\) and m edges

$$\begin{aligned} 2m-\frac{F(G)}{2\delta ^2} \le GA_1(G) \le 2m-\frac{F(G)}{2{\varDelta }^2} \end{aligned}$$

and each inequality is attained if and only if G is regular.

Proof

The equality

$$\begin{aligned} \frac{2\sqrt{d_u d_v}}{d_u + d_v} \frac{2\sqrt{d_u d_v}}{d_u + d_v} + \frac{2(d_u^2 + d_v^2)}{(d_u + d_v)^2} = 2 \end{aligned}$$

and Corollary 1 give

$$\begin{aligned} \begin{aligned} \frac{2\sqrt{d_u d_v}}{d_u + d_v} + \frac{d_u^2 + d_v^2}{2\delta ^2}&\ge 2, \\ GA_1(G) + \frac{F(G)}{2\delta ^2}&\ge 2m . \end{aligned} \end{aligned}$$

We also have

$$\begin{aligned} \begin{aligned} \frac{2\sqrt{d_u d_v}}{d_u + d_v} + \frac{d_u^2 + d_v^2}{2{\varDelta }^2}&\le 2, \\ GA_1(G) + \frac{F(G)}{2{\varDelta }^2}&\le 2m . \end{aligned} \end{aligned}$$

If the graph is regular, then the lower and upper bounds are the same, and they are equal to \(GA_1(G)\). If a bound is attained, then we have either \(d_u+d_v = 2\delta \) for every \(uv\in E(G)\) or \(d_u^2+d_v^2 = 2{\varDelta }^2\) for every \(uv\in E(G)\) and we conclude that \(d_u = d_v\) for every \(u,v\in V(G)\). \(\square \)