TOPICS
Search

Graph Complement


GraphComplement

The graph complement of a graph G, also called its complementary graph and sometimes called the edge-complement (Gross and Yellen 2006, p. 86), is the graph G^', sometimes denoted G^_ or G^c (e.g., Clark and Entringer 1983), with the same vertex set but whose edge set consists of the edges not present in G (i.e., the complement of the edge set of G with respect to all possible edges on the vertex set of G). The graph sum G+G^_ on an n-node graph G is therefore the complete graph K_n, as illustrated above.

For an indexed graph X_n, a common convention is to write its complement as X^__n, placing the bar over X and leaving the subscript outside it. For example, the complement of the complete graph K_n is the empty graph K^__n (Papadima and Suciu 2006). Extending the bar over the whole indexed expression, as in X_n^_, denotes the same complement (e.g., K_n^_ in Gross et al. 2014, p. 53).

The adjacency matrix A^_ of the graph complement of the graph with adjacency matrix A is given by

 A^_=J-I-A

(Ellis-Monaghan and Merino 2008), where J is the unit matrix and I is the identity matrix.

A graph complement can be computed in the Wolfram Language by the command GraphComplement[g].

The delta-complement applies ordinary complementation within each class of equal vertex degree while preserving adjacency between classes.


See also

Complement, Complete Graph, Cycle Complement Graph, Graph Sum, Path Complement Graph, Rook Complement Graph, Self-Complementary Graph, Wheel Complement Graph

Explore with Wolfram|Alpha

References

Clark, L. and Entringer, R. "Smallest Maximally Nonhamiltonian Graphs." Periodica Math. Hungarica 14, 57-68, 1983.Ellis-Monaghan, J. A. and Merino, C. "Graph Polynomials and Their Applications II: Interrelations and Interpretations." 28 Jun 2008. https://arxiv.org/abs/0806.4699.Gross, J. L.; Yellen, J.; and Zhang, P. (Eds.). Handbook of Graph Theory, 2nd ed. Boca Raton, FL: CRC Press, p. 53, 2014.Gross, J. T. and Yellen, J. Graph Theory and Its Applications, 2nd ed. Boca Raton, FL: CRC Press, 2006.Papadima, S. and Suciu, A. I. "Algebraic Invariants for Right-Angled Artin Groups." Math. Ann. 334, 533-555, 2006. https://doi.org/10.1007/s00208-005-0704-9.Skiena, S. "The Complement of a Graph." §3.2.3 in Implementing Discrete Mathematics: Combinatorics and Graph Theory with Mathematica. Reading, MA: Addison-Wesley, p. 93, 1990.

Referenced on Wolfram|Alpha

Graph Complement

Cite this as:

Weisstein, Eric W. "Graph Complement." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/GraphComplement.html

Subject classifications