06.03.2017 Views

Mathematics for Computer Science

e9ck2Ar

e9ck2Ar

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

“mcs” — 2017/3/3 — 11:21 — page 506 — #514<br />

506<br />

Chapter 12<br />

Simple Graphs<br />

(c) Prove that the graph is not 4-connected.<br />

(d) Prove that the graph is 3-connected.<br />

Exam Problems<br />

Problem 12.43.<br />

We apply the following operation to a simple graph G: pick two vertices u ¤ v<br />

such that either<br />

1. there is an edge of G between u and v, and there is also a path from u to v<br />

which does not include this edge; in this case, delete the edge hu—vi.<br />

2. there is no path from u to v; in this case, add the edge hu—vi.<br />

Keep repeating these operations until it is no longer possible to find two vertices<br />

u ¤ v to which an operation applies.<br />

Assume the vertices of G are the integers 1; 2; : : : ; n <strong>for</strong> some n 2. This<br />

procedure can be modelled as a state machine whose states are all possible simple<br />

graphs with vertices 1; 2; : : : ; n. G is the start state, and the final states are the<br />

graphs on which no operation is possible.<br />

(a) Let G be the graph with vertices f1; 2; 3; 4g and edges<br />

ff1; 2g; f3; 4gg<br />

How many possible final states are reachable from start state G?<br />

1in<br />

(b) On the line next to each of the derived state variables below, indicate the<br />

strongest property from the list below that the variable is guaranteed to satisfy,<br />

no matter what the starting graph G is. The properties are:<br />

constant increasing decreasing<br />

nonincreasing nondecreasing none of these<br />

For any state, let e be the number of edges in it, and let c be the number of connected<br />

components it has. Since e may increase or decrease in a transition, it does<br />

not have any of the first four properties. The derived variables are:<br />

0) e none of these<br />

i) c<br />

ii) c C e<br />

iii) 2c C e<br />

iv) c C<br />

e<br />

eC1

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

Saved successfully!

Ooh no, something went wrong!