A1 — Complements, isomorphism and regularity
Reading: Godsil & Royle, Chapter 1.
1. Graphs and complete graphs
Section titled “1. Graphs and complete graphs”A finite simple undirected graph consists of a vertex set and an edge set of unordered pairs of distinct vertices. Its order is and its size is . A path has vertices and edges .
In the complete graph , every pair of distinct vertices is adjacent. Each vertex has possible neighbours, but counting all of these counts each edge twice.
For example, contains ten edges. A path on vertices has edges.
2. Complements
Section titled “2. Complements”The complement has the same vertex set as . For distinct vertices, adjacency is reversed:
Every possible edge belongs to exactly one of the two graphs. Hence
Complement laboratory
Toggle an edge. It appears in exactly one of the two graphs.
Self-complementarity edge-count explorer
Necessary integrality condition holds. This alone does not prove a particular graph is self-complementary.
3. Isomorphism
Section titled “3. Isomorphism”An isomorphism between and is a bijection satisfying
Isomorphic graphs have the same order, size, degree sequence and number of connected components. The converse need not hold: matching invariants are necessary but not sufficient to prove isomorphism.
A graph is self-complementary if . For , the original edges are and the complement has edges . This is the path . An explicit isomorphism is
The cycle is another example. Label its vertices by residues modulo five. Multiplication by two sends differences to , exactly the complement adjacencies.
4. Regular graphs and the handshaking lemma
Section titled “4. Regular graphs and the handshaking lemma”A graph is -regular when each vertex has degree . For an arbitrary vertex ,
Thus the complement of a -regular graph is -regular. Since every edge has two endpoints,
For a regular graph, this simplifies to . The degree sum is always even; for example, a 3-regular graph on seven vertices is impossible.
Regular graph edge calculator
The parameters satisfy the parity and degree conditions for a simple regular graph.
5. Modular arithmetic
Section titled “5. Modular arithmetic”The relation means that divides . Every integer has one of four residues modulo four. For example, to study divisibility of , examine:
| 0 | 0 |
| 1 | 2 |
| 2 | 2 |
| 3 | 0 |
This is a model for a similar argument involving .
6. Self-complementarity and constructing examples
Section titled “6. Self-complementarity and constructing examples”If , isomorphism preserves size, so the two graphs must split the edges of equally. If is regular as well, its valency equals that of its complement. Combine these observations with divisibility and the handshaking lemma.
For constructing examples, the complementing permutation technique is useful: find a permutation of vertices whose action on unordered pairs has even-length orbits, and choose alternating pairs in each orbit as edges. The permutation then interchanges edges and non-edges. As a small example, on four vertices the permutation has pair orbits of lengths four and two; alternate edges in each. For graphs of orders eight and nine, try two disjoint 4-cycles, with an additional fixed vertex for order nine. Check each pair orbit yourself. This is supplementary construction guidance, leaving the complete construction as an exercise.
7. Practice exercises
Section titled “7. Practice exercises”A graph of order 10 has 17 edges. Find the complement size.
Can a 3-regular graph have seven vertices?
No. The degree sum would be , which cannot equal the even integer .
Prove that the five-cycle is self-complementary.
Label vertices modulo 5. The map is a bijection sending edges of difference to edges of difference and vice versa.
Find the complement valency of a 4-regular graph on eleven vertices.
Why must a self-complementary graph have half the possible edges?
Isomorphism gives . Their sum is .
Show that the two residues 1 and 2 make n(n+1) non-divisible by four.
Substitute and , respectively. In both cases the product has residue 2.
Knowledge check
0/6 answered
8. Proof challenge
Section titled “8. Proof challenge”Prove the general congruence condition using equality of edge counts. For regular self-complementary graphs, obtain the degree from complement regularity and apply parity. For the examples of orders eight and nine, exhibit a graph and a complementing bijection; matching edge counts alone is not enough.
Formula reference
Section titled “Formula reference”Your lesson progress
0/5 available lessons marked complete · 0%