This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Constructing Families Of Cospectral Regular Graphs

\spreadoutM. HAYTHORPE1 and \spreadoutA. NEWCOMBE2
1 Michael Haythorpe
Research partially supported by ARC Discovery Grant DP150100618.
   Flinders University   
South Road
   Tonsley    SA Australia 5042
michael.haythorpe@flinders.edu.au
2 Alex Newcombe
   Flinders University   
South Road
   Tonsley    SA Australia 5042
alex.newcombe@flinders.edu.au
Abstract

A set of graphs are called cospectral if their adjacency matrices have the same characteristic polynomial. In this paper we introduce a simple method for constructing infinite families of cospectral regular graphs. The construction is valid for special cases of a property introduced by Schwenk. For the case of cubic (3-regular) graphs, computational results are given which show that the construction generates a large proportion of the cubic graphs, which are cospectral with another cubic graph.

1 Introduction

The characteristic polynomial of a matrix AA is the polynomial in xx, det(xIA)\det(xI-A). A set of simple graphs {G1,G2,Gk}\{G_{1},G_{2}...,G_{k}\} are called cospectral if their adjacency matrices have identical characteristic polynomials. A graph is not uniquely determined by its spectrum if there is at least one non-isomorphic graph with which it is cospectral. The investigation of the prevalence and properties of such graphs is one of the classical open problems in spectral graph theory, and hence, methods for constructing cospectral graphs are of interest. To date, such construction methods have mainly fallen into two categories. The first involves performing various operations on the edges or vertices of graphs to produce new graphs which are cospectral with the initial graphs. Perhaps the most well-known example of this is the switching method of Godsil and McKay which was introduced in [9] and then later generalised in [1]. The second category involves ‘pasting’ graphs together in intelligent ways to achieve the cospectrality. Recently, there has been some interest in the construction of cospectral graphs which provide control over certain graph properties. In particular, cospectral graphs which are regular, among other properties, are investigated in [3], [7] and [4]. A common feature of the existing constructions which ensure regularity is the use of operations which are similar to a product of graphs. However, the nature of these operations means that both the degree of regularity and the order of the resulting graphs can become very large, which may be undesirable. In the present work, we introduce a construction for regular cospectral graphs which avoids these problems; indeed, arbitrarily large cospectral regular graphs of any desired degree can be constructed. The construction is valid for special cases of the notion of removal cospectral vertices which was introduced by Schwenk [11] and studied further in [10]. We paraphrase Schwenk’s definition as follows:

Definition 1.1

For two graphs G1G_{1} and G2G_{2}, the subsets of vertices SV(G1)S\subset V(G_{1}) and TV(G2)T\subset V(G_{2}) are called removal cospectral if there exists a bijection f:STf:S\rightarrow T such that for every subset XSX\subseteq S, the graphs G1XG_{1}\setminus X and G2f(X)G_{2}\setminus f(X) are cospectral.

Note that, since S\emptyset\subseteq S, it is implicit in Definition 1.1 that G1G_{1} and G2G_{2} are cospectral. It was subsequently shown by Godsil [8] that the requirement that G1XG_{1}\setminus X and G2f(X)G_{2}\setminus f(X) be cospectral for every subset XSX\subseteq S can be replaced with the same requirement for only those subsets XSX\subseteq S which have cardinality at most two, and the converse is also true. That is, SS and TT are removal cospectral if and only if, for all choices of i,jSi,j\in S, the graphs G1{i,j}G_{1}\setminus\{i,j\} and G2{f(i),f(j)}G_{2}\setminus\{f(i),f(j)\} are cospectral.

Our present construction takes a set of cospectral (possibly isomorphic), kk-regular graphs and uses them to construct a new set of cospectral graphs, in which the resulting graphs are still kk-regular. This involves selecting any choice of a kk-regular graph to be combined with each graph in the former set. The order of the newly constructed graphs depends on this selection, and the growth in order can be made very small if desired. We then demonstrate that, for some small choices of order NN, a large proportion of the cubic graphs which are not uniquely determined by their spectrum can be produced by this construction. Interestingly, this proportion appears to be increasing with NN.

2 Preliminaries

Throughout this manuscript we use standard graph theory notation such as can be found in [6]. All graphs used here are simple, connected and undirected. The neighborhood of a vertex vv is the set of vertices adjacent to vv and is denoted by N(v)N(v). The adjacency matrix of a graph GG is denoted by A(G)A(G). A subgraph of GG arising by deleting a set of vertices UV(G)U\subset V(G) and all edges incident to those vertices is denoted by GUG\setminus U. Edge deletions are denoted by GeG-e where eE(G)e\in E(G). We denote the characteristic polynomial of a graph GG by ϕ(G,x):=det(xIA(G))\phi(G,x):=\det(xI-A(G)). The walk generating matrix of a graph is W(G,x)=r0A(G)rxrW(G,x)=\sum_{r\geq 0}A(G)^{r}x^{r} whose (i,j)(i,j)-th entry, denoted by Wij(G,x)W_{ij}(G,x), is the generating function for the set of all walks in GG from vertex ii to vertex jj. A walk starting at vertex ii and ending at vertex jj is an i-ji{\text{-}}j walk.

We next define a special case of Definition 1.1 and call vertices which satisfy this special case replaceable.

Definition 2.1

For two graphs G1G_{1} and G2G_{2}, the vertices uV(G1)u\in V(G_{1}) and vV(G2)v\in V(G_{2}) are called replaceable if their respective neighborhoods N(u)N(u) and N(v)N(v) are removal cospectral. If the bijection defining the removal cospectral set is g:N(u)N(v)g:N(u)\rightarrow N(v), then we denote the replaceable vertices by the tuple (u,v,g)(u,v,g).

Lemma 2.2

Let G1G_{1} and G2G_{2} be graphs with replaceable vertices (u,v,g)\big{(}u,v,g\big{)}, where uV(G1)u\in V(G_{1}) and vV(G2)v\in V(G_{2}) and g:N(u)N(v)g:N(u)\rightarrow N(v). Then the set N(u){u}N(u)\cup\{u\} is removal cospectral with N(v){v}N(v)\cup\{v\}, with the new removal cospectral bijection f:N(u){u}N(v){v}f:N(u)\cup\{u\}\rightarrow N(v)\cup\{v\} being equal to gg on N(u)N(u) and f(u)=vf(u)=v.

Proof 2.1.

Godsil proved in [8] that SV(G1)S\subset V(G_{1}) and TV(G2)T\subset V(G_{2}) are removal cospectral if and only if for all i,jSi,j\in S, the following equation holds for some bijection hh.

Wij(G1,x)=Wh(i)h(j)(G2,x).W_{ij}(G_{1},x)=W_{h(i)h(j)}(G_{2},x). (1)

In particular, if we set S=N(u)S=N(u) and T=N(v)T=N(v), then we have h=gh=g. Then, (1) holds if and only if, for every rr, there is a bijection between i-ji{\text{-}}j walks of length rr in G1G_{1} and g(i)-g(j)g(i){\text{-}}g(j) walks of length rr in G2G_{2}. To complete the proof, we show that this correspondence implies that there are analagous bijections when S=N(u){u}S=N(u)\cup\{u\}.

For each i,jN(u)i,j\in N(u), let ww be any i-ji{\text{-}}j walk. Then ww can be uniquely extended to a walk from uu to jj by appending the edge (u,i)(u,i). Also, ww can be uniquely extended to a u-uu{\text{-}}u walk by appending the edges (u,i)(u,i) and (j,u)(j,u). These observations, along with the already existing correspondence between i-ji{\text{-}}j walks and g(i)-g(j)g(i){\text{-}}g(j) walks, provide one bijection between u-ju{\text{-}}j walks and v-f(j)v{\text{-}}f(j) walks for each jN(u)j\in N(u), and another bijection between u-uu{\text{-}}u walks and v-vv{\text{-}}v walks. Hence, there is a bijection between walks in G1G_{1} starting and ending in N(u){u}N(u)\cup\{u\}, and walks in G2G_{2} starting and ending in N(v){v}N(v)\cup\{v\}.

In Definition 3 we describe a type of graph composition which we call the vertex composition.

Definition 3.

Let GG and HH be graphs with the vertices uV(G)u\in V(G) and vV(H)v\in V(H) and their neighborhoods N(u)={u1,u2,,uk}N(u)=\{u_{1},u_{2},...,u_{k}\}, N(v)={v1,v2,,vk}N(v)=\{v_{1},v_{2},...,v_{k}\}. Define any bijection f:N(u)N(v)f:N(u)\rightarrow N(v), then the graph (GH)(G\circ H) is the graph with the vertex set (G{u})(H{v})(G\setminus\{u\})\cup(H\setminus\{v\}) and the additional edges (ui,f(ui))(u_{i},f(u_{i})); i=1,2,,ki=1,2,...,k. Note that |N(u)|=|N(v)||N(u)|=|N(v)|. This vertex composition will be denoted by the tuple ((GH),u,v,f)\big{(}(G\circ H),u,v,f\big{)}.

Note that if GG and HH are both kk-regular, then the graph (GH)(G\circ H) will be as well. An example of such a composition is displayed in Figure 1.

Refer to caption
Figure 1: Vertex composition ((GH),u,v,f)\big{(}(G\circ H),u,v,f\big{)}.

We will be applying the vertex composition in Definition 3 upon sets of graphs, to produce new sets of graphs. The new edges formed in each composition must be done so in a consistent manner. To this end, consider a set of graphs {G1,,Gm}\{G_{1},...,G_{m}\} with replaceable vertices u1V(G1),u2V(G2),,umV(Gm)u_{1}\in V(G_{1}),u_{2}\in V(G_{2}),...,u_{m}\in V(G_{m}) such that |N(ui)|=ki|N(u_{i})|=k\ \forall i. Let gijg_{ij} be the bijections defining the removal cospectral neighborhoods, hence we denote the replaceable vertices as the tuples (ui,uj,gij)\big{(}u_{i},u_{j},g_{ij}\big{)}. Consider a fixed graph HH with a fixed vertex hV(H)h\in V(H), |N(h)|=k|N(h)|=k and an arbirtrary bijection f:N(u1)N(h)f:N(u_{1})\rightarrow N(h) which is to determine the new edges formed in the first composition ((G1H),u1,h,f)\big{(}(G_{1}\circ H),u_{1},h,f\big{)}. Then the new edges formed in the rest of the compositions are determined by ((GiH),ui,h,f(gi1))\big{(}(G_{i}\circ H),u_{i},h,f(g_{i1})\big{)} for i=2,,mi=2,\dots,m.

Theorem 4.

Let G1G_{1} and G2G_{2} be graphs with replaceable vertices (u,v,g)\big{(}u,v,g\big{)} where uV(G1)u\in V(G_{1}), vV(G2)v\in V(G_{2}) and g:N(u)N(v)g:N(u)\rightarrow N(v). For a third graph HH with a fixed vertex hV(H)h\in V(H), the compositions ((G1H),u,h,f)\big{(}(G_{1}\circ H),u,h,f\big{)} and ((G2H),v,h,f(g1))\big{(}(G_{2}\circ H),v,h,f(g^{-1})\big{)} are cospectral.

Proof 2.2.

The method of proof follows from results of Godsil in [8] which are outlined below. Consider two induced subgraphs within the graph (G1H)(G_{1}\circ H), the first being the subgraph induced by the remaining vertices of G1G_{1}, and the second being the subgraph induced by (HN(u)):=F(H\cup N(u)):=F. Then plainly G1F=N(u)G_{1}\cap F=N(u). The submatrix of the walk generating matrix W(G1,x)W(G_{1},x) corresponding to the row and column indicies from N(u)N(u) is denoted as WN(G1,x)W_{N}(G_{1},x). Then Theorem 4.14.1 of Godsil in [8] asserts that

WN((G1H),x)1=WN(G1u,x)1+WN(F,x)1+xA(N(u))I.W_{N}((G_{1}\circ H),x)^{-1}=W_{N}(G_{1}\setminus u,x)^{-1}+W_{N}(F,x)^{-1}+xA(N(u))-I.

Taking the determinant of both sides, and then employing Theorem 3.1 from [8] on the left hand side, we see that

x|N(u)|ϕ((G1H),x1)ϕ(G1N(u),x1)ϕ(Hh,x1)=det(WN(G1u,x)1+WN(F,x)1+xA(N(u))I).\dfrac{x^{|N(u)|}\phi((G_{1}\circ H),x^{-1})}{\phi(G_{1}\setminus N(u),x^{-1})\phi(H\setminus h,x^{-1})}=\det\big{(}W_{N}(G_{1}\setminus u,x)^{-1}+W_{N}(F,x)^{-1}+xA(N(u))-I\big{)}.

As is described in [8], the above shows that ϕ((G1H),x1)\phi((G_{1}\circ H),x^{-1}) is determined by the polynomials ϕ(G1N(u),x1)\phi(G_{1}\setminus N(u),x^{-1}), ϕ(Hh,x1)\phi(H\setminus h,x^{-1}) and det(WN(G1u,x)1+WN(F,x)1+xA(N(u))I)\det\big{(}W_{N}(G_{1}\setminus u,x)^{-1}+W_{N}(F,x)^{-1}+xA(N(u))-I\big{)}. The terms inside the determinant expression are determined by ϕ(G1(K{u}),x1)\phi(G_{1}\setminus(K\cup\{u\}),x^{-1}) and ϕ(FK,x1)\phi(F\setminus K,x^{-1}) where KK ranges over all subsets of N(u)N(u) of cardinality at most two.

By considering the same representation for the composition ((G2H),v,h,f(g1))\big{(}(G_{2}\circ H),v,h,f(g^{-1})\big{)}, it is easily seen that the polynomials which determine ϕ((G2H),x1)\phi((G_{2}\circ H),x^{-1}) are, by the cospectrality of G1G_{1} and G2G_{2} and by Lemma 2.2, the same as the polynomials which determine ϕ((G1H),x1)\phi((G_{1}\circ H),x^{-1}). Hence, the result follows.

Next, similarly to the definitions above, another special case of Definition 1.1 is in regards to replaceable edges.

Definition 5.

For two graphs G1G_{1} and G2G_{2}, the edges e1E(G1)e_{1}\in E(G_{1}) and e2E(G2)e_{2}\in E(G_{2}) are called replaceable if their sets of incident vertices are removal cospectral. If the bijection defining the removal cospectral set is gg, then we denote the replaceable edges by the tuple (e1,e2,g)(e_{1},e_{2},g).

The following is a simple consequence of Definitions 1.1 and 5.

Lemma 6.

Let G1G_{1} and G2G_{2} be graphs with replaceable edges (e1,e2,g)\big{(}e_{1},e_{2},g\big{)} where e1E(G1)e_{1}\in E(G_{1}) and e2E(G2)e_{2}\in E(G_{2}). Then the vertices incident to e1e_{1} remain removal cospectral to the vertices incident to e2e_{2} in the graphs G1e1G_{1}-e_{1} and G2e2G_{2}-e_{2}.

Proof 2.3.

Without loss of generality, let e1=(u1,u2)e_{1}=(u_{1},u_{2}), e2=(v1,v2)e_{2}=(v_{1},v_{2}) and g(u1)=v1g(u_{1})=v_{1}, g(u2)=v2g(u_{2})=v_{2}. Note that deleting any one or two of the vertices u1u_{1} and u2u_{2} in G1e1G_{1}-e_{1} gives the same graph as the deletion in the original G1G_{1}. So the only case which needs to be considered is when none of the vertices are deleted. A well known representation of ϕ(G1,x)\phi(G_{1},x), e.g. see [8], is

ϕ(G1,x)=ϕ(G1e1,x)ϕ(G1{u1,u2},x)2ϕ(G1u1,x)ϕ(G1u2,x)ϕ(G1,x)ϕ(G1{u1,u2},x).\phi(G_{1},x)=\phi(G_{1}-e_{1},x)-\phi(G_{1}\setminus\{u_{1},u_{2}\},x)\\ -2\sqrt{\phi(G_{1}\setminus u_{1},x)\phi(G_{1}\setminus u_{2},x)-\phi(G_{1},x)\phi(G_{1}\setminus\{u_{1},u_{2}\},x)}.

The analogous representation of ϕ(G2,x)\phi(G_{2},x) is

ϕ(G2,x)=ϕ(G2e2,x)ϕ(G2{v1,v2},x)2ϕ(G2v1,x)ϕ(G2v2,x)ϕ(G2,x)ϕ(G2{v1,v2},x).\phi(G_{2},x)=\phi(G_{2}-e_{2},x)-\phi(G_{2}\setminus\{v_{1},v_{2}\},x)\\ -2\sqrt{\phi(G_{2}\setminus v_{1},x)\phi(G_{2}\setminus v_{2},x)-\phi(G_{2},x)\phi(G_{2}\setminus\{v_{1},v_{2}\},x)}.

Comparing these two equations and considering cospectrality of the various vertex deleted graphs, reveals that ϕ(G1e1,x)=ϕ(G2e2,x)\phi(G_{1}-e_{1},x)=\phi(G_{2}-e_{2},x), and hence the result follows.

In Definition 7, we describe another type of graph composition which we call the edge composition.

Definition 7.

Let GG and HH be graphs with the edges e1E(G)e_{1}\in E(G) and e2E(H)e_{2}\in E(H) and their respective incident vertices u1,u2V(G)u_{1},u_{2}\in V(G) and v1,v2V(H)v_{1},v_{2}\in V(H). Define any bijection f:{u1,u2}{v1,v2}f:\{u_{1},u_{2}\}\rightarrow\{v_{1},v_{2}\}, then the graph (GH)(G\diamond H) is the graph with the vertex set V(G)V(H)V(G)\cup V(H), and edge set E(G)E(H){e1,e2}E(G)\cup E(H)\setminus\{e_{1},e_{2}\} plus the additional edges (ui,f(ui))i=1,2(u_{i},f(u_{i}))\ i=1,2. This edge composition will be denoted by the tuple ((GH),e1,e2,f)\big{(}(G\diamond H),e_{1},e_{2},f\big{)}. Figure 2 is an illustration of (GH)(G\diamond H).

Refer to caption
Figure 2: Edge composition ((GH),e1,e2,f)\big{(}(G\diamond H),e_{1},e_{2},f\big{)} where f(u1)=v1f(u_{1})=v_{1} and f(u2)=v2f(u_{2})=v_{2}.

By using Lemma 6 and the analagous observations as in Theorem 4, the following can be shown.

Theorem 8.

Let G1G_{1} and G2G_{2} be graphs with replaceable edges (e1,e2,g)\big{(}e_{1},e_{2},g\big{)} where e1E(G1)e_{1}\in E(G_{1}), e2E(G2)e_{2}\in E(G_{2}), and e1=(u1,u2)e_{1}=(u_{1},u_{2}). For a third graph HH containing an edge hE(H)h\in E(H), where h=(v1,v2)h=(v_{1},v_{2}), and an arbitrary bijection f:{u1,u2}{v1,v2}f:\{u_{1},u_{2}\}\rightarrow\{v_{1},v_{2}\}, the compositions ((G1H),e1,h,f)\big{(}(G_{1}\diamond H),e_{1},h,f\big{)} and ((G2H),e2,h,f(g1))\big{(}(G_{2}\diamond H),e_{2},h,f(g^{-1})\big{)} are cospectral.

Remark 9.

In the proceeding section we will discuss what happens when these constructions are applied to regular graphs. In the special case when all graphs involved are 3-regular, the vertex composition and edge composition mimic, respectively, the types 3 and 2 breeding operations discussed in [2]. From [2] we then know various properties of the resulting cospectral graphs. For example, (GH)(G\circ H) is planar or bipartite if and only if GG and HH both are, similarly for (GH)(G\diamond H). Also, GG and HH being Hamiltonian is a necessary condition for (GH)(G\circ H) or (GH)(G\diamond H) to be Hamiltonian. The study of cospectral 3-regular graphs with differing Hamiltonicity is itself a topic of research, e.g. see [5, 7].

3 Constructing cospectral regular graphs

In the following, we only consider replaceable vertices, however an analogous method can be easily obtained for replaceable edges. We begin with a set of cospectral kk-regular graphs {G1,,Gm}\{G_{1},...,G_{m}\}, each of order NN, with the vertices u1V(G1),u2V(G2),,umV(Gm)u_{1}\in V(G_{1}),u_{2}\in V(G_{2}),...,u_{m}\in V(G_{m}), such that (ui,uj,gij)(u_{i},u_{j},g_{ij}) are replaceable vertices for any choice of graphs GiG_{i} and GjG_{j}, and where gij:N(ui)N(uj).g_{ij}:N(u_{i})\rightarrow N(u_{j}). We now illustrate how to use this set for the construction of new cospectral kk-regular graphs. Consider a second set of cospectral kk-regular graphs {H1,,Hn}\{H_{1},...,H_{n}\}, of order MM, defined similarly to above with replaceable vertices viV(Hi)v_{i}\in V(H_{i}), and let the bijections defining these removal cospectral sets be hij:N(vi)N(vj)h_{ij}:N(v_{i})\rightarrow N(v_{j}). Choose an arbitrary bijection f:N(u1)N(v1)f:N(u_{1})\rightarrow N(v_{1}) for the first composition ((G1H1),u1,v1,f)\big{(}(G_{1}\circ H_{1}),u_{1},v_{1},f\big{)}. Then, by applying Theorem 4 multiple times, all of the compositions ((GiHj),ui,vj,h1j(f(gi1)))\big{(}(G_{i}\circ H_{j}),u_{i},v_{j},h_{1j}(f(g_{i1}))\big{)} for i=1,,mi=1,...,m and j=1,,nj=1,...,n are cospectral. This produces a set of cardinality nmnm cospectral kk-regular graphs on N+M2N+M-2 vertices. Note that choosing a different bijection ff could potentially produce an alternate set of cardinality nmnm cospectral graphs. The tedious notation here should be cleared up upon viewing the example below. Essentially we are just ensuring that the new edges are connected to the appropriate vertices.

Example 1

The cubic graphs {G1,G2}\{G_{1},G_{2}\} in Figure 3 are cospectral with replaceable vertices (t1,u1,g)\big{(}t_{1},u_{1},g\big{)} and the cubic graphs {H1,H2}\{H_{1},H_{2}\} in Figure 3 are also cospectral with replaceable vertices (v1,w1,h)\big{(}v_{1},w_{1},h\big{)}. The removal cospectral bijections are such that g(ti)=uig(t_{i})=u_{i} and h(vi)=wih(v_{i})=w_{i} for i=2,3,4i=2,3,4. First, consider the graph H1H_{1} and an arbitrary bijection f:N(t1)N(v1)f:N(t_{1})\rightarrow N(v_{1}). For this example we chose f(ti)=vif(t_{i})=v_{i} for i=2,3,4i=2,3,4. Then the graph obtained from the composition ((G1H1),t1,v1,f)\big{(}(G_{1}\circ H_{1}),t_{1},v_{1},f\big{)} is the first graph displayed in Figure 4. The second graph displayed in Figure 4 is obtained from the composition ((G2H1),u1,v1,f(g1))\big{(}(G_{2}\circ H_{1}),u_{1},v_{1},f(g^{-1})\big{)}. By Theorem 4, these two graphs are cospectral. Next, we consider the graph H2H_{2} and construct two more cospectral graphs with the compositions ((G1H2),t1,w1,h(f))\big{(}(G_{1}\circ H_{2}),t_{1},w_{1},h(f)\big{)} and ((G2H2),u1,w1,h(f(g1)))\big{(}(G_{2}\circ H_{2}),u_{1},w_{1},h(f(g^{-1}))\big{)}, displayed as the final two graphs in Figure 4. Then, by Theorem 4, we can conclude that all four graphs displayed in Figure 4 are cospectral.

Refer to caption
Figure 3: The top left graph G1G_{1} is cospectral with the top right graph G2G_{2} with the replaceable vertices (t1,u1,g)\big{(}t_{1},u_{1},g\big{)}. The bottom left graph H1H_{1} is cospectral with the bottom right graph H2H_{2} with the replaceable vertices (v1,w1,h)\big{(}v_{1},w_{1},h\big{)}.
Refer to caption
Figure 4: The four non-isomorphic, cospectral, graphs arising from the compositions ((G1H1),t1,v1,f)\big{(}(G_{1}\circ H_{1}),t_{1},v_{1},f\big{)}, ((G2H1),u1,v1,f(g1))\big{(}(G_{2}\circ H_{1}),u_{1},v_{1},f(g^{-1})\big{)}, ((G1H2),t1,w1,h(f))\big{(}(G_{1}\circ H_{2}),t_{1},w_{1},h(f)\big{)} and ((G2H2),u1,w1,h(f(g1)))\big{(}(G_{2}\circ H_{2}),u_{1},w_{1},h(f(g^{-1}))\big{)}.

We now make a couple of remarks about this method. First, it should be noted that cospectral kk-regular graphs produced by this method have cyclic edge connectivity of at most kk. Hence, any cospectral graphs with larger cyclic edge connectivity can not be produced in this manner. Second, the set of graphs {H1,,Hm}\{H_{1},\dots,H_{m}\} could be chosen to have cardinality one. In such a case, any vertex in the one graph may be chosen as its “replaceable” vertex.

4 Computational results

Cubic graphs provide a nice platform for conducting experiments because it is computationally tractable to perform exhaustive searches over the set of all cubic graphs of small order, say N20N\leq 20. We provide various computational results in relation to replaceable vertices/edges and cubic graphs. In Table 1 we display the number of cubic graphs that possess replaceable vertices or edges within themselves, such that those vertices or edges lie in different orbits.

Let NUS3 (non-unique spectrum) denote a cubic graph which is cospectral with at least one other cubic graph, then in Table 2 we demonstrate the commonness of replaceable vertices/edges among the cubic graphs which are NUS3.

Table 1: Total number of connected, non-isomorphic, cubic graphs of order NN and the numbers of those which contain replaceable vertices/edges within themselves, which are from different orbits.
Order Total graphs Contain rep. edge % Contain rep. vertex %
12 85 3 3.6 2 2.4
14 509 16 3.1 8 1.6
16 4060 115 2.8 49 1.2
18 41301 670 1.6 354 0.9
20 510489 4516 0.9 1993 0.4
Table 2: Number of cubic graphs of order NN which are cospectral with at least one other cubic graph (NUS3), and the numbers of those which also contain replaceable vertices/edges (with another NUS3 cubic graph).
Order NUS3 graphs Contain rep. edge % Contain rep. vertex %
14 6 6 100 4 66.7
16 83 77 92.8 65 78.3
18 956 868 90.8 800 83.7
20 9779 9529 97.4 9271 94.8
22 114635 114304 99.7 111325 97.1

One possible explanation for the dramatic increase in commonness from Table 1 to Table 2 is that replaceable edges and vertices are often, in some sense, “retained” when cospectral graphs are created. This implies that we should be able to construct an increasing proportion of such graphs as the order increases. This appears to be the case, as can be seen in Table 3 which displays the number of cubic graphs which are NUS3 and the number of those which can be obtained as a result of the construction in Section 3. Recall that NUS3 graphs obtained by the construction in Section 3 have cyclic edge connectivity no larger than three; since these are the only graphs that can be obtained by our method, we also include the number of these in Table 3, and use NUS3C to denote such graphs.

Table 3: Number of cubic graphs of order NN which are cospectral with at least one other cubic graph (NUS3), the number of such graphs with cyclic edge connectivity at most 3 (NUS3C), and the number of those which can be seen as the result of our construction. The proportion of NUS3 and NUS3C graphs that we generate is also given.
Order NUS3 graphs NUS3C graphs Number constructed % (NUS3) % (NUS3C)
14 6 6 4 66.7 66.7
16 83 65 40 48.2 61.5
18 956 841 492 51.5 58.5
20 9779 7604 6163 63.0 81.0
22 114635 89858 78775 68.7 87.7

As a final remark, denote the set of all cubic graphs of order NN which are NUS3 as CNC_{N}, and then the subset of CNC_{N} which consists of graphs which are produced by one of the constructions, denote as CNC^{*}_{N}. Then Table 3 suggests the following conjecture, which we leave untouched for future investigations.

Conjecture 1.
limN|CN||CN|=1.\lim_{N\rightarrow\infty}\dfrac{|C^{*}_{N}|}{|C_{N}|}=1.

References

  • [1] Abiad, A., Haemers, W. H. (2012) Cospectral graphs and regular orthogonal matrices of level 2. Electron. J. Combin. 19, 13–29.
  • [2] Baniasadi, P., Ejov, V., Filar, J. A., Haythorpe, M. (2016) Genetic theory for cubic graphs, SpringerBriefs in Operations Research, Springer Publishing Company.
  • [3] Bapat, R. B., Karimi, M. (2016) Construction of cospectral regular graphs, Mat. Vesnik 68, 66–76.
  • [4] Blazsik, Z. L., Cummings, J., Haemers, W. H. (2015) Cospectral regular graphs with and without a perfect matching. Disc. Math. 338, 199–201.
  • [5] Borkar, V. S., Ejov, V., Filar, J. A., Nguyen, G. T. (2012) Hamiltonian Cycle Problem and Markov Chains., Springer Science & Business Media, pp. 7.
  • [6] Cvetkovic, D., Rowlinson, P., Simic, S. (1997) Eigenspaces of Graphs., Cambridge University Press.
  • [7] Filar, J. A., Gupta, A., Lucas, S. K. (2005) Connected cospectral graphs are not necessarily both Hamiltonian. Aust. Math. Soc. Gaz. 32, 193.
  • [8] Godsil, C. D. (1992) Walk Generating Functions, Christophell-Darboux Identities and the Adjacency Matrix of a Graph. Combin. Probab. Comput. 1, 13–25.
  • [9] Godsil, C. D., Mckay, B. D. (1982) Construction of cospectral graphs. Aequationes Math. 25, 257–268.
  • [10] Rowlinson, P. (1993) The Characteristic Polynomials of Modified Graphs. Disc. App. Math. 67, 209–219.
  • [11] Schwenk, A. J. (1979) Removal-cospectral sets of vertices in a graph. Proc. 10th Southeastern International Conference on Combinatorics, Graph Theory & Computing, Utilitas Math., Winnipeg, Manitoba.