1 Introduction

A simple connected undirected graph (or network) \(G=(V,E)\), where each edge is endowed with a unit resistance, is the basic model for molecules in mathematical chemistry: vertices represent atoms and edges represent bonds. Several graph measures based on distances, degrees, and graph entropies have been investigated in the recent literature to study a variety of physicochemical properties of these molecules [1, 2]. In the sequel, among the mathematical descriptors in the field, we focus on those indices based on electrical network theory like the Kirchhoff index [39] defined as

$$K(G)=\sum_{i< j}R_{ij}, $$

where \(R_{ij}\) is the effective resistance between vertices i and j, and the global cyclicity index [10] defined as

$$C(G)= \sum_{(i,j) \in E} \frac{1}{R_{ij}} - m, $$

where \(m=|E|\).

When introducing a new topological index it is desirable to investigate its discriminative power (see [11] and [12]). In this regard, the global cyclicity index appears to be able to capture cyclicity meaningfully (see [10] for a thorough discussion on this matter and for a plethora of examples). Besides its appearance in the realm of mathematical chemistry, cyclicity is a key concept in other purely mathematical contexts, like measures of connectivity or complexity of graphs [13].

Through the majorization technique discussed in [1416] and [17] significant bounds have been obtained by the authors for the Kirchhoff index as well as for some of its generalizations like the additive/multiplicative degree-Kirchhoff indices. Recently, using this powerful tool, Yang provided good bounds for the global cyclicity index [18].

One natural generalization of the molecular model described above is to endow the edges with arbitrary resistances. This is customary when studying random walks [19] but it has not received much attention in the area of molecular descriptors. We can single out the article [20] where they minimize the Kirchhoff index of a graph when there is a fixed total conductance to be allocated among the edges of the graph. Also, in references [21] and [22], they study the Kirchhoff index for networks where the effective resistances \(R_{ij}\) are made to depend on a single parameter λ and a set of weights on the vertices.

In this direction, we allow the edges of our graph to have arbitrary resistances \(r_{ij}\) and we consider the weighted global cyclicity index

$$CW(G)= \sum_{(i,j) \in E} \biggl( \frac{1}{R_{ij}} - \frac{1}{r_{ij}} \biggr), $$

as a natural extension of the global cyclicity index, which can be recovered when \(r_{ij}=1\) for all \((i,j) \in E\).

In order to tackle this new descriptor, we extend prior results of majorization into the realm of weighted majorization [23], and then we express the descriptor as an appropriate p-Schur-convex function to which the new technique can be applied. We believe that the new results on weighted majorization are of interest in themselves and may be of interest in other scenarios.

2 Notations and preliminaries

We recall in this section some notions on p-majorization (for further details see [23] and [24]).

We will denote by \([x_{1}^{\alpha_{1}}, x_{2}^{\alpha_{2}}, \ldots, x_{p}^{\alpha_{p}}]\) a vector in \(\mathbb{R}^{n}\) with \(\alpha_{i}\) components equal to \(x_{i}\), where \(\sum_{i=1}^{p} \alpha_{i}=n\). If \(\alpha_{i}=1\), we use for convenience \(x_{i}\) instead of \(x_{i}^{1}\), while \(x_{i}^{0}\) means that the component \(x_{i}\) is not present. Let \(\mathbf{e}^{\mathbf{j}}\), \(j=1,\ldots,n\), be the fundamental vectors of \(\mathbb{R}^{n}\). Recalling that the Hadamard product of two vectors \(\mathbf{x},\mathbf{y}\in \mathbb{R}^{n}\) is defined as follows:

$$ \mathbf{x}\circ\mathbf{y}= [ x_{1}y_{1},x_{2}y_{2}, \ldots,x_{n}y_{n} ]^{T}, $$

it is easy to verify the following properties, where \(\langle\cdot ,\cdot \rangle\) denotes the inner product in \(\mathbb{R}^{n}\), \(\mathbf{s}^{\mathbf{j}}=[1^{j},0^{n-j}]\), with \(j=1,2,\ldots,n\) and \(\mathbf {v}^{\mathbf{j}}=[0^{j},1^{n-j}]\), with \(j=0, \ldots, n\):

  1. (i)

    \(\langle\mathbf{x}\circ \mathbf{y},\mathbf{z} \rangle= \langle \mathbf{x},\mathbf{y}\circ \mathbf{z} \rangle\),

  2. (ii)

    \(\langle\mathbf{s}^{\mathbf{h}},\mathbf{v}^{\mathbf{k}}\rangle =h-\min \{ h,k \} \),

  3. (iii)

    \(\mathbf{s}^{\mathbf{k}}\circ\mathbf{s}^{\mathbf {j}}=\mathbf{s}^{\mathbf{h}}\), \(h=\min \{ k,j \} \),

  4. (iv)

    \(\mathbf{v}^{\mathbf{k}}\circ\mathbf{s}^{\mathbf{j}}=\mathbf {s}^{\mathbf{j}}-\mathbf{s}^{\mathbf{h}} =\mathbf{v}^{\mathbf{h}}-\mathbf{v}^{\mathbf{j}}\), \(h=\min \{ k,j \} \).

Definition 1

Fix \(\mathbf{p}>\mathbf{0}\). Given two vectors \(\mathbf{y}, \mathbf{z}\in D=\{\mathbf{x}\in\mathbb{R}^{n}:x_{1} \geq x_{2}\geq\cdots\geq x_{n}\}\), the p-majorization order \(\mathbf{y}\trianglelefteq_{p} \mathbf{z}\) means:

$$ \bigl\langle \mathbf{p} \circ \mathbf{y}, \mathbf{s}^{\mathbf{k}} \bigr\rangle \leq \bigl\langle \mathbf{p}\circ\mathbf{z},\mathbf{s}^{\mathbf{k}} \bigr\rangle ,\quad k=1,\ldots,(n-1) $$

and

$$ \bigl\langle \mathbf{p} \circ \mathbf{y}, \mathbf{s}^{\mathbf{n}} \bigr\rangle = \bigl\langle \mathbf{p} \circ \mathbf{z},\mathbf{s}^{\mathbf{n}} \bigr\rangle . $$

Notice that for \(\mathbf{p}=\mathbf{s}^{\mathbf{n}}\) p-majorization reduces to the usual majorization. Thus in the sequel all our results entail as particular cases the results known for majorization (see [24, 25]).

Let \(\mathbf{x}^{\mathbf{\ast p}}(S)\) and \(\mathbf{x}_{\mathbf{\ast p }}(S)\) denote the maximal and the minimal elements of a subset \(S\subseteq \mathbb{R}^{n}\) with respect to the p-majorization order.

Given a positive real number a, let

$$ \Sigma_{a}=D\cap\bigl\{ \mathbf{x}\in\mathbb{R}_{+}^{n}: \langle \mathbf{x},\mathbf{p} \rangle=a\bigr\} . $$

By direct calculations we can show that the maximal and the minimal elements of \(\Sigma_{a}\) with respect to the p-majorization order are, respectively,

$$ \mathbf{x}^{\mathbf{\ast p}} ( \Sigma_{a} ) = \frac{a}{p_{1}} \mathbf {e}^{\mathbf{1}}\quad\mbox{and}\quad \mathbf{x}_{\mathbf{\ast p} } (\Sigma_{a} ) = \biggl[\biggl(\frac{a}{\sum_{i=1}^{n} p_{i}} \biggr)^{n}\biggr] $$

(see also [23]).

For the maximal element we have \(\langle\mathbf{p} \circ\mathbf{x}^{\mathbf{\ast p} } (\Sigma_{a}), \mathbf{s}^{\mathbf{j}} \rangle= a\), for all \(j=1, 2, \ldots, n\) and thus \(\langle\mathbf{p} \circ \mathbf{x}, \mathbf{s}^{\mathbf{j}} \rangle\le\langle \mathbf{p} \circ\mathbf{x}^{\mathbf{\ast p}} (\Sigma_{a}), \mathbf{s}^{\mathbf{j}} \rangle \) for all \(\mathbf{x} \in\Sigma_{a}\), \(j=1,2, \ldots,(n-1)\).

Now we prove that for each \(\mathbf{x}\in\Sigma_{a}\) and every \(k=1,2, \ldots,(n-1)\) we have

$$ \frac{a}{\sum_{i=1}^{n} p_{i}} \sum_{i=1}^{k} p_{i} \le\sum_{i=1}^{k}p_{i} x_{i}. $$
(1)

Indeed, if \(\frac{a}{\sum_{i=1}^{n} p_{i}} \sum_{i=1}^{k} p_{i} > \sum_{i=1}^{k}p_{i} x_{i}\), then

$$a- \sum_{i=k+1}^{n} p_{i}x_{i} < \frac{a}{\sum_{i=1}^{n} p_{i}} \sum_{i=1}^{k} p_{i} $$

and rearranging the terms

$$\sum_{i=k+1}^{n} p_{i}x_{i} > \frac{a}{\sum_{i=1}^{n} p_{i}} \sum_{i=k+1}^{n} p_{i}. $$

Thus

$$x_{k+1} \sum_{i=k+1}^{n} p_{i} > \frac{a}{\sum_{i=1}^{n} p_{i}} \sum_{i=k+1}^{n} p_{i} $$

and consequently \(x_{1} \ge x_{2} \ge\cdots\ge x_{k+1} > \frac{a}{\sum_{i=1}^{n} p_{i}}\). But this implies (1), a contradiction. Thus condition (1) holds, and it simply implies

$$\bigl\langle \mathbf{p} \circ \mathbf{x}, \mathbf{s}^{\mathbf{j}} \bigr\rangle \ge\bigl\langle \mathbf{p} \circ \mathbf{x}_{\mathbf{\ast p}}(\Sigma_{a}), \mathbf{s}^{\mathbf{j}} \bigr\rangle $$

for all \(\mathbf{x} \in\Sigma_{a}\), \(j=1,2, \ldots,(n-1)\).

We finally recall the notion of p-Schur-convex functions (see [23]). Let π be a permutation of \(\{1, \ldots n\}\) and \(\mathbf {x}^{\boldsymbol {\pi}}\) be the vector obtained exchanging the components of x according to π.

Given a fixed vector of positive components p, a function \(\phi(\cdot, \mathbf{p}): \mathbb{R}^{n} \longrightarrow\mathbb{R}\), is said to be p-Schur-convex if it preserves the p-majorization order, that is, if

$$\begin{aligned}& \phi(\mathbf{x},\mathbf{p})=\phi\bigl(\mathbf{x}^{\boldsymbol {\pi}}, \mathbf{p}^{\boldsymbol {\pi}}\bigr) \quad\mbox{for all } \pi, \end{aligned}$$
(2)
$$\begin{aligned}& \phi(\mathbf{x},\mathbf{p})\leq\phi(\mathbf{y}, \mathbf{p}) \quad\mbox{whenever } \mathbf{x}, \mathbf{y} \in D \mbox{ and } \mathbf{x}\trianglelefteq_{p} \mathbf{y}. \end{aligned}$$
(3)

The following result gives an important characterization of differentiable p-Schur-convex functions.

Theorem 2

(see [23])

Let \(\mathbf{p}>\mathbf{0}\) be fixed and \(\phi:\mathbb {R}^{n}\longrightarrow\mathbb{R}\) be a differentiable function satisfying (2). Then the function ϕ is p-Schur-convex if and only if, for all x,

$$ ( x_{i}-x_{j} ) \biggl(\frac{1}{p_{i}}\frac{\partial\phi (\mathbf{x};\mathbf{p}) }{\partial x_{i}}-\frac{1}{p_{j}}\frac{\partial\phi(\mathbf {x};\mathbf{p})}{\partial x_{j}}\biggr) \geq0 \quad\textit{for all }i,j=1,\ldots,n. $$
(4)

Note that for \(\mathbf{p}=\mathbf{s}^{\mathbf{n}}\) we recover the classical notion of Schur-convex function (see [24]).

3 Some results on p-majorization

Now let us consider the subset of \(\Sigma_{a}\) given by

$$ S_{a}=\Sigma_{a}\cap \bigl\{ \mathbf{x}\in \mathbb{R} ^{n}:M_{i} \geq x_{i}\geq m_{i}, i=1,\ldots,n \bigr\} , $$
(5)

where \(\mathbf{m}= [ m_{1},m_{2},\ldots,m_{n} ] ^{T}\) and \(\mathbf {M}= [ M_{1},M_{2},\ldots,M_{n} ] ^{T}\) are two assigned vectors arranged in nonincreasing order with \(0\leq m_{i}\leq M_{i}\), for all \(i=1,\ldots,n\), and a is a positive real number such that

$$\langle\mathbf{m},\mathbf{p} \rangle\leq a\leq \langle \mathbf{M},\mathbf{p} \rangle. $$

The existence of maximal and minimal elements of \(S_{a}\) with respect to the p-majorization are ensured by the compactness of the set \(S_{a}\) and by the closure of the upper and lower level sets:

$$ U(\mathbf{x})= \{ \mathbf{z}\in S_{a}:\mathbf{x} \trianglelefteq_{p} \mathbf{z} \},\qquad L(\mathbf{x})= \{ \mathbf{z}\in S_{a}:\mathbf{z}\trianglelefteq_{p} \mathbf{x} \} . $$

For the sequel we are interested in computing the maximal element, with respect to the p-majorization order, of the set \(S_{a}\).

Theorem 3

Let \(k\geq0\) be the smallest integer such that

$$ \bigl\langle \mathbf{p} \circ \mathbf{M},\mathbf{s}^{\mathbf{k}} \bigr\rangle + \bigl\langle \mathbf{p} \circ \mathbf{m},\mathbf{v}^{\mathbf{k}} \bigr\rangle \leq a< \bigl\langle \mathbf{p} \circ \mathbf{M}, \mathbf{s}^{\mathbf{k}+\mathbf{1}} \bigr\rangle + \bigl\langle \mathbf{p} \circ \mathbf{m},\mathbf{v}^{\mathbf{k}+\mathbf{1}} \bigr\rangle $$
(6)

and \(\theta=\frac{a- \langle\mathbf{p} \circ \mathbf{M},\mathbf {s}^{\mathbf{k}} \rangle - \langle\mathbf{p} \circ \mathbf{m},\mathbf{v}^{\mathbf{k}+\mathbf{1}} \rangle }{p_{k+1}}\). Then

$$ \mathbf{x}^{\mathbf{\ast p} }(S_{a})=\mathbf{M} \circ \mathbf{s}^{\mathbf{k}}+ \theta \mathbf{e}^{\mathbf{k}+\mathbf{1}}+\mathbf{m}\circ \mathbf{v}^{\mathbf{k}+\mathbf{1}}. $$
(7)

Proof

First of all we verify that \(\mathbf{x}^{\mathbf{\ast p}}(S_{a}) \in S_{a}\).

It easy to see that \(\langle \mathbf{p} \circ\mathbf{x}^{\mathbf{\ast p} }(S_{a}),\mathbf{s}^{\mathbf{n}} \rangle=a\) and that \(m_{i} \leq[\mathbf{x}^{\mathbf{\ast p}}(S_{a})]_{i} \leq M_{i}\) for \(i\neq k+1\). To prove that \(m_{k+1}\leq\mathbf{x}_{k+1}^{\mathbf{\ast p} }(S_{a}) \le M_{k+1}\), notice that from (6)

$$ p_{k+1} m_{k+1} \leq a- \bigl\langle \mathbf{p} \circ \mathbf{M}, \mathbf{s}^{\mathbf{k}} \bigr\rangle - \bigl\langle \mathbf{p} \circ \mathbf{m}, \mathbf{v}^{\mathbf{k}+\mathbf{1}} \bigr\rangle =\theta p_{k+1} < p_{k+1} M_{k+1}. $$

Now we show that \(\mathbf{x}\trianglelefteq_{p} \mathbf{x}^{\mathbf{\ast p} }(S_{a})\) for all \(\mathbf{x}\in S_{a}\). By property (i) it follows that

$$ \bigl\langle \mathbf{p} \circ\mathbf{x}^{\mathbf{\ast p}}(S_{a}), \mathbf{s}^{\mathbf{j}} \bigr\rangle = \bigl\langle \mathbf{p} \circ \mathbf{M}, \mathbf{s}^{\mathbf{k}}\circ\mathbf{s}^{\mathbf{j}} \bigr\rangle +\theta p_{k+1} \bigl\langle \mathbf{e}^{\mathbf{k}+\mathbf{1}},\mathbf{s}^{\mathbf{j}} \bigr\rangle + \bigl\langle \mathbf{p} \circ \mathbf{m},\mathbf {v}^{\mathbf{k}+\mathbf{1}}\circ \mathbf{s}^{\mathbf{j}} \bigr\rangle ,\quad j=1,\ldots,(n-1), $$

and by (iii) and (iv)

$$ \bigl\langle \mathbf{p} \circ\mathbf{x}^{\mathbf{\ast p}} (S_{a}),\mathbf{s}^{\mathbf{j}} \bigr\rangle =\left \{ \begin{array}{@{}l@{\quad}l} \langle\mathbf{p} \circ \mathbf{M},\mathbf{s}^{\mathbf{j}} \rangle,&1\leq j\leq k,\\ \langle\mathbf{p} \circ \mathbf{M},\mathbf{s}^{\mathbf{k}} \rangle +\theta p_{k+1} + \langle\mathbf{p} \circ \mathbf{m},\mathbf{s}^{\mathbf{j}}-\mathbf {s}^{\mathbf{k}+\mathbf{1}} \rangle, & (k+1)\leq j\leq(n-1). \end{array} \right . $$

Thus, given a vector \(\mathbf{x}\in S_{a}\), for \(1\leq j\leq k\) we obtain

$$ \bigl\langle \mathbf{p} \circ \mathbf{x},\mathbf{s}^{\mathbf{j}} \bigr\rangle \leq \bigl\langle \mathbf{p} \circ \mathbf{M},\mathbf{s}^{\mathbf{j}} \bigr\rangle = \bigl\langle \mathbf{p} \circ\mathbf{x}^{\mathbf{\ast p}}(S_{a}),\mathbf{s}^{\mathbf{j}} \bigr\rangle , $$

while for \((k+1)\leq j\leq(n-1)\), by (iii),

$$\begin{aligned} \bigl\langle \mathbf{p} \circ\mathbf{x},\mathbf{s}^{\mathbf{j}} \bigr\rangle & = \bigl\langle \mathbf{p} \circ\mathbf{x},\mathbf{s}^{\mathbf{n}} \bigr\rangle - \bigl\langle \mathbf{p} \circ\mathbf{x},\mathbf{v}^{\mathbf{j}} \bigr\rangle \le a- \bigl\langle \mathbf{p} \circ \mathbf{m},\mathbf{v}^{\mathbf{j}} \bigr\rangle \\ & = \bigl\langle \mathbf{p}\circ \mathbf{M},\mathbf{s}^{\mathbf{k}} \bigr\rangle +\theta p_{k+1} +\bigl\langle \mathbf{p} \circ \mathbf{m}, \mathbf{v}^{\mathbf{k}+\mathbf{1}} \bigr\rangle - \bigl\langle \mathbf{p} \circ \mathbf{m}, \mathbf{v}^{\mathbf{j}} \bigr\rangle \\ & = \bigl\langle \mathbf{p} \circ \mathbf{M},\mathbf{s}^{\mathbf{k}} \bigr\rangle +\theta p_{k+1} + \bigl\langle \mathbf{p} \circ \mathbf{m},\mathbf{s}^{\mathbf{j}}- \mathbf{s}^{\mathbf{k}+\mathbf{1}} \bigr\rangle \\ & = \bigl\langle \mathbf{p} \circ \mathbf{x}^{\mathbf{\ast p}}(S_{a}), \mathbf{s}^{\mathbf{j}} \bigr\rangle , \end{aligned}$$

and the result follows. □

From this general result, the maximal element of particular subsets of \(S_{a}\) can be deduced.

Corollary 4

Let \(0\leq m< M\) and \(m\leq\frac{a}{\sum_{i=1}^{n}p_{i}}\leq M\). Given the set

$$ S_{a}^{1}=\Sigma_{a}\cap \bigl\{ \mathbf{x}\in \mathbb{R} ^{n}:M \geq x_{1}\geq x_{2}\geq\cdots\geq x_{n}\geq m \bigr\} $$

we have

$$ \mathbf{x}^{\mathbf{\ast p }}\bigl(S_{a}^{1}\bigr)= M \mathbf{s}^{\mathbf{k}}+\theta\mathbf{e}^{\mathbf{k} +\mathbf{1}}+m\mathbf{v}^{\mathbf{k}+\mathbf{1}}, $$

where k is the first integer such that

$$M \sum_{i=1}^{k}p_{i} + m \sum _{i=k+1}^{n} p_{i} \le a < M \sum _{i=1}^{k+1} p_{i} + m \sum _{i=k+2}^{n} p_{i} $$

and \(\theta=\frac{a-M\sum_{i=1}^{k}p_{i} -m \sum_{i=k+2}^{n} p_{i} }{ p_{k+1}} \).

Remark 5

  1. (1)

    When \(\mathbf{p}=\mathbf{s}^{\mathbf{n}}\) we get the maximal element given in [24] (see also Corollary 6 in [25]).

  2. (2)

    The minimal element of the set \(S_{a}^{1}\) is again \(\mathbf{x}_{\mathbf{\ast p} } ( \Sigma_{a}^{1} )= [(\frac{a}{\sum_{i=1}^{n} p_{i}} )^{n}]\).

4 Effective resistance in general electric networks

Let \(G=(V,E)\) denote a simple connected network with n vertices and m edges. To each edge \((i,j) \in E\) we associate the resistance \(r_{ij}\) and the effective resistance \(R_{ij}\), which can be computed using Ohm’s law.

If we deal with electric network with \(r_{ij}=1\) the following relations are well known:

  1. (1)

    \(\sum_{(i,j) \in E} R_{ij} = n-1\) (Foster’s first formula);

  2. (2)

    \(\frac{2}{n} \le R_{ij} \le1\).

The inequality on the left hand side of (2) follows taking \(d_{i}=d_{j}=n-1\) in the general bound proved in [26]

$$ R_{ij} \ge\frac{d_{i}+d_{i}-2}{d_{i}d_{j}-1}, $$
(8)

where \((i,j) \in E\) and \(d_{i}\) denotes the degree of vertex i. The inequality on the right hand side follows noting that the effective resistance \(R_{ij}\) between two adjacent vertices i and j is equal to one if there is only one path connecting them, otherwise it is strictly less than one.

For a general electric network, assuming \(k \le r_{ij} \le K\), the previous relations generalize as follows:

(1′):

\(\sum_{(i,j) \in E} \frac{R_{ij}}{r_{ij}} = n-1\) (generalized Foster’s first formula);

(2′):

\(\frac{2k}{n} \le R_{ij}\le K\).

Relation (2′) can be obtained via electric arguments as we will show below. Indeed, we can prove a more general result that extends the lower bound (8).

Proposition 6

If \((i,j)\in E\) then

$$ R_{ij}\ge\frac{k(d_{i}+d_{j}-2)}{d_{i}d_{j}-1}. $$
(9)

Proof

The monotonicity principle states that if the resistance of an individual resistor anywhere in the graph is increased (decreased) then the effective resistance between any two vertices in the graph can only increase (decrease) (see Doyle and Snell [19], p.67). Thus \(R_{ij}\) is greater than or equal to the effective resistance between i and j when the resistance of all the edges is reduced to k, and so we may assume that \(r_{st}=k\) for all \((s,t)\in E\).

Let us consider \((i,j)\in E\). If either \(d_{i}=1\) or \(d_{j}=1\) then \(R_{ij}=r_{ij} = k\) and (9) holds. So we take \(d_{i}\ge2\) and \(d_{j} \ge2\). Consider now all the endpoints of all the other \(d_{i}-1\) edges stemming out of i and all the \(d_{j}-1\) edges stemming out of j. Short all these. Then we get two edges in parallel between i and j: one with resistance k and the other with resistance \(\frac{k}{d_{i}-1} + \frac{k}{d_{j}-1}\). Solving this into a single resistor finishes the proof. □

Corollary 7

If \(d_{i}\le d\) for all \(i\in V\) then

$$ R_{ij}\ge\frac{2k}{d+1} $$
(10)

for all \((i,j)\in E\).

Proof

By differentiating the functions \(F(x)=\frac{k(x+d_{j}-2)}{xd_{j}-1}\) and \(G(x)=\frac{k(d+x-2)}{dx-1}\), they are easily seen to be decreasing and thus

$$R_{ij}\ge F(d_{i})\ge F(d)=G(d_{j})\ge G(d)= \frac{2k}{d+1}. $$

 □

Note that the bound (10) holds in particular if the graph is d-regular. Finally, since \(d_{i}\le n-1\) for all \(i\in V\), it follows that

$$R_{ij}\ge\frac{2k}{n}, \quad\mbox{for all } (i,j)\in E. $$

5 Bounds for the global cyclicity index

In [10], by means of the concept of effective resistances, the global cyclicity index has been proposed:

$$ C(G)= \sum_{(i,j) \in E} \frac{1}{R_{ij}} - m. $$
(11)

Yang in [18] continued the study of this new cyclicity measure for connected graphs. Following Bianchi et al. [16, 25] and computing the extremal values of the Schur-convex function \(f(R_{ij})=\sum_{(i,j)\in E}\frac{1}{R_{ij}}\) on the set \(S= \{ R_{ij}\in \mathbb{R}^{m}:\sum_{(i,j)\in E}R_{ij}=n-1,\frac {2}{n}\leq R_{ij}\leq1 \} \), he obtained the following bounds for \(C(G)\):

$$ \frac{m(m-n+1)}{n-1} \le C(G) \le\frac{n(m-n+1)}{2}, $$
(12)

where \((m-n+1)\) is the well-known cyclomatic number of a graph (see Theorems 3.13, 3.15 and Corollary 3.14 in [18]).

The aim of this section is to extend bounds (12) to the case of general networks where a resistance \(r_{ij}\), \(k \le r_{ij}\le K\), is associated to any edge. We show next how the weighted majorization technique proposed in Section 2 can be a fruitful tool to bound the weighted global cyclicity index, throughout the p-Schur-convex functions.

First of all, let us define the weighted global cyclicity index as a natural extension of the global cyclicity index (11) which can be recovered when \(r_{ij}=1\) for all \((i,j) \in E\):

$$CW(G)= \sum_{(i,j) \in E} \biggl( \frac{1}{R_{ij}} - \frac{1}{r_{ij}} \biggr). $$

If we define the variables \(x_{ij}=\frac{R_{ij}}{\sqrt{r_{ij}}}\) and the weights \(p_{ij}= \frac{1}{\sqrt{r_{ij}}}\), the weighted global cyclicity index can be written as a function of \(x_{ij}\) and \(p_{ij}\) as follows:

$$CW(G)= f(x_{ij},p_{ij}) = \sum_{(i,j) \in E} \biggl( \frac{p_{ij}}{ x_{ij}} - p_{ij}^{2} \biggr). $$

The choice of the variables and of the weights ensures that the function f is p-Schur-convex. Indeed, applying Theorem 2 we get

$$(x_{ij}-x_{i'j'}) \biggl(\frac{1}{p_{ij}} \frac{\partial f}{\partial x_{ij}} - \frac{1}{p_{i'j'}} \frac{\partial f}{\partial x_{i'j'}} \biggr) = \frac{(x_{ij}-x_{i'j'})^{2} (x_{ij}+x_{i'j'})}{x_{ij}^{2} x_{i'j'}^{2}}\ge0 $$

for all \((i,j), (i',j') \in E\).

Remark 8

Note that other possible choices of the variables and of the weights are not fruitful:

  1. (1)

    if we use as variables \(x_{ij}=R_{ij}\) and as weights \(p_{ij}= \frac{1}{r_{ij}}\) the function \(CW(G)\) is not p-Schur-convex;

  2. (2)

    if we use as variables \(x_{ij}=\frac{R_{ij}}{r_{ij}}\) and as weights \(p_{ij}=1\) the function \(CW(G)\) is not Schur-convex.

We can now state our main result.

Theorem 9

Let \(G=(V,E)\) a connected network with n vertices and m edges. Let \(r_{ij}\), \(k \le r_{ij} \le K\), be the resistances associated to any edge \((i,j) \in E\) and let

$$C=\sum_{(i,j) \in E} \frac{1}{r_{ij}},\qquad C'= \sum_{(i,j) \in E} \frac{1}{\sqrt{r_{ij}}},\qquad C'' = \max \biggl\{ \frac{nK}{2k}, \frac{\sqrt{k}}{\sqrt{K}} + \frac{n \sqrt{K}}{2k\sqrt{k}} - \frac{1}{K} \biggr\} . $$

Then

$$ \frac{(C')^{2}}{n-1} - C \le CW(G) \le C'' + \biggl( \frac{n \sqrt{K}}{ 2k} + \frac{\sqrt{k}}{K} \biggr) C' - \frac{n}{2k} - \frac{n^{2}-n}{2 \sqrt{k} \sqrt{K}} - C. $$
(13)

Proof

Let \(e_{1}, e_{2}, \ldots,e_{m}\) be the edges of G. For simplicity denote the resistances and the effective resistances between the end vertices of the edge \(e_{i}\), as \(r_{i}\), and \(R_{i}\), respectively and let \(p_{i}= \frac{1}{\sqrt{r_{i}}} \). Moreover, let us assume, without loss of generality, that the variables \(x_{i}= \frac{R_{i}}{\sqrt{r_{i}}}\) are arranged in nonincreasing order: \(x_{1} \ge x_{2} \ge\cdots\ge x_{m}\).

Recalling that by Foster’s first formula

$$\sum_{ e_{i} \in E} p_{i} \cdot x_{i} =(n-1), $$

and that

$$\frac{2k}{n \sqrt{K}} \le x_{i} \le\frac{K}{\sqrt{k}}, \quad\mbox{for all } 1 \le i \le m, $$

let us now consider the set

$$S= \Biggl\{ \mathbf{x} \in\mathbb{R}^{m}: \sum _{i=1}^{m} x_{i} p_{i} = (n-1), \frac{K}{\sqrt{k}} \ge x_{1} \ge x_{2} \ge\cdots\ge x_{m} \ge\frac{2k}{n \sqrt{K}} \Biggr\} . $$

The function \(CW(G)=f(x_{i},p_{i})\) is p-Schur-convex and thus its lower and upper bounds on S are attained at the minimum and maximum element of S with respect to the p-majorization order, respectively.

From Remark 5 we know that the minimal element of S is \(\mathbf{x}_{\mathbf{\ast p}}(S)= [(\frac{n-1}{\sum_{i=1}^{m} p_{i}} )]^{m}\). Thus the lower bound is

$$f(\mathbf{x}_{\mathbf{\ast p}}, \mathbf{p})= \sum_{i=1}^{m} p_{i} \cdot \frac {\sum_{i=1}^{m} p_{i}}{n-1} - C = \frac{(C')^{2}}{n-1} -C. $$

The maximal element \(\mathbf{x}^{\mathbf{\ast p}}\) of the set S can be computed with Corollary 4, yielding

$$\mathbf{x}^{\mathbf{\ast p}} = \biggl[\underbrace{\frac{K}{\sqrt{k}}, \ldots, \frac{K}{\sqrt{k}}}_{l\mbox{-}\mathrm{times}}, \theta, \underbrace{\frac{2k}{n \sqrt{K}}, \ldots,\frac{2k}{n \sqrt{K}} }_{(m-l-1)\mbox{-}\mathrm{times}} \biggr], $$

where l is the first integer such that

$$ \frac{K}{\sqrt{k}} \sum_{i=1}^{l} p_{i} + \frac{2k}{n \sqrt{K}} \sum_{i=l+1}^{m} p_{i} \le(n-1) < \frac{K}{\sqrt{k}} \sum_{i=1}^{l+1} p_{i} + \frac{2k}{n \sqrt{K}} \sum_{i=l+2}^{m} p_{i} $$
(14)

and \(\theta= p_{l+1} \cdot (n-1 -\frac{K}{\sqrt{k}} \sum_{i=1}^{l} p_{i} - \frac{2k}{n \sqrt{K}} \sum_{i=l+2}^{m} p_{i} )\). Let \(D=\sum_{i=1}^{l} p_{i} \) and

$$H=\frac{n-1- \frac{2k}{n \sqrt{K}} C'}{\frac{K}{\sqrt{k}} - \frac {2k}{n \sqrt{K}}}. $$

From (14) easy computations show that

$$0 \le(H-D) < p_{l+1}. $$

Moreover,

$$f\bigl(\mathbf{x}^{\mathbf{\ast p}},\mathbf{p}\bigr)= \biggl( \frac{n \sqrt{K}}{{2k}} - \frac{\sqrt{k}}{K} \biggr) (H-D) + \frac{1}{ ( \frac{K}{\sqrt {k}} - \frac{{2k}}{n \sqrt{K}} )(H-D) + \frac{2k}{n \sqrt{K}} \cdot p_{l+1}} + T, $$

where

$$T= \biggl( \frac{n \sqrt{K}}{2k}+ \frac{\sqrt{k}}{K} \biggr) C' - \frac{n \sqrt{K}}{2k} \cdot p_{l+1} - \frac{n^{2}-n}{2 \sqrt{k} \sqrt {K}} -C. $$

Let \(y=H-D\) and consider the function

$$h(y)= \biggl( \frac{n \sqrt{K}}{{2k}} - \frac{\sqrt{k}}{K} \biggr) y + \frac{1}{ ( \frac{K}{\sqrt{k}} - \frac{{2k}}{n \sqrt{K}} )y + \frac{2k}{n \sqrt{K}} \cdot p_{l+1}} + T. $$

The first derivative is

$$h^{\prime}(y)= - \frac{\frac{K}{\sqrt{k}} - \frac{{2k}}{n \sqrt {K}}}{ [ ( \frac{K}{\sqrt{k}} - \frac{{2k}}{n \sqrt{K}} )y + \frac{2k}{n \sqrt{K}} \cdot p_{l+1} ]^{2}} + \frac{n \sqrt{K}}{{2k}} - \frac{\sqrt{k}}{K} $$

and the only nonnegative stationary point is

$$\widehat{y} = \frac{ \sqrt{ \frac{2 \sqrt{kK}}{n} } - \frac{2k}{n \sqrt{K}} \cdot p_{l+1}}{\frac{K}{\sqrt{k}} - \frac{{2k}}{n \sqrt{K}}}. $$

Assuming, without loss of generality that \(k \le1 \le K\), we can also be assured that \(\widehat{y} < p_{l+1}\). The stationary point \(\widehat {y}\) turns out to be a minimum. Thus the maximum value of the function h is attained at the extremum of the interval \([0, p_{l+1}]\). We have

$$\begin{aligned}& h(0)= \frac{1}{\frac{2k}{n \sqrt{K}} \cdot p_{l+1}} +T,\\& h ( p_{l+1} )= \frac{1}{\frac{K}{\sqrt{k}} \cdot p_{l+1} } + \biggl(\frac{n \sqrt{K}}{2k} - \frac{\sqrt{k}}{K} \biggr) \cdot p_{l+1} + T. \end{aligned}$$

We can get rid of \(p_{l+1}\) by using the bounds on the resistances. We obtain

$$\begin{aligned}& h(0) \le\frac{nK}{2k} + T,\\& h ( p_{l+1} ) \le\frac{\sqrt{k}}{\sqrt{K}} + \frac{n \sqrt{K}}{2k\sqrt{k}} - \frac{1}{K} + T. \end{aligned}$$

The assertion easily follows from the bound

$$T \le \biggl( \frac{n \sqrt{K}}{2k} + \frac{\sqrt{k}}{K} \biggr) C' - \frac{n}{2k} - \frac{n^{2}-n}{2 \sqrt{k} \sqrt{K}} - C. $$

 □

Noting that \(\frac{m}{\sqrt{K}} \le C' \le\frac{m}{\sqrt{k}} \) and \(\frac{m}{K} \le C \le\frac{m}{k} \), we get the following corollary.

Corollary 10

Let \(G=(V,E)\) a connected network with n vertices and m edges. Let \(r_{ij}\), \(k \le r_{ij} \le K\), be the resistances associated to any edge. Then

$$ \frac{m^{2}}{K(n-1)} - \frac{m}{k} \le CW(G) \le C'' + \frac{nm\sqrt {K}}{2k\sqrt{k}} - \frac{n}{2k} - \frac{n^{2}-n}{2 \sqrt{k} \sqrt{K}}, $$
(15)

where \(C'' = \max \{\frac{nK}{2k}, \frac{\sqrt{k}}{\sqrt{K}} + \frac{n \sqrt{K}}{2k\sqrt{k}} - \frac{1}{K} \}\).

If in inequality (15) we set \(k=K=1\), that is, \(r_{ij}= 1\) for all \((i,j) \in E\), we get

$$\frac{m(m-n+1)}{n-1} \le CW(G) \le\frac{n(m-n+1)}{2} $$

i.e. the bounds provided by Yang in [18], Theorem 3.13 and Corollary 3.14 for the global cyclicity index.

6 Summary and conclusion

In this article we defined the new weighted global cyclicity index that applies to graphs whose edges are endowed with arbitrary resistances and generalizes the global cyclicity index, introduced by Klein and Ivanciuc, which applies only to graphs whose edges are endowed with unit resistances. Through the use of p-majorization we provided upper and lower bounds for the new index that coincide with those given by Yang in the particular case of unit resistances. The maximal results obtained through p-majorization are of interest in themselves and may be applicable in other contexts.