147. Isomorphisms

The two digraphs below are abstractly identical in a sense that can be made precise. The idea is that node $a$ in the left digraph plays the same role as node 2 in the right digraph, and similarly $b$ and 1 match up and $c$ and 3 match up. “Playing the same role” means precisely that if you match node $x$ in one digraph to node $m$ in another, and similarly node $y$ to $n$, then the arrows from $x$ to $y$ must match up with the arrows from $m$ to $n$. (You should check these two digraphs to see that this happens).

Two digraphs: on the left nodes a, b, c with arrows f from a to b, g from b to a, h from a to c, k from b to c; on the right nodes 1, 2, 3 with arrows u from 1 to 2, v from 2 to 1, w from 2 to 3, x from 1 to 3 (147.1)

This is made precise this way:

147.1 Definition: isomorphism

Let $G=\langle G_0,G_1,s,t\rangle$ and $G'=\langle G_0',G_1',s',t'\rangle$ be digraphs. An isomorphism from $G$ to $G'$ is a pair of bijections $\beta_0:G_0\to G_0'$ and $\beta_1:G_1\to G_1'$ with the property that $a:x\to y$ in $G$ if and only if $\beta_1(a):\beta_0(x)\to\beta_0(y)$ in $G'$.

147.1.1 Remark Since there is rarely any problem with ambiguity, the subscripts may be omitted from $\beta_0$ and $\beta_1$.

147.1.2 Example In Figure 147.1 there is an isomorphism $\beta$ from the left figure to the right figure defined by

$$\begin{array}{ll} \beta(a)=2 & \beta(f)=v \\ \beta(b)=1 & \beta(g)=u \\ \beta(c)=3 & \beta(h)=w \\ & \beta(k)=x \end{array}$$

The inverse of this isomorphism (meaning $\langle\beta_0^{-1},\beta_1^{-1}\rangle$) is also an isomorphism; in fact the inverse of any digraph isomorphism is also an isomorphism.

147.1.3 Remark It is easily possible for two digraphs to be isomorphic in more than one way. This happens in Figure 147.1, for example.

147.1.4 Exercise (hard) Show that two digraphs are isomorphic if and only if there is an ordering of their nodes for which their adjacency matrices are identical.

147.1.5 Exercise Draw both (nonisomorphic) simple digraphs that have only one node, and all ten (nonisomorphic) simple digraphs that have two nodes.

147.1.6 Exercise Let $G=\langle G_0,G_1,s,t\rangle$ and $G'=\langle G_0',G_1',s',t'\rangle$ be digraphs. Prove that $\beta_0:G_0\to G_0'$ and $\beta_1:G_1\to G_1'$ constitute an isomorphism if and only if $\beta$ and $\beta'$ are bijections and $s'\circ\beta_1=\beta_0\circ s$ and $t'\circ\beta_1=\beta_0\circ t$.

147.1.7 Exercise Let $\beta=\langle\beta_0:G_0\to G_0',\ \beta_1:G_1\to G_1'\rangle$ be a digraph isomorphism from $G=\langle G_0,G_1,s,t\rangle$ to $G'=\langle G_0',G_1',s',t'\rangle$. Show that $\beta^{-1}$, i.e., $\langle\beta_0^{-1},\beta_1^{-1}\rangle$, is a digraph isomorphism from $G'$ to $G$.

147.2 Definition: automorphism

An isomorphism $\beta:G\to G$ of a digraph with itself is called an automorphism.

147.2.1 Example For any digraph, the identity function is an automorphism. The digraphs in Figure 147.1 each have two automorphisms, the identity and one other.

147.2.2 Exercise Find the automorphisms of the digraphs in exercise 144.2.2. (Answer on page 251.)

147.2.3 Exercise (hard) Let $G$ be a digraph with exactly $n$ automorphisms, and let $G'$ be a digraph isomorphic to $G$. Show that there are exactly $n$ isomorphisms from $G$ to $G'$.

147.2.4 Exercise (hard) For any positive integer $n$, show how to construct a digraph with exactly $n$ automorphisms.

Pages 223–224 of the book (PDF).