The Dimension of the Negative Cycle Vectors of Signed Graphs
Alex Schaefer, Thomas Zaslavsky

TL;DR
This paper investigates the structure of vectors representing negative cycle counts in signed graphs, establishing that for certain classes of graphs, these vectors span the entire space of possible cycle length distributions.
Contribution
It introduces a method using matchings with permutability to determine the dimension of the negative cycle vector space, proving it is full-dimensional for key graph classes.
Findings
For complete graphs, the negative cycle vector space is full-dimensional.
For complete bipartite graphs, the space also spans the entire possible dimension.
Provides lower bounds on the dimension of the negative cycle vector space using combinatorial techniques.
Abstract
A "signed graph" is a graph where the edges are assigned sign labels, either "" or "". The sign of a cycle is the product of the signs of its edges. Let denote the list of lengths of cycles in . We equip each signed graph with a vector whose entries are the numbers of negative -cycles for . These vectors generate a subspace of . Using matchings with a strong permutability property, we provide lower bounds on the dimension of this space; in particular, we show for complete graphs, complete bipartite graphs, and a few other graphs that this space is all of .
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
The Dimension of the Negative Cycle Vectors
of Signed Graphs
Alex Schaefer111Dept. of Mathematical Sciences, Binghamton University, Binghamton, NY 13902-6000, U.S.A.; [email protected] and Thomas Zaslavsky222Dept. of Mathematical Sciences, Binghamton University, Binghamton, NY 13902-6000, U.S.A.; [email protected]
Abstract
A signed graph is a graph where the edges are assigned sign labels, either “” or “”. The sign of a cycle is the product of the signs of its edges. Let denote the list of lengths of cycles in . We equip each signed graph with a vector whose entries are the numbers of negative -cycles for . These vectors generate a subspace of . Using matchings with a strong permutability property, we provide lower bounds on the dimension of this space; in particular, we show for complete graphs, complete bipartite graphs, and a few other graphs that this space is all of .
Contents
1 Introduction
A signed graph is a graph whose edges have sign labels, either “” or “”. The sign of a cycle in the graph is the product of the signs of its edges. Write for the number of negative cycles of length in and collect these numbers in the negative cycle vector , where is the order of . We are interested in the structure of the collection of all negative cycle vectors of signings of a fixed underlying simple graph .
There are (at least) three natural questions raised by the existence of these collections of vectors. Most simply, what is their dimension? This is the question we address here. The cycle spectrum is the list of lengths of cycles in ; is a subset of and generates an affine subspace (which is a linear subspace since the negative cycle vector corresponding to the all-positive signing is the zero vector). We develop a general approach to the dimension question in terms of “permutable matchings” (see Section 2.3) that allows us to prove for , , and the Petersen graph that has dimension ; it also gives us a lower bound for the Heawood graph and one other graph family. (We also solve a few examples with an ad hoc method.)
Secondly, what is their convex hull? In [3] and [5], Popescu and Tomescu gave inequalities bounding the numbers of negative cycles in a signed complete graph, which is a step towards the answer for . A related question: Do the facets of the convex cone generated by have combinatorial meaning?
Finally, which vectors in the convex hull are actually the vectors of signed graphs? Recently Kittipassorn and Mészáros [1] gave strong restrictions on the number of negative triangles in a signed . Again, this provides a step towards that answer.
Our work was originally motivated by the complete graph and a natural extension to complete bipartite graphs. Those cases and others led to the following plausible conjecture.
Conjecture 1.1** (Schaefer, 2017).**
For any graph , .
2 Background
2.1 Graphs
A graph is a pair , where is a (finite) set of vertices and is a (finite) set of unordered pairs of vertices, called edges. Our graphs are all unlabeled, simple, and undirected. Thus, all cycle lengths are between 3 and .
The number of cycles of length in is . The cycle vector of is ; sometimes we omit the components that correspond to lengths not in the cycle spectrum.
2.2 Signed graphs
A signed graph is a triple where is a graph (the underlying graph of ) and is the sign function. The sign of a cycle is the product of the signs of its edges; a signed graph in which every cycle is positive is called balanced. The negative edge set is the set of negative edges of and the negative subgraph is , the spanning subgraph of negative edges. We sometimes write for signed so that is its set of negative edges.
Switching means choosing a vertex subset and negating all the edges between and its complement. Switching yields an equivalence relation on the set of all signings of a fixed underlying graph. If is isomorphic to a switching of , we say that and are switching isomorphic. This relation is an equivalence relation on signed graphs; we denote the equivalence class of by . A signed graph is balanced if and only if it is switching isomorphic to the all-positive graph. Signed graphs that are switching isomorphic (like those in Figure 1) have the same negative cycle vector.
As with , we may omit the components of that correspond to lengths not in the cycle spectrum. Also, we may write either or , the latter when only the signature is varying.
The negation of is , in which the sign of every edge is negated. Sometimes and are switching isomorphic, e.g., when is bipartite or when it is a signed complete graph whose negative subgraph is self-complementary.
2.3 Permutable matchings
A matching in is a set of pairwise nonadjacent edges; it is perfect if . A matching (or any other edge set) is permutable if the automorphism group of acts on the edges of as the symmetric group . We base our results largely on permutable matchings, after Zaslavsky noticed their utility in proving our results for complete and complete bipartite graphs. The advantage of permutability is that, in counting negative cycles using a permutable matching, any two equicardinal subsets belong to the same number of negative cycles of each length. That makes it feasible to calculate the numbers in the vectors we use to estimate the dimension of .
Our introduction of permutable matchings led to the question: Which graphs have permutable matchings? That has been investigated by Schaefer and Swartz in [4]; they find large families of examples. On the other hand, there are only a few kinds of graph with permutable perfect matchings; Schaefer and Swartz determine them all.
3 Rank and Dimension
The dimension of is the rank of the matrix whose rows are the negative cycle vectors of all signatures of . (The columns of this matrix may be regarded as corresponding to all lengths , or only the lengths in , depending on which is more convenient. The column of , if included, is all zero.) We know the rank cannot be greater than , the number of nonzero columns, so if we produce a submatrix of that rank we have proved that . That is what we now endeavor to do with the aid of a permutable matching.
Even if permutable matchings fail to reach the spectral upper bound, they imply a lower bound. However, we are happy to say that in our three main examples, permutable matchings solve the dimension problem.
The rank of a matrix is written .
3.1 Any negative edge set
We begin with the most general calculation. Given a signed graph with an arbitrary negative edge set , how many negative cycles are there of each length? For let the number of -cycles that intersect precisely in . We get a formula for by Möbius inversion from the number of -cycles that contain , since
[TABLE]
which implies that
[TABLE]
The number of negative -cycles is the number of -cycles that intersect in an odd number of edges; therefore,
[TABLE]
This applies to every underlying graph .
3.2 A matrix calculation
Now assume we have a graph of order and unbalanced sign functions in addition to the all-positive function . To avoid redundancy we want the associated signed graphs to be switching nonisomorphic. For instance, choosing more than half the edges at a vertex to be negative is switching equivalent to choosing fewer than half, so we would not want the negative edge set to contain more than of the edges incident with any vertex .
For the present assume is even. Here is the matrix of the negative cycle vectors of all signings and their negatives, with columns segregated by parity. The rows are one for (), then rows for the unbalanced signatures , , then (the signature ), then the negations . The relationship between the upper and lower halves is that
[TABLE]
The resulting matrix is
[TABLE]
Row operations reduce this matrix to
[TABLE]
Ignoring the first row of zeroes, this is a block matrix
[TABLE]
The middle row , consisting of the odd-cycle numbers of , corresponds to . The upper left block is the matrix of negative odd-cycle vectors of the unbalanced signatures , and the lower right block is the matrix of negative even-cycle vectors of the same signatures. We infer the fundamental fact that:
Lemma 3.1**.**
The rank of the negative cycle matrix (3.10) equals the sum of the ranks of and .
Lemma 3.1 is written for even but by putting into a column for we include the odd cycles of order ( still being even). This can be handled by the same computation. The reduced matrix in this case is
[TABLE]
For a bipartite graph and , so only needs to be considered.
3.3 Permutable negative matchings
Henceforth we assume we have chosen a fixed permutable matching of edges in . For each we choose a submatching of edges and we define the signature as that of the signed graph . (It does not matter which we use, because is permutable.) This generates a matrix of negative cycle vectors as in (3.10).
In particular, in the biggest permutable edge set is a perfect or near-perfect matching. This turns out to be “perfect” for our purposes. (An almost equally big set is half the edges incident to one vertex, but we found that to be useless since then the entire matrix (3.10) has rank 1.)
Permutability implies that depends only on so we may define for any one -edge subset . Then (3.1) becomes
[TABLE]
where denotes the falling factorial, . Formula (3.29) gives as a polynomial function without constant term, of degree where as the largest integer for which ; that is, is the largest size of a submatching of that is contained in some cycle of length . (We leave undefined if no -cycle intersects .) Clearly, .
(Our reasoning works equally well for subsets of any permutable edge set in any graph. It is easy to see that there are only three possible kinds of permutable set: a matching, a subset of the edges incident to a vertex, and the three edges of a triangle. We mentioned that a permutable set of edges at a vertex is useless for . We have not seen a graph where a triangle’s edges might help find the dimension.)
We illustrate our calculations with as a running example. The data is from Section 4.1. Let . The number of -cycles in that intersect a maximum matching in a fixed set of edges is
[TABLE]
A column of or is not all zero if and only if it corresponds to a cycle length for which there exists an -cycle in that intersects . Such a column contains values of the polynomial . Since has degree at most and no constant term, these values determine completely.
Now a nonzero column in or for cycle length looks like this:
[TABLE]
since is a polynomial of degree ; here .
Suppose the set has (distinct) elements and the set has elements. The number of polynomial degrees represented in the columns of is (which may be less than the number of nonzero columns), and similarly for .
In with a maximum matching, (odd numbers up to ) and (even numbers up to ).
Lemma 3.2**.**
The rank of is at least and that of is at least .
The rank of is if there is an odd length such that an -cycle exists in but no -cycle intersects .
Proof.
In choose one column of each different degree . Divide by the leading coefficient ; this does not affect the rank. Now add columns of the form for every that is not in . Column operations allow us to eliminate the lower-degree terms of the column (3.30), leaving a Vandermonde matrix with in the top row and in the bottom row of column for each . The rank of is . Now reverse the column operations; the rank remains the same, so the columns of must have full column rank.
The same reasoning applies to .
The extra 1 in the rank of arises from the fact that, under the assumption, it has a column that is zero in but is nonzero in . ∎
By this lemma, for the ranks of and are and , respectively, which sum to .
3.4 Theorems
Lemma 3.2 yields our principal general theorem. Given a matching and a cycle length , define
[TABLE]
maximized over all -cycles .
Theorem 3.3**.**
Let be a permutable -matching in . Then
[TABLE]
Suppose that every even cycle length, and all odd cycle lengths with at most one exception, are values of . Then spans .
Proof.
The value of is the degree of the polynomials if such a polynomial exists. The polynomial exists and is defined if and only if some , in other words if and only if . Thus, there is a value for some odd if and only if . ∎
There is a simpler statement that applies to graphs with a sufficiently omnipresent permutable matching. Given , define the number of odd lengths in , if there is an odd cycle length , and define the number of even lengths in , if there is an even cycle length .
Theorem 3.4**.**
Suppose is a permutable -matching in and for every length there exists a cycle such that ). Then .
The hypothesis can be lessened since, if there is any cycle length , it suffices to have one length for which there is a with .
Proof.
The hypotheses imply that
[TABLE]
We count the number of distinct values for odd and even cycle lengths. For odd we get if and , and we get if and only if there exists a cycle length . The total is . The computation of is similar.
The values of in Theorem 3.3 are the same as those of unless there is a cycle length for which no -cycle intersects ; but that is ruled out by our hypotheses. Theorem 3.4 follows. ∎
A graph is bipancyclic if it is bipartite and has a cycle of every even length from 4 to .
Corollary 3.5**.**
Assume is pancyclic and has a permutable -matching , and for every with there is an -cycle with ). Then if , and if .
Assume is bipancyclic and has vertex class sizes with , and it has a permutable -matching such that for every with there is a -cycle with . Then if , and if .
The hypotheses can be lessened in the same way as those of Theorem 3.4.
Proof.
If is pancyclic, counts all the numbers plus 1 for if , and counts the numbers plus 1 for since . Thus
[TABLE]
The conclusion follows easily.
If is bipancyclic, then and the conclusion follows easily. ∎
The two most complete graphs are easy consequences of any of the preceding results, but especially of Corollary 3.5.
Corollary 3.6**.**
For a complete graph with ,
For a complete bipartite graph with ,
4 Examples
4.1 The Compleat Complete Graph
We need to supply a missing computation for . But first, let us see the negative cycle vectors of all signings of small complete graphs.
The vectors for are
[TABLE]
(from the balanced and unbalanced triangle). The vectors for are
[TABLE]
(the all-positive graph, one negative edge, and two nonadjacent negative edges). Here are the vectors for :
[TABLE]
and for :
[TABLE]
The number of switching isomorphism classes of complete graphs grows super-exponentially [2]. Since two signed graphs which yield different vectors must belong to different classes, one naturally wonders about the converse property, that the vector uniquely identifies a switching class. This is true up through but false for : see Figure 2 below (found by Gary Greaves, whose assistance we greatly appreciate). Thus when there are (certainly when and surely also for all larger orders) fewer vectors than classes, but in general there will still be a very large number.
Now we carry out the missing computation of the function of Section 3.3. Consider the signed ’s whose negative edges are nonadjacent edges, for . It is straightforward to compute . For a fixed and set with , we need to form an -cycle using and other edges. (Since is a matching, we know that .) So we choose of the remaining vertices, and then create our cycle as follows: imagine contracting the edges in ; the resultant vertices, together with the other vertices, will form an -cycle in the contracted graph (which will eventually give an -cycle in ). Cyclically order these “vertices”; this orders the vertices in our actual cycle while ensuring the edges from remain. There are ways to do this. Then, we expand the contracted edges to regain them; there are 2 ways to do this for each edge. So we have
[TABLE]
whence
[TABLE]
By Equation (3.29), is a polynomial in of degree and the general formula is
[TABLE]
For example, and . This formula for demonstrates that the degrees of the odd polynomials are all distinct, and the same for the even polynomials; consequently our main theorem 3.3 itself implies that the matrix of negative cycle vectors has full rank .
4.2 Complete Bipartite Graphs
We move along to , which always has . We use a maximum matching , i.e., we set .
To get we compute (where the subscript is now because all cycles have even length). Call the two independent vertex sets and . For a fixed -edge set , where , we need to form a -cycle using and other vertices. Fix one edge , say . Choose of the remaining vertices from , in order, in one of ways; of the remaining vertices from , also in order, in one of ways; and shuffle the sequences together as . Insert into this -sequence by inserting before (which we may do because each edge must be between an vertex and a vertex), treating the resulting sequence as cyclically ordered (which can be done in only one way since the neighbor of appears after ); then ordering in one of ways as ; and finally inserting anywhere into the cycle in one of
[TABLE]
ways. (When those edges are inserted into the cycle, there is only one way to orient each edge.) The net result is that
[TABLE]
Then by Equation (3.29), for ,
[TABLE]
This explicit formula for the negative cycle vectors , with Theorem 3.3, implies that .
4.3 The Petersen graph
Next we consider the Petersen graph , which has four cycle lengths, 5, 6, 8, and 9, so . It lacks a permutable -matching. In fact:
Theorem 4.1**.**
A -regular graph that is arc transitive cannot have a permutable -matching.
Proof.
By [4, Theorem 1.1] an arc-transitive graph with a permutable -matching, where , must have degree at least . ∎
The Petersen graph does have a permutable 3-matching, in fact, two kinds.
The first kind consists of alternate edges of a . In the language of Theorem 3.3, we must compute for each cycle length. We find with little difficulty that , , , and . Therefore and , whence, despite only having a -matching, we can deduce that . We even know the negative cycle vectors corresponding to negative [math]-, -, -, and -submatchings and the negated signatures; they are (in order of matching size)
[TABLE]
The bottom vector in each column corresponds to the negated signing.
The second kind of permutable 3-matching consists of three edges at distance 3. The first matching type also is three equally spaced edges in a , but not every such subset of a is also a set of alternating edges of a ; the other such subsets are 3-matchings of the second kind. This second kind generates negative cycle vectors from negative submatchings and the corresponding negated sign functions whose dimension is only 3, not 4. (With this matching the negated signatures are switching isomorphic to unnegated signatures.) This shows that not all permutable -matchings in a graph are equally useful.
4.4 The Heawood graph
The Heawood graph is bipartite and has five cycle lengths, 6, 8, 10, 12, and 14, so . It has a permutable 3-matching, indeed three different kinds, for instance alternate edges of a 6-cycle. Using that 3-matching we find that (obviously), , , , and . These are two different values, thus . The results for the other two kinds of permutable 3-matching are the same except that . In every case has two values.
Our matching method, in principle, cannot prove more because has no permutable 4-matching (see Theorem 4.1). Nonetheless we suspect the dimension equals .
4.5 Other graphs with permutable perfect matchings, and the cube
Schaefer and Swartz found all graphs that have a permutable perfect matching. Besides and they are the hexagon , the octahedron graph , and three general examples: the join of a complete graph with its complement, the matching join obtained from two copies of by inserting a perfect matching between the two copies, and the matching join , obtained by hanging a pendant edge from each vertex of .
Our treatment of them leads us to one other family, the cyclic prisms .
4.5.1 The simple four
Trivially, .
It is easy to verify by hand that satisfies the conditions of Corollary 3.5, so .
As for , since the pendant edges contribute nothing to cycles,
[TABLE]
thence .
It is also easy to show that satisfies the conditions of Corollary 3.5. Thus, .
4.5.2 The matching join
This graph is pancyclic, but its permutable matchings are peculiar. One kind is any matching in a . A maximum matching in , for which , hence by reasoning similar to that for . The matching that joins the copies of also prevents a permutable matching from having edges in both copies. The only other permutable matchings are subsets of . This matching only generates switching nonisomorphic signatures since negating a subset of switches to negating the complementary subset. By itself, therefore, choosing our grand matching to be does not give a better lower bound than . Nonetheless we feel the dimension is likely to be .
The smallest case, , is the triangular prism. The cycle count vector is . There are four unbalanced signatures; see Figure 3. The negative cycle vectors are linearly independent so , in agreement with Conjecture 1.1.
4.5.3 Prisms, with cube
The triangular prism lends support to our belief that . However, it is atypical since it is also a prism, with . (Prisms with do not have permutable perfect matchings but they make good examples.) The next prism is the cube, . It is bipartite and has only three cycle lengths: , , and . Three unbalanced signatures whose negative cycle vectors are linearly independent are
- ,
with one negative edge, . It has ; 2. ,
with a second negative edge, parallel to and sharing a quadrilateral with it. It has ; 3. ,
with a second negative edge, also parallel to but not in a common quadrilateral. It has .
Thus, , again agreeing with Conjecture 1.1.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Teeradej Kittipassorn and Gábor Mészáros, Frustrated triangles. Discrete Math. , 338 (2015), 2363–2373.
- 2[2] C.L. Mallows and N.J.A. Sloane, Two-graphs, switching classes and Euler graphs are equal in number. SIAM J. Appl. Math. , 28(4) (1975), 876–880.
- 3[3] Dragoş-Radu Popescu and Ioan Tomescu, Negative cycles in complete signed graphs. Discrete Appl. Math. , 68 (1996), 145–152.
- 4[4] Alex Schaefer and Eric Swartz, Graphs with multiply transitive matchings. Submitted.
- 5[5] Ioan Tomescu, Sur le nombre des cycles négatifs d’un graphe complet signé. Math. Sci. Humaines , 53 (1976), 63–67.
