Dis02a Sol
Dis02a Sol
Solution:
(a) Either planar or non-planar. By the 4-color theorem, any planar graph can provide the planar
example. The easiest non-planar example is K3,3 , which can be 2-colored because it is bipartite.
(Certainly, any graph which can be colored using only 2 colors can also be colored using 4
colors.)
(b) Always non-planar. The 4-color theorem tells us that if a graph is planar, it can be colored
using only 4 colors. The contrapositive of this is that if a graph requires more than 4 colors to
vertex-color, it must be non-planar. (Using the 5- or 6-color theorem would also work.)
(c) Either planar or non-planar. From the notes, we know that every planar graph follows this
formula, so any planar graph is a valid planar example. The easiest non-planar example is
again K3,3 , which has e = 9 and v = 6, meaning our formula becomes 9 ≤ 3(6) − 6 = 12,
which is certainly true.
(d) Always planar. There are two cases to deal with here: either G is a tree, or G is not a tree and
so contains at least one cycle. In the former case, we’re immediately done, since all trees are
planar. In the latter case, consider any cycle in G. We know that every vertex in that cycle is
adjacent to the vertex to its left in the cycle and to the vertex to its right in the cycle. But we
also know that no vertex can be connected to more than two other vertices, so the cycle isn’t
connected to anything else. But G is a connected graph, so we must have that G is just a single
2 Planarity
(a) Prove that K3,3 is nonplanar.
(b) Consider graphs with the property T : For every three distinct vertices v1 , v2 , v3 of graph G,
there are at least two edges among them. Use a proof by contradiction to show that if G is a
graph on ≥ 7 vertices, and G has property T , then G is nonplanar.
Solution:
(a) Assume toward contradiction that K3,3 were planar. In K3,3 , there are v = 6 vertices and e = 9
edges. If K3,3 were planar, from Euler’s formula we would have v − e + f = 2 ⇒ f = 5. On
the other hand, each region is bounded by at least four edges, so 4 f ≤ 2e, i.e., 20 ≤ 18, which
is a contradiction. Thus, K3,3 is not planar.
(b) In this problem, we use proof by contradiction. Assume G is planar. Select any five vertices
out of the seven. Consider the subgraph formed by these five vertices. They cannot form K5 ,
since G is planar. So some pair of vertices amongst these five has no edge between them. Label
these vertices v1 and v2 . The remaining five vertices of G besides v1 and v2 cannot form K5
either, so there is a second pair of vertices amongst these new five that has no edge between
them. Label these v3 and v4 . Label the remaining three vertices v5 , v6 nd v7 . Since v1 v2 is not
an edge, by property T (which states any three vertices must have at least two edges between
them)it must be that {v1 , v} and {v2 , v} are edges, where v ∈ {v3 , v4 , v5 , v6 , v7 }. Similarly for
v3 , v4 we have that {v3 , v} and {v4 , v} are edges, where v ∈ {v1 , v2 , v5 , v6 , v7 }. Now consider
the subgraph induced by {v1 , v2 , v3 , v5 , v6 , v7 }. With the three vertices {v1 , v2 , v3 } on one side
and {v5 , v6 , v7 } on the other, we observe that K3,3 is a subgraph of this induced graph. This
contradicts the fact that G is planar.
The above shows that any graph with 7 vertices and property T is non-planar. Any graph
with greater than 7 vertices and property T will also be non-planar because it will contain a
subgraph with 7 vertices and property T .
(a) Draw 1-, 2-, and 3-dimensional hypercubes and label the vertices using the corresponding bit
strings.
(b) Show that the edges of an n-dimensional hypercube can be colored using n colors so that no
pair of edges sharing a common vertex have the same color.
(c) Show that for any n ≥ 1, the n-dimensional hypercube is bipartite.
Solution:
(a) The three hypercubes are a line, a square, and a cube, respectively. See also note 5 for pictures.
(b) Consider each edge that changes the ith bit for some i ≤ n. Every vertex touches exactly one
of these edges, because there is exactly one way to change the ith bit in any bitstring. Coloring
each of these edges color i ensures that each vertex will then be adjacent to n differently colored
edges, since there are n different bits to change, and no two edges representing bit changes on
different bits have the same color.
An example for the three dimensional case is shown below (red is the first bit, blue is the
second bit, and green is the third bit):
000 001
101
100
011
010
110 111
000 001
101
100
011
010
110 111