1 Introduction

In the analysis of the vulnerability of networks to disruption, three quantities (there may be others) came to mind, i.e., (1) the number of elements that are not functioning; (2) the number of remaining connected subnetworks and (3) the size of a largest remaining group within which mutual communication can still occur. Based on these quantities, many graph parameters, such as connectivity, toughness [5], scattering number [14], integrity [1], tenacity [6], rupture degree [15] and edge-analogues of some of them, have been proposed for measuring the vulnerability of networks.

Throughout the paper, we use Bondy and Murty [3] for terminology and notation not defined here. For a graph G, by \(\omega (G)\) we denote the number of components of G, and \(\tau (G)\) the order of a largest component of G. We shall use \(\lfloor x\rfloor \) for the largest integer not larger than x and \(\lceil x\rceil \) the smallest integer not smaller than x.

The connectivity is a parameter defined based on Quantity (1). The connectivity of a noncomplete graph G is defined by

$$ \kappa (G)=\min \left\{ |X|:X\subset V(G), \omega (G-X)>1\right\} , $$

and that of the complete graph \(K_n\) is defined as \(n-1\).

Both toughness and scattering number take into account Quantities (1) and (2). The toughness and scattering number of a noncomplete connected graph G are defined by

$$t(G)=\min \left\{ \frac{|X|}{\omega (G-X)}:X\subset V(G), \omega (G-X)>1\right\} $$

and

$$s(G)=\max \{\omega (G-X)-|X|:X\subset V(G),\omega (G-X)>1\}, $$

respectively.

The integrity is defined based on Quantities (1) and (3). The integrity of a graph G is defined by

$$I(G)=\min \{|X|+\tau (G-X):X\subset V(G)\}. $$

Both the tenacity and rupture degree take into account all the three quantities. The tenacity and rupture degree of a noncomplete connected graph G are defined by

$$T(G)=\min\left \{{\frac{|X|+\tau (G-X)}{\omega (G-X)}:X\subset V(G),\omega (G-X)>1}\right\} $$

and

$$r(G)=\max \{\omega (G-X)-|X|-\tau (G-X): X\subset V(G), \omega (G-X)>1\}, $$

respectively.

From the above definitions, we can see that the connectivity of a graph reflects the difficulty in breaking down a network into several pieces. This invariant is often too weak, since it does not take into account what remains after the corresponding graph is disconnected. Unlike the connectivity, each of the other vulnerability measures, i.e., toughness, scattering number, integrity, tenacity and rupture degree, reflects not only the difficulty in breaking down the network but also the damage that has been caused. Further, we can easily see that the tenacity and rupture degree are the two most advanced ones among these parameters when measuring the stability of networks.

When designing stable networks, it is often required to know the structure of networks attaining the maximum and minimum values of given stability parameters with prescribed number of communications stations and links. This problem was first studied by the well-known graph theorist Harary [13]. Harary stated that among all the graphs with n vertices and m edges, the maximum connectivity is \(0\) when \(m<n-1\) and \(\lfloor \frac{2m}{n}\rfloor \) when \(m \geqslant n-1\). For two integers n and m with \(n \leqslant m \leqslant {n\atopwithdelims ()2}\), Harary constructed graphs with n vertices, m edges and connectivity \(\lfloor \frac{2m}{n}\rfloor \), which are now widely known as the Harary graphs. Harary [13] also considered the minimum connectivity of graphs with a given number of vertices and edges. He showed that among all the graphs with n vertices and m edges, the minimum connectivity is \(0\) or \(m-{n-1\atopwithdelims ()2}\), whichever is larger. This lower bound on the connectivity can be achieved by any graph consisting of a complete subgraph \(K_{n-1}\), together with exactly one additional vertex that is adjacent to any \(m-{n-1\atopwithdelims ()2}\) vertices of \(K_{n-1}\).

As to connectivity, it is natural to ask what are the extreme values for each of these new vulnerability parameters of a graph with a given number of vertices and edges. We list the results on the extreme values of these vulnerability parameters of graphs in Table 1.

Table 1 Achievements of the study for extreme values of vulnerability parameters

In this paper, we consider the problem of determining the extreme tenacity of a graph with a given number of vertices and edges. We give a complete solution to the problem for the minimum case in Sect. 2. The problem for the maximum case is much more complicated. In Sect. 3, we give a partial solution to this problem by determining the maximum tenacity of trees with given number of vertices and show the corresponding extremal graphs. We conclude the paper with a discussion of a related problem on the edge-vulnerability parameters of graphs in the final section.

2 Minimum Tenacity of Graphs

Theorem 2.1

Let n and m be two positive integers with \(n-1 \leqslant m \leqslant {n\atopwithdelims ()2}-1.\)  Then among all the connected graphs with n vertices and m edges, the minimum tenacity is \(\frac{k+1}{n-k}\), where \({k \atopwithdelims ()2}+(n-k)(k-1)< m \leqslant {k \atopwithdelims ()2}+(n-k)k\).

Proof

Suppose that G is a connected graph with n vertices and m edges such that its tenacity is minimum. Let \(X^*\) be a vertex cut of G with

$$T(G)=\frac{|X^*|+\tau (G-X^*)}{\omega (G-X^*)}. $$

We assume that \(X^*\) is chosen such that \(|X^*|\) is as large as possible. Denote the components of \(G-X^*\) with at least two vertices by \(G_1,G_2,\cdots ,G_p\) and the components with only one vertices by \(w_1,w_2,\cdots ,w_q\).

Suppose \(p \geqslant 2\). Choose a vertex \(u_{i}\) in \(G_{i}\) such that \(u_i\) is adjacent to at least one vertex of \(X^*\) for each \(i\) with \(1 \leqslant i \leqslant p\). Replace each edge set \(\{u_iv: u_iv\in E(G_i),v\in V(G_i)\}\) by a new edge set \(\{u_pv: u_iv\in E(G_i),v\in V(G_i)\}\) for every \(i\) with \(1 \leqslant i \leqslant p-1\). Denote the resulting graph by \(G'\). Then \(G'\) is also a connected graph with n vertices and m edges, and \(X^{\prime }=X^{*}\cup \{u_{p}\}\) is a vertex cut of \(G^{\prime }\). The components of \(G^{\prime }-X^{\prime }\) are consisted of the components of \(G_1-u_1,G_2-u_2,\cdots ,G_p-u_p\) together with \(w_1,w_2,\cdots ,w_q\) and \(u_1,u_2,\cdots ,u_{p-1}.\) Thus

$$\omega (G^{\prime }-X^{\prime }) \geqslant \omega (G-X^{*})+(p-1) \geqslant \omega (G-X^{*})+1 $$

and

$$\tau (G^{\prime }-X^{\prime }) \leqslant \tau (G-X^{*})-1. $$

This implies that

$$\begin{aligned}T(G^{\prime }) &\leqslant \frac{|X^{\prime }|+\tau (G^{\prime }-X^{\prime })}{\omega (G^{\prime }-X^{\prime })}\\& \leqslant \frac{|X^{*}|+1+\tau (G-X^{*})-1}{\omega (G-X^{*})+1}\\ &< \frac{|X^{*}|+\tau (G-X^{*})}{\omega (G-X^{*})}\\ &=T(G),\end{aligned} $$

a contradiction.

Suppose now \(p=1\). We distinguish two cases.

Case 1 \(V(G_{1})\) is a clique.

Let \(u_1\) be a vertex in \(G_1\). Set \(X^{**}=X^{*}\cup (V(G_{1})\setminus \{u_{1}\})\). Clearly we have

$$\tau (G-X^{**})=1 \text{ and } \omega (G-X^{**})=\omega (G-X^{*}). $$

Then \(X^{**}\) is a vertex cut of G with

$$|X^{**}|=|X^{*}|+\tau (G-X^{*})-1 $$

and

$$\frac{|X^{**}|+\tau (G-X^{**})}{\omega (G-X^{**})} =\frac{|X^{*}|+\tau (G-X^{*})}{\omega (G-X^{*})}=T(G), $$

contradicting the choice of \(X^{*}\).

Case 2 \(V(G_{1})\) is not a clique.

In this case, let \(X_1\) be a vertex cut of \(G_{1}\). Set \(X^{**}=X^{*}\cup X_{1}\). Then \(X^{**}\) is a vertex cut of G with

$$|X^{**}|=|X^{*}|+|X_{1}|, \; \tau (G-X^{**}) \leqslant \tau (G-X^{*})-|X_{1}|-1, $$

and

$$\omega (G-X^{**}) \geqslant \omega (G-X^{*})+1. $$

This implies that

$$\begin{aligned} \frac{|X^{**}|+\tau (G-X^{**})}{\omega (G-X^{**})}& \leqslant \frac{|X^{*}|+|X_{1}|+\tau (G-X^{*})-|X_{1}|-1}{\omega (G-X^{*})+1}\\&< \frac{|X^{*}|+\tau (G-X^{*})}{\omega (G-X^{*})}\\ &=T(G), \end{aligned}$$

contradicting the definition of the tenacity of G.

From the above discussion, we have \(p=0,\) i.e., \(\tau (G-X^*)=1.\)

Now let \(|X^*|=x.\) Then

$$T(G)=\frac{|X^{*}|+\tau (G-X^{*})}{\omega (G-X^{*})}=\frac{x+1}{n-x}. $$

We claim that \(x \geqslant k.\) Otherwise,

$$\begin{aligned} m&=|E(G)| \leqslant {x\atopwithdelims ()2}+(n-x)x\\&=-\frac{1}{2}\Bigl [x-\Bigl (n-\frac{1}{2}\Bigr )\Bigr ]^2+\frac{1}{2}\Bigl (n-\frac{1}{2}\Bigr )^2\\& \leqslant -\frac{1}{2}\Bigl [k-1-\Bigl (n-\frac{1}{2}\Bigr )\Bigr ]^2+\frac{1}{2}\Bigl (n-\frac{1}{2}\Bigr )^2\\&={k-1\atopwithdelims ()2}+(n-k+1)(k-1)\\&={k\atopwithdelims ()2}+(n-k)(k-1), \end{aligned}$$

a contradiction.

Therefore, we have

$$T(G)=\frac{x+1}{n-x} \geqslant \frac{k+1}{n-k}. $$

On the other hand, since \({k \atopwithdelims ()2}+(n-k)(k-1)< m \leqslant {k \atopwithdelims ()2}+(n-k)k,\) it is easy to construct a connected graph with n vertices and m edges such that its tenacity is

$$\frac{k+1}{n-k}, $$

which completes the proof of the theorem. \(\square \)

From the proof of Theorem 2.1, we deduce the following result:

Corollary 2.2

Let n and m be two positive integers with \(n-1 \leqslant m \leqslant {n\atopwithdelims ()2}-1,\) and G be a connected graph with n vertices and m edges such that its tenacity is minimum. Then G is such a graph that it contains an empty subgraph with order \(n-k,\) where \({k \atopwithdelims ()2}+(n-k)(k-1)< m \leqslant {k \atopwithdelims ()2}+(n-k)k.\)

3 Maximum Tenacity of Graphs

In this section we consider the maximum tenacity of connected graphs with given number of vertices and edges. It turns out that this problem is much more complicated than that of the minimum case. Here we give the results for the problem involving trees.

In the following by an odd (or even) path we mean a path with an odd (or even) number of vertices. We first list some lemmas.

Lemma 3.1

(Cozzen et al. [6]) Let G be a noncomplete connected graph and H be a connected spanning subgraph of G. Then \(T(H) \leqslant T(G).\)

Lemma 3.2

Let G be a connected graph. If there exists a vertex cut \(X_0\) of G such that \(G-X_0\) is a forest and \(\omega (G-X_0) \geqslant |X_0|+2\) (resp. \(\omega (G-X_0) \geqslant |X_0|+3)\) , then \(T(G) \leqslant 1\) (resp. \(T(G)< 1).\)

Proof

If the maximum degree of \(G-X_0\) is at most 1, then let \(X^*=X_0.\) Otherwise, choose a vertex \(v_1\in V(G-X_0)\) with \(d_{G-X_0}(v_1) \geqslant 2\) and set \(X_1=X_0\cup \{v_1\}.\) Then we have \(\omega (G-X_1) \geqslant |X_1|+2.\) Repeating this process, we can finally obtain a vertex cut \(X_k\) of G with \(\omega (G-X_k) \geqslant |X_k|+2\) and the maximum degree of \(G-X_k\) is at most 1. Choose \(X_k\) as \(X^*.\) Then we have

$$\frac{|X^*|+\tau (G-X^*)}{\omega (G-X^*)} \leqslant \frac{\omega (G-X^*)-2+2}{\omega (G-X^*)}=1, $$

which implies that \(T(G) \leqslant 1\) by the definition of tenacity. The other assertion can be proved similarly. \(\square \)

Lemma 3.3

(Choudum and Priya [4]) The tenacity of the path \(P_n\) is

$$T(P_n)=\left\{ \begin{array}{ll} 1, &if \,\,n \,\,is\,\, odd; \\ \frac{n+2}{n}, & if\,\, n\,\, is\,\, even. \end{array} \right. $$

Theorem 3.4

Among all the trees on n vertices, let G have the maximum tenacity. Then

  1. (i)

    G is a path when n is even;

  2. (ii)

    the maximum degree of G is at most 3 and it contains no nonadjacent vertices of degree 3 when n is odd.

Proof

(i) Suppose that G has the maximum tenacity among all trees on n vertices and contains a vertex of degree at least 3, say \(v_0.\) Let \(X_0=\{v_0\}.\) Then \(X_0\) is a vertex cut of G such that \(G-X_0\) is a forest and \(\omega (G-X_0) \geqslant |X_0|+2.\) It follows from Lemmas 3.2 and 3.3 that \(T(G) \leqslant 1<T(P_n),\) a contradiction. This implies that \(\Delta (G) \leqslant 2\) and G is a path.

(ii) Suppose that G has n (is odd) vertices and contains a vertex of degree at least 4, say \(v_0\); or two nonadjacent vertices of degree 3, say \(u_0\) and \(v_0.\) Let \(X_0=\{v_0\}\) or \(X_0=\{u_0,v_0\}\). Then \(X_0\) is a vertex cut such that \(G-X_0\) is a forest and \(\omega (G-X_0) \geqslant |X_0|+3\). It follows from Lemma 3.2 that \(T(G)<1\).

Now let G be a tree on n (is odd) vertices with maximum degree 3 and contains no nonadjacent vertices of degree 3. Note that since G has no nonadjacent vertices of degree 3, G contains at most two vertices of degree 3. We will show that \(T(G)=1\).

Case 1 The maximum degree of G is at most 2.

Then G is a path, and it follows from Lemma 3.3 that \(T(G)=1\).

Case 2 G has only one vertex of degree 3.

Let \(u\) be the vertex of degree 3 and \(X\) be an arbitrary vertex cut of G. If \(u\notin X\), or \(u\in X\) and \(X\) contains two adjacent vertices of \(G-u\) or a leaf of \(G-u\), then we have \(\omega (G-X) \leqslant |X|+1\), and therefore,

$$\frac{|X|+\tau (G-X)}{\omega (G-X)} \geqslant \frac{|X|+\tau (G-X)}{|X|+1} \geqslant 1. $$

If \(u\in X\) and \(X\) contains neither adjacent vertices nor leaves of \(G-u\), then we can see that \(\omega (G-X)=|X|+2\) and at least one of the three components of \(G-u\) is an even path (because G has n vertices and n is odd), say \(P_{\rm e}.\) It is not difficult to see that

$$\tau (G-X) \geqslant \tau (P_{\rm e}-X\cap V(P_{\rm e})) \geqslant 2. $$

Therefore,

$$\frac{|X|+\tau (G-X)}{\omega (G-X)} \geqslant \frac{\omega (G-X)-2+\tau (P_{\rm e}-X\cap V(P_{\rm e}))}{\omega (G-X)} \geqslant 1. $$

On the other hand, since G is a bipartite graph, the bipartition of \(V(G)\) can be denoted by \([X,Y]\), where \(u\in X.\) Let

$$X^*=\{v\in X:d(v) \geqslant 2\}. $$

Note that all those vertices in \(X^*-{u}\) have degree 2 in G. It follows that \(\tau (G-X^*) \leqslant 2\) and \(\omega (G-X^*)=|X^*|+2\). Thus

$$\frac{|X^*|+\tau (G-X^*)}{\omega (G-X^*)} \leqslant \frac{|X^*|+2}{|X^*|+2}=1. $$

From the above discussion and the definition of tenacity we can see that \(T(G)=1\).

Case 3 G has exactly two adjacent vertices of degree 3.

Let \(u\) and \(v\) be the two adjacent vertices of degree 3 and \(X\) be an arbitrary vertex cut of G. First assume \(|X\cap \{u,v\}| \leqslant 1\), say \(u\in X\). Note that all the three components of \(G-u\) are paths. By using the same method in Case 2, it can be proved that

$$\frac{|X|+\tau (G-X)}{\omega (G-X)} \geqslant 1. $$

So now we assume that \(|X\cap \{u,v\}|=2\). If \(X\) contains adjacent vertices of \(G-\{u,v\}\) or a leaf of \(G-\{u,v\}\), then \(\omega (G-X) \leqslant |X|+1\), and therefore,

$$\frac{|X|+\tau (G-X)}{\omega (G-X)} \geqslant \frac{|X|+\tau (G-X)}{|X|+1} \geqslant 1. $$

Otherwise, we have \(\omega (G-X)=|X|+2\). Moreover, at least one of the three components of \(G-u\) is an even path, say \(P_{\rm e}\). If \(v\not \in V(P_{\rm e})\), \(P_{\rm e}\) is an even path in \(G-\{u,v\}.\) Let \(P^*_{\rm e}=P_{\rm e}\). If \(v\in V(P_{\rm e})\), then the two components of \(P_{\rm e}-v\) have an odd number of vertices. One of them must be an even path, which is also an even path in \(G-\{u,v\}\), denote it by \(P^*_{\rm e}\). As above, we have

$$\tau (G-X) \geqslant \tau (P^*_{\rm e}-X\cap V(P^*_{\rm e})) \geqslant 2. $$

Therefore,

$$\frac{|X|+\tau (G-X)}{\omega (G-X)} \geqslant \frac{\omega (G-X)-2+2}{\omega (G-X)}= 1. $$

On the other hand, since G is a bipartite graph, the bipartition of \(V(G)\) can be denoted by \([X,Y]\), where \(u\in X.\) Let

$$X^*=\{v\in X:d(v) \geqslant 2\}. $$

Note that all those vertices in \(X^*-{u}\) have degree 2 in G. It follows that \(\tau (G-X^*) \leqslant 2\) and \(\omega (G-X^*)=|X^*|+2\). Thus

$$\frac{|X^*|+\tau (G-X^*)}{\omega (G-X^*)} \leqslant \frac{|X^*|+2}{|X^*|+2}=1. $$

From the above discussion and the definition of tenacity we can see that \(T(G)=1\).

The proof is complete. \(\square \)

Corollary 3.5

Among all the trees on n vertices, the maximum tenacity is

$$\left\{ \begin{array}{ll} 1, & if \,\, n \,\, is \,\,odd; \\ \frac{n+2}{n}, & if \,\, n \,\, is \,\, even. \end{array} \right. $$

4 Extreme Values of Edge Vulnerability Parameters

As we noted in Sect. 1, besides the vertex vulnerability parameters, the edge-analogues of some of them have also been proposed, e.g., edge-toughness [12] for toughness, edge-integrity [1] for integrity, edge-tenacity [18] for tenacity. As for the vertex vulnerability parameters, it would be an interesting problem to determine the extreme values of the edge vulnerability parameters of graphs with a given number of vertices and edges.