Starting from:

$25

CPTS553-Assignment 6 Solved

1.      Show that for any π‘˜ ≥ 3, any tree with a vertex of degree π‘˜ must have at least π‘˜ leaves.  The proof that uses summations of the result that a tree always has two leaves is probably easiest to adapt here.  You will want to assume π‘›π‘˜ ≥ 1 in the summations

𝑛  π‘›π‘— ;  total degree  .

                                                                     π‘—=1                                                        π‘—=1

 

2.      Suppose 𝑇 is a binary tree of height 𝐻 with 𝑛 vertices.

A.   As a function of 𝐻, what are the minimum and maximum possible values of 𝑛?

B.    Suppose every parent has exactly two children in 𝑇.  Show that 𝑛 must be odd.

 

3.      Let (𝑇, π‘Ÿ) be a rooted tree.

A.   Show that if 𝐷(𝑒, 𝑣) = 2𝐻 where 𝐻 is the height of 𝑇, then 𝑒 and 𝑣 are non-parents.

B.    Show that 𝐷(𝑒, 𝑣) is the sum of the levels of 𝑒 and 𝑣 if and only if π‘Ÿ is on the unique 𝑒, 𝑣-path.

 

4.      Suppose 𝐺 is a simple graph (no loops; no parallel edges) with 𝑛 = 14 vertices and π‘š = 7 edges.  What are the possible values for π‘˜, the number of components of 𝐺?

 

5.      Suppose 𝑇 is a binary tree with 109 vertices.  What are the minimum and maximum possible values of 𝐻, the height of 𝑇?

More products