Complement

Aka. inverse. For a simple graph G=(V,E)G=(V,E), its complement is Gc(V,Ec)G^c(V,E^c) where Ec={ { u,v };∀u,v∈V∧u≠v∧{ u,v }∉E }E^c = \set{ \set{u,v}; \forall u,v \in V \land u \neq v \land \set{u,v} \not\in E } . An edge between two vertices iff they are not adjacent in GG.

Undefined for multigraphs.

(Gc)c=G(G^c)^c = G.

For any graph GG with nn vertices, when merged (unioned) with its complement graph GcG^c, it produces KnK_n.

Self-Complementary Graph

A graph satisfying G=GcG = G^c.

Has n(n−1)4\frac{n(n-1)}{4} edges.

Written by September 29, 2026 2 min read
Was this helpful?