Assignment 4 Solutions
Assignment 4 Solutions
i) G y
ii) G {w,z}
i) G e
ii) G {a,m,p,q}
iii) G {d,h,k}
b) Find all the cut-edges (Give edges by its endpoints, i.e. {a,b} for the
edge with endpoints a and b).
Cut-edges are {i,j} and {j,k}. (All other edges are cycle-edges.)
First note that since the list of the vertex-deletion subgraph list is 5, then
|VG|=5. By theorem 2.4.4 (given in presentation on the Graph
Reconstruction Problem in class), we know that
1 1 1 1
EG =
5 2 vV 3
( )
E G v = E G v + E G w + E G x + E G y + E G z = ( 3 + 3 + 3 + 4 + 5) = (18) = 6
3 3
And, for each card, the degree of the missing vertex is the difference
between |EG| and the number of edges on that card. Thus,
Thus, the the graph has degree sequence <3,3,3,2,1> and is isomorphic
to
5. Draw a 6-vertex connected graph that has exactly seven edges and
exactly three cycles.
For 1 n 3, this cannot be true. To even contain n+1 edges, the graphs
would not be simple.
7. For the following, draw the specified tree or explain why no such tree
can exist.
No such tree can exist. We know (by Thm. 3.2.3) that for a binary
2 h +1 1
tree h +1 V where h is the height of the binary tree. In our
2 1
2 4 1 16 1
case, we are looking for a tree of height 3, so 4 V = = 15 .
2 1 1
So, for a binary tree to be of height 3, it may contain at most 15
vertices. Thus, a 16-vertex binary tree of height 3 cannot exist.
They are equal. The depth of a vertex is the distance to the root. An
ancestor of a vertex v is a vertex on the path from v to the root. Since
there is only one unique path between any two vertices, there is only one
path from v to the root so this must be the shortest path. So the number
of vertices (not v) on this path is the number of ancestors, and the length
of this path is the depth. They must be equal.
9. For the following, draw the root tree specified by the given array of
parents.
a) Fvertex a b c d e f g h i j
parent - a b b b b b c c c
10. Specify the rooted tree drawn below with an array of parents.