Docsity

Course with Problems on Graph Theory | MATH 4690, Study notes of Mathematics

Toggle sidebar
bg1
MATH 4690 (Azoff) Spring 2008
Notes
Page(s) Topic
1−2 Material Covered
3 Chapter 1 Problems
4−5 Chapter 2 Problems
6−8 Chapter 3 Problems
9−11 Chapter 4 Problems
12 −14 Chapter 5 Problems
15 −16 Chapter 6 Problems
17 Chapter 7 Problems
18 Chapter 8 Problems
19 Chapter 10 Problems
20 −22 First Hour Test
23 Second Hour Test
Material Covered
Chapter 1 Textual treatment followed in class.
Chapter 2 Simple graphs emphasized. More examples relating to graph homomor-
phisms given in class.
Chapter 3 Variation of Theorem 3.7 (characterizations of trees), highlighting analo-
gies to linear algebra concepts of independence and spanning, presented in class.
Chapter 4 Section 6 on electrical networks not covered in class.
Chapter 5 We did some extra work on tournament graphs (Section 6) in class.
Chapter 6 We followed the text’s presentation of Sections 1 and 2. We did not
cover Section 3 on blocks. We covered Menger’s Theorems (Section 5) before flows
(Section 4) and gave different treatments of these topics. Here is the class treatment
of Sections 5 and 4.
Definitions. Let u, v be distinct vertices in a connected graph G.
(1) Two u, v–paths are edge disjoint if they share no common edges.
(2) A vertex set S⊂E(G)disconnects ufrom vif every u, v path must use at
least one edge from S.
Menger’s Theorem–edge version. Let u, v be di st inct ve rt ices in a connected
graph G.Write
αfor the smallest cardinality of all u, v disconnecting subsets of E(G),and
βfor the maximum number of mutual ly edge-disjoint u, v–paths.
Then α=β.
The vertex version of Menger’s Theorem was assigned for homework. Both
versions are easily adapted to directed graphs.
Definition. Let f:E(
G)→[0,∞). For any vertex vof
G,wewrite
f+(v):={f(e):vis the initial vertex of e},and
f−(v):={f(e):vis the terminal vertex of e}.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17

Partial preview of the text

Download Course with Problems on Graph Theory | MATH 4690 and more Study notes Mathematics in PDF only on Docsity!

MATH 4690 (Azoff) Spring 2008

Notes

Page(s) Topic 1 − 2 Material Covered 3 Chapter 1 Problems 4 − 5 Chapter 2 Problems 6 − 8 Chapter 3 Problems 9 − 11 Chapter 4 Problems 12 − 14 Chapter 5 Problems 15 − 16 Chapter 6 Problems 17 Chapter 7 Problems 18 Chapter 8 Problems 19 Chapter 10 Problems 20 − 22 First Hour Test 23 Second Hour Test

Material Covered

Chapter 1 Textual treatment followed in class.

Chapter 2 Simple graphs emphasized. More examples relating to graph homomor- phisms given in class.

Chapter 3 Variation of Theorem 3.7 (characterizations of trees), highlighting analo- gies to linear algebra concepts of independence and spanning, presented in class.

Chapter 4 Section 6 on electrical networks not covered in class.

Chapter 5 We did some extra work on tournament graphs (Section 6) in class.

Chapter 6 We followed the text’s presentation of Sections 1 and 2. We did not cover Section 3 on blocks. We covered Menger’s Theorems (Section 5) before flows (Section 4) and gave different treatments of these topics. Here is the class treatment of Sections 5 and 4.

Definitions. Let u, v be distinct vertices in a connected graph G.

(1) Two u, v–paths are edge disjoint if they share no common edges. (2) A vertex set S ⊂ E(G) disconnects u from v if every u, v path must use at least one edge from S.

Menger’s Theorem–edge version. Let u, v be distinct vertices in a connected graph G. Write α for the smallest cardinality of all u, v disconnecting subsets of E(G), and β for the maximum number of mutually edge-disjoint u, v–paths. Then α = β.

The vertex version of Menger’s Theorem was assigned for homework. Both versions are easily adapted to directed graphs.

Definition. Let f : E( G) → [0, ∞). For any vertex v of G, we write f +(v) :=

{f (e) : v is the initial vertex of e}, and f −(v) :=

{f (e) : v is the terminal vertex of e}.

Definitions. A network N is a directed graph G equipped with

(1) two distinguished vertices s (called the source), and t (called the sink or target), and (2) a function c : E( G) → [0, ∞) called the capacity function.

Definition. A flow in a network is a function f : E( G) → [0, ∞) satisfying

(1) f (e) ≤ c(e) for all directed edges e, and (2) For each vertex v other than s, t, we have f +(v) = f −(v).

val(f ) := f +(s) − f −(s) is called the value of the flow f. A maximal flow is a flow whose value is greater than or equal to the value of every other flow.

Theorem (max-flow-min-cut). Let N = ( G, c, s, t ) be a network. Set

α := min{

{f (e) : e ∈ S} where S ⊂ E( G) disconnects s from t, and β := the common value of all maximal flows in N. Then α = β.

Note: It suffices to consider disconnecting sets of edges arising in the following way. Start with a set A of vertices which includes s, but not t (called a source

vertex cut in the text) and then take S := {e ∈ E( G) : the initial vertex of e lies in A, while its terminal vertex lies outside of A}.

Chapter 7 The main surface we considered is the plane. We followed the text for Sections 2 and 3. A few results from Section 4 were mentioned but no proofs were given. Sections 5-9 were not discussed.

Chapter 8 We covered everything except Theorem 8.9 from Section 1, and through Note 8.13 in Section 2. From Section 3, we proved Theorem 8.19, discussed the two examples following it, and mentioned Brook’s Theorem 8.22. From Section 4, we proved the Five Color Theorem 8.28; you can become rich and famous by giving a short proof of the Four Color Theorem 8.29. We did not discuss Sections 5 or 6.

Chapter 10 We proved Hall’s Marriage Theorem 10.33 using the following language. In the marriage interpretation, we think of X as a set of girls, Y as a set of boys, and R ⊂ X × Y as the set of compatible pairs. The matching f we seek pairs each girl with a unique compatible boy so that no two girls are paired with the same boy. It is not however necessary that each boy will be used; in fact, that will happen if and only if |X| = |Y |.

Theorem. Suppose R ⊂ X × Y is a relation. For each subset S of X set

R(S) := {y ∈ Y : (x, y) ∈ R for some x ∈ S}.

Then the following are equivalent:

(1) There is an injective function f : X → Y whose graph is contained in R. (2) For each subset S of X, we have |R(S)| ≥ |S|.

Note: The bipartite graph associated with R has vertex set X ∪ Y with an edge joining x ∈ X to y ∈ Y if and only if the ordered pair (x, y) belongs to R.

Chapter 2 Problems

  1. (not graded) Suppose G and G′^ are two simple graphs having n vertices. For what values of n is it possible for G to simultaneously have more components and edges than G′^?

Solution. The answer is n ≥ 5. First consider cases to show the condition cannot hold for n = 4. It follows that the condition cannot hold for any n < 4, because if it did, we could get an n = 4 example by adding n − 4 isolated vertices. To get an example for n = 5, take G′^ to be a path of length 4 (1 component and 4 edges), and G to be the union of K 4 with an additional isolated vertex (2 components and 6 edges). Examples for higher n can be constructed by adding additional isolated vertices to this G, G′.

  1. (not graded) Which of the graphs in Figure 2.25 are isomorphic?

Solution. Call the graphs G 1 , G 2 , G 3. They are all isomorphic. For the shortest writeup, appropriately label the vertices of G 1 as u 1 ,... , u 8 , and those in G 2 as v 1 ,... , v 8. Then define f 1 by f 1 (uj ) := vj , j = 1,... , n. You should then check (by exhaustion or inspection) that {ui, uj } is an edge of G 1 if and only if {vi, vj } is an edge of G 2. (Because these are simple graphs, f 2 is completely determined by f 1 and you don’t really have to write it out separately). The isomorphism of G 1 , G 3 is handled similarly.

B23. Let G be a simple graph on n vertices which is isomorphic to its own complement G. For some integer k, we must have n = 4k or n = 4k + 1.

Proof. If G is to be isomorphic to its complement, it must have exactly half as

many edges as the complete graph Kn, that is G must have k(k 4 − 1)edges. The latter number must therefore be an integer, and that happens iff n leaves a remainder of 0 or 1 when divided by 4.

When n = 4, there is only one possibility for G (up to isomorphism), namely the bipartite graph K 2 , 2. For n = 5, there are three non-isomorphic possibilities for G.

  1. Let G be a simple graph on n vertices. Then either G or its complement G is connected.

Proof. Suppose G is not connected. Then G has at least two components. Let u, v be distinct vertices. If they lie in different components of G, then they are in fact adjacent in G. On the other hand, if u, v lie in the same component of G, there is a vertex w lying in a different component of G and uwv provides the desired (u, v)-path in G.

30b. For n > 1, the bipartite graph Kn,n is not a contraction of Kn+1,n+1.

Proof. When we put two or more (connected) vertices of Kn+1,n+1, in a common equivalence class, that class will be adjacent to every other equivalence class in the contracted graph. However, no vertex of Kn,n is adjacent to all other vertices in Kn,n.

B33. Let G be a simple graph on n vertices.

a) Every contraction of G is (isomorphic to) a homomorphic image of G. b) Subgraphs of G need not be (isomorphic to) homomorphic images of G. c) Minors of G need not be (isomorphic to) homomorphic images of G.

Proof. For (a), just map each vertex of G to its equivalence class in the partition defining the contraction. For (b), take G = K 2 , and form G′^ by deleting the edge(s) of G. Since G′^ is disconnected, it cannot be the homomorphic image of the connected graph G. Since subgraphs are in particular minors, the same example works for (c).

  1. (not graded) For each natural number N , define

GN := {Km,n : m ≤ n and m + n = N }.

Then no member of Gn is isomorphic to a minor of another member of Gn.

Proof. Fix N. All members of GN have N vertices. Thus all minors involved in such an isomorphism must also have N vertices. This precludes the presence of a non-trivial contraction in the formation, and we just need to show that no subgraph of one of the members GN can be isomorphic to one of its other members. So suppose m 1 < m 2 and take ni = N − mi. Then Km 1 ,n 1 has fewer edges than Km 2 ,n 2. The same is true for all subgraphs of K(m 1 , n 1 ) and thus none of them can be isomorphic to Km 2 ,n 2. On the other hand, some of the vertices of K(m 1 , n 1 ) have degree n 1 , but the degree of each vertex of any subgraph of Km 2 ,n 2 is at most n 2. Thus no subgraph of Km 2 ,n 2 can be isomorphic to Km 1 ,n 1.

This does not contradict the Minor Theorem 2.40 because each GN is a finite set.

B40. Consider a boxing tournament involving n boxers where all pairs fight each other, and no ties are allowed. How many outcomes are possible if every boxer wins at least one match and loses at least one match?

Solution. Write X for set of all possible outcomes of an n- boxer tournament with no ties. Since there are

(n 2

individual matches, the cardinality of X is given by

|X| = 2

(n)(n−1) (^2). We next count the set A of outcomes where some boxer wins all

his matches: first decide which boxer it will be (n choices), and then decide how

the matches not involving this particular boxer will turn out (

(n−1)(n−2) (^2) choces).

Thus |A| = n 2

(n−1)(n−2) (^2). The set B of tournaments in which some player loses all

his matches has the same cardinality. Finally, we count the intersection A ∩ B: first pick an overall winner (n choices), then an overall loser (n − 1 choices), then

the results of all matches not involving these fighters (

(n−2)(n−3) (^2) choces). By the

inclusion-exclusion principle, the answer to the problem is

|X| − |A| − |B| + |A ∩ B| = 2

(n)(n−1) (^2) − (2n) (n−1)(n−2) (^2) + (n)(n − 1) (n−2)(n−3) (^2).

When n = 3, this yields precisely two outcomes. Labeling the players as a, b, c, these correspond to the two ordered cycles a beats b beats c beats a and a beats c beats b beats a. Thus in a round robin tournament involving three players without a big winner or a big loser, there is always a three-cycle involving the players.

  1. Let k ∈ N and consider the sequence s on the k^2 first natural numbers given by s = (sk, sk− 1 ,... , s 2 , s 1 ) where si := ((i − 1)k + 1, (i − 1)k + 2,... , (i − 1)k + k). Then s has no monotone subsequence of length k + 1.

Proof. Let’s first look at an example. Take k = 3. Then the terms in s 1 are (1−1)3+ 1 = 1, followed by (1 − 1)3 + 2 = 2, followed by (1 − 1)3 + 3 = 3. In other words, s 1 = (1, 2 , 3). Similarly s 2 = (4, 5 , 6), and s 3 = (7, 8 , 9). The full sequence s is formed by cancatenating s 3 , s 2 , s 1 in that order, that is s = (7, 8 , 9 , 4 , 5 , 6 , 1 , 2 , 3). The desired conclusion is that s does not have a strictly increasing subsequence of length 4, nor does it have a strictly decreasing subsequence of length 4. You can follow the proof below in this special case. To prove the general statement, we refer to sk as the first block of s, and sk− 1 as the second block of s, etc., through s 1 as the k’th or last block of s. The two key observations are that (1) each individual block is increasing, but (2) entries in later blocks are always smaller than entries in earlier blocks. Now suppose we have a subsequence t of s of length k + 1. By the pigeonhole principle, some pair of the terms of t will lie in a common block of s. By (1), the latter occurring of these terms will be larger than its earlier occurring companion, and this prevents t from being decreasing. Similarly some pair of the terms of t will lie in different blocks. By (2), the latter occurring of these terms will be smaller than its earlier occurring companion, and this prevents t from being increasing.

B24. Suppose you delete a center from a tree, thereby separating the tree into sev- eral components. What can be said about the maximum size of these components?

Solution. I interpret “size” as meaning number of vertices. Let T be a tree on n > 2 vertices, and write  for its diameter. Also write v for one of its centers, and denote the size of the largest component of T − v by c. Then c ≤ n − 1 −  2  and this bound is tight.

Proof. For simplicity of notation, suppose that  is even. Let p be a path in T of length  and write x, y for its endvertices. Then p is the unique path between x and y, and it must pass through v. Thus T − v has at least two components, two of which must contain the “halves” of p − v. Thus each component of T − v must exclude v and at least “half” of p − v. This establishes the desired upper bound c ≤ n − 1 − 2   for even . To see that this upper bound is tight, start with a path of length  and add n −  leaves at one of its penultimate vertices. The argument for odd  is similar.

  1. Suppose the longest path in a tree T has even length . Then all paths of length  in T have the same midvertex.

Proof. The easiest approach is by induction on k := 2 . The result is clear for k = 0. Assume it holds for a given k, suppose T is a tree whose largest path length is 2(k + 1) and let p, q be two paths in T having this length. Form a new tree T ′ by removing all leaves from T , and write p′, q′^ for the paths obtained by deleting the leaves of p, q respectively. Then 2k is the largest path length in T ′. Since p′, q′ are paths of this length in T ′, the inductive hypothesis tells us that p′, q′^ share the same midvertex v. The proof is concluded by noting that v is also the midvertex of p and q.

  1. Write a definition for regular binary tree equivalent to Definition 3.29, but expressed in terms of internal vertices.

Solution. A non-trivial binary tree is regular if its root has degree 2 and all of its other internal vertices have degree 3.

  1. Let bn denote the number of binary trees on n vertices. Show that b 1 = b 2 = 1, and that bn = bn− 1 + (b 1 bn− 2 + b 2 bn− 3 + · · · + bn− 2 b 1 ) for all n > 2.

Proof. Recall that binary trees are rooted and ordered. It is clear that b 1 = b 2 = 1. To establish the recursive formula, suppose T is a binary tree on n vertices and write v for its root. There are two cases. If v has degree one, then T − v is a tree on n − 1 vertices, and by definition, there are bn− 1 such trees. The second case is when v has two children. Each of these heads a tree of its own, denoted T (for left subtree) and Tr (for right subtree), respectively. Suppose T has k vertices. By definition, there are bk possibilites for such a tree. Moreover, Tr must have n − 1 − k vertices and again by definition, there are bn− 1 −k possibilities for Tr. Since these choices of T and Tr can be made independently, and these choices totally determine T , we see that this subcase accounts for bkbn− 1 −k possibilities, that is, there are bkbn− 1 −k binary trees on n vertices in which the root has two children, the left one of which heads up a tree

on k vertices. Since 1 ≤ k ≤ n − 2, we see that there are

n∑− 2

k=

bkbn− 1 −k total trees

in the second case. Adding this to the count we found for the first case, we obtain

bn = bn− 1 +

n∑− 2

k=

bkbn− 1 −k, as desired.

B41. Let b(n) be the number of complete binary trees on 2n + 1 vertices of the optimal low height of log 2 (n + 1). Show that

b(n) =

2 log^2 (n+1)−^1 2 log^2 (n+1)^ − (n + 1)

Proof. All of the trees in question have height h := log 2 (n + 1). By definition of complete, the levels 0 through h − 1 of these trees must be complete, so these levels must account for a total of 1 + 2 + 2^2 +^...^2 h−^1 = 2h^ −^ 1 vertices.^ This leaves us with 2n + 1 − (2h^ − 1) vertices to put on level h. On the other hand, there are 2h^ positions available on this h’th level. However, since our trees must be full, we must use these available positions in pairs. That means 2h−^1 available pairs of which we must choose 12 (2n + 1 − 2 h^ + 1) = n + 1 − 2 h−^1 for placement of those vertices not used on previous levels. Alternatiely, we can choose the available position pairs which will be vacant. There are 2h−^1 − [n + 1 − 2 h−^1 ] = 2h^ − (n + 1)

of these. This gives the answer b(n) =

2 h−^1 2 h^ − (n + 1)

, as desired.

  1. Draw the tree with Prufer code (1, 1 , 1 , 1 , 6 , 5).

Solution. v 1 is adjacent to^ v 2 , v 3 , v 4 , v 7 and^ v 6. The two remaining edges join^ v 6 to v 5 and v 5 to v 8.

  1. Let G be a simple graph on n vertices labeled as V (G) = {u 1 ,... , un}, with

adjacency matrix A := A(G). Show that dG(ui) = a(2) ii for each vertex ui. What happens when every distinct pair of vertices have precisely k edges between them?

Proof. By the way we multiply matrices, we have a(2) ii =

∑n j=1 aij^ aji. By symmetry of A(G) and simplicity of G, we always have aij aji = a^2 ij = aij. Thus the above

formula simplifies to a(2) ii =

∑n j=1 aij^ , the right side of which is^ dG(ui) by definition. The formula fails for a graph consisting of one vertex with a single loop. When every distinct pair of vertices in a graph G on n vertices have precisely k

edges between them, then each off-diagonal entry of A(G) is k, so a(2) ii = (n−1)k^2 = kdG(ui).

  1. Let G be a graph on the n vertices labeled as V (G) = {u 1 ,... , un}. Then for

each k, the ij’th entry a (k) ij of^ A(G)

k (^) is the number of distinct walks from ui to uj

of length k in G.

Proof. Argue inductively on k. The base case k = 1 is true by definition. For the

inductive step, use a( ijk +1)=

∑n =1 a

(k) i aj^.

  1. Let G be a graph on n > 2 vertices labeled as V (G) = {u 1 ,... , un}, and set Y := A(G) + A(G)^2 +... A(G)n−^1. Then G is connected iff all entries of Y are strictly positive. (The hypothesis n > 2, omitted in the text, is necessary.)

Proof.. Suppose first that all entries of Y are strictly positive, and let ui, uj be distinct vertices in V (G). Then the ijth entry of some power of A(G) is non-zero, so the preceding problem yields a (ui, uj ) walk which means G is connected. Conversely, suppose G is connected and fix 1 ≤ i < j ≤ n. There are many walks between ui and uj , but at least one of these is a path and thus must have

length 1 ≤ k < n. This means yij ≥ a( ijk )> 0. Even when i = j, there is a walk of

length two starting and ending at ui, so yij ≥ a (2) ij >^ 0.

  1. Let G be a loopless graph on n vertices with k components. Then rank(B− 1 (G)) = n − k.

Proof. We did the case k = 1, i.e., G connected, in class. Alternatively, you can quote Theorem 4.21 (and the third bulleted item on Page 110) from the text for this case. For the inductive step, assume the result for graphs with k − 1 components and suppose G is a loopless graph on n vertices with k components. Fix a component C of G and write H for the union of the remaining components of G. Write  for the number of vertices of C. Label the vertices of G by starting with the vertices of C and then appending the vertices of H. Do the same for the edges of G. Then the directed incidence matrix of G takes the block form

B− 1 (G) =

[

B− 1 (C) 0

0 B− 1 (H)

]

The inductive hypothesis tells us rank B− 1 (C) =  − 1 and rank B− 1 (H) = (n − ) − (k − 1). Adding we obtain rank B− 1 (G) = n − k, as desired.

  1. Use the matrix tree formula to compute τ (K 2 ,n) for each n ≥ 2.

Proof. Label the vertices as in Problem 10 above. The 1,1 cofactor of the resulting matrix is

det

n − 1... − 1 − 1 2 .. .

We evaluate this determinant by adding half of each of columns 2 through n to the first column. That yields an upper-triangular matrix whose first diagonal entry is n 2 and whose other diagonal entries are all 2. Thus^ τ^ (K^2 ,n) =

( (^) n

2

(2n) = n 2 n−^1.

B32. Use the matrix tree formula to compute τ (Km,n) for all m, n ∈ N.

Proof. Computations like those of Problem 30 yield τ (Km,n) = nm−^1 mn−^1.

  1. Let Wn be the wheel on n + 1 vertices. Compute τ (W 3 ) and τ (W 4 ).

Solution. W 3 is isomorphic to K 4 , so τ (W 3 ) = 4^4 −^2 = 16 by Cayley’s Theorem.

The matrix tree theorem yields τ (W 4 ) = det

The general formula for τ (Wn) is given in terms of the^ Lucas numbers.^ The latter are defined recursively by L 1 = 1, L 2 = 3, and Ln = Ln− 1 + Ln− 2 for n > 2. Then τ (Wn) = L 2 n − 2.

  1. Suppose the weighted graph (G, W ) has a unique edge em of minimal weight. Then em is part of every minimal cost spanning tree of^ G.

Proof. Suppose T is a spanning tree of G which excludes em. Adding em to T creates a single cycle C. We can get a new tree T ′^ by removing an edge other than em from C. Then T ′^ is still a spanning tree for G, but its total cost is less than the cost of T. This prevents T from being a minimal cost spanning tree for G. Note: This problem is not about a specific algorithm, but it can be extended to show that if the weights of (G, W ) are distinct, then G has a unique minimal cost spanning tree. In this case, Kruskal and Prim must construct the same minimal cost spanning tree, though they may choose its edges in different orders.

  1. Draw a connected weighted graph for which Kruskal’s and Prim’s algorithms can find different minimal cost spanning trees.

Solution. The simplest example is a graph on two vertices having two edges with equal weights incident to them. As mentioned in class, a triangle with equally weighted edges will also work.

B11. Let u be a fixed edge of the complete graph Kn, and write τu(n) for the

number of spanning trees of Kn that include u as a leaf. Compute limn→∞ (^) ττ (uK(nn) ).

Proof. Suppose T is a spanning true of Kn containing u as a leaf. Then u must be joined to another vertex (n − 1 choices) and T − u must be a spanning tree

of Kn− 1. Thus τu(n) = (n − 1)(n − 1)n−^3 = (n − 1)n−^2 and limn→∞ (^) ττ u(K(nn) ) =

limn→∞

( (^) n− 1 n

)n− 2 = (^1) e.

  1. For which m, n is the grid graph [m] × [n] Hamiltonian?

Solution. Clearly [1] × [n] is Hamiltonian iff n = 1, so we restrict attemtion to the non-trivial case where m and n are both greater than one. Then a Hamiltonian cycle exists iff mn is even. Sufficiency is established by constructing a “snakelike” cycle when either m or n is even. There are several different approaches to establish necessity:

(1) Every cycle in a grid graph must include as many right moves as left moves and as many up moves as down moves. Thus every cycle in a grid graph has even length and hence includes an even number of vertices. (2) (Ms. Donaldson and Ms. Hallman) Every grid graph is bipartite whence all cycles have even length by Theorem 5.3. (3) (Mr. Gold) Suppose m, n are odd, and take S := {(i, j) ∈ [m] × [n] : i + j is odd}. Then |S| = mn 2 − 1 , while [m] × [n] − S is a null graph having mn+ 2 components.^ Thus Theorem 5.16 tells us that [m]^ ×^ [n] cannot be Hamiltonian.

  1. Equip the edges of the complete graph Kn with strictly positive weights, and let C∗^ a minimal cost Hamiltonian cycle in Kn, and T a minimal cost spanning tree in Kn. Then W (C∗) > W (T ).

Proof. Let e be any edge of C∗. Then C∗^ − e is a spanning tree, so W (C∗) > W (C∗^ − e) ≥ W (T ).

Note: It is not always possible to choose e so that C∗^ − e is itself a minimal cost spanning tree. Consider for example K 4 = W 3 with all outer edges having weight 2 and all spokes having weight 1. Here W (C∗) = 6, removing an edge from C∗^ leaves paths of cost 4 or 5, but the minimal cost spanning tree consists of the spokes and has cost 3.

31a. Let G be a weakly connected digraph. Then G has a directed Eulerian circuit iff all vertices of G have equal in and out degrees.

Proof. Suppose first that G has a directed Eulerian circuit C. Then C must enter each vertex the same number of times it leaves it. Conversely, suppose d+(u) = d−(u) for each u ∈ V ( G). Start a circuit C at some

vertex u of G. It can only end at u. If C doesn’t use up all edges of G, add in side trips as we did in the undirected case.

31b. Let G be a weakly connected digraph which is not Eulerian. Then the following are equivalent.

(1) G has an Eulerian trail. (2) G has precisely two vertices with unequal in/out degrees. One of these must satisfy d+(u) = d−(u) + 1 and the other must satisfy d+(v) = d−(v) − 1.

Proof. This can be proved the same way as Part a) noting that if a trail starts at u and ends at v = u, then you will leave u once more than you enter it and you will enter v once more than you leave it. Alternatively, you can apply the result of Part a) by adding a single directed edge to the graphs appearing in this part.

  1. Suppose the directed graph G has a directed Eulerian trail, but does not have a directed Eulerian circuit. Prove that the underlying graph G does not have a(n undirected) circuit.

Proof. Choose u as in Problem 31b. Then d(u) = d+(u) + d−(u) = 2d−(u) + 1 is odd so an (undirected) Eulerian circuit is ruled out by Theorem 5.7.

  1. For n ≥ 3 there are 2n^ − 2 acyclic directed graphs having the cycle Cn as underlying graph.

Solution. Each edge of the underlying graph Cn can be oriented in two ways. Since these choices can be made independently, there are 2n^ digraphs with underlying graph Cn. Precisely two of these graphs are directed cycles (the “clockwise” and “counterclockwise” orientations), leaving 2n^ − 2 acyclic directed graphs.

  1. If a digraph G contains a directed circuit of positive length, then G must contain a cycle.

Proof. Let C be a circuit in G of minimal length and note that this must be a cycle. Mr. Conway and Mr. Posey noted that the present result also follows from Corollary 5.45.

  1. The following are equivalent for a digraph G on n vertices.

(1) G is acyclic. (2) There is a labeling of the vertices relative to which the adjacency matrix is strictly lower triangular.

Proof. Follow the proof of Corollary 5.46 or use its result by noting that reversing the order of the vertices u 1 ,... , un results in a transposed adjacency matrix.

B6. Let G be a k-partite graph on n vertices. Then G is k′-partite for every k ≤ k′^ ≤ n.

Proof. It suffices to consider the case k′^ = k + 1. Handle this by splitting one of the sets in the original partition into two subsets. (The convention of allowing empty parts makes this problem trivial.)

B16. Suppose n ≥ m > 1. Then the complete bipartite graph Km,n is Hamiltonian if and only if m = n.

Proof. Problem 15 above shows the condition is sufficient. For necessity, note that any cycle in a bipartite graph must use the same number of vertices from each part. Alternatively, you can delete the part S consisting of the m vertices, noting that Km,n − S is then a null graph having n components, and Theorem 5.16 applies.

  1. Give an example of a network G with more than one maximum flow. Explain why every such network must have infinitely many maximum flows.

Construction. Take V ( G) = {s, t, v, w} with directed edges (s, v), (v, w), (w, t), and (v, t), with all four edges having capacity 1. One maximum flow is given by f 1 (s, v) = f 1 (v, t) = 1 and f 1 (v, w) = f 1 (w, t) = 0; another is given by f 2 (s, v) = f 2 (v, w) = f 2 (w, t) = 1 and f 2 (v, t) = 0. For the second statement, suppose f 1 , f 2 are distinct maximum flows for a net- work. Then for every real number α ∈ [0, 1], the convex combination αf 1 +(1−α)f 2 provides a maximum flow for that network, and the functions given by these com- binations are all different.

A. Prove the vertex version of Menger’s Theorem: The maximum number α of vertex-disjoint paths connecting two distinct, non-adjacent vertices u, v in a graph G is equal to the minimum number β of vertices which need to be removed from V (G){u, v}in order to destroy all u, v-paths.

Proof. For short, we refer to any set S ⊂ V (G){v, v} of minimal cardinality whose removal destroys all u, v paths as a minimal separating set. We at least have α ≤ β since removing fewer than α vertices from V (G){u, v} will leave at least one u, v path in tact. For the opposite inequality, we argue inductively on the cardinality of V (G); clearly α = β = 1 when |V (G)| = 3. For the inductive step, assume the result for all graphs with fewer than n vertices and suppose that G has n vertices. Every vertex w other than u, v is part of some minimal separating set since otherwise we could apply the inductive hypothesis to G − w. Similarly, if there were a u, v-path of length two, we could delete its middle vertex; that would reduce both α and β by one, and the inductive hypothesis would again kick in. Applying these reductions, we fix a minimal separating set S := {w 1 ,... , wβ } which includes a vertex which is neither adjacent to u nor to v. Now consider the graph G 1 obtained by contracting the component of u in G − S to a single point u˜. This graph has fewer vertices than G and still admits S as a minimal separating set. Thus the inductive hypothesis provides us with |S| vertex disjoint ˜u, v paths. These paths necessarily take the form ˜upj , j = 1,... , β, where pj is a path in G which starts at wj and ends at v. Similarly contracting the component of v in G − S provides us with paths q 1 ,... , qβ with qj starting at u and ending at wj. The cancatenated paths q 1 ∗ p 1 ,... , qβ ∗ pβ are vertex disjoint paths from u to v, and we have α ≥ β as desired.

Chapter 7 Problems

  1. The 6-vertex, 12-edge graph described in planar.

Proof. The simplest procedure is to redraw the graph in the form of a central triangle surounded by three congruent tangent triangles whose outlying vertices are joined with three circular arcs. Alternatively, one can note that neither K 5 nor K 3 , 3 is a minor of the given graph.

  1. Prove Euler’s formula inductively by using contraction of an edge in the graph.

Proof. For the inductive step, contract an edge which borders the unbounded re- gion. If the other side of the edge is not a 3-cycle then both the number of vertices and the number of vertices are reduced by one, but the number of faces is not affected. On the other hand, if the bounded side of the contracted edge is a 3-cycle, then one vertex, two edges, and one face are destroyed. In either case, the truth of Euler’s formula in the contracted graph implies its validity in the original graph.

  1. There is a planar graph, all of whose vertices have degree 5.

Construction. The smallest example is the icosahedral graph, drawn in class and pictured on the website http://bbs.sachina.pku.edu.cn/Stat/Math World/math/i/i008.htm.

B12. For each 3 ≤ r ≤ 5, there is an infinite collection of simple, planar, connected, r-regular graphs, no two of which are isomorphic.

Construction. The parallel sum of two planar graphs is formed by deleting one outer edge (that is an edge bordering the infinite face) from each and then adding two new edges joining correponding vertices of the deleted edges. The new graph is planar, and if the original graphs were r-regular, then so is their parallel sum. For each n ∈ N, take Gn to be the parallel sum of n copies of the icosahedral graph of Problem 7. Then {Gn}n∈N provides the desired family for r = 5. Similar constructions, starting with K 3 and K 4 solve the problem for r = 3 and r = 4 respectively, though there are easier constructions in these latter cases.

Chapter 10 Problems (Hall’s Theorem)

B. Consider a group X of three girls {a, b, c} and a group Y of four boys {d, e, f, g} of which the following seven pairs are compatible: (a, e), (a, f ), (a, g), (b, d), (b, f ), (c, d), (c, e).

a) Draw the corresponding bipartite graph. b) Find five different solutions of the corresponding marriage problem. c) Check that the condition given in Hall’s Theorem is satisfied. This is left to the reader. For Part (c), you must check that |R(S)| ≥ |S| for each non-empty subset of X. There are seven such sets S.

C. A building contractor advertises for a bricklayer, a carpenter, a plumber, and a toolmaker, and receives five applicants – #1 for the job of bricklayer, #2 for carpenter, #3 for bricklayer and plumber, and #4,#5 for plumber and toolmaker. Use Hall’s Theorem to decide whether all of the jobs can be filled with qualified applicants.

Solution. Take X := {b, c, p, t} and Y := { 1 , 2 , 3 , 4 , 5 }. It is easy but tedious to check that Hall’s condition is satisfied. One matching is provided by {(b, 1), (c, 2), (p, 3), (t, 4)}.

  1. Let G be a bipartite graph with bipartition V (G) = X ∪ Y and suppose there is an integer k such that dG(x) ≥ k ≥ dG(y) for all x ∈ X and y ∈ Y. Then there is a matching which covers all of X.

Proof. Fix a non-empty subset S of X. As usual, set R(S) := {y ∈ Y : y is incident to some x ∈ S}. Write A for the set of edges in G incident to vertices in S and B for the set of edges in G incident to vertices in R(S). The hypothesis gives |A| ≥ k|S| and k|R(S)| ≥ |B|. Since A = A ∩ B ⊂ B, we get k|R(S)| ≥ |B| ≥ |A ∩ B| = |A| ≥ k|S|. Dividing by k shows Hall’s condition is satisfied.

  1. Let X be a set of sultans, and let Y be the set of potential wives. Find necessary and sufficient conditions that each sultan can marry k women he likes.

To be discussed at review session.