PG - M.Sc. - Mathematics - 31141 Graph Theory
PG - M.Sc. - Mathematics - 31141 Graph Theory
Accredited with ’A+’ Grade by NAAC (CGPA: 3.64) in the Third Cycle and
Graded as Category-I University by MHRD-UGC
KARAIKUDI - 630 003
M.Sc
31141
GRAPH THEORY
1 GRAPHS 1
4 BLOCKS 21
5 PERFECT MATCHINGS 27
7 EDGE COLOURINGS 35
8 VERTEX COLORING 41
9 PLANER GRAPHS 47
10 BRIDGES 59
13 NETWORKS 75
i
Chapter 1
GRAPHS
Unit- I
1.1 GRAPHS
Definition 1.1 A graph is an ordered triple G = (V (G), E(G), IG ), where V (G)
is a nonempty set, E(G) is a set disjoint from V (G), and IG is an ”incidence” map
that associates with each element of E(G), an unordered pair of elements(same or
distinct) of V (G).
Elements of V (G) are called the vertices(or nodes or points) ofG, and elements of
E(G) are called the edges(or lines) of G. If, for the edge e of G, IG (e) = {u, v},
we write IG (e) = uv.
Figure 1.1:
1
2 CHAPTER 1. GRAPHS
Definition 1.2 If IG (e) = {u, v}, then the vertices u and v are called the end
vertices or ends of the edge e. Each edge is said to join its ends; in this case we
say that e is incident with each one of its ends. Also, the vertices u and v are then
incident with e. A set of two or more edges of a graph G is called a set of multiple
or parallel edges if they have the same ends. If e is the only edge with end vertices
u and v, we write e = uv. An edge for which the two ends are the same is called a
loop at the common vertex.
A vertex u is a neighbor of v in G, if uv is an edge of G, and u 6= v. The set of
all neighbors of v is the open neighborhood of v or the neighbor set of v, and
is denoted by N (v); the set N [v] = N (v) ∪ {v} is the closed neighborhood of v
in G. When G must be explicit, these open and closed neighborhoods are denoted by
NG (v) and NG [v], respectively.
Vertices u and v are adjacent to each other in G if, and only if, there is an edge
of G with u and v as its ends. Two distinct edges e and f are said to be adjacent
if, and only if, they have a common end vertex.
Definition 1.3 A graph is simple if it has no loops and no multiple edges. Thus,
for a simple graph G, the incidence function IG is one-to-one. Hence, an edge of a
simple graph is identified with the pair of its ends. A simple graph therefore may be
considered as an unordered pair (V (G), E(G)), where V (G) is a non-empty set and
E(G) is a set of unordered pairs of elements of V (G)(each edge of the graph being
identified with the pair of its ends).
Figure 1.2:
Example 1.2 In the above graph(1.2) the edge e3 = v2 v4 , edges e4 and e5 form
multiple edges, e6 is a loop at v3 , N (v2 ) = {v3 , v4 , v5 }, N (v3 ) = {v2 }, N [v2 ] =
{v2 , v3 , v4 , v5 } and N [v2 ] = N (v2 ) ∪ {v2 }. Further, v2 and v5 are adjacent vertices
and e3 and e4 are adjacent edges.
Definition 1.4 A graph is called finite if both V (G) and E(G) are finite. A graph
that is not finite is called infinite.
Notation 1.1 We denote by n(G) and m(G) the number of vertices and edges of
the graph G, respectively. The number n(G) is called the order of G and m(G) is
called the size of G.
1.1. GRAPHS 3
Note 1.1 A simple graph with n vertices can have at most n2 = n(n−1)
2
edges. Kn
has the maximum number of edges among all simple graphs with n vertices. Thus,
for a simple graph G with n vertices, we have 0 ≤ m(G) ≤ n(n − 1)/2.
Definition 1.7 A graph is trivial if its vertex set is singleton and it contains no
edges.
Note 1.2 If |V (G)| = n, then clearly, |E(G)| + |E(Gc )| = |E(Kn )| = n(n − 1)/2.
1.2 Subgraphs
Definition 1.10 A graph H is called a subgraph of G if V (H) ⊂ V (G), E(H) ⊂
E(G), and IH is the restriction of IG to E(H). If H is a subgraph of G, then G is
said to be a supergraph of H. A subgraph H of a graph G is a proper subgraph
of G if either V (H) 6= V (G) or E(H) 6= E(G).
Figure 1.8:
Figure 1.9:
Definition 1.13 Let G be a graph, S a proper subset of the vertex set V , and E 0 a
subset of E. The subgraph G[V − S] is said to be obtained from G by the deletion
of S. This subgraph is denoted by G − S.
The spanning subgraph of G with the edge set E/E 0 is the subgraph obtained from G
by deleting the edge subset E 0 . This subgraph is denoted by G − E 0 .
Note 1.3 When a vertex is deleted from G, all the edges incident to it are also
deleted from G, whereas the deletion of an edge from G does not affect the vertices
of G.
Note 1.4 If (φ, θ) is a graph isomorphism, the pair of the inverse mappings (φ−1 , θ−1 )
is also a graph isomorphism. Also note that the bijection φ satisfies the condition
6 CHAPTER 1. GRAPHS
that u and v are end vertices of an edge e of G if, and only if, φ(u) and φ(v) are
end vertices of the edge θ(e) in H.
Definition 1.15 If graphs G and H are simple, a bijection φ : V (G) → V (H) such
that u and v are adjacent in G if, and only if, φ(u) and φ(v) are adjacent in H
induces a bijection θ : E(G) → E(H) satisfying the condition that IG (e) = {u, v} if,
and only if, IH (θ(e)) = {φ(u), φ(v)}.
Hence φ itself is referred to as an isomorphism in the case of simple graphs G and
H. Thus if G and H are simple graphs, an isomorphism from G to H is a bijection
φ : V (G) → V (H) such that u and v are adjacent in G if, and only if, φ(u) and
φ(v) are adjacent in H.
listing of the vertices and edges of G, is the n × t matrix M (G) = (mij ) where mij
is the number of times that the vertex vi is incident with the edge ej , i.e.,
0 if vi is not an end of ej
mij = 1 if vi is an end of the non-loop ej
2 if vi is an end of the loop ej .
Theorem 1.1 The sum of the degrees of the vertices of a graph is equal to twice
the number of its edges.
Corollary 1.1 In any graph G, the number of vertices of odd degree is even.
Proof 1.2 Let V1 and V2 be the subsets of vertices of G with odd and even degrees,
respectively. By theorem7.1,
X X X
2m(G) = dG (v) = dG (v) + dG (v).
v∈V v∈V1 v∈V2
P P
As 2m(G) and v∈V2 dG (v) are even, v∈V1 dG (v) is even. Since for each v ∈ V1 ,
dG (v) is odd, |V1 | must be even.
Exercise 1.1 (1) Let G and H be simple graphs and let φ : V (G) → V (H) be a
bijection such that uv ∈ E(G) implies that φ(u)φ(v) ∈ E(H). Show, by means
of an example, that φ need not be an isomorphism from G to H.
(2) Find the complement of the following simple graph.
(3) Show that if G and H are isomorphic graphs, then each pair of corresponding
vertices of G and H have the same degree.
1.5. VERTEX DEGREES 9
(5) Prove that in any group of n persons(n ≥ 2), there are at least two with the
same number of friends.
(6) Draw the graphs having the following matrices as their adjacency matrices.
1 1 0 1 0
1 0 1 0 0
(a) 0 1 0 1 0
1 0 1 0 0
0 0 0 0 1
Notes:
10 CHAPTER 1. GRAPHS
Chapter 2
Unit- II
2.1 Walk
Definition 2.1 A Walk in a graph G is an alternating sequence W : v0 e1 v1 e2 v2 . . . en vn
of vertices and edges beginning and ending with vertices in which vi−1 and vi are the
ends of ei ; v0 is the origin and vn is the terminus of W . The walk W is said to
join v0 and vn ; it is also referred to as a v0 − vn walk.
If the graph is simple, a walk is determined by the sequence of its vertices. The walk
is closed if v0 = vn and is open otherwise.
Definition 2.3 A cycle is a closed trial in which the vertices are all distinct. The
length of a walk is the number of edges in it. A walk of length zero consists of just
a single vertex.
11
12 CHAPTER 2. WALK & CYCLE
(4) Prove that in a simple graph G, the union of two distinct paths joining two
distinct vertices contains a cycle.
2.3. BIPARTITE GRAPHS 13
(5) Show by means of an example that the union of two distinct walks joining two
distinct vertices of a simple graph G need not contain a cycle.
(7) In the following graph, find a closed trail of length 7 that is not a cycle:
Notes:
14 CHAPTER 2. WALK & CYCLE
Chapter 3
Unit- III
3.1 Trees
Definition 3.1 A connected acyclic graph is called a tree.
Theorem 3.1 A simple graph is a tree if, and only if, any two distinct vertices are
connected by a unique path.
Proof 3.1 Let T be a tree. Suppose that two distinct vertices u and v are connected
by two distinct u − v paths. Then their union contains a cycle in T , contradicting
that T is a tree.
Conversely, suppose that any two vertices of a graph G are connected by a unique
15
16 CHAPTER 3. TREES, CUT EDGES & VERTICES’S
path. Then G is obviously connected. Also G can not contain a cycle, since any two
distinct vertices of a cycle are connected by two distinct paths. Hence G is a tree.
Theorem 3.4 A tree with at least two vertices contains at least two pendant ver-
tices.
Proof 3.2 Consider a longest path of a tree T . The end vertices of this path must
be pendant vertices of T ; otherwise, the path is extendable to a longer path or else
T contains a cycle, a contradiction.
Proof 3.3 If G has no cycles, then G is a forest and hence δ(G) ≤ 1 by theorem
(7.1).
3.2. CUT EDGES AND BONDS 17
Example 3.1 For the above graph, {v2 } and {v3 , v4 } are vertex cuts. The edge
subsets {v3 v5 , v4 v5 }, {v1 v2 } and {v4 v6 } are all edge cuts. Of these, v2 is a cut vertex,
and {v1 v2 } and {v4 v6 } are both cut edges. For the edge cut {v3 v5 , v4 v5 }, we may
take S = {v5 } so that S̄ = {v1 , v2 , v3 , v4 , v6 }.
Proof 3.4 Let e be a cut edge of G, and let [S, S̄] = {e} be the partition of V defined
by G − e so that x ∈ S and y ∈ S̄. If e belongs to a cycle of G, then [S, S̄] must
contain at least one more edge, contradicting that {e} = [S, S̄]. Hence e cannot
belong toa cycle.
Conversely, assume that e is not a cut edge of G. Then G − e is connected, and
hence there exists an x − y path P in G − e. Then P ∪ {e} is a cycle in G containing
e.
Theorem 3.6 An edge e = xy is a cut edge of a connected graph G if, and only if,
there exist vertices u and v such that e belongs to every u − v path in G.
Proof 3.5 Let e = xy be a cut edge of G. Then G − e has two components, G1 and
G2 . Let u ∈ V (G1 ) and v ∈ V (G2 ) Then clearly, every u − v path in G contains e.
Conversely, suppose that there exist vertices u and v satisfying the condition of the
theorem. THen, there exists no u − v path in G − e so that G − e is disconneccted.
Hence e is a cut edge of G.
Proposition 3.1 A simple cubic connected grasph G has a cut vertex if, and only
if, it has a cut edge.
18 CHAPTER 3. TREES, CUT EDGES & VERTICES’S
Proof 3.6 If v is a cut vertex of G, then G − v is disconnected and has at least two
components, G1 and G2 . Take u ∈ V (G1 ) and w ∈ V (G2 ). THen every u − w path
in G must contain v, as otherwise u and w would belong to the same component of
G − v.
Conversely, suppose that the condition of the theorem holds. Then the deletion of
v destroys every u − w path in G, and hence u and w lie in distinct components of
G − v. THerefore, G − v is disconnected and v is a cut vertex of G.
Lemma 3.9 Let (d1 , . . . , dn )) be a sequence of positive integers with ni=1 di = 2(n−
P
1), then there exists a tree T with vertex set {v1 , . . . , vn } and d(vi ) = di ,1 ≤ i ≤ n.
Lemma 3.10 Let P {v1 , . . . , vn },n ≥ 2 be given and let {d1 , . . . , dn } be a set of positive
integers such that ni=1 di = 2(n − 1). Then the number of trees with {v1 , . . . , vn }
(n−2)!
as the vertex set in which vi has degree di ,1 ≤ i ≤ n, is (d1 −1)!...(d n −1)!
.
Exercise 3.1 (1) IF {x, y} is a 2-edge cut of a graph G, show that every cycle of
G that contains x must also contain y.
(2) Prove or disprove: Let G be a simple connected graph with n(G) ≥ 3. Then G
has a cut edge iff G has a cur vertex.
(3) Show that in a graph, the number of edges common to a cycle and an edge cut
is even.
(4) Give an example of a graph with n vertices and n − 1 edges that is not a tree.
Notes:
20 CHAPTER 3. TREES, CUT EDGES & VERTICES’S
Chapter 4
BLOCKS
Unit- IV
4.1 CONNECTIVITY
Definition 4.1 For a nontrivial connected graph G having a pair of nonadjacent
vertices, the minimum k for which there exists a k-vertex cut is called the vertex
connectivity or simply the connectivity of G; it is denoted by κ(G) or simply κ.
Theorem 4.1 For any loopless connected graph G, κ(G) ≤ λ(G) ≤ δ(G)
21
22 CHAPTER 4. BLOCKS
Theorem 4.2 The connectivity and edge connectivity of a simple cubic graph G are
equal.
Theorem 4.3 A graph G with at least three vertices is 2-connected iff any two
vertices of G are connected by at least two internally disjoint paths.
4.2 Blocks
Definition 4.6 A graph G is nonseparable if it si nontrivial, connected and has
no cut vertices. A block of a graph G is a maximal nonseparable subgraph of G. If
G has no cut vertex, G itself is a block.
Theorem 4.4 If C is any cycle of a simple block G with at least three vertices, then
there exists a sequence of non-separable subgraphs c = B0 , B1 , . . . , Br = G such that
Bi+1 is an edge-disjoint union of Bi and a path Pi ,where the only vertices common
to Bi and Pi are the end vertices of Pi ,0 ≤ i ≤ r − 1.
Theorem 4.5 For a connected graph G, the following statements are equivalent:
(i) G is Eulerian
(ii) The degree of each vertex of G is an even positive integer.
(iii) G is an edge-disjoint union of cycles.
Theorem 4.6 A graph is Eulerian if, and only if, each edge e of G belongs to an
odd number of cycles of G.
Corollary 4.1 A graph is Eulerian if, and only if, it has an odd number of cycle
decompositions
Theorem 4.8 Let G be a simple graph with n ≥ 3 vertices. If for every pair of
nonadjacent vertices u, v of G, d(u) + d(v) ≥ n, then G is Hamiltonian.
(5) A vertex v of a tree T with at least three vertices is a cut vertex of T if and only
if v is not a pendant vertex.
(6) Prove or disprove: If H is a subgraph of G; then κ(H) ≤ κ(G)
Notes:
Chapter 5
PERFECT MATCHINGS
Unit- V
5.1 MATCHINGS
Definition 5.1 A subset M of E is called a matching in G if its elements are links
and no two are adjacent in G; the two ends of an edge in M are said to be matched
under M . A matching M saturates a vertex v, and v is said to be M − saturated, if
some edge of M is incident with v; otherwise, v is M − unsaturated. If every ver-
tex of G is M −saturated, the matching M is perfect. M is a maximum matching if
G has no matching M 0 with |M 0 | > |M |; clearly, every perfect matching is maximum.
|M 0 | > |M | (5.1)
27
28 CHAPTER 5. PERFECT MATCHINGS
Exercises
5.1.1 (a) Show that every k−cube has a perfect matching (k ≥ 2).
(b) Find the number of different perfect matchings in k2n and kn,n .
5.1.2 Show that a tree has at most one perfect matching.
5.1.3 For each k > 1, find an example of a k−regular simple graph that has no
perfect matching.
Theorem 5.2 Let G be a bipartite graph with bipartition (X, Y ). Then G contains
a matching that saturates every vertex in X if and only if
Proof:
Suppose that G contains a matching M which saturates every vertex in X, and let S
be a subset of X. Since the vertices in S are matched under M with distinct vertices
in N (S), we clearly have |N (S)| ≥ |S|.
Conversely, suppose that G is a bipartite graph satisfying equation 13.2, but that
G contains no matching saturating all the vertices in X. We shall obtain a contra-
diction. Let M ∗ be a maximum matching in G. By our supposition, M ∗ does not
saturate all vertices in X. Let u be an M ∗ −unsaturated vertex in X, and let Z
denote the set of all vertices connected to u by M ∗ − alternating paths. Since M ∗ is
a maximum matching, it follows from theorem 1 that u is the only M ∗ −unsaturated
5.3. PERFECT MATCHINGS 29
|T | = |S| − 1 (5.3)
N (S) = T (5.4)
Corollary 1:
If G is a k−regular bipartite graph with k > 0, then G has a perfect matching.
Exercises:
1. Show that it is impossible, using 1 × 2 rectangles, to exactly cover an 8 × 8 square
from which two opposite 1 × 1 corner squares have been removed.
2. (A)Show that a bipartite graph G has a perfect matching if and only if |N (S)| ≥
|S| for all S ⊆ V .
Theorem 5.3 G has a perfect matching if and only if o(G−S) ≤ |S| for all S ⊂ V .
Theorem 5.4 Every 3-regular graph without cut edges has a perfect matching.
Notes:
30 CHAPTER 5. PERFECT MATCHINGS
Chapter 6
INDEPENDENT SETS,
CLIQUES & RAMSEY’S
NUMBERS
Unit - VI
6.1 INDEPENDENT SETS & CLIQUES
A subset S of V is called an independent set of G if no two vertices of S are adjacent
in G. An independent set is maximum if G has no independent set S 0 with |S 0 | > |S|.
Recall that a subset K of V such that every edge of G has at least one end in K is
called a covering of G.
Theorem 6.2 α + β = ν.
Proof:
Let S be a maximum independent set of G, and let K be a minimum covering of
G. Then, by theorem 7.1, V \ K is an independent set and V \ S is a covering.
Therefore,
ν − β = |V \ K| ≤ α (6.1)
31
32 CHAPTER 6. INDEPENDENT SETS, CLIQUES & RAMSEY’S NUMBERS
ν − α = |V \ S| ≥ β (6.2)
The edge analogue of an independent set is a set of links no two of which are adja-
cent, that is, a matching. The edge analogue of a covering is called an edge covering.
An edge covering of G is a subset L of E such that each vertex of G is an end of
some edge in L. Note that edge coverings do not always exist; a graph G has an
edge covering if and only if δ > 0. We denote the number of edges in a maximum
matching of G by α0 (G), and the number of edges in a minimum edge covering of
G by β 0 (G); the numbers α0 (G) and β 0 (G) are the edge independence number and
edge covering number of G, respectively.
Matchings and edge coverings are not related to one another as simply as are in-
dependent sets and coverings; the complement of a matching need not be an edge
covering, nor is the complement of an edge covering necessarily a matching. How-
ever, it so happens that the parameters α0 and β 0 are related in precisely the same
manner as are α and β.
α0 + β 0 ≤ ν (6.3)
Now let L be a minimum edge covering of G, set H = G[L] and let M be a maximum
matching in H. Denote the set of M −unsaturated vertices in H by U . Since M is
maximum, H[U ] has no links and therefore
|L| − |M | = |L \ M | ≥ |U | = ν − 2|M |
α0 + β 0 ≥ |M | + |L| ≥ ν (6.4)
Theorem 6.4 In a bipartite graph G with δ > 0, the number of vertices in a maxi-
mum independent set is equal to the number of edges in a minimum edge covering.
and
Furthermore, if r(k, l − 1) and r(k − 1, l) are both even, then strict inequality holds
in equation 6.7.
Proof:
Now suppose that r(k, l − 1) and r(k?1, l) are both even, and let G be a graph on
r(k, l?1) + r(k?1, l) − 1 vertices. Since G has an odd number of vertices, it follows
from corollary 1 that some vertex v is of even degree; in particular, v cannot be
adjacent to precisely r(k − l, l) − 1 vertices. Consequently, either case (i) or case (ii)
above holds, and therefore G contains either a clique of k vertices or an independent
set of l vertices. Thus, r(k, l) ≤ r(k, l − 1) + r(k − 1, l) − 1 as stated.
Notes:
Chapter 7
EDGE COLOURINGS
Unit - VII
7.1 EDGE CHROMATIC NUMBER
Lemma 7.1 Let G be a connected graph that is not an odd cycle. Then G has a
2-edge colouring in which both colours are represented at each vertex of degree at
least two.
Proof 7.1 We may clearly assume that G is nontrivial. Suppose, first, that G is
35
36 CHAPTER 7. EDGE COLOURINGS
Figure 7.1: 1
eulerian. If G is an even cycle, the proper 2-edge colouring of G has the required
property. Otherwise, G has a vertex v0 of degree at least four. Let be an Euler tour
of G, and set v0 e1 v1 . . . e v0
Then the 2-edge colouring (E1 , E2 ) of G has the required property, since each vertex
of G is an internal vertex of v0 e1 v1 . . . e v0 . If G is not eulerian, construct a new
graph G∗ by adding a new vertex v0 and joining it to each vertex of odd degree in G.
Clearly G∗ is eulerian. Let v0 e1 v1 . . . e v0 be an Euler tour of G∗ and define E1 and
E2 as in (7.1). It is then easily verified that the 2-edge colouring (E1 ∩ E, E2 ∩ E)
of G has the required property.
Proof 7.2 Let u be a vertex that satisfies the hypothesis of the lemma, and denote
by H the component of G[Ei ∪ Ej ] containing u. Suppose that H is not an odd cycle.
Then, by lemma 7.1 H has a 2-edge colouring in which both colours are represented at
each vertex of degree at least two in H. When we recolour the edges of H with colours
i and j in this way, we obtain a new k-edge colouring C 0 = (E10 , E20 , . . . , Ek0 ) of G.
Denoting by c0 (v) the number of distinct colours at v in the colouring C 0 , we have
7.2. VIZING’S THEOREM 37
c0 (u) = c(u) + 1 since, now, both i and j are represented at u, and also c0 (v) ≥ c(v)
for u 6= v. Thus v∈V c0 (v) > v∈V c(v), contradicting the choice of C 0 . It follows
P P
Exercises:
As has already been noted, if G is not bipartite then we cannot necessarily conclude
that χ0 = ∆. An important theorem due to Vizing A964) and, independently, Gupta
A966), asserts that, for any simple graph G, either χ0 = ∆ or χ0 = ∆ + 1. The proof
given here is by Fournier 1973).
Proof 7.2 Let G be a simple graph. By virtue of (7.1) we need only show that
χ0 ≤ ∆ + 1 Suppose, then, that χ0 > ∆ + 1. Let C = (E1 , E2 , . . . , E∆ ) be an optimal
(∆ + 1)-edge colouring of G and let u be a vertex such that c(u) < d(u). Then there
exist colours i0 and i1 such that i0 is not represented at u, and i1 is represented at
least twice at u. Let uvi have colour i1 , as in figure 7.2a Since d(v1 ) < ∆ + 1, some
colour i2 is not represented at v1 . Now i2 must be represented at u since otherwise,
by recolouring uvx with i2 , we would obtain an improvement on C. Thus some edge
uv2 has colour i2 . Again, since d(v2 ) < ∆ + 1, some colour i3 is not represented at
38 CHAPTER 7. EDGE COLOURINGS
Figure 7.2: 2
(iii) il+1 = ik .
the component H 00 of G[Ei000 ∪ Ei00k ] that contains u is an odd cycle. But, since vk has
degree two in H 0 , uk clearly has degree one in H 00 This contradiction establishes the
theorem.
Notes:
Exercises:
VERTEX COLORING
Unit - VIII
41
42 CHAPTER 8. VERTEX COLORING
graphs.
Proof 8.2 By contradiction. Let G be a k-critical graph, and suppose that G has a
vertex cut S that is a clique. Denote the S -components of G G1 , G2, . . . , Gn . Since
G is k-critical, each Gi is (k − 1)-colourable. Furthermore, because S is a clique,
the vertices in S must receive distinct colours in any (k − 1)-colouring of Gi. It
follows that there are (k − 1)-colourings of G1 , G2 , . . . , Gn which agree on S. But
these colourings together yield a (k − 1)-colouring of G, a contradiction.
Proof 8.1 If t¿ is a cut vertex, then v is a vertex cut which is also, trivially, a clique.
It follows from theorem 8.2 that no critical graph has a cut vertex; equivalently, every
critical graph is a block
Corollary 8.2 Let G be a k-critical graph with a 2-vertex cut {u, v}. Then
Theorem 8.3 If G is a connected simple graph and is neither an odd cycle nor a
complete graph, then χ ≤ ∆.
8.3. HAJO’S’ CONJECTURE 43
Proof 8.2 Let G be a k-chromatic graph which satisfies the hypothesis of the theo-
rem. Without loss of generality, we may assume that G is k-critical. By corollary 8.1,
G is a block. Also, since 1-critical and 2-critical graphs are complete and 3-critical
graphs are odd cycles, we have k ≥ 4 If G has a 2-vertex cut {u, v}, corollary8.2
gives 2∆ ≥ d(u) + d(c) ≥ 3k − 5 ≥ 2k − 1. This implies that χ = k ≤ ∆, since 2∆
is even.
Assume, then, that G is 3-connected. Since G is not complete, there are three vertices
u, v and w in G such that uv, vw ∈ E and uw ∈
/ E . Set u = V1 and w = v2 let
{v3 , v4 , . . . vv = v}be any ordering of the vertices of G − {u, w} such that each vi
is adjacent to some vj with j > i. Finally, since vv is adjacent to two vertices of
colour 1 (namely t)i and D2), it is adjacent to at most ∆ − 2 other colours and can
be assigned one of the colours 2, 3, . . . , ∆,
Proof 8.3 Let G be a 4-chromatic graph. Note that if some subgraph of G contains
a subdivision of K4 , then so, too, does G. Without loss of generality, therefore, we
may assume that G is critical, and hence that G is a block with ∆ ≥ 3. If v = 4,
then G is K4 and the theorem holds trivially. We proceed by induction on v.
Assume the theorem true for all 4-chromatic graphs with fewer than n vertices, and
let v(G) = n > 4. Suppose, first, that G has a 2-vertex cut {u, v}. By theorem
8.3, G has two {u, v}-components G1 and G2 , where G1 + uv is 4-critical. Since
44 CHAPTER 8. VERTEX COLORING
v(G1 + uv) < v(G), we can apply the induction hypothesis and deduce that G1 + uv
contains a subdivision of K4 . It follows that, if P is a (u, v)-path in G2 , then G ∪ P
contains a subdivision of K4 . Hence so, too, does G, since G1 ∪P ⊂ G. Now suppose
that G is 3-connected. Since ∆ ≥ 3, G has a cycle C of length at least four. Let u
and v be nonconsecutive vertices on C. Since G − {u, v} is connected, there is a path
P in G − {u, v} connecting the two components of C − {u, v} we may assume that
the origin x and the terminus y are the only vertices of P on C. Similarly, there is
a path Q in G − {x, y}. If P and Q have no vertex in common, then C ∪ P ∪ Q is a
subdivision of K4 . Otherwise, let w be the first vertex of P on Q, and let P 0 denote
the (x, w)-section of P . Then C ∪ P 0 ∪ Q is a subdivision of K4 (figure 8.1). Hence,
in both cases, G contains a subdivision of K4
In the study of colourings, some insight can be gained by considering not only the
existence of colourings but the number of such colourings; this approach was devel-
oped by Birkhoff 1912) as a possible means of attacking the four-colour conjecture.
Exercises:
Notes:
46 CHAPTER 8. VERTEX COLORING
Chapter 9
PLANER GRAPHS
Unit - IX
47
48 CHAPTER 9. PLANER GRAPHS
Let J be a Jordan curve in the plane. Then the rest of the plane is partitioned
into two disjoint open sets called the interior and exterior of J. We shall denote the
interior and exterior of J, respectively, by int J and ext J, and their closures by Int J
and Ext J. Clearly Int J n Ext J = J. The Jordan curve theorem states that any line
joining a point in int J to a point in ext J must meet J in some point (see figure 3).
Although this theorem is intuitively obvious, a formal proof of it is quite difficult.
Figure 9.3:
Figure 9.4:
Figure 9.5: (a)An embedding of K5 on the torus; (b) An embedding of K3,3 on the
Möbius band
50 CHAPTER 9. PLANER GRAPHS
plane, and the point v4 must lie either in int C or ext C. We shall suppose that v4 ∈
int C. (The case where v4 ∈ ext C can be dealt with in a similar manner.) Then the
edges v4 vl , v4 v2 and v4 v3 divide int C into the three regions int C1 , int C2 and int
C3 , where C1 = v1 v4 v2 v1 , C2 = v2 v4 v3 v2 and C3 = v3 v4 v1 v3 (see figure 4).
Now v5 must lie in one of the four regions ext C, int C1 , int C2 and int C3 . If v5 ∈
ext C then, since v4 ∈ int C, it follows from the Jordan curve theorem that’ the edge
v4 v5 must meet C in some point. But this contradicts the assumption that G is a
plane graph. The cases v5 ∈ int Ci , i = 1, 2, 3, can be disposed of in like manner.
Planar graphs and graphs embeddable on the sphere are one and the same. To
show this we make use of a mapping known as stereographic projection. Consider
a sphere S resting on a plane P, and denote by z the point of S that is diagonally
opposite the point of contact of Sand P. The mapping π : S / {z} → P, defined by
π(S) = p if and only if the points z, s and p are collinear, is called stereographic
projection from z; it is illustrated in figure 9.5.
Proof 9.2 Suppose G has an embedding G̃ on the sphere. Choose a point z of the
sphere not in G̃. Then the image of G̃ under stereographic projection from z is an
embedding of G in the plane. The converse is proved similarly.
A plane graph G partitions the rest of the plane into a number of connected regions;
the closures of these regions are called the faces of G. Figure 7 shows a plane graph
with six faces, f1 , f2 , f3 , f4 , f5 and f6 . The notion of a face applies also to embeddings
of graphs on other surfaces. We shall denote by F(G) and φ(G), respectively, the
set of faces and the number of faces of a plane graph G.
Each plane graph has exactly one unbounded face, called the exterior face; in the
plane graph of figure 7, f1 is the exterior face.
b(f2 ) = vl e3 v2 e4 v3 e5 v4 e1 v1
and
b(f5 ) = v7 e10 v5 e11 v8 e12 v8 e11 v5 e8 v6 e9 v7
A face f is said to be incident with th,e vertices and edges in its boundary. If e is
a cut edge in a plane graph, just one face is incident with e; otherwise, there are
two faces incident with e. We say that an edge separates the faces incident with it.
The degree, dG (f), of a face f is the number of edges with which it is incident (that
is, the number of edges in b(f)), cut edges being counted twice. In figure 7, f1 is
incident with the vertices vt , v3 , v4 , v5 , v6 , v7 and the edges e1 , e2 , e5 , e6 , e7 , e9 , e10 ; e1
separates f1 from f2 and e11 separates f5 from f5 ; d(f2 )= 4 and d(f5 )=6.
Given a plane graph G, one can defile another graph G* as follows: corresponding
to each face f of G. there is a vertex f* of G *, and corresponding to each edge e of
G there is an edge e*of G*; two vertices f* and g* are joined by the edge e* in G* if
and only if their corresponding faces f and g. are separated by the edge e in G. The
graph G* is called the dual of G. A plane graph and its dual are shown in figures 8
(a) and 8 (b).
9.2. DUAL GRAPHS 53
It is easy to see that the dual G* of a plane graph G is planar; in fact, there is a
natural way to embed G* in the plane. We place each vertex f* in the corresponding
face f of G,and then draw each edge e* in such a way that it crosses the correspond-
ing edge e of G exactly once (and crosses no other edge of G). This procedure is
illustrated in figure 9.7C, where it is indicated by heavy points and lines. It is intu-
itively clear that we call always draw the dual as a plane graph in this way, but we
shall float prove this fact. Note that if e is a loop of G, then e* is a cut edge of G*,
and vice versa.
Although defined abstractly, it is sometimes convenient to regard the dual G* of
a plane graph G as a plane graph (embedded as described above). One can then
consider the dual G** of G*, and it is not difficult to prove that, when G is connected,
G**∼= G; a glance at figure 8 (c) will indicate why this is so.
It should be noted that isomorphic plane graphs may have nonisomorphic duals.
For example, the plane graphs in figure 9 are isomorphic, but their duals are not-the
plane graph of figure 9 (a) has a face of degree five, whereas the plane graph of
figure 9 (b) has no such face. Thus the notion of a dual is meaningful only for plane
graphs, and cannot be extended to planar graphs in general.
The following relations are direct consequences of the definition of G*:
v(G∗ ) = φ(G)
do.(f ∗ ) = do(f )
X X
d(f ) = d(f ∗ )
f ∈F (G) f ∗ ∈V (G∗ )
= 2ε(G∗ )
= 2ε(G)
Exercises
1. (a) Show that a graph is planar if and only if each of its blocks is planar.
(b) Deduce that a minimal nonplanar graph is a simple block.
2. A plane triangulation is a plane graph in which each face has degree three.
Show that every simple plane graph is a spanning subgraph of some simple
plane triangulation (v ≥ 3).
There is a simple formula relating the numbers of vertices, edges and faces in a
connected plane graph. It is known as Euler’s formula because Euler established it
for those plane graphs defined by the vertices and edges of polyhedra.
theorem clearly holds. Suppose that it is true for all connected plane graphs with
fewer than n faces, and let G be a connected plane graph with n ≥ 2 faces. Choose
an edge e of G that is not a cut edge. Then G - e is a connected plane graph and
has n - 1 faces, since the two faces of G separated by e combine to form one face of
G - e. By the induction hypothesis
v(G − e) = v(G)
ε(G − e) = ε(G) − 1
φ(G − e) = φ(G) − 1
we obtain
Corollary 9.6 All planar embeddings of a given connected planar graph have the
same number of faces.
Proof 9.6 Let G and H be two planar embeddings of a given connected planar graph.
Since G ∼
= H, v(G) = v(H) and ε(G) = ε(H). Applying theorem9.5, we have
Proof 9.7 It clearly suffices to prove this for connected graphs. Let G be a simple
connected graph with v ≥ 3. Then d(f )≥ 3 for all f ∈ F, and
X
d(f ) ≥ 3φ
f ∈F
9.3. EULER’S FORMULA 57
By theorem 9.4
2ε ≥ 3φ
v − ε + 2ε/3 ≥ 2
or
ε ≤ 3v − 6
We have already seen that K5 and K3,3 are nooplanar. Here, we shall derive these
two results as corollaries of theorem9.5.
Proof 9.9
Proof 9.10
58 CHAPTER 9. PLANER GRAPHS
Suppose that K3,3 is planar and let G be a planar embedding of K3,3 . Since K3,3 has
no cycles of length less than four, every face of G must have degree at least four.
Therefore, by theorem 9.4, we have
X
4φ ≤ d(f ) = 2ε = 18
f ∈F
That is
φ≤4
2=v−ε+φ≤6−9+4=1
which is absurd.
Exercises
Notes:
Chapter 10
BRIDGES
Unit - X
10.1 Bridges
In the study of planar graphs, certain subgraphs, called bridges, play an important
role. We shall discuss properties of these subgraphs in this section.
Let H be a given subgraph of a graph G. We define a relation ∼ on E(G)\E(H) by
the condition that e1 ∼ e2 if there exists a walk W such that
59
60 CHAPTER 10. BRIDGES
Theorem 10.1 If two bridges overlap, then either they are skew or else they are
equivalent 3 - bridges.
Proof 10.1 Suppose that the bridges B and B 0 overlap. Clearly, each must have at
least two vertices of attachment. Now if either B or B 0 is a 2-bridge, it is easily
10.2. KURATOWSKI’S THEOREM 61
verified that they must be skew. We may therefore assume that both B and B 0 have
at least three vertices of attachment. There are two cases.
Case 1 B and B 0 are not equivalent bridges. Then B 0 has a vertex of attachment u0
between two consecutive vertices of attachment u and v of B. Since B and B 0 over-
lap, some vertex of attachment v 0 of B 0 does not lie in the segment of B connecting
u and v. It now follows that B and B 0 are skew.
We shall now consider bridges in plane graphs. Suppose that G is a plane graph
and that C is a cycle in G. Then C is a Jordan curve in the plane, and each edge of
E(G)\E(C) is contained in one of the two regions Int C and Ext C. It follows that
a bridge of C is contained entirely in Int C or Ext C. A bridge contained in Int C is
called an inner bridge, and a bridge contained in Ext C, an outer bridge. In figure
9.11 B1 and B2 are inner bridges, and B3 and B4 are outer bridges.
Figure 10.2:
Since K5 and K3,3 are non planar, we see from these two lemmas that if G is planar,
then G cannot contain a subdivision of K5 or of K3,3 . Kuratowski showed that this
necessary condition is also sufficient.
Before proving Kuratowski’s theorem, we need to establish two more simple lemmas.
Let G be a graph with a 2-vertex cut {u, v}. Then there exist edge-disjoint subgraphs
G1 and G2 such that V (G1 ) ∩ V (G2 ) = u, v and G1 ∪ G2 = G. Consider such a
separation of G into subgraphs. In both G1 and G2 join u and v by a new edge e
to obtain graphs H1 and H2 . Clearly G = (H1 U H2 ) − e. It is also easily seen that
ε(Hi ) < ε(G) for i = 1, 2.
Lemma 10.5 If G is non planar, then at least one of H1 and H2 is also non planar.
Proof 10.3 By contradiction. Suppose that both H1 and H2 are planar. Let H̃1 be
a planar embedding of H1 , and let f be a face of H̃1 incident with e. If H̃2 is an
10.2. KURATOWSKI’S THEOREM 63
embedding of H2 in f such that H̃1 and H̃2 have only the vertices u and v and the
edge e in common, then (H̃1 ∪ H̃2 ) - e is a planar embedding of G. This contradicts
the hypothesis that G is non planar.
Lemma 10.6 Let G be a non planar connected graph that contains no subdivision
of K5 or K3,3 and has as few edges as possible. Then G is simple and 3 - connected.
Proof 10.4 By contradiction. Let G satisfy the hypotheses of the lemma. Then G
is clearly a minimal non planar graph, and therefore must be a simple block. If G
is not 3-connected, let {u, v} be a 2 - vertex cut of G and let H1 and H2 be the
graphs obtained from this ut as described above. By lemma 10.5, at least one of H1
and H2 ,say H1 , is non planar. Since ε(H1 ) < ε(G), H1 must contain a subgraph K
which is a subdivision of K5 or K3,3 ; moreover K * G, and so the edge e is in K.
Let P be a (u, v)-path in H2 - e. Then G contains the subgraph (K ∪ P ) − e, which
is a subdivision of K and hence a subdivision of K5 or K3,3 . This contradiction
establishes the lemma
We shall find it convenient to adopt the following notation in the proof of Kura-
towski’s theorem. Suppose that C isa cycle in a plane graph. Then we can regard
the two possible orientations of C as ’clockwise’ and ’anticlockwise’. For any two
vertices, u and v of C, we shall denote by C[u, v] the (u, v)-path which follows
the clockwise orientation of C; similarly we shall use the symbols C(u, v], C[u, v)
and C(u, v )to denote the paths C[u, v] - u, C[u, v]-v and C[u, v]-{u, v}. We are
now ready to prove Kuratowski’s theorem. Our proof is based on that of Dirac and
Schuster (1954).
Proof 10.5 We have already noted that the necessity follows from lemmas 9.10.1
and 9.10.2. We shall prove the sufficiency by contradiction.
If possible, choose a nonplanar graph G that contains no subdivision of K5 or K3,3
and has as few edges as possible. From lemma 10.6 it follows that G is simple and
3-connected. Clearly G must also be a minimal nooplanar graph.
Let uv be an edge of G, and let H be a planar embedding of the planar graph G -
uv. Since G is 3-connected, H is 2-connected and, by corollary 3.2.1, u and v are
64 CHAPTER 10. BRIDGES
Two cases now arise, depending on whether B has a vertex of attachment different
from u, v, x and y or not.
to both uv and xy, it follows that u, v, x and y must all be vertices of attachment of
B. Therefore there exists a (u, v)-path P and an (x, y)-path Q in B such that (i) P
and Q are internally-disjoint from C, and (ii) |V (P ) ∩ V (Q)| ≥ 1. We consider two
sub-cases, depending on whether P and Q have one or more vertices in common.
Case 2a |V (P ) ∩ V (Q)| ≥ 1. In this case (C ∪ P ∪ Q) + {uv, xy} is a sub, division
of K5 in G, again a contradiction.
Case 2b |V (P ) ∩ V (Q)| ≥ 2. Let u0 and v 0 be the first and last vertices of P
on Q, and let P1 and P2 . denote the (u, u0 )− and (v 0 , v)− sections of P. Then
(C ∪ P1 ∪ P2 ∪ Q) + {uv, xy} contains a subdivision of K3,3 in G, once more a
contradiction.
Thus all the possible cases lead to contradictions, and the proof is complete.
Proof 10.6 The proof is by induction on the size (i.e., number of edges) m of G.
The result is true for m = 1. Assume the result for bipartite graphs of size at most
m - 1. Let G have m edges. Let e = uv ∈ E(G). Then G-e has a proper ∆-
edge-coloring, say c. Out of these ∆ colors, suppose that, one particular color is
not represented at both u and v. Then edge uv can be colored with this color and a
proper ∆-edge-coloring of G is obtained.
In the other case (i.e., in the case for which each of the ∆ colors is represented
either at u or at v) , since the degrees of u and v in G-e are at most ∆ - 1, there
exists a color out of the ∆ colors that is not represented at u, and similarly there
exists a color not represented at v. Thus, if color j is not represented at u in c,
then j is represented at v in c, and if color i is not represented at v in c, then i is
represented at u in c. Since G is bipartite and u and v are not in the same parts of
the bipartition, there can exist no u-v path in G in which the colors alternate between
i and j.
Notes:
Chapter 11
Unit - XI
11.1 The Five Colour Theorem
Definition 11.2 The vertices of a planar graph with atmost five colours is known
as five colour theorem.
Proof 11.1 We will prove the theorem by induction on the number of p points. For
any planar graph having p ≤ 5 points, the result is obvious since the graph is p-
colourable.
Now, let us assume that all planar graphs with p points is 5-colourable for some
p ≥ 5. Let G be a planar graph with p + 1 points. Then G has a vertex v of degree 5
or less. By induction hypothesis, the plane graph G − v is 5-colourable. Consider a
5-colouring of a G − v where ci , 1 ≤ i ≤ 5, are the colours are used. If some colour,
say cj is not used in colouring vertices adjacent to v, then by assigning the colour
cj to v the 5 colouring of G − v can be extended to a 5-colouring of G.
Hence, we have to consider only the case in which deg v = 5 and all the five
colours are used for colouring the vertices of G adjacent to v.
Let v1 , v2 , v3 , v4 , v5 be the vertices adjacent to v coloured c1 , c2 , c3 , c4 and c5 re-
spectively and G13 denote the subgraph of G − v induced by those vertices coloured c1
67
68 CHAPTER 11. FIVE COLOR PROBLEM
Definition 11.4 The closure of a graph G with p points is the graph obtained from
G by repeatedly joining pairs of non adjacent vertices whose degree sum is at least p
until no such pair remains. The closure of G is denoted by c(G)
G is Hamiltonian ⇔ G1 is Hamiltonian
⇔ G2 is Hamiltonian
..
.
⇔ Gn = c(G) is Hamiltonian.
Solution 11.2.1 If the Petersen graph G has a Hamiltonian cycle C, then G-E(C)
must be regular spanning subgraph of degree 1.
Let us search for all 1-factors in G and show that none of them arise out a Hamil-
tonian cycle of G.
Case 1. Consider the subset A = {1a, 2b, 3c, 4d, 5e} of the edge set of G.
Clearly A is a 1-factor of G, but G-A is the union of two disjoint cycles and hence
is not a Hamiltonian cycle of G.
Case 2. If the 1-factor contains 4 edges from A, then the only line passing through
the remaining two points must also be included in the 1-factor, so that we again get
A.
Case 3. If a 1-factor contains just 3 edges from A, then two such choices can be
made.
Sub-case 3A. Let the one 1-factor contain 1a, 2b, and 3c. Now the subgraph in-
duced by the remaining four points is a P4 whose unique 1-factor is {4d, 5e}. Thus
the 1-factor of G considered becomes A.
Sub-case 3B. Let the 1-factor contain 1a, 2b and 4d. Here again the remaining
four points induce P4 , whose unique 1-factor is {3c, 5e }. Thus the 1-factor of G
considered becomes A.
Case 4. If a 1-factor contains just 2 edges from A, then again two such choices
are possible.
Sub-case 4A. Let the 1-factor contain 1a and 2b. In the subgraph induced by the
remaining 6 points, point d has degree one and hence any 1-factor of that subgraph
must contain edge 4d. Thus case 3 is repeated.
Sub-case 4B. Let the 1-factor contain 1a and 3b. In the subgraph induced by the
remaining 6 points, point 2 has degree one and hence any 1-factor of that subgraph
must contain edge 2b. Thus case 3 is repeated.
Case 5. Let a one factor contain just one edge of A, say 1a. If it a contains one
more edge from A, then one of the earlier cases will be repeated. Hence we have
choose the other four edges of this 1-factor from two paths, each of length 3. Hence
the 1-factor is B = {1a, ce, bd, 23, 45}. Now G-B is again union of two disjoint
cycles, and not a Hamiltonian cycle.
Case 6. Suppose there exists a 1-factor that does not contain any edge from A. It
can contain at most two edges from the cycle 123451 and at most two edges from
the cycle acebda. Hence it can contain at most four edges.
Hence there does not exist such a 1-factor.
Since the above 6 cases cover all possible types of 1-factors, we see that G has no
70 CHAPTER 11. FIVE COLOR PROBLEM
Exercise 11.2.1 Given an example of graph G such that c(G) is not complete.
Exercise 11.2.2 Show that if G is a bipartite graph with an odd number of points,
then G is non-Hamiltonian.
Notes:
Chapter 12
Unit - XII
12.1 Directed Graphs
Theorem 12.1 In a graph D, sum of the in-degrees of all the vertices is equal to
the sum of their out degrees, each sum being equal to the number of arcs in D.
71
72 CHAPTER 12. DIRECTED GRAPHS & DIRECTED PATH
The length of a walk is the number of occurrence of arcs in it. A walk in which the
origin and terminus coincide is called a closed walk.
Definition 12.3 A path is a walk in which all the vertices are distinct. A cycle
is a nontrivial closed walk whose origin and internal vertices are distinct.
If there is a path from u to v is said to be reachable from u. A digraph is called
strongly connected or connected or strong if every pair of points are mutu-
ally reachable. A digraph is called unilaterally connected or unilateral if for
every pair of points, at least one is reachable from the other. A digraph is called
weakly connected or weak if the underlying graph is connected. A digraph is
called disconnected if the underlying graph is disconnected.
Theorem 12.2 The edges of a connected graph G = (V, E) can be oriented so that
the resulting digraph is strongly connected iff every edge of G is contained in at least
one cycle.
Proof 12.2 Suppose the edges of G can be oriented so that the resulting digraph
becomes strongly connected.
If possible, let e = vw be an edge of G not lying on any cycle. Now, as soon as e is
oriented, one of the vertices u and w becomes non-reachable from the other. Hence,
an orientation of the required type is not possible, giving contradiction. Hence every
edge of G lies on a cycle.
Conversely, let every edge of G lie on a cycle.
Let S = v1 , v2 , · · · , vn , v1 be a cycle in G. Orient the edges of S so that S becomes a di-
rected cycle and hence becomes a strongly connected sub-digraph. If V = {v1 , · · · , vn }
then we are through. Otherwise, let w be a vertex of G not in S such that w is ad-
jacent to a vertex vi of S. Let e = vi w. By hypothesis e lies on some cycle C. We
choose a direction of C and give the orientation determined by this direction to the
edges of C which are not already oriented. The resulting enlarged oriented graph
is also a strongly connected as it can be got from S by a sequence of additions of
simple directed paths. (For example, if v ∈ S and u is a point on a simple directed
vi − vj path P added to S then in the enlarged oriented graph the u − vj sub-path of
P followed by the vj − v sub-path of S give a directed u − v path. Also the v − vj
sub-path of S followed by the vi − u sub-path of P give a directed v − u path. This
12.2. DIRECTED PATHS AND CYCLES 73
type of argument can be repeated for each addition og simple, directed paths.)
This process can be repeated till we get a strongly connected oriented spanning sub-
graph of G. The remaining edges can now be oriented in any way. The resulting
oriented graph is strongly connected. This completes the proof.
Exercise 12.2.1 Show that every Eulerian graph is strongly connected and prove
its converse not true.
Notes:
74 CHAPTER 12. DIRECTED GRAPHS & DIRECTED PATH
Chapter 13
NETWORKS
Unit - XIII
13.1 Flows
and
f − (v) = f + (v) for all v ∈ I (13.2)
The value of f (a) of f on an arc a can be likened to the rate at which material is
transported along a under the flow f . The upper bound in condition (13.1) is called
the capacity constraint; it imposes the natural restriction that the rate of flow along
an arc cannot exceed the capacity of the arc. Condition (13.2) , is called conservation
condition, requires that, for any intermediate vertex v, the rate at which material
75
76 CHAPTER 13. NETWORKS
Figure (13.3) illustrates this procedure as applied to the network N of figure (13.1).
0
Flows in N and N correspond to one another in a simple way. If f is a flow in N
such that the resultant flow out of each source and into each sink is non-negative (it
0
suffices to restrict our attention to such flows) then the function f defined by
f (a), if a is an arc of N
0
+ −
f (a) = f (v) − f (v) if a = (x, v) (13.3)
−
f (v) − f + (v) if a = (v, y)
0 0
is a flow N such that valf = valf . Conversely, the restriction to the arc set of N
0
of a flow in N is a flow in N having the same value. Therefore, throughout the next
three sections, we shall confirm our attention to networks that have a single source
x and a single sink y.
78 CHAPTER 13. NETWORKS
Figure 13.3:
Exercise
(1) For each of the following networks , determine all possible flows and the value
of a maximum flow.
(3) Show that, relative to any flow f in N , the resultant flow out of X is equal to
the resultant flow into Y .
0 0 0
(a) the function f given by Equ.(13.3)is a flow in N and that valf = valf ;
(b) the restriction to the arc set of N of a flow in N having the same value.
13.2 Cuts
Let N be a network with a single source x and a single sink y. A cut in N is a set
of arcs of the form (S, S), where x ∈ S and y ∈ S. In the network of figure(13.5), a
cut is indicated by heavy lines.
The capacity of a cut K is the sum of the capacities of its arcs. We denote the
P
capacity of K by cap K; thus capK = c(a) The cut indicated in figure(13.5) has
a∈K
capacity 16.
Proof Let f be a flow and (S, S) a cut in N . From the definitions of flow and
value of a flow, we have
+ − valf if v=x
f (v) − f (v) =
0 if v ∈ S\{x}
valf ≤ capK
Furthermore, the above equality holds if each arc in (S, S) is f-saturated and each
arc in (S, S) is f-zero.
0
Note: A cut K in N is a maximum cut if there is no cut K in N such that
0
capK < capK.. If f ∗ is a maximum flow and K̃ is a minimum cut, we have, as a
special case of theorem, that
valf ∗ ≤ capK̃
Corollary: Let f be a flow and K be a cut such that valf = capK. Then f is a
maximum flow and K is a minimum cut.
Exercise
(2) Show that, if there exists no directed (x, y)− path in N , then the value of a
maximum flow and the capacity of a minimum cut are both zero.
Notes:
82 CHAPTER 13. NETWORKS
Chapter 14
MAX-FLOW MIN-CUT
THEOREM
Unit - XIV
14.1 The Max-Flow Min-Cut theorem
for which valfˆ = valf + υ(P ). We shall refer to fˆ as the revised flow based on P .
83
84 CHAPTER 14. MAX-FLOW MIN-CUT THEOREM
• If there exists an f -positive arc a in (S, S), then both a and its tail are adjoined
to T .
quantity υ(Py ) with which to calculate the revised flow based on Py .The labeling
procedure begins by assigning to the source x the label l(x) = ∞. It continues
according to the following rules:
Consider, for example, the network N in figure(14.1), Clearly, the value of a maxi-
mum flow is N is 2m. The labeling method will use the labeling procedure 2m + 1
times if it starts with the zero flow and alternate between selecting xpuvsy and
xrvuqy as an incrementing path; for, in each case, the flow value increases by ex-
actly one. Since m is arbitrary, the number of computational steps required to
implement the labeling method in this instance can be bounded by no function of
v ans ε. In other words, it is not good algorithm. The refinement suggested as
88 CHAPTER 14. MAX-FLOW MIN-CUT THEOREM
14.2 Applications
Lemma: Let N be a network with the source x and sink y in which each arc has
unit capacity. Then
Theorem: Let xand y be two vertices of a digraph D. Then the maximum number
of arc-disjoint directed (x, y)-paths in D is equal to the minimum number of arcs
whose deletion destroys all directed (x, y)-paths in D.
Theorem: Let x and y be two vertices of a graph G. Then the maximum number
of edge-disjoint (x, y)- paths in G is equal to the minimum number of edges whose
deletion destroys all (x, y)-paths in G.
14.2. APPLICATIONS 89
Corollary: A graphG is k− edge connected if and only if any two distinct vertices
of G are connected by at least k edges-disjoint paths.
Theorem: Let x and y be two vertices of a digraph D, such that x is not joined
to y. Then the maximum number of internally-disjoint directed (x, y) -paths in D
is equal to the minimum number of vertices whose deletion destroys all directed
(x, y)-paths in D.
0
Proof: Construct a new digraph D from D as follows:
0
• split each vertex v ∈ V \{x, y} into two new vertices v and v ” , and join them
0
by an arc (v, v );
0
• replace each arc of D with head v ∈ V \{x, y} by new arc with head v , and each
arc of D with tail v ∈ V \{x, y} by a new arc with tail v ” . This construction
is illustrated in figure.
0
Now to each directed (x, y) path in D there corresponds a directed (x, y)-paths in
0
D obtained by contracting all arcs of type (c , v ” ); and, conversely to each directed
0
(x, y)-path in D, there corresponds a directed (x, y)-path in D obtained by splitting
0
each internal vertex of the path.Furthermore, two directed (x, y)-paths in D are
arc-disjoint if and only if the corresponding paths in D are internally-disjoint. It
0
follows that the maximum number of arc-disjoint directed(x, y)-paths in D is equal
to the maximum number of internally -disjoint directed(x, y)-paths in D. Similarly,
0
the minimum number of arcs in D whose deletion destroys all directed (x, y)-paths
is equal to the minimum number of vertices’s in D whose deletion destroys all di-
rected (x, y)-paths.
Theorem: Letx and y be two non adjacent vertices’s of a graph G. Then the
maximum number of internally-disjoint (x, y)-paths in G is equal to the minimum
number of vertices’s whose deletion destroys all (x, y)-paths.
Exercise
1. Let G be a graph and let S and T be two disjoint subsets of V , Show that
the maximum number of vertex-disjoint paths with one end in S and one end
in T is equal to the minimum number of vertices’s whose deletion separated
S from T (that is, after deletion no component contains a vertex of S and a
vertex of T )
Notes:
14.2. APPLICATIONS 91
PART A (10×2=20)
2. Define tree.
3. What is block?
5. If G is bipartite, then χ0 = ∆ + 1.
8. Define coloring.
9. What is network?
PART B (5×5=25)
11. (a) Prove that in any group of n persons(n ≥ 2), there are at least two with
the same number of friends.
(Or)
92 CHAPTER 14. MAX-FLOW MIN-CUT THEOREM
12. (a) Show that in a tree, any path of maximum length contains the center of
the tree.
(Or)
13. (a) Let G be a connected graph that is not an odd cycle. Then G has a
2-edge colouring in which both colours are represented at each vertex of
degree at least two.
(Or)
(Or)
15. (a) For any flow f and any cut (S, s) in N, prove that
(Or)
PART C (3×10=30)
16. i) Show that in a graph, the number of edges common to a cycle and an edge
cut is even.
ii) Give an example of a graph with n vertices and n − 1 edges that is not a
tree.
19. Prove that the edges of a connected graph G = (V, E) can be oriented so that
the resulting digraph is strongly connected iff every edge of G is contained in
at least one cycle.
20. In any network, prove that the value of a maximum flow is equal to the capacity
of minimum cut.
*******
94 CHAPTER 14. MAX-FLOW MIN-CUT THEOREM
REFERENCE BOOKS:
1. J. A. Bondy and U.S.R Murty, Graph Theory with Applications Macmillan, Lon-
don
2. A Text book of Graph Theory, Balakrishnan, R, Ranganathan .K Second Edition,
Springer.
3. Invitation to Graph Theory, S. Arumugam and S. Ramachandran, Sci-tech Pub-
lications India.