Skip to content

A1 — Complements, isomorphism and regularity

Reading: Godsil & Royle, Chapter 1.

A finite simple undirected graph X=(V,E)X=(V,E) consists of a vertex set VV and an edge set EE of unordered pairs of distinct vertices. Its order is n=∣V∣n=|V| and its size is m=∣E∣m=|E|. A path P4P_4 has vertices 1,2,3,41,2,3,4 and edges 12,23,3412,23,34.

In the complete graph KnK_n, every pair of distinct vertices is adjacent. Each vertex has n−1n-1 possible neighbours, but counting all of these counts each edge twice.

Theorem
∣E(Kn)∣=(n2)=n(n−1)2\boxed{|E(K_n)|=\binom n2=\frac{n(n-1)}2}

For example, K5K_5 contains ten edges. A path on nn vertices has n−1n-1 edges.

Definition

The complement X‾\overline X has the same vertex set as XX. For distinct vertices, adjacency is reversed:

u∼X‾v  ⟺  u̸∼Xv.u\sim_{\overline X}v\iff u\not\sim_X v.

Every possible edge belongs to exactly one of the two graphs. Hence

Theorem
∣E(X)∣+∣E(X‾)∣=n(n−1)2.\boxed{|E(X)|+|E(\overline X)|=\frac{n(n-1)}2.}

Complement laboratory

Toggle an edge. It appears in exactly one of the two graphs.

Original graph1234∣E(X)∣=3|E(X)|=3
Complement1234∣E(X‾)∣=3|E(\overline X)|=3

Self-complementarity edge-count explorer

m=8(8−1)4=14m=\frac{8(8-1)}4=14

Necessary integrality condition holds. This alone does not prove a particular graph is self-complementary.

An isomorphism between XX and YY is a bijection f:V(X)→V(Y)f:V(X)\to V(Y) satisfying

u∼Xv  ⟺  f(u)∼Yf(v).u\sim_Xv\iff f(u)\sim_Y f(v).

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 X≅X‾X\cong\overline X. For P4P_4, the original edges are 12,23,3412,23,34 and the complement has edges 13,14,2413,14,24. This is the path 3,1,4,23,1,4,2. An explicit isomorphism is

1↦3,2↦1,3↦4,4↦2.1\mapsto3,\quad2\mapsto1,\quad3\mapsto4,\quad4\mapsto2.

The cycle C5C_5 is another example. Label its vertices by residues modulo five. Multiplication by two sends differences ±1\pm1 to ±2\pm2, exactly the complement adjacencies.

4. Regular graphs and the handshaking lemma

Section titled “4. Regular graphs and the handshaking lemma”

A graph is kk-regular when each vertex has degree kk. For an arbitrary vertex vv,

deg⁡X‾(v)=n−1−deg⁡X(v).\deg_{\overline X}(v)=n-1-\deg_X(v).

Thus the complement of a kk-regular graph is (n−1−k)(n-1-k)-regular. Since every edge has two endpoints,

Theorem
∑v∈V(X)deg⁡X(v)=2m.\boxed{\sum_{v\in V(X)}\deg_X(v)=2m.}

For a regular graph, this simplifies to nk=2mnk=2m. The degree sum is always even; for example, a 3-regular graph on seven vertices is impossible.

Regular graph edge calculator

∣E(X)∣=10×32=15|E(X)|=\frac{10\times 3}2=15

The parameters satisfy the parity and degree conditions for a simple regular graph.

The relation a≡b(mod4)a\equiv b\pmod4 means that 44 divides a−ba-b. Every integer has one of four residues modulo four. For example, to study divisibility of n(n+1)n(n+1), examine:

n mod 4n\bmod4 n(n+1) mod 4n(n+1)\bmod4
0 0
1 2
2 2
3 0

This is a model for a similar argument involving n(n−1)n(n-1).

6. Self-complementarity and constructing examples

Section titled “6. Self-complementarity and constructing examples”

If X≅X‾X\cong\overline X, isomorphism preserves size, so the two graphs must split the edges of KnK_n equally. If XX 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 (1 2 3 4)(1\ 2\ 3\ 4) 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.

A graph of order 10 has 17 edges. Find the complement size.(102)−17=45−17=28.\binom{10}2-17=45-17=28.
Can a 3-regular graph have seven vertices?

No. The degree sum would be 7×3=217\times3=21, which cannot equal the even integer 2m2m.

Prove that the five-cycle is self-complementary.

Label vertices modulo 5. The map i↦2i(mod5)i\mapsto 2i\pmod5 is a bijection sending edges of difference ±1\pm1 to edges of difference ±2\pm2 and vice versa.

Find the complement valency of a 4-regular graph on eleven vertices.11−1−4=6.11-1-4=6.
Why must a self-complementary graph have half the possible edges?

Isomorphism gives ∣E(X)∣=∣E(X‾)∣|E(X)|=|E(\overline X)|. Their sum is (n2)\binom n2.

Show that the two residues 1 and 2 make n(n+1) non-divisible by four.

Substitute n=4q+1n=4q+1 and n=4q+2n=4q+2, respectively. In both cases the product has residue 2.

Knowledge check

0/6 answered

1. How many edges does K8K_8 have?
2. What is the complement valency of a 3-regular graph of order 12?
3. Can a 3-regular graph have seven vertices?
4. What must an isomorphism preserve?
5. A self-complementary graph of order nn must have how many edges?
6. Which graph is self-complementary?

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.

∣E(Kn)∣=n(n−1)2∣E(X)∣+∣E(X‾)∣=(n2)deg⁡X‾(v)=n−1−deg⁡X(v)∑vdeg⁡(v)=2m.\begin{aligned}|E(K_n)|&=\frac{n(n-1)}2\\|E(X)|+|E(\overline X)|&=\binom n2\\\deg_{\overline X}(v)&=n-1-\deg_X(v)\\\sum_v\deg(v)&=2m.\end{aligned}

Your lesson progress

0/5 available lessons marked complete · 0%