 Two-graph
Get Two-graph essential facts below. View Videos or join the Two-graph discussion. Add Two-graph to your PopFlock.com topic list for future reference or share this resource on social media.
Two-graph

In mathematics, a two-graph is a set of (unordered) triples chosen from a finite vertex set X, such that every (unordered) quadruple from X contains an even number of triples of the two-graph. A regular two-graph has the property that every pair of vertices lies in the same number of triples of the two-graph. Two-graphs have been studied because of their connection with equiangular lines and, for regular two-graphs, strongly regular graphs, and also finite groups because many regular two-graphs have interesting automorphism groups.

A two-graph is not a graph and should not be confused with other objects called 2-graphs in graph theory, such as 2-regular graphs.

## Examples

On the set of vertices {1,...,6} the following collection of unordered triples is a two-graph:

123  124  135  146  156  236  245  256  345  346

This two-graph is a regular two-graph since each pair of distinct vertices appears together in exactly two triples.

Given a simple graph G = (V,E), the set of triples of the vertex set V whose induced subgraph has an odd number of edges forms a two-graph on the set V. Every two-graph can be represented in this way. This example is referred to as the standard construction of a two-graph from a simple graph.

As a more complex example, let T be a tree with edge set E. The set of all triples of E that are not contained in a path of T form a two-graph on the set E.

## Switching and graphs

A two-graph is equivalent to a switching class of graphs and also to a (signed) switching class of signed complete graphs.

Switching a set of vertices in a (simple) graph means reversing the adjacencies of each pair of vertices, one in the set and the other not in the set: thus the edge set is changed so that an adjacent pair becomes nonadjacent and a nonadjacent pair becomes adjacent. The edges whose endpoints are both in the set, or both not in the set, are not changed. Graphs are switching equivalent if one can be obtained from the other by switching. An equivalence class of graphs under switching is called a switching class. Switching was introduced by van Lint & Seidel (1966) and developed by Seidel; it has been called graph switching or Seidel switching, partly to distinguish it from switching of signed graphs.

In the standard construction of a two-graph from a simple graph given above, two graphs will yield the same two-graph if and only if they are equivalent under switching, that is, they are in the same switching class.

Let ? be a two-graph on the set X. For any element x of X, define a graph ?x with vertex set X having vertices y and z adjacent if and only if {x, y, z} is in ?. In this graph, x will be an isolated vertex. This construction is reversible; given a simple graph G, adjoin a new element x to the set of vertices of G, retaining the same edge set, and apply the standard construction above.

To a graph G there corresponds a signed complete graph ? on the same vertex set, whose edges are signed negative if in G and positive if not in G. Conversely, G is the subgraph of ? that consists of all vertices and all negative edges. The two-graph of G can also be defined as the set of triples of vertices that support a negative triangle (a triangle with an odd number of negative edges) in ?. Two signed complete graphs yield the same two-graph if and only if they are equivalent under switching.

Switching of G and of ? are related: switching the same vertices in both yields a graph H and its corresponding signed complete graph.

The adjacency matrix of a two-graph is the adjacency matrix of the corresponding signed complete graph; thus it is symmetric, is zero on the diagonal, and has entries ±1 off the diagonal. If G is the graph corresponding to the signed complete graph ?, this matrix is called the (0, −1, 1)-adjacency matrix or Seidel adjacency matrix of G. The Seidel matrix has zero entries on the main diagonal, -1 entries for adjacent vertices and +1 entries for non-adjacent vertices.

If graphs G and H are in a same switching class, the multiset of eigenvalues of two Seidel adjacency matrices of G and H coincide since the matrices are similar.

A two-graph on a set V is regular if and only if its adjacency matrix has just two distinct eigenvalues ?1 > 0 > ?2 say, where ?1?2 = 1 - |V|.

## Equiangular lines

Every two-graph is equivalent to a set of lines in some dimensional euclidean space each pair of which meet in the same angle. The set of lines constructed from a two graph on n vertices is obtained as follows. Let -? be the smallest eigenvalue of the Seidel adjacency matrix, A, of the two-graph, and suppose that it has multiplicity n - d. Then the matrix is positive semi-definite of rank d and thus can be represented as the Gram matrix of the inner products of n vectors in euclidean d-space. As these vectors have the same norm (namely, ${\sqrt {\rho }}$ ) and mutual inner products ±1, any pair of the n lines spanned by them meet in the same angle ? where cos ? = 1/?. Conversely, any set of non-orthogonal equiangular lines in a euclidean space can give rise to a two-graph (see equiangular lines for the construction).

With the notation as above, the maximum cardinality n satisfies n d(?2 - 1)/(?2 - d) and the bound is achieved if and only if the two-graph is regular.