The Index Weighted Hermitian Adjacency Matrices for Mixed Graphs

Zheng Wang1, Tao She1, Chunxiang Wang1
1School of Mathematics and Statistics, Central China Normal University, Wuhan, P.R. China

Abstract

Based on the Hermitian adjacency matrices of second kind introduced by Mohar [1] and weighted adjacency matrices introduced in [2], we define a kind of index weighted Hermitian adjacency matrices of mixed graphs. In this paper we characterize the structure of mixed graphs which are cospectral to their underlying graphs, then we determine a upper bound on the spectral radius of mixed graphs with maximum degree Δ, and characterize the corresponding extremal graphs.

Keywords: Mixed graph, Spectral radius, Eigenvalue, Adjacency matrix, Cospectrality

1. Introduction and Preliminaries

In this paper, we consider only simple and finite graphs. Let G=(V(G),E(G)) be a graph with vertex set V(G) and edge set E(G). We say that two vertices u and v are adjacent if they are joined by an edge. A mixed graph MG is obtained from a simple graph G by orienting each edge of some subset E0E(G) and we call G the underlying graph of MG. We write an undirected edge as {u,v} and an arc form u to v as (u,v). For a vertex set V of V(MG), let MG[V] be a mixed subgraph of MG induced on V. We say a mixed graph is connected if its underlying graph is connected. The degree of a vertex in a mixed graph MG is defined to be the degree of this vertex in the underlying graph. We divide the vertices adjacent to v in MG into three sets: NMG0(v)={uV(MG):{u,v}E(MG)}; NMG+(v)={uV(MG):(v,u)E(MG)} and NMG(v)={uV(MG):(u,v)E(MG)}.

Recently, Yu, Geng and Zhou [3] defined a kind of new Hermitian adjacency matrix of a mixed graph, written by Hk(MG)=(huv), which is as follows: huv={e2πik,if (u,v) is an arcfrom u to v;e2πik,if (v,u) is\ an arcfrom v to u;1,if {u,v} is an undirectededge;0,otherwise, where i is the imaginary unit and k is a positive integer. Hk(MG) unifies some well known matrices. In fact, when k=1, H1(MG)=A(G) is the adjacency matrix of G; when when k=4, H4(MG)=H(MG) is the Hermitian adjacency matrix of MG, proposed independently by Guo and Mohar [4], Liu and Li [5]; When k=6, H6(MG) is is the Hermitian adjacency matrix of second kind for MG, proposed by Mohar [1] recently.

The author in [2] gave the following definition of a new weighted adjacency matrix of a graph weighted by its degrees.

Definition 1. Let G=(V(G),E(G)) be a graph. Denote by du the degree of a vertex u in G. Let f(x,y) be a function symmetric in x and y. The weighted adjacency matrix Af(G)=(auv) of G is defined as follows: auv={f(du,dv),if uvE(G);0,otherwise.

Af(G) introduced in [2] unifies many matrices weighted by topological index. When f(x,y)=1, Af(G) is the adjacency matrix of G; when f(x,y)=x+y2xy, Af(G) is the ABC matrix and was introduced by Estrada [6] and was studied in [7]; When f(x,y)=2x+y, Af(G) is the harmonic matrix and was introduced in [8]; When f(x,y)=x2+y22xy, Af(G) is the AG matrix and was studied in [9], [10] and [11].

In this paper, inspired by [3], we generalize weighted adjacency matrix to mixed graphs and define a index weighted Hermitian matrix Hfk(MG)=(huv) for a mixed graph MG, where huv={f(du,dv)ω,if (u,v) is an arc from u to v;f(du,dv)ω¯,if (v,u) is an arcfrom v to u;f(du,dv),if {u,v} is anundirected\ edge;0,otherwise, ω=cos(2πk)+isin(2πk) for a positive integer k and f(x,y)>0 is a symmetric and real function. It can be seen that when f(x,y)=1, Hfk(MG) is the matrix Hk(MG), which is defined in [3]; when k=1, Hfk(MG) is the matrix Af(MG), introduced in [2]. It’s easy to check that if all edges of MG are undirected edges, then Hfk(MG)=Af(MG). Note that When k is a positive integer and f(x,y)>0 is a symmetric and real function, Hfk(MG) is Hermitian and the eigenvalues of Hfk(MG) are real. With fixed f, k and a mixed graph MG, let λ1(MG)λ2(MG)λn(MG) be n eigenvalues of Hfk(MG) with |V(MG)|=n. The collection {λ1(MG),λ2(MG),,λn(MG)} is called the Hfk-spectrum of MG, we say MG is Hfk-cospectral to its underlying graph if Hfk(MG) and Hfk(G) have the same Hfk-spectrum. We call the spectral radius of Hfk(MG) the Hfk-spectrum radius of MG, denoted by ρfk(MG).

In the following paper, we assume that k is a positive integer and f(x,y)>0 is a symmetric and real function. We define several particular partitions of V(MG) which will be used in our proof.

Definition 2. Let MG be a mixed graph,

(i) For a partition V1V2Vk(possible empty) of V(MG), we call it a Apartition of V(MG) if every undirected edge {u,v} with uVi and vVj such that ij0(mod k) and every arc (u,v) with uVi and vVj such that ij1(mod k).

(ii) When k is even. For a partition V1V2Vk(possible empty) of V(MG), we call it a Bpartition of V(MG) if every undirected edge {u,v} with uVi and vVj such that ijk2(mod k) and every arc (u,v) with uVi and vVj such that ijk2+1(mod k).

(iii) When k is odd. For a partition V1VkU1Uk(possible empty) of V(MG), we call it a Cpartition of V(MG) if every undirected edge {u,v} is between Ui and Vi for some i{1,2,,k} and every arc (u,v) is between Ui,Vj or Vi,Uj, where ij1(mod k).

When k=6, three partitions can be seen in Figures 1 and 2. By the Definition 2, V(MG) has a Bpartition only if k is an even positive integer and it’s easy to check that a Cpartition of V(MG) is a Apartition. The main result of paper is as follows:

Theorem 1. Assume that k is a positive integer and f(x,y)>0 is a symmetric real function, not decreasing in variable x. Then for any connected mixed graph MG with maximum degree Δ, we have ρfk(MG)f(Δ,Δ)Δ, where equality holds if and only if MG such that G is Δ-regular and V(MG) admits a Apartition or a Bpartition.

The structure of the paper is as follows. In Section 2 we show a disturbance on E(MG) which remains the Hfk-spectrum of MG. In Section 3 we characterize a family of mixed graphs which are Hfk-cospectral to their underlying graph and in Section 4 we prove Theorem 1

2. Switching Equivalence for MG

In this section, we focus on some sufficient conditions of Hfk-cospectrality of mixed graphs.

Supposed that V(MG) can be partitioned into k(possible empty) sets V1V2Vk. We say the partition is admissible if it such that:

(i) ij0 or 1 or 2(mod k) for every arc (u,v) in MG, where uVi and vVj;

(ii) ij0 or 1(mod k) for every undirected edge {u,v} in MG, where uVi and vVj.

We say a mixed graph MG is admissible if it has an admissible partition.

For a mixed graph MG, a threeway switching for MG with respect to its admissible partition V1V2Vk is a operation of changing MG into MG by making the changes in what follows (see Figure 3):

(i) replacing each undirected edge {u,v} with an arc (u,v), where uVi, vVj and ji1(mod k);

(ii) replacing each arc (u,v) with an undirected edge {u,v}, where uVi, vVj and ij1(mod k);

(iii) replacing each arc (u,v) with an arc (v,u), where uVi, vVj and ij2(mod k).

Theorem 2. If a mixed graph MG is obtained from an admissible mixed graph MG by a threeway switching, then MG is Hfk-cospectral to MG.

Proof. Let V1V2Vk be an admissible partition of V(MG), Let ni=|Vi| for i={1,2,,k} and D=diag{ωIn1,ω2In2,,,ωkInk}, let Hfk(MG)=(hij)n×n and Hfk(MG)=(hij)n×n. In order to prove the Theorem, it suffices to prove that Hfk(MG)=D1Hfk(MG)D.

It’s easy to check that for every vertices pair u,v with uVi and vVj, where ij, (D1Hfk(MG)D)u,v=ωk+jihuv. If u is not adjacent to v in MG, then ωk+jihuv=0=huv since MG and MG have the same underlying graph.

When u,v are adjacent, we consider following cases.

Case 1. ij0 (mod k), in this case we have huv=huv since the switching doesn’t change the edges in [MG(Vi)].

Case 2. ij1 (mod k), note that in this case, the edge between u,v in MG is a undirected edge {u,v} or a arc (u,v) from u to v. If {u,v} is a undirected edge, then by by the switching, it follows that (v,u) is a arc from v to u in MG and hu,v=f(du,dv)ω1=ωk+jihuv. If (u,v) is a arc from u to v, then by the switching it follows that {u,v} is a undirected edge in MG and hu,v=ω1f(du,dv)ω=ωk+jihuv.

Case 3. ij2 (mod k), note that in this case, the edge between u,v in MG must be a arc (u,v) from u to v. Then by the switching it follows that (v,u) is a arc from v to u in MG and hu,v=f(du,dv)ω1=ω2f(du,dv)ω1=ωk+jihuv.

Together with Case 1, 2 and 3, we complete the proof of Theorem. ◻

Note that Vi can be empty for a admissible partition V1V2Vk of MG, so the threeway switching can induces some particular equivalent switchings for MG.

Corollary 1. If V(MG) has a partition V1V2 such that there exists no arc from V1 to V2, then the graph obtained from MG by replacing all undirected edges {u,v} with uV1 and vV2 by (u,v) and replacing all arcs (u,v) with uV2 and vV1 by {u,v} is Hfk-cospectral with MG.

Corollary 2. If V(MG) has a partition V1V2 such that [V1,V2] only contains arcs from V2 to V1, then the graph obtained from MG by replacing all arcs (u,v) with uV2 and vV1 by (v,u) is Hfk-cospectral with MG.

Corollary 3. If k=3 and MG has a partition V1V2,then the graph obtained from MG by following changes is Hfk-cospectral with MG:

  1. replacing all arcs (u,v) with uV2 and vV1 by {u,v};

  2. replacing all undirected edges {u,v} with uV2 and Vv1 by (v,u);

  3. replacing all arcs (u,v) with uV1 and Vv2 by (v,u).

3. Hfk-cospectrality with Underlying Graph

In this section, we focus on the Hfk-cospectrality of MG and its underlying graph G.

Theorem 3. Let MG be a connected mixed graph. Then the following statements are equivalent:

  1. G and MG are Hfk-cospectral.

  2. λ1(G)=λ1(MG).

  3. MG admits a Apartition.

Proof. It’s obvious that (i) implies (ii). Note that MG could be changed into G by a threeway switching if it admits a Apartition. So (iii) implies (i) by Theorem 2. In order to complete the proof, it suffices to prove that (ii) implies (iii). Assume that (ii) holds. Let Hfk(MG)=(huv)n×n and Hfk(G)=Af(G)=(auv)n×n, let Y=(y1,y2,,yn)TCn be a normalized eigenvector of Hfk(MG) corresponding to λ1(MG). Note that |hu,v|=au,v for every u,v|V(MG)|. Then we have λ1(MG)=YT¯Hfk(MG)Y =uV(MG)vV(MG)yu¯hu,vyv uV(MG)vV(MG)|yu¯yv||hu,v| (1)=uV(MG)vV(MG)|yu||yv|au,vλ1(G). The equality in (1) must holds since λ1(MG)=λ1(G), which require that (2)hu,vy¯uyv=|hu,vy¯uyv| for all edges uv in G. Without loss of generality, we can assume that a vertex v0V(MG) such that yv0R+, then |y¯v0|y¯v0=1 and hv0,vyv=|hv0,vyv| for all yNG(v0) by (4), it follows that yv|yv|=ω1 if vNMG+(v0); yv|yv|=1 if vNMG0(v0) and yv|yv|=ω if vNMG(v0).

Note that G is connected, by repeating the above steps, it follows that yv|yv|=ωt with tZ for all vV(MG). Let Vi={vV(MG):yv|yv|=ωt, where ti(mod k)}, where i{1,2,,k}. it’s easy to check that V1,V2,,Vk form a Apartition of MG, which complete the proof. ◻

With Theorem 3, we have following corollary.

Corollary 4. A mixed tree MT is Hfk-cospectral to its underlying graph.

Proof. We construct a Apartition of V(MT) to prove this corollary. Choose a vertex v0V(MT) and denote by P(u) the unique (v0,u)-path in T for all uV(MT), then we define a function f on V(G), where the value of f(u) equals to the number of arcs toward v0 in P(u) minus the number of arcs toward u in P(u).

Let Vi={uV(MT):f(u)i(mod k)}, where i{1,2,,k}. Obviously V(MT)=V1V2Vk and it’s easy to check that for every undirected edge {u,v} with uVi and vVj, f(u)f(v)=0 so i=j; for every arc (u,v) with uVi and vVj, f(u)f(v)=1 so ij1(mod k). It implies that V1V2Vk forms a Apartition of V(MT) and complete the proof. ◻

Then the main Theorem in [12] can be directly generalized to mixed trees.

Corollary 5. Assume that f(x,y) is increasing and convex in variable x, Then the mixed trees in n vertices owns largest Hfk-spectral radius if and only if its underlying graph is Sn or a double star Sd,nd for some d{2,,n2}.

Corollary 6. Assume that f(x,y) has the form P(x,y) or P(x,y), where P(x,y) is a symmetric polynomial with nonnegative coefficients and zero constant term. Then the mixed tree on n(n9) vertices owns the smallest Hfk-spectral radius if and only if its underlying graph is Pn.

4. Proof of Theorem 1

Lemma 1. Let MG be a mixed graph. Then |λi(MG)|λ1(G) for all i{1,2,n}.

Proof. Let Y=(y1,y2,,yn)TCn be a normalized eigenvector of Hfk(MG) corresponding to λi(MG). Then we have |λi(MG)|=|Y¯THfk(MG)Y|=|uV(MG)vV(MG)y¯uhu,vyv|uV(MG)vV(MG)|y¯uyv||hu,v|=uV(MG)vV(MG)|yu||yv|au,vλ1(G). Which completes the proof. ◻

Note that |λn(MG)|>|λ1(MG)| is possible for a mixed graph MG. By Lemma 1, it follows that ρfk(G)=ρfk(MG) if and only if λ1(MG)=λ1(G) or λn(MG)=λ1(G). In the following two lemmas we focus on the condition of the second equality.

Lemma 2. Let k be an odd positive integer and MG be a connected mixed graph, then λn(MG)=λ1(G) if and only if V(MG) admits a Cpartition.

Proof. If V(MG) admits a Cpartition, say V1VkU1Uk. Then G is a bipartite graph and (V1U1), (V1U1),, (VkUk) form a Apartition of V(MG), by Perron-Frobinius Theorem and Theorem 3 it follows that λn(MG)=λn(G)=λ1(G).

If λn(MG)=λ1(G) holds, Let Hfk(MG)=(huv)n×n and Hfk(G)=Af(G)=(auv)n×n, let Y=(y1,y2,,yn)TCn be a normalized eigenvector of Hfk(MG) corresponding to λn(MG). Then we have λn(MG)=Y¯THfk(MG)Y =uV(MG)vV(MG)yu¯huvyv uV(MG)vV(MG)|yu¯yv||huv| (3)=uV(MG)vV(MG)|yu||yv|auvλ1(G). The equality in (3) must holds because λn(MG)=λ1(G), which requires that (4)hu,vy¯uyv=|hu,vy¯uyv|, for all edges uv in G. Without loss of generality, we can assume that a vertex v0V(MG) such that yv0R+, then |y¯v0|y¯v0=1 and hv0,vyv=|hv0,vyv| for all yNG(v0) by (4), it follows that yv|yv|=ω1 if vNMG+(v0); yv|yv|=1 if vNMG0(v0) and yv|yv|=ω if vNMG(v0).

Note that G is connected, by repeating the above steps, it follows that yv|yv|{± ωt,tZ} for all vV(MG). Let Vi={vV(MG):yv|yv|=ωt, where ti(mod k)} and Ui={vV(MG):yv|yv|=ωt, where ti(mod k)} where i{1,2,,k}. it’s easy to check that V1VkU1Uk form a Cpartition of V(MG), which complete the proof. ◻

Note that a Cpartition V1,,Vk,U1,,Uk of V(G) forms into a Apartition (V1U1), (V1U1),, (VkUk). So we have following corollary.

Corollary 7. Let k be an odd positive integer and MG be a connected mixed graph, then ρ(G)=ρ(MG) if and only if V(MG) admits a Apartition.

Lemma 3. Let k be an even positive integer and G be a connected, regular graph, then a mixed graph MG with underlying graph G such that λn(MG)=λ1(G) if and only if MG admits a Bpartition.

Proof. Assume that G is Δ-regular, let Hfk(MG)=(huv)n×n and Hfk(G)=Af(G)=(auv)n×n, let X=(x1,x2,,xn)TRn be a normalized eigenvector of Af(G) corresponding to λ1(G) and Y=(y1,y2,,yn)TCn be a normalized eigenvector of Hfk(MG) corresponding to λn(MG).

Assume that λn(MG)=λ1(G), then by the similar proof it follows that (5)hu,vy¯uyv=|hu,vy¯uyv|, for all edges uv in G. Without loss of generality, we can assume that a vertex v0V(MG) such that yv0R+, then |y¯v0|y¯v0=1 and hv0,vyv=|hv0,vyv| for all yNG(v0) by (5), it follows that yv|yv|=ω1=ωk21 if vNMG+(v0); yv|yv|=1=ωk2 if vNMG0(v0) and yv|yv|=ω=ωk2+1 if vNMG(v0).

Note that G is connected, by repeating the above steps, it follows that yv|yv|{ωt,tZ} for all vV(MG). Let Vi={vV(MG):yv|yv|=ωt, where ti(mod k)}, where i{1,2,,k}. it’s easy to check that V1Vk forms a Bpartition of V(MG).

Assume that MG admits a Bpartition V1V2Vk, we construct a vector ZCn with zu=xuwi, where uVi. Then for any uV(MG) with uVi, (Hfk(G)Z)u=f(Δ,Δ)(vNMG0(u)zv+vNMG+(u)ωzv+vNMG(u)ω1zv)=f(Δ,Δ)(vNMG0(u)xvωi+k2+vNMG+(u)ωxvωi+k21+vNMG(u)ω1xvωi+k2+1)=f(Δ,Δ)ωivNG(u)xv=λ1(G)ωixu=λ1zu. It follows that Hfk(G)Z=λ1(G)Z, so λn(MG)=λ1(G)◻

Combined with Theorem 3 we have following corollary.

Corollary 8. Let k be a even integer positive and G be a connected, regular graph, then a mixed graph MG such that ρfk(MG)=ρfk(G) if and only if V(G) admits a Apartition or a Bpartition.

Lemma 4. Let k be a positive integer and f(x,y)>0 be a symmetric real function, not decreasing in variable x, then for any proper subgraph H of G, we have ρfk(H)<ρfk(G).

Proof. We have following two claims.

Claim 1. For any proper, spanning and connected subgraph H of G, ρfk(H)<ρfk(G).

Let y1>0, y2>0 be the Perron vector of ρ(G) and ρ(H), respectively. Note that Af(G)Af(G)0 and Af(G)Af(G)0 since f(x,y) is symmetric, not decreasing in x and H is a proper subgraph of G. Then (ρfk(G)ρfk(H))y1y2=y1(Af(G)Af(H))y2>0. It follows that ρfk(G)>ρfk(H).

Claim 2. For any proper, induced subgraph H of G, ρfk(H)<ρfk(G).

Let y>0, y1>0 be the Perron vector of ρfk(G) and ρfk(H), respectively. We can assume that Af(G)=(Af(H)+KLLM) where K0 is symmetric. Then Af(G)(y10)=((Af(H)+K)y1Ly1)=(ρfk(H)y1+Ky1Ly1)ρfk(H)(y10). If Af(G)(y10)=ρfk(H)(y10), then (y10)0 is a eigenvector of Af(G) corresponding to ρfk(G), which is contradict to Perron-Frobinius Theorem. So we have Af(G)(y10)ρfk(H)(y10) and Af(G)(y10)ρfk(H)(y10). It follows that (ρfk(G)ρfk(H))y(y10)=y(Af(G)(y10)ρfk(H)(y10))0, so ρfk(G)>ρfk(H).

For any proper subgraph H of G, we can assume that H is connected. Then H must be a spanning subgraph of some induced subgraph H of G. If H=G, then by Claim 1 it follows that ρfk(H)<ρfk(H)=ρfk(G). If HG, then by Claim 2 it follows that ρfk(H)ρfk(H)<ρfk(G). It completes the proof. ◻

Proof of Theorem 1. Note that if G is a Δ-regular graph, then Af(G)=f(Δ,Δ)A(G) and ρfk(G)=f(Δ,Δ)Δ(G). Since every graph with maximum degree Δ must be a subgraph of a Δ-regular graph, by Lemma 4 it follows that ρfk(G)f(Δ,Δ)Δ(G) for all graphs G with maximum degree Δ, where equality holds if and only if G is Δ-regular.

For a mixed graph MG with maximum degree Δ, by Lemma 1 it follows that ρfk(MG)f(Δ,Δ)Δ(G), by Corollary 7,8 it follows that equality holds if and only if underlying graph G is Δ(G)-regular and MG admits a Apartition or MG admits a Bpartition when k is even. ◻

Acknowledgments

The work was partially supported by the National Natural Science Foundation of China under Grants 11771172, 12061039.

Conflict of Interest

The authors declare no conflict of interest.

References:

  1. Mohar, B., 2020. A new kind of Hermitian matrices for digraphs. Linear Algebra and its Applications, 584, pp.343-352.
  2. Das, K.C., Gutman, I., Milovanović, I., Milovanović, E. and Furtula, B., 2018. Degree-based energies of graphs. Linear Algebra and its Applications, 554, pp.185-204.
  3. Yu, Y., Geng, X. and Zhou, Z., 2023. The k-generalized Hermitian adjacency matrices for mixed graphs. Discrete Mathematics, 346(2), p.113254.
  4. Guo, K. and Mohar, B., 2017. Hermitian adjacency matrix of digraphs and mixed graphs. Journal of Graph Theory, 85(1), pp.217-248.
  5. Liu, J. and Li, X., 2015. Hermitian-adjacency matrices and Hermitian energies of mixed graphs. Linear Algebra and its Applications, 466, pp.182-207.
  6. Estrada, E., 2017. The ABC matrix. Journal of Mathematical Chemistry, 55, pp.1021-1033.
  7. Chen, X., 2019. On extremality of ABC spectral radius of a tree. Linear Algebra and Its Applications, 564, pp.159-169.
  8. Hosamani, S.M., Kulkarni, B.B., Boli, R.G. and Gadag, V.M., 2017. QSPR analysis of certain graph theocratical matrices and their corresponding energy. Applied Mathematics and Nonlinear Sciences, 2(1), pp.131-150.
  9. Ghorbani, M., Li, X., Zangi, S. and Amraei, N., 2021. On the eigenvalue and energy of extended adjacency matrix. Applied Mathematics and Computation, 397, p.125939.
  10. Guo, X. and Gao, Y., 2020. Arithmetic-geometric spectral radius and energy of graphs. MACTH Commun. Math. Comput. Chem, 83, pp.651-660.
  11. Zheng, L., Tian, G.X. and Cui, S.Y., 2020. On spectral radius and energy of arithmetic-geometric matrix of graphs. MATCH Commun. Math. Comput. Chem, 83, pp.635-650.
  12. Li, X. and Wang, Z., 2021. Trees with extremal spectral radius of weighted adjacency matrices among trees weighted by degree-based indices. Linear Algebra and Its Applications, 620, pp.61-75.