Combinatorics Through Guided Discovery, 2004a
Combinatorics Through Guided Discovery, 2004a
Combinatorics Through Guided Discovery, 2004a
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
2.3. Graphs and Trees 45<br />
(c) Can you tell from the sequence of b i s what a 1 is? (h)<br />
(d) Find a bijection between labelled trees and something you can “count”<br />
that will tell you how many labelled trees there are on n labelled<br />
vertices. (h)<br />
The sequence b 1 , b 2 ,...,b n−2 in Problem 111 is called a Prüfer coding or Prüfer<br />
code for the tree. There is a good bit of interesting information encoded into the<br />
Prüfer code for a tree.<br />
Problem 113. What can you say about the vertices of degree one from the<br />
Prüfer code for a tree labeled with the integers from 1 to b? (h)<br />
Problem 114. What can you say about the Prüfer code for a tree with exactly<br />
two vertices of degree 1? (and perhaps some vertices with other degrees as<br />
well)? Does this characterize such trees?<br />
⇒<br />
Problem 115. What can you determine about the degree of the vertex labelled<br />
i from the Prüfer code of the tree? (h)<br />
⇒<br />
Problem 116. What is the number of (labelled) trees on n vertices with three<br />
vertices of degree 1? (Assume they are labelled with the integers 1 through<br />
n.) This problem will appear again in the next chapter after some material<br />
that will make it easier. (h)<br />
2.3.4 Spanning trees<br />
Many of the applications of trees arise from trying to find an efficient way to connect<br />
all the vertices of a graph. For example, in a telephone network, at any given time<br />
we have a certain number of wires (or microwave channels, or cellular channels)<br />
available for use. These wires or channels go from a specific place to a specific<br />
place. Thus the wires or channels may be thought of as edges of a graph and the<br />
places the wires connect may be thought of as vertices of that graph. A tree whose<br />
edges are some of the edges of a graph G and whose vertices are all of the vertices<br />
of the graph G is called a spanning tree of G. A spanning tree for a telephone<br />
network will give us a way to route calls between any two vertices in the network.<br />
In Figure 2.3.3 we show a graph and all its spanning trees.