06.03.2017 Views

Mathematics for Computer Science

e9ck2Ar

e9ck2Ar

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

“mcs” — 2017/3/3 — 11:21 — page 451 — #459<br />

12.4. Isomorphism 451<br />

Figure 12.6<br />

C 5 : a 5-node cycle graph.<br />

a<br />

b<br />

1<br />

2<br />

d<br />

(a)<br />

c<br />

4<br />

(b)<br />

3<br />

Figure 12.7<br />

Two Isomorphic graphs.<br />

If we add the edge hv n —v 1 i to the line graph L n , we get a graph called a lengthn<br />

cycle C n . Figure 12.6 shows a picture of length-5 cycle.<br />

12.4 Isomorphism<br />

Two graphs that look different might actually be the same in a <strong>for</strong>mal sense. For<br />

example, the two graphs in Figure 12.7 are both 4-vertex, 5-edge graphs and you<br />

get graph (b) by a 90 o clockwise rotation of graph (a).<br />

Strictly speaking, these graphs are different mathematical objects, but this difference<br />

doesn’t reflect the fact that the two graphs can be described by the same<br />

picture—except <strong>for</strong> the labels on the vertices. This idea of having the same picture<br />

“up to relabeling” can be captured neatly by adapting Definition 10.7.1 of isomorphism<br />

of digraphs to handle simple graphs. An isomorphism between two graphs<br />

is an edge-preserving bijection between their sets of vertices:<br />

Definition 12.4.1. An isomorphism between graphs G and H is a bijection f W<br />

V .G/ ! V .H / such that<br />

hu—vi 2 E.G/ iff hf .u/—f .v/i 2 E.H /

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!