On +/-1 Eigenvectors of Graphs
On +/-1 Eigenvectors of Graphs
eu
ISSN 1855-3966 (printed edn.), ISSN 1855-3974 (electronic edn.)
On 1 eigenvectors of graphs
Dragan Stevanovic
Mathematical Institute of the Serbian Academy of Science and Arts,
Knez Mihajlova 36, 11000 Belgrade, Serbia and
University of Primorska, Institute Andrej Marusic,
Muzejski trg 2, 6000 Koper, Slovenia
Dedicated to the memory of Ante Graovac
Received 30 January 2016, accepted 23 June 2016, published online 26 September 2016
Abstract
While discussing his spectral bound on the independence number of a graph, Herbert
Wilf asked back in 1986 what kind of a graph admits an eigenvector consisting solely of
1 entries? We prove that Wilfs problem is NP-complete, but also that the set of graphs
having a 1 eigenvector is quite rich, being closed under a number of different graph
compositions.
Keywords: Eigenvector, adjacency matrix, Wilfs problem.
Math. Subj. Class.: 05C50
Introduction
Chemical graphs, defined as simple, connected, unweighted graphs with the maximum
vertex degree at most three, correspond to carbon skeletons of known and potential conjugated hydrocarbon molecules, and their adjacency spectra provide models for energies of the -molecular orbitals of such systems within the simple Huckel approach (see,
e.g., [10]). Restriction on the maximum vertex degree confines the eigenvalues of a chemical graph to the interval [3, +3]. Jerry
Dias[6] noted
that the examples of chemical
Ray
graphs with adjacency eigenvalues 1, 2, 3, 2, 5, 6, 7 and 3 are all readily found,
and he discussed structural factors associated with the presence of eachof these eigenvalues. However, he could not find any chemical graph with eigenvalue 8 and made an
The author was supported by the research program P1-0285 and the research projects J1-5433, J1-6720,
J1-6743, and J7-6828 of the Slovenian Research Agency and the research grant ON174033 of the Ministry of
Education and Science of Serbia.
E-mail address: [email protected] (Dragan Stevanovic)
416
Figure 1: Construction of a graph with the maximum degree three and eigenvalue 8
from 4k copies of smaller such graph
containing a leaf. Copies of the local eigenvector
417
graphs is a special case of a more general graph composition, called the NEPS of graphs.
Let B be a set of nonzero binary n-tuples, i.e., B {0, 1}n \{(0, . . . , 0}, such that for every
i = 1, . . . , n there exists B with i = 1. The non-complete extended p-sum of graphs
G1 = (V1 , E1 ), . . . , Gn = (Vn , En ) with the basis B, denoted by NEPS(G1 , . . . , Gn ; B),
is the graph with the vertex set V1 Vn in which two vertices u = (u1 , . . . , un ) and
v = (v1 , . . . , vn ) are adjacent if and only if there exists B such that for i = 1, . . . , n
holds ui = vi if i = 0 and (ui , vi ) Ei if i = 1. The Kronecker product A B
of matrices A = (aij )m,n and B = (bij )p,q is the mp nq matrix obtained from A
by replacing each entry aij by the block aij B. It is well known (see, e.g., [13]) that the
Kronecker product is distributive with respect to the standard product of matrices:
(AB) (CD) = (A C)(B D).
(1.1)
We start by showing that in order to be able to decide if the adjacency matrix of a graph
has a 1 eigenvector associated to an arbitrary eigenvalue, it is sufficient to know how to
decide if the adjacency matrix has a 1-eigenvector corresponding to the eigenvalue 0.
PMEIG problem. Given a simple graph G with an adjacency matrix A, find an eigenvector
of A all of whose entries are equal to either +1 or 1, if it exists.
PMEIG0 problem. Given a simple graph G with an adjacency matrix A, find an eigenvector of A corresponding to the eigenvalue 0, all of whose entries are equal to either +1 or
1, if it exists.
Theorem 2.1. PMEIG is polynomially reducible to PMEIG0.
Proof. Let G be an n-vertex simple graph with an adjacency matrix A. If G has a 1
eigenvector x corresponding to some eigenvalue of A, then from
Ax = x
and the fact that the entries of Ax and x are integers, we conclude that must be an integer
itself. ( cannot be a rational number as it is a root of the monic polynomial det(I A)
with integer coefficients.) The value || is bounded from above by the spectral radius 1 (A)
by the Perron-Frobenius theorem, which is further bounded from above by the maximum
vertex degree by the Rayleigh quotient (see, e.g., [14, pp. 811] for the discussion of the
Perron-Frobenius theorem and the Rayleigh quotient). Thus,
{, . . . , }.
(2.1)
Recall that the adjacency spectrum of the Cartesian product G + H of two graphs G
and H is fully described by the adjacency spectra of G and H (see, e.g., [4, pp. 3032]):
if is an eigenvalue of G with an eigenvector x and is an eigenvalue of H with an
eigenvector y, then + is the eigenvalue of G + H with the eigenvector x y, where
denotes the Kronecker product of matrices. Moreover, all eigenvalues and eigenvectors of
G + H are representable in this form.
It is well-known that the adjacency spectrum of the complete bipartite graph Km,m consists of the simple eigenvalue m with the all-one eigenvector j + , the simple eigenvalue m
418
with the eigenvector j whose entries are equal to 1 in one part and to 1 in the other part
of the bipartition, and the eigenvalue 0 of multiplicity 2m 2.
Thus, if G has an integer eigenvalue with a 1 eigenvector x, then G + K||,|| has
an eigenvalue 0 with the corresponding 1 eigenvector equal to either x j + or x j .
We see that, due to (2.1), to solve PMEIG it is enough to solve PMEIG0 for the +1 n
graphs
G, G + K1,1 , G + K2,2 , . . . , G + K, .
Since these graphs have n, 2n, 4n, . . . , 2n vertices, respectively, this represents a
polynomial-time Turing reduction from PMEIG to PMEIG0.
Next, observe that each 1 eigenvector x of A corresponding to the eigenvalue 0 determines the partition V = Vx+ Vx of the vertex set V of G:
Vx+
{u V : xu = 1},
Vx
{u V : xu = 1}.
Due to
Ax = 0
and the fact that for each u V
(Ax)u =
xv ,
(2.2)
vu
(2.3)
We will say that a graph G with the vertex set V is eigenpartite if there exists a partition
V = V + V , V + V = , satisfying the property (2.3). From (2.2) it is obvious
that if G is eigenpartite, then G has a 1 eigenvector x corresponding to the eigenvalue 0,
obtained by setting its components to +1 for vertices in V + and to 1 for vertices in V .
Hence PMEIG0 is equivalent to the problem of eigenpartiteness of G.
The proof of the following theorem was communicated to the author by Brendan
McKay and Laszlo Lovasz.
Theorem 2.2. PMEIG0 is NP-complete.
Proof. We prove this theorem by reducing a known NP-complete problem to PMEIG0.
For an integer k 2, a k-uniform hypergraph H is an ordered pair H = (V, E), where
the set of vertices V is a finite nonempty set, and the set of edges E is a family of distinct
k-subsets of V . A hypegraph H = (V, E) is 2-colorable if it admits a partition of its
vertex set V into two color classes so that no edge in E is monochromatic. It was shown
in [12] that deciding 2-colorability of k-uniform hypergraphs is NP-complete for every
fixed k 3. Even more, deciding 2-colorability of a 4-uniform hypergraph so that each
edge has two vertices of each color is also NP-complete.
Take an instance H = (V, E) of the latter hypergraph problem. Construct a simple
graph G with the vertex set V E 0 E 00 , where E 0 and E 00 are two copies of E:
E 0 = {e0 : e E},
E 00 = {e00 : e E}.
419
420
The second part of the algorithm then exhaustively searches the set of all 1 vectors
over U for their potential extensions to the full 1 eigenvector of the eigenvalue 0: any
z {1, +1}U can be uniquely written as z = Ey, since E has the full rank, and then
x = Dy is the unique eigenvector of 0 that coincides with z over U .
Since Bareiss algorithm has polynomial running time, the time complexity of the above
algorithm is controlled by multiplicity of the eigenvalue 0. Although it is believed that
almost all graphs have simple eigenvalues only (which is supported by a recent proof of
Tao and Vu [15] of Babais conjecture that the Erdos-Renyi random graph G(n, 12 ) has all
simple eigenvalues with probability 1 o(1)), the problem with the above algorithm, as
expected, is that most of the interesting graphs, to which we would like to apply it, do have
high multiplicity of the eigenvalue 0. For example, the graph constructed in Theorem 2.2
in the reduction from the problem of 2-coloring 4-uniform hypergraph H = (V, E) to
PMEIG0, is bipartite with the bipartition (V, E 0 E 00 ). Multiplicity of its eigenvalue 0 is
then, according to [5], at least the difference 2|E| |V | in sizes of its bipartition, so that
the above algorithm then has running time complexity not less than 22|E||V | .
The above algorithm can be used to test existence of a 1 eigenvector for any other
fixed eigenvalue of the adjacency matrix A simply by supplying A I instead of A
to it. We have run this algorithm on the triangular graph L(K8 ) and the three Chang
graphs cospectral to it. Recall that the triangular graph is the line graph L(Km ), defined
on the pairs of an n-set, with two pairs adjacent if they have an element in common. It is a
strongly regular graph with the parameters (, k, , ) = (m(m1)/2, 2(m2), m2, 4).
Chang [2, 3] and Hoffman [11] proved that if G is a strongly regular graph with these
parameters, then for m 6= 8, m 4, G is isomorphic to the triangular graph L(Km ), while
for m = 8, G is isomorphic either to L(K8 ) or to one of three Chang graphs. For m = 8,
all four of these graphs have the adjacency spectrum [12, 4(7) , 2(20) ], with exponents
denoting multiplicities. Interestingly, the above algorithm reports that each of the three
Chang graphs has a 1 eigenvector corresponding to the least eigenvalue 2, while the
triangular graph L(K8 ) does not have such eigenvector. Since these four graphs share the
same local neighborhood structure, it becomes apparent that one could hardly hope to find
a simple answer to Wilfs implicit question of existence of a 1 eigenvector corresponding
to the smallest eigenvalue of a regular graph.
421
422
Conclusion
We have studied here Wilfs question of what kind of a graph admits an eigenvector consisting solely of 1 entries [16]? Under Wilfs implicit assumption that the 1 eigenvector
should correspond to the smallest eigenvalue of a regular graph, the question hardly has a
simple answer, due to the difference in behavior between the triangular graph L(K8 ) and
the three Chang graphs, all four being nonisomorphic strongly regular graphs with the same
parameters (28, 12, 6, 4).
Without this assumption, it turns out that to answer whether a graph has a 1 eigenvector corresponding to any of its eigenvalues, it is enough to be able just to answer whether
a graph has a 1 eigenvector corresponding to the eigenvalue 0. This, unfortunately, does
not make the situation any easier, as the latter problem turns out to be NP complete.
Regardless of these negative results, the set of graphs having a 1 eigenvector corresponding to the eigenvalue 0 turns out to be quite rich: it is closed under taking arbitrary
NEPS and partial Cartesian products of its elements, and for an arbitrary graph G it contains
a graph having G as its induced subgraph.
Acknowledgements
The author is grateful to Brendan McKay and Laszlo Lovasz for proving Theorem 2.2, and
to Brendan McKay and Ross Kang for suggesting additional constructions of eigenpartite
graphs in Section 4.
References
[1] E. H. Bareiss, Sylvesters Identity and Multistep Integer-Preserving Gaussian Elimination,
Mathematics of Computation 22 (1968), 565565, doi:10.2307/2004533.
[2] L. Chang, The uniqueness and non-uniqueness of the triangular association schemes, Sci.
Record, Math. New Ser. 3 (1959), 604613.
[3] L. Chang, Association schemes of partially balanced block designs with parameters = 28,
n1 = 12, n2 = 15 and p211 = 4, Sci. Record, Math. New Ser. 4 (1960), 1218.
423