Two spectral extremal results for graphs with given order and rank
Abstract
The spectral radius and rank of a graph are defined to be the spectral radius and rank of its adjacency matrix, respectively. It is an important problem in spectral extremal graph theory to determine the extremal graph that has the maximum or minimum spectral radius over certain families of graphs. Monsalve and Rada [Extremal spectral radius of graphs with rank 4, Linear Algebra Appl. 609 (2021) 1–11] obtained the extremal graphs with maximum and minimum spectral radii among all graphs with order and rank . In this paper, we first determine the extremal graph which attains the maximum spectral radius among all graphs with any given order and rank , and further determine the extremal graph which attains the minimum spectral radius among all graphs with order and rank .
Keywords: Rank of graphs; Extremal graphs; Maximum spectral radius; Minimum spectral radius
1 Introduction
Graphs considered in the paper are all simple, connected and undirected. Let be a graph. For , the degree is the cardinality of the neighborhood (or for short) of in . Let be the adjacency matrix of . The characteristic polynomial of a graph is the determinantal expansion of , denoted by . According to the famous Perron-Frobenius theorem, the largest eigenvalue of is exactly the spectral radius of and there is a unique positive unit eigenvector corresponding to , called the principal eigenvector of .
Let be a graph with vertex set and be a vector of positive integers. Denote by , the graph obtained from by replacing each vertex with an independent set with vertices and joining each vertex in with each vertex in if and only if . The resulting graph is said to be obtained from by multiplication of vertices by Chang, Huang and Yeh in [1]. Further, let be a graph of order , we define to be the set of all graphs with . Moreover, for a given set of graphs , we denote the set by .
Let be a connected graph of order and be its rank. Sciriha [4] proved that if and only if for , where is the complete graph of order . Chang, Huang and Yeh [1, 5] characterized the set of all connected graphs with rank 4 and 5, respectively. They obtained the set of connected graphs of order and rank 5 is
where the graphs are shown in Figure 1.

For a given class of graphs , there are many results on characterizing the extramal graphs with maximum and minimum spectral radius among . For example, in [6], Stevanović, Gutman and Rehman determined the extremal graphs with the maximum and minimum spectral radii in . Monsalve and Rada [7] obtained the extremal graphs with maximum and minimum spectral radii among all connected graphs of order and rank . In the same article, they conjectured that in , and attain the maximum and minimum spectral radius, respectively, and attains the maximum spectral radius in . Recently, Lou, Zhai [2] and Sun, Das [3] independently proved the above conjectures on the extremal graphs with the maximum spectral radius in and by using different techniques, and they independently constructed a class of graphs disproving the conjecture on the minimum spectral radius in .
The Turán graph is the complete -partite graph on vertices where its part sizes are as equal as possible. In this paper, we first determine the extremal graph that attains the maximum spectral radius with any given order and rank, and obtain:
Theorem 1.1.
is the unique extremal graph that attains the maximum spectral radius among all graphs of order and rank .
However, it seems that it is a difficult task to find the extremal graph that attains the minimum spectral radius with given order and rank. In this paper, we focus on graphs with order and rank , and obtain:
Theorem 1.2.
The extremal graph that attains the minimum spectral radius among all connected graphs of order and rank 5 is:
-
1.
, for ;
-
2.
, for ;
-
3.
, for ;
-
4.
, where or , for .
2 The proof of Theorem 1.1
We will use the following results to prove Theorem 1.1.
Theorem 2.1.
[1] Suppose that and are two graphs. If , then .
Theorem 2.2.
[8] Let be the -partite Turán graph of order n. If is a -free graph of order , then unless .
Proof of Theorem 1.1.
Let be a graph of order and rank . We claim that is a -free graph. Otherwise, since is a subgraph of , selecting the rows and columns corresponding to the vertices in can obtain a nonzero minor of order of , i.e.,
(5) |
Therefore, we have , a contradiction. Since , by Theorem 2.1, we have . By Theorem 2.2, we obtain unless . ∎
3 The proof of Theorem 1.2
In this section, we focus on the extremal graph that has the minimum spectral radius among all connected graphs of order and rank 5. We firstly outline our proof for Theorem 1.2.
Step 1. We first apply a result of Monsalve and Rada in [7] to prove that the extremal graph with minimum spectral radius belongs to , .
Step 2. Then, using the method of comparing characteristic polynomials, we characterize the extremal graph with minimum spectral radius in , and , respectively.
Step 3. Next, for , we compare the spectral radii of these three types of extremal graphs by some well-known results and obtain that the extremal graph of order and rank with minimum spectral radius is for some integer . Further, we determine .
Step 4. Finally, for , we obtain the extremal graphs by calculating directly the spectral radii of the extremal graphs in , and , respectively.
3.1 Step 1
We begin with recalling a well-known result.
Theorem 3.1.
[9] If is a proper subgraph of a connected graph , then .
Theorem 3.2.
[7] Let be a connected graph with vertices and a vector of positive integers. If , then
Theorem 3.3.
[7] Let be a connected graph with vertices and a vector of positive integers. If and , then
By Theorem 3.2, we obtain the following proposition.
Proposition 3.4.
Let be the extremal graph with minimum spectral radius among all connected graphs of order and rank 5. Then .
Proof.
Let and be arbitrary vectors of positive integers with . As a consequence of Theorem 3.2, we have
Thus,
Let , , and , as shown in Figure 2.
Obiviously,
-
1.
is the spanning proper subgraph of ;
-
2.
is the spanning proper subgraph of ;
-
3.
is the spanning proper subgraph of ;
-
4.
is the spanning proper subgraph of .
Hence, .

∎
3.2 Step 2
In this subsection we characterize the extremal graphs with minimum spectral radii in and , respectively. To accomplish this, let’s introduce some classic results in spectral graph theory.
Definition 3.5.
[10] Let be an real matrix whose rows and columns are indexed by . We partition into in order and rewrite according to the partition as follows:
(9) |
where is the block of formed by rows in and the columns in . Let denote the average row sum of . Then the matrix will be called the quotient matrix of the partition of . In particular, when the row sum of each block is constant, the partition is called an equitable partition.
Theorem 3.6.
[10] Let be an irreducible square matrix, be the quotient matrix of an equitable partition of . Then the spectrum of contains the spectrum of and
Theorem 3.7.
[11] Let and be two connected graphs such that for . Then .
Theorem 3.8.
[9] Let be the complete multipartite graph of order . Then
The following Propositions 3.9, 3.10 and 3.11 give the extremal graph which attains the minimum spectral radius in , and , respectively.
Proposition 3.9.
The extremal graph in which attains minimum spectral radius is of the form
where
Proof.
Since and , then by Theorem 3.3 we have
with equality if and only if . It follows that the extremal graph in which attains minimum spectral radius is of the form .
Then can be naturally partitioned into parts:
where . Obviously, this partition of is equitable and the corresponding quotient matrix B is
(15) |
Then the characteristic polynomial of the quotient matrix is:
Since , by Theorem 3.6 we have and .
Note that . Therefore, without loss of generality, we suppose that
Claim 1.
Assume , let then
Since , we have . It is clear that is a proper subgraph of , we obtain , then for .
Thus, by Theorem 3.7, we have which contradicts to the extremality of .
Claim 2.
Now , we claim that . If not, let , then
Since , we have . It can be seen that is a proper subgraph of , we obtain , then for .
Thus, by Theorem 3.7, we have , a contradiction. Therefore .
Next, we assume , let then
Since , we have . It is clear that is a proper subgraph of , by Theorem 3.8, we obtain , then for .
Thus, by Theorem 3.7, we have , which contradicts to the extremality of .
Claim 3.
Now . Otherwise, let then
Since and , then for . By Theorem 3.7, we have which contradicts to the extremality of , thus .
From above three claims, we conclude that the extremal graph with minimum spectral radius in is of the form , where . ∎
Similarly, we characterize the extremal graph with minimum spectral radius in .
Proposition 3.10.
The extremal graph in which attains minimum spectral radius is of the form
where
Proof.
By Theorem 3.3, we have
with equality if and only if . Thus, we may suppose that the extremal graph in which attains minimum spectral radius is of the form .
Similarly, we obtain
(22) |
is the quotient matrix of an equitable partition of . The characteristic polynomial of the quotient matrix is:
Since , by Theorem 3.6 we have and .
Note that . Therefore, without loss of generality, we suppose that
Claim 1.
Assume , let then
Since , we have . It is clear that is a proper subgraph of , we obtain , then for .
Thus, by Theorem 3.7, we have which contradicts to the extremality of .
Claim 2.
Now , we claim that . If not, let , then
Since , we have . It can be seen that is a proper subgraph of , we obtain , then for .
Thus, by Theorem 3.7, we have , a contradiction. Therefore .
Next, we assume , let then
Since , we have . It is clear that is a proper subgraph of , we obtain , then for .
Thus, by Theorem 3.7, we have which contradicts to the extremality of .
Claim 3.
Now , we claim that . If not, let , then
Since , we have . It can be seen that is a proper subgraph of , we obtain , then for .
Thus, by Theorem 3.7, we have , a contradiction. Therefore .
Next, we assume , let then
Since , we have . It is clear that is a proper subgraph of , where is shown in Figure 3, we obtain , then for .
Thus, by Theorem 3.7, we have , which contradicts to the extremality of .

Claim 4.
Now . Otherwise, let then
Since and , then for , by Theorem 3.7, we have which contradicts to the extremality of , thus .
It follows from above four claims that the extremal graph with minimum spectral radius in is of the form where . ∎
Next we determine the extremal graph with minimum spectral radius in .
Proposition 3.11.
The extremal graph in which attains minimum spectral radius is
Proof.
Suppose that the extremal graph in which attains minimum spectral radius is of the form . Similarlly, we obtain
(28) |
is the quotient matrix of an equitable partition of and the characteristic polynomial of is:
Since , by Theorem 3.6 we have and .
Without loss of generality, we may suppose that and , then we have the following claims.
Claim 1. and .
Suppose that . Let , then
Since , we have . And if , then . Thus, without loss of generality, we may suppose that .
Since , and , then for . By Theorem 3.7, we have which contradicts to the extremality of .
Similarly, we obtain .
Claim 2. .
Suppose to the contrary that . Let , then
Since and if , then . Thus without loss of generality we may suppose that .
Since , and . Then for . By Theorem 3.7, we have which contradicts to the extremality of .
From above two claims, we have . Next, we will prove and .
Claim 3.
Assume , let then
Since , we have and . It is clear that is a proper subgraph of , we obtain .
Since and , where is the largest root of , we have for .
Thus, by Theorem 3.7, we have which contradicts to the extremality of .
Note that when , therefore without loss of generality we may suppose that
Claim 4.
Assume , let then
Since , we have . It can be seen that is a proper subgraph of , we obtain , then for .
Thus, by Theorem 3.7, we have which contradicts to the extremality of , therefore and hence .
Claim 5.
Now . Assume , let then
Since , we have . It is clear that is a proper subgraph of , we obtain , then for .
Thus, by Theorem 3.7, we have which contradicts to the extremality of , therefore and hence
From above five claims, we obtain attains the minimum spectral radius in . ∎
3.3 Step 3
We first prove that the extremal graph with minimum spectral radius in must be in by the following lemma.
Lemma 3.12.
For , we have .
Proof.
Let and .
For , we use the MATLAB software to calculate the spectral radii of for , as shown in the Table 1.
8 | 2.7676 | 2.9764 |
---|---|---|
9 | 3.1474 | 3.2176 |
10 | 3.1713 | 3.4630 |
11 | 3.5047 | 3.6737 |
12 | 3.5223 | 3.8879 |
So let us assume that .
Case 1. is even.
In this case, and , then
It can be seen that is a proper subgraph of , we obtain . Since , we have and . Since is the largest root of , we obtain for .
Thus by Theorem 3.7, we have .
Case 2. is odd.
In this case, and , then
It is clear that is a proper subgraph of , we obtain . Since , we have and . Since is the largest root of , we obtain for .
Thus by Theorem 3.7, we have .
∎
Next we prove the extremal graph with minimum spectral radius in must be in . We need the following theorem.
Theorem 3.13.
[12] Let be a graph with m edges and n vertices. Then , with equality if and only if is isomorphic to the star or the complete graph .
Lemma 3.14.
Let be the extremal graph with minimum spectral radius in for . Then .
Proof.
We denote for convenience. By Proposition 3.9, we have .
For , we use the MATLAB software to calculate the spectral radii of , as shown in the Table 2, where the minimum spectral radius is bolded.
1 | 2 | 3 | 4 | 5 | 6 | 7 | |
---|---|---|---|---|---|---|---|
12 | 3.0751 | 3.0649 | 3.2427 | 3.5223 | \ | \ | \ |
13 | 3.2229 | 3.1791 | 3.2951 | 3.5443 | 3.8231 | \ | \ |
14 | 3.3668 | 3.3013 | 3.3616 | 3.5722 | 3.8368 | \ | \ |
15 | 3.5064 | 3.4274 | 3.4422 | 3.6076 | 3.8535 | 4.1131 | \ |
16 | 3.6418 | 3.5544 | 3.5353 | 3.6526 | 3.8742 | 4.1243 | \ |
17 | 3.7731 | 3.6807 | 3.6377 | 3.7088 | 3.8998 | 4.1376 | 4.3813 |
18 | 3.9006 | 3.8053 | 3.7459 | 3.7767 | 3.9318 | 4.1536 | 4.3906 |
For , note that , let be the principal eigenvector of and correspond to vertices in for By , we have
(29) | ||||
(30) | ||||
(31) | ||||
(32) | ||||
(33) |
Since and is a proper subgraph of , we have , thus . By Theorem 3.13 and , we obtain , therefore . Since is the principal eigenvector of , we have .
Thus, it follows from (34) that .
Now we have
Therefore, , which means .
∎
Now we prove that for and by using a well-known operation.
Theorem 3.15.
[8] Let be two vertices of a connected graph and let . Let be the graph obtained from by rotating the edge to for . If , where x is the principal eigenvector of , then .
Lemma 3.16.
For and , we have .
Proof.
Let and . Let be the principal eigenvector of and correspond to vertices in for .
Let us first suppose that , then by Theorem 3.15 we have , where is obtained from by rotating the edge to . Since , we obtain .
Now, suppose that . Since , where is obtained from by rotating the edge to for , we have .
Thus, we complete the proof of the Lemma.
∎
Now we know that the extremal graph of order and rank with minimum spectral radius is for some integer with when .
For convenience, we set and . It is only remained to find the extremal graph with minimum spectral radius in .
Theorem 3.17.
[10] Let be an nonnegative matrix. Then the largest eigenvalue for any unit vector , with equality if and only if .
Lemma 3.18.
Let and . Then for , we have
unless or .
Proof.
Let . Our aim is to prove that if and if .
Let be the principal eigenvector of and correspond to vertices in for . Then by we have
(35) | ||||
(36) | ||||
(37) | ||||
(38) | ||||
(39) | ||||
(40) |
By and , we have
which implies that
(41) |
Hence, we obtain that
(42) |
Note that, if we let
then we have
By calculation, we can find that is the only solution of . Since , we will complete the proof by classifying the value of .
Case 1. If .
We have . We claim that . Suopose that . By (42), we have and . Then , a contradiction. Suopose that . By (42), we obtain that and . Then , a contradiction.
Thus we have . This induces that and , which lead to . Therefore
(43) |
Now we only need to prove . Suppose that , then . By Theorem 3.17, we have
and since
we obtain , which contradicts to the definition of the principal eigenvector.
Therefore, from (43) we have for .
Case 2. If .
We have . Similarly, by (42), we conclude that . This induces that and , which lead to , therefore
(44) |
Similarly, we have . Using this, from (44), we obtain for .
Therefore, the proof of Lemma is completed.
∎
3.4 Step 4
It only remains for the case that . Applying Proposition 3.9, 3.10 and 3.11, we obtain the extremal graphs with minimum spectral radius in , and , respectively. And then calculate their spectral radii by using MATLAB, as shown in Table 3, where the extremal graphs and the minimum spectral radii are bolded.
n | ||||||
---|---|---|---|---|---|---|
Extremal graph | Spectral radius | Extremal graph | Spectral radius | Extremal graph | Spectral radius | |
5 | 2.2143 | 2.0000 | ||||
6 | 2.2784 | 2.3912 | 2.6544 | |||
7 | 2.3686 | 2.6813 | 2.6751 | |||
8 | 2.4860 | 2.9764 | 2.7033 | |||
9 | 2.6239 | 3.2176 | 2.7448 | |||
10 | 2.7724 | 3.4630 | 2.8060 | |||
11 | 2.9243 | 3.6737 | 2.8915 |
By Table 4, we obtain that when , the extremal graph with minimum spectral radius of rank is:
-
1.
, for ;
-
2.
, for ;
-
3.
, for .
4 Concluding remarks
In the last case of Theorem 1.2, we obtain that . When , we use the MATLAB software to calculate the spectral radii of the graphs in , as shown in the Table 4, where the minimum spectral radius is bolded. It demonstrates that or depends on .
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | ||
---|---|---|---|---|---|---|---|---|---|---|
12 | 3 | 3.1370 | 3.4319 | 3.7362 | \ | \ | \ | \ | \ | 1 |
13 | 3.1239 | 3.1818 | 3.4431 | 3.7404 | \ | \ | \ | \ | \ | 1.2949 |
14 | 3.255 | 3.2470 | 3.4588 | 3.7457 | 4.0278 | \ | \ | \ | \ | 1.5912 |
15 | 3.3894 | 3.3347 | 3.4817 | 3.7525 | 4.0308 | \ | \ | \ | \ | 1.8889 |
16 | 3.5227 | 3.4402 | 3.5160 | 3.7616 | 4.0344 | 4.2979 | \ | \ | \ | 2.1877 |
17 | 3.6539 | 3.5563 | 3.5674 | 3.7743 | 4.0389 | 4.3001 | \ | \ | \ | 2.4876 |
18 | 3.7824 | 3.6770 | 3.6394 | 3.7926 | 4.0446 | 4.3027 | 4.5506 | \ | \ | 2.7884 |
19 | 3.9079 | 3.7889 | 3.7303 | 3.8199 | 4.0523 | 4.3058 | 4.5522 | \ | \ | 3.0901 |
20 | 4.0303 | 3.9201 | 3.8338 | 3.8612 | 4.0628 | 4.3097 | 4.5542 | 4.7888 | \ | 3.3927 |
21 | 4.1498 | 4.0396 | 3.9439 | 3.9211 | 4.0779 | 4.3147 | 4.5565 | 4.7900 | \ | 3.6960 |
22 | 4.2663 | 4.1570 | 4.0564 | 4 | 4.1002 | 4.3213 | 4.5593 | 4.7915 | 5.0146 | 4 |
23 | 4.3801 | 4.2721 | 4.1694 | 4.0929 | 4.1341 | 4.3303 | 4.5627 | 4.7933 | 5.0157 | 4.3047 |
It is a natural problem to determine the extramal spectral radii of the graphs of order and rank . By Theorem 1.1, we know that the maximum spectral radius of all connected graphs of order and rank is . Feng et al. gave the spectral radius of in [13].
Theorem 4.1.
Further, we obtain a sharp upper and lower bound for the spectral radius of the extremal graph which attains the minimum spectral radius among all connected graphs of order and rank . By Theorem 1.2, we know that
where .
From the proof of Lemma 3.18, we have
Therefore, we obtain that
and
In general, the problem of determining the minimum spectral radius of all connected graphs with order and rank deserves further study.
Declaration of compting interest
There is no competing interest.
Acknowledgement
This research is supported by the National Natural Science Foundation of China [Grant number, 12171402].
References
- [1] G. Chang, L. Huang, H.G. Yeh, A characterization of graphs with rank 4, Linear Algebra Appl. 434 (2011) 1793–1798.
- [2] Z.Z. Lou, M.Q. Zhai, Proof of a conjecture on extremal spectral radii of blow-up graphs, Linear Algebra Appl. 617 (2021) 168–178.
- [3] S.W. Sun, K.C. Das, Proof and disproof of conjectures on spectral radii of coclique extension of cycles and paths, Linear Algebra Appl. 618 (2021) 1–11
- [4] I. Sciriha, On the rank of graphs, in: Y. Alavi, D.R. Lick, A. Schwenk (Eds.), Combinatorics, Graph Theory, and Algorithms, vol. II, New Issue Press, Western Michigan University, Kalamazoo, Michigan, 1999, pp. 769–778.
- [5] G.J. Chang, L.H. Huang, H.G. Yeh, A characterization of graphs with rank 5, Linear Algebra Appl. 436 (2012) 4241–4250.
- [6] D. Stevanović, I. Gutman, M.U. Rehman, On spectral radius and energy of complete multipartite graphs, Ars Math. Contemp. 9 (2015) 109–113.
- [7] J. Monsalve, J. Rada, Extremal spectral radius of graphs with rank 4, Linear Algebra Appl. 609 (2021) 1–11.
- [8] V. Nikiforov, Bounds on graph eigenvalues II, Linear Algebra Appl. 427 (2007) 183–189.
- [9] D. Stevanović, Spectral Radius of Graphs, Academic Press, Amsterdam, 2015.
- [10] A. Brouwer, W. Haemers, Spectra of Graphs, Springer, New York, 2012.
- [11] Q. Li, K.Q. Feng, On the largest eigenvalue of graphs, Acta Math. Appl. Sinica. 2 (1979) 167–175 (in Chinese).
- [12] Y. Hong, A bound on the spectral radius of graphs, Linear Algebra Appl. 108 (1988) 135–139.
- [13] L.H. Feng, Q. Li, X.D. Zhang, Spectral radii of graphs with given chromatic number, Appl. Math. Lett. 20 (2007) 158–162.