Complement graph
graph with same nodes but exactly those edges which are missing in the original graph

In the mathematical field of graph theory, the complement or inverse of a graph G is a graph H on the same vertices such that two distinct vertices are adjacent (connected) in H if and only if they are not adjacent in G. That is, to generate the complement of a graph, one fills in all the missing edges required to form a complete graph, and removes all the edges that were previously there.
The complement of the graph is not the set complement of the graph: only the edges are complemented.
Definitions
Let G = (V, E) be a simple undirected graph and let P consist of all pairs of distinct vertices in V. Then the simple undirected graph H = (V, P \ E) is the complement of G, where P \ E is the relative complement of E in P.
Let G = (V, A) be a simple directed graph and let O consist of all ordered pairs of distinct vertices in V. Then the simple directed graph H = (V, O \ A) is the complement of G.
Let G be a simple undirected / directed graph, let K be the complete simple undirected / directed graph on the same number of vertices (i.e., all entries are unity except the diagonal entries which are zero), let
A
(
G
)
{\displaystyle \mathbb {A} (G)}
and
A
(
K
)
{\displaystyle \mathbb {A} (K)}
respectively be the adjacency matrices of G and K. Then the adjacency matrix of the complement H of G is:
A
(
H
)
=
A
(
K
)
−
A
(
G
)
{\displaystyle \mathbb {A} (H)=\mathbb {A} (K)-\mathbb {A} (G)}
.
The complement is not defined for multigraphs.
For graphs that allow self-loops (but not multiple adjacencies), the complement of a graph G may be defined by adding a self-loop to every vertex that does not have one in G, removing its self-loop from every vertex that has one in G, and otherwise using the same formula as above. However, this operation is different from the one for simple graphs, since applying it to a graph with no self-loop results in a graph with self-loops on all vertices.
Applications and examples
Several graph-theoretic concepts are related to each other via complementation:
The complement of an edgeless graph is a complete graph, and vice versa.
Any induced subgraph of the complement graph of a graph G is the complement of the corresponding induced subgraph in G.
An independent set in a graph is a clique in the complement graph, and vice versa. This is a special case of the previous two properties, as an independent set is an edgeless induced subgraph and a clique is a complete induced subgraph.
The automorphism group of a graph is the automorphism group of its complement.
This brief starts where responsible research should: with the source description of “Complement graph” as graph with same nodes but exactly those edges which are missing in the original graph. Everything that follows is an evidence route, not borrowed authority.
Why this record matters
The subject matters to the general reference register because the source frames it as graph with same nodes but exactly those edges which are missing in the original graph. Its deeper value depends on whether names, dates, institutions and citations support that framing.
The citation trail is more important than the brevity of the summary: it shows where individual claims can be examined in context. The source revision retrieved here is dated Apr 29, 2026. The linked authority identifier is Q902252. None of the 0 selected statements returned an explicit reference.
A concise general-reference account can conceal disagreements about scope, terminology or the weight assigned to individual sources. The source lead contains qualifying language; that uncertainty should survive quotation, summary and reuse. Authority statements aid reconciliation but still require their own references, qualifiers and ranks to be checked.
How to read it
Use the entry as an orientation point, then follow its citations and revision history. Names, dates and institutional relationships should be checked against the original record.
- Subject orientation
- Search vocabulary
- Locating named sources
The closest primary source, responsible institution and strongest cited specialist reference.
Three-step research path
- Establish the record: confirm the title “Complement graph”, its source revision and the description used here.
- Expand the search: follow Complement graph primary sources, Complement graph archive and Complement research across catalogues and specialist indexes.
- Test the account: compare the strongest cited source with the responsible institution’s current record and note any disagreement.
Questions for further research
- Which source most directly establishes the central claim about “Complement graph”?
- Which cited source is closest to the event, object or claim?
- What terminology or title could unlock a more precise catalogue search?
Search terms from this dossier
This entry incorporates text from “Complement graph” on English Wikipedia. Contributors are listed in the page history. Text is available under the Creative Commons Attribution-ShareAlike 4.0 License. Selected authority identifiers and statements are retrieved from Wikidata under CC0; their references and qualifiers remain part of the verification path.