06.08.2013 Views

Undirected graphs and networks

Undirected graphs and networks

Undirected graphs and networks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

180 General Mathematics<br />

WORKED Example<br />

11<br />

a Remove the edges from this graph to produce a tree.<br />

b Comment on the relationship between the number of edges <strong>and</strong> the<br />

number of vertices.<br />

THINK WRITE<br />

a 1 Look at the given graph <strong>and</strong> identify a There are 4 circuits: A–B–C–A,<br />

any circuits.<br />

B–D–E–B, B–E–F–B <strong>and</strong> B–D–E–F–B.<br />

2 Remove one of the edges from circuit<br />

A–B–C–A, say BC.<br />

A<br />

B<br />

D<br />

E<br />

3 Remove the edge BE from circuit<br />

A<br />

B–D–E–F–B<br />

4 Remove the edge BF from circuit<br />

A<br />

B–D–E–F–B.<br />

b 1 Count the number of vertices, V. b V = 6<br />

2 Count the number of edges, E. E = 5<br />

3 Answer the question. The difference between the vertices <strong>and</strong><br />

edges in a tree is 1; that is, V − E = 1.<br />

C<br />

C<br />

C<br />

The tree obtained in worked example 11 is one possible spanning tree for the graph. A<br />

spanning tree is a tree that includes all the vertices in the graph. Find other spanning<br />

trees in worked example 11 by removing different edges.<br />

Often it is necessary to find a minimal spanning tree; that is, a spanning tree with the<br />

minimum length (or cost, or time).<br />

To find a minimal spanning tree:<br />

1. select the edge with the minimum value. If there is more than one such edge,<br />

choose any one of them.<br />

2. select the next smallest edge, provided it does not create a cycle.<br />

3. repeat step 2 until all the vertices have been included.<br />

F<br />

D<br />

B E<br />

F<br />

D<br />

B E<br />

F<br />

A<br />

C<br />

D<br />

B E<br />

F

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

Saved successfully!

Ooh no, something went wrong!