Docsity

Mathematics for Computer Science Problem Set 4, Exercises of Applied Mathematics

Toggle sidebar
bg1
6.042/18.062J Mathematics for Computer Science September 28, 2010
Tom Leighton and Marten van Dijk
Problem Set 4
Problem 1. [15 points] Let G = (V, E ) be a graph. A matching in G is a set M ⊂ E
such that no two edges in M are incident on a common vertex.
Let M1, M2 be two matchings of G. Consider the new graph G� = (V, M1 ∪ M2) (i.e. on the
same vertex set, whose edges consist of all the edges that appear in either M1 or M2). Show
that G� is bipartite.
Helpful definition: A connected component is a subgraph of a graph consisting of some vertex
and every node and edge that is connected to that vertex.
Problem 2. [20 points] Let G = (V, E ) be a graph. Recall that the degree of a vertex
v ∈ V , denoted dv, is the number of vertices w such that there is an edge between v and
w.
(a) [10 pts] Prove that
�
2|E| = dv.
v∈V
(b) [5 pts] At a 6.042 ice cream study session (where the ice cream is plentiful and it helps
you study too) 111 students showed up. During the session, some students shook hands with
each other (everybody being happy and content with the ice-cream and all). Turns out that
the University of Chicago did another spectacular study here, and counted that each student
shook hands with exactly 17 other students. Can you debunk this too?
(c) [5 pts] And on a more dull note, how many edges does Kn, the complete graph on n
vertices, have?
Problem 3. [15 points] Two graphs are isomorphic if they are the same up to a relabeling
of their vertices (see Definition 5.1.3 in the book). A property of a graph is said to be
preserved under isomorphism if whenever G has that property, every graph isomorphic to G
also has that property. For example, the property of having five vertices is preserved under
isomorphism: if G has five vertices then every graph isomorphic to G also has five vertices.
(a) [5 pts] Some properties of a simple graph, G, are described below. Which of these
properties is preserved under isomorphism?
pf3
pf4

Partial preview of the text

Download Mathematics for Computer Science Problem Set 4 and more Exercises Applied Mathematics in PDF only on Docsity!

6.042/18.062J Mathematics for Computer Science September 28, 2010 Tom Leighton and Marten van Dijk

Problem Set 4

Problem 1. [15 points] Let G = (V, E) be a graph. A matching in G is a set M ⊂ E such that no two edges in M are incident on a common vertex. Let M 1 , M 2 be two matchings of G. Consider the new graph G�^ = (V, M 1 ∪ M 2 ) (i.e. on the same vertex set, whose edges consist of all the edges that appear in either M 1 or M 2 ). Show that G�^ is bipartite. Helpful definition: A connected component is a subgraph of a graph consisting of some vertex and every node and edge that is connected to that vertex. Problem 2. [20 points] Let G = (V, E) be a graph. Recall that the degree of a vertex v ∈ V , denoted dv, is the number of vertices w such that there is an edge between v and w. (a) [10 pts] Prove that (^) � 2 |E| = dv. v∈V (b) [5 pts] At a 6.042 ice cream study session (where the ice cream is plentiful and it helps you study too) 111 students showed up. During the session, some students shook hands with each other (everybody being happy and content with the ice-cream and all). Turns out that the University of Chicago did another spectacular study here, and counted that each student shook hands with exactly 17 other students. Can you debunk this too? (c) [5 pts] And on a more dull note, how many edges does Kn, the complete graph on n vertices, have? Problem 3. [15 points] Two graphs are isomorphic if they are the same up to a relabeling of their vertices (see Definition 5.1.3 in the book). A property of a graph is said to be preserved under isomorphism if whenever G has that property, every graph isomorphic to G also has that property. For example, the property of having five vertices is preserved under isomorphism: if G has five vertices then every graph isomorphic to G also has five vertices. (a) [5 pts] Some properties of a simple graph, G, are described below. Which of these properties is preserved under isomorphism?

2 Problem Set 4

  1. G has an even number of vertices.
  2. None of the vertices of G is an even integer.
  3. G has a vertex of degree 3.
  4. G has exactly one vertex of degree 3. (b) [10 pts] Determine which among the four graphs pictured in the Figures are isomorphic. If two of these graphs are isomorphic, describe an isomorphism between them. If they are not, give a property that is preserved under isomorphism such that one graph has the property, but the other does not. For at least one of the properties you choose, prove that it is indeed preserved under isomorphism (you only need prove one of them). 1 2 4 3 5 6 7 (^8 ) 10 1 2 4 3 5 6 7 8 9 10 (a) G 1 (b) G 2 1 2 3 4 6 5 7 8 9 10 1 2 4 3 5 6 7 8 9 10 (c) G 3 (d) G 4 Figure 1: Which graphs are isomorphic? Problem 4. [15 points] Recall that a coloring of a simple graph is an assignment of a color to each vertex such that no two adjacent vertices have the same color. A k-coloring is a coloring that uses at most k colors. False Claim. Let G be a (simple) graph with maximum degree at most k. If G also has a vertex of degree less than k, then G is k-colorable. (a) [5 pts] Give a counterexample to the False Claim when k = 2. (b) [10 pts] Consider the following proof of the False Claim:

MIT OpenCourseWare http://ocw.mit.edu 6.042J / 18.062J Mathematics for Computer Science Fall 2010 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.