You are on page 1of 6

AMS 301.03 - Finite Mathematical Structures - Midterm Name: There are 6 questions for a total of 100 points. 1.

(17 points) Are the two graphs below isomorphic? If so, give an isomorphism and if not, give careful reasons why not. ID Number:

Solution: No, they are not isomorphic. The rst graph is bipartite while the second is not (it contains triangles).

1 of 6

AMS 301.03 - Finite Mathematical Structures - Midterm 2. (17 points) Is the following graph planar? If so, give a planar embedding and if not, give a K3,3 or a K5 conguration.

Solution: No, it is not planar. a, c, f and b, e, g form the two parts of a K3,3 conguration.

2 of 6

AMS 301.03 - Finite Mathematical Structures - Midterm 3. (16 points) Prove that if G is graph with at least two vertices then G has at least two vertices with the same degree. Solution: Let G have n > 1 vertices. The possible degree values for each vertex are 0, 1, . . . , n 1, for a total of n possibilities. Note that G cannot contain both a vertex of degree n 1 and a vertex of degree 0. This implies that there are at most n 1 dierent degrees in G. Since there are n vertices, by the pigeonhole principle, there exists a pair of vertices with equal degree.

3 of 6

AMS 301.03 - Finite Mathematical Structures - Midterm 4. (17 points) Does the following graph have a Hamilton circuit? If so, give a circuit and if not, explain carefully why not.

Solution: Yes, it has a Hamilton circuit. Since 12 has degree 2, force in edges (6, 12) and (11, 12). Then, we split into cases. Case 1: The path visits 9 through 6. Then we put in edge (6, 9) and erase edges (2, 6), (5, 6), and (9, 11). Then, edges (9, 5), (2, 1), and (2, 5) are forced and we erase (5, 8). Now we condition on whether (1, 3) or (1, 4) is used. Case 1a: The path uses edge (1, 3). Then, erase (1, 4) and force in (3, 4) and (4, 8). This causes us to erase (3, 7) and force in (7, 8) and (7, 10). This yields a Hamilton circuit, 1 2 5 9 6 12 11 10 7 8 4 3 1.

4 of 6

AMS 301.03 - Finite Mathematical Structures - Midterm 5. (17 points) Find the chromatic number of the following graph. Give a coloring with that many colors and carefully explain why the graph cannot be colored with fewer colors.

Solution: The chromatic number of this graph is 3. Three colors are clearly necessary, as there are triangles in the graph. A 3-coloring is 1, 5, 10 blue, 2, 3, 8, 9, 12 red and 4, 6, 7, 11 yellow.

5 of 6

AMS 301.03 - Finite Mathematical Structures - Midterm 6. (a) (12 points) For what values of n does there exist a tree with n vertices whose complement is also a tree? Draw the largest such graph and its complement. Solution: We have that for trees e = n 1. Since a graph and its complement have the same 1) 1) number of edges, and those edges total n(n2 , we have that 2(n 1) = n(n2 . Equality occurs exactly if n = 1 or n = 4. The 4 vertex path graphs give the largest such graphs. (b) (4 points) Use a BFS to determine if the graph given by the following adjacency matrix is connected. 0 1 0 0 1 0 0 0 1 1 1 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 1 0 0 0 0 1 1 0 0 1 0 1 0 0 1 0 0 1 0 0 1 0 1 0 1 0 0 0 0 0 0 1 0 0 0 1 0 0 1 0 0 0 0 0 0 0 1 0 0 0 1 1 0 0 0 1 1 0 0 1 0 0 1 0 1 0 Solution: The graph is not connected as a BFS started at 1 does not contain 3 or 8.

6 of 6

You might also like