Module 4
Module 4
Contents
4.1
Bipartite Graphs . . . . . . . . . . . . . . . . . . . . . . . .
4.2
4.3
99
. . . . . . . . . . . . . . . . . 107
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
97
98
and also at an advanced level. In this chapter, we introduce three such classes. Before
that we define two general concepts.
Definitions.
(1) A graph theoretic property P is said to be an hereditary property, if G has
property P , then every subgraph of G has property P .
(2) A graph theoretic property P is said to be an induced hereditary property,
if G has property P , then every induced subgraph of G has property P .
Remarks.
If G is acyclic, then every subgraph of G is acyclic. Therefore, acyclicity is an
hereditary property. It is also induced hereditary.
If G is connected, then every subgraph of G need not be connected. Therefore,
connectedness is not a hereditary property.
If P is hereditary, then it is induced hereditary. However, the converse is not
true. For example, if G is complete, then every subgraph of G need not be
complete but every induced subgraph of G is complete.
In the context of induced hereditary properties, the following terminology is
useful.
Definitions. Let H be a graph and F be a family of graphs.
(1) A graph G is said to be H-free, if G contains no induced subgraph isomorphic
to H.
(2) A graph G is said to be F-free if G contains no induced subgraph isomorphic to
any graph in F.
For example, the graph shown in Figure 4.1 is C4 -free but it is not P4 -free.
However, it contains a C4 .
99
4.1
Bipartite Graphs
Immediate generalization of trees are bipartite graphs.
Clearly,
(i) If G is bipartite and H G, then H is bipartite. Equivalently, if H is nonbipartite and H G, then G is non-bipartite. Therefore, bipartiteness is a
hereditary property.
(ii) Every odd cycle is non-bipartite.
100
Therefore, if G is bipartite, then it contains no odd cycles. The following characterization of bipartite graphs says that the converse too holds.
Theorem 4.1. A graph G is a bipartite graph if and only if it contains no odd cycles.
101
P1(z , v1)
, v 1)
P 1(x
v1
P2
P2 (x, v2 )
(z ,
v
2)
v2
since, G has no odd cycles. Hence, no two vertices in A are adjacent. Similarly, no
two vertices in B are adjacent. Hence, [A, B] is a bipartition of G.
Second Proof: By induction on m.
Basic Step: If m = 0 or 1, then obviously G is bipartite.
Induction Step: Assume that every graph with m 1 edges and with no odd cycles
is bipartite. Let G have m edges and let (u, v) be an edge in G. Consider the graph
H = G (u, v). Since G has no odd cycles, H too has no odd cycles. Therefore, by
induction hypothesis, H is bipartite. We now make two cases and in each case obtain
a bipartition of G.
Case 1: u and v are connected in H.
Let [A, B] be a bipartition of H. We claim that u and v are in different sets A
and B. On the contrary, suppose that u and v belong to the same set, say A. Since,
u and v are connected, there is a path P (u, v) = (u = u1 , u2 , . . . , uk1 , uk = v). The
vertices ui belong alternately to A and B and moreover the terminal vertices u and v
belong to A; hence the number of vertices in P is odd. Therefore, P (u, v) is a path of
even length. But then (P (u, v), v, u) is cycle of odd length in G; a contradiction. So
our claim holds; let u A and v B. But then [A, B] is bipartition of H + (u, v) = G
too.
102
3
(a) G
1
3
(b) A 3-partition of G.
4.2
103
e1
v2
e2
e1
e2
v3
e3
v4
e5
e3
e4
e4
v5
(a) H
e5
(b) L(H)
(a) G1
(b) G2
104
(a) G3
(b) G4
In view of the existence of graphs which are line graphs and also the existence of
graphs which are not line graphs, a natural question arises: Find necessary and
sufficient conditions for a graph to be a line graph. Towards this characterization, let
us look at the graphs shown in Figure 4.8 more closely.
v0
x1
v1
x2
x1
x2
v2
x3
x4
x3
x
x5 4
v3
v4
(a) H
x5
(b) G
105
ization of line graphs. Clearly a graph G is a line graph iff each component of G is a
line graph. Moreover, it can be easily verified that every graph on at most 2 vertices
is a line graph. So, in the following we assume that G is connected and n 3.
Theorem 4.2 (Krausz, 1943). A connected graph G is a line graph if and only if
there exists a family F of complete graphs {Q1 , Q2 , . . . , Qp } in G such that
(i) any edge of G belongs to exactly one complete subgraph, and
(ii) any vertex of G belongs to at most two complete subgraphs.
106
and v1 , v2 , . . . , vp are the vertices of H. Two of these vertices are joined in H iff the
corresponding complete graphs share a vertex in G. Then L(H) = G.
We next state two structural characterizations of line graphs. The graph shown
in Figure 4.9 is called a diamond .
a
c
b
d
a
c
b
d
b
d
c
y
Figure 4.10: Graphs containing odd diamonds (Can you identify them?)
107
Theorem 4.3 (A.V. Van Rooiz and H.S. Wilf, 1965). A graph G is a line graph iff
it contains no induced K1,3 and no odd diamonds.
Theorem 4.4. (Beineke, 1968) A graph G is a line graph iff it contains none of the
nine graphs shown in Figure 4.11 as an induced subgraph.
(b) G2 = K5 e
(a) G1 = K1,3
(e) G5
(f) G6
(c) G3
(g) G7
(h) G8
(d) G4
(i) G9
4.3
Definitions.
Let Ck (k 4) be a cycle in G. An edge of G which joins two non-consecutive
vertices of Ck is called a chord.
A graph G is said to be a chordal graph, if every cycle Ck (k 4) in G has a
chord. A chordal graph is also called a triangulated graph.
Remarks.
1. Every induced subgraph of a chordal graph is chordal.
2. A subgraph of a chordal graph need not be a chordal graph.
108
The class of chordal graphs and its subclasses have been a subject of considerable
interest because of their structural properties and interesting characterizations. We
state and prove two characterizations.
Definitions. Let a, b be any two non-adjacent vertices in a graph G.
(i) An a-b-separator is a subset S of vertices such that a and b belong to two
distinct components G S.
(ii) A minimal a-b-separator S is an a-b-separator such that no proper subset of
S is an a-b-separator.
In the graph shown in Figure 4.13, {u, v, x} is a y-z-separator. It is not a
minimal y-z-separator, since {u, x} is a y-z-separator. In fact, {u, x} is a minimal yz-separator. However, {u, v, x} is a minimal y-w-separator. These examples illustrate
that the minimality of an a-b-separator depends on the vertices a and b. Next, {z} is
a minimal w-p-separator and {u, x} is also a minimal w-p-separator. These examples
illustrate that the minimal separators need not have same number of vertices.
u
y
x
Figure 4.13: Illustration for separators
Remark.
109
For any two vertices x, y in G, there exists a x-y-separator if and only if x and
y are non-adjacent.
Theorem 4.5 (Dirac, 1961). A graph is chordal iff every minimal a-b-separator induces a complete subgraph, for every pair of non-adjacent vertices a and b in G.
Proof. (1) Every minimal a-b-separator, for every pair of non-adjacent a, b in G,
induces a complete subgraph in G G is chordal.
Let C : (x1 , x2 , . . . , xr , x1 ) be a cycle in G of length 4; see Figure 4.14.
x2
x1
xr
x3
xi
x4
110
ar
b1
Ga
bt
Gb
111
acterization, we define a new concept and prove a crucial theorem to obtain the
characterization.
Definition. A vertex v of a graph G is called a simplicial vertex, if its neighborhood
N (v) induces a complete subgraph in G.
In the following graph, x is a simplicial vertex while y and z are non-simplicial
vertices.
x
z
Theorem 4.6. Every chordal graph G has a simplicial vertex. Moreover, if G is not
complete, then G has two non-adjacent simplicial vertices.
Proof. We prove the theorem by induction on n. If n = 1, 2 or 3, the statement is
obvious. So we proceed to the induction step. If G is complete, then every vertex of
G is simplicial. Next suppose that G has two non-adjacent vertices say a and b. Let
S be a minimal a-b-separator. [S] is complete by the previous theorem. Let Ga , Gb
be the components in G S containing a and b respectively. Let A = V (Ga ) and
B = V (Gb ).
We apply induction hypothesis to the induced subgraph H = [A S] which is
chordal. If H is complete, then every vertex of H is a simplicial vertex of H. If H
is not complete, then by induction hypothesis, H contains two non-adjacent vertices
which are simplicial. One of these vertices is in A, since S is complete. So, in either
case A contains a simplicial vertex of H, say x. Since x A, NG (x) = NH (x). So, x
112
A
H
S
v2
v4
v3
Theorem 4.7 (Dirac 1961, Fulkerson and Gross, 1965, Rose 1970). A graph G is
chordal iff it admits a PEO.
Proof. (1) G is chordal G admits a PEO.
113
vk
Exercises
1. Which of the graphs shown in Figure 4.20 are bipartite? If bipartite, then
redraw them with a suitable bipartition.
2
114
Figure 4.20
115
min{ai , k}
i=1
k
X
bj , for k = 1, 2, . . . , s.
j=1
a
b
c
d
e
1
0
1
1
f
0
1
0
1
g
1
1
1
1
h
0
0
1
0
116
24. Prove or disprove: There is a bipartite graph with bipartition [X, Y ], where
X = {x1 , x2 , x3 , x4 , x5 }, Y = {y1 , y2 , y3 , y4 , y5 }, deg(xj ) = deg(yj ) = j for
j = 1, 2, 4, 5 and deg(x3 ) = deg(y3 ) = 4.
25. Prove or disprove: If G is a r-regular bipartite simple graph, the G contains a
spanning k-regular subgraph H, for every k, 1 k r.
26. Characterize the trees which are line graphs.
27. Characterize the connected bipartite graphs which are line graphs.
28. Prove or disprove:
(a) If G is a line graph, then G v is a line graph, for every v V (G).
(b) If G is such that G v is a line graph, for every v V (G), then G is a
line graph.
29. If e = (u, v) E(G), then find degL(G) (e).
30. Characterize the connected graphs G such that G = L(G).
31. If G is p-edge-connected then show the following:
(a) L(G) is p-vertex-connected.
(b) L(G) is (2p 2)-edge-connected.
32. For a simple graph G(n 4), show that the following statements are equivalent.
(a) G is a line graph of a triangle-free graph.
(b) G is {K1,3 , K4 e}-free.
33. For a simple graph G(n 4), show that the following statements are equivalent.
(a) G is the line graph of a bipartite graph.
(b) G is {K1,3 , K4 e, C2k+1 (k 2)}-free.
34. For a simple connected graph G, show that the following statements are equivalent.
(a) G is the line graph of a tree.
(b) G is {K1,3 , K4 e, Ck (k 4)}-free.
35. Let G be a simple connected graph. Show that L(G) is bipartite iff G is a path
or an even cycle.
117
The line graphs of simple graphs were defined in this chapter. The line graph
of any graph (not necessarily simple) can be defined as follows.
Let G be a graph with edges e1 , e2 , . . . , em . The line graph L(G) of G has
vertices e01 , e02 , . . . , e0m . Two vertices e0i and e0j are joined by an edge in L(G) iff
ei and ej are adjacent in G.
A graph H is said to be a line graph, if there exists a graph G such that
L(G) = H.
e1
e2
e4
e6
e3
e5
(a) G
e01
e02
e06
e03
e05
e04
(b) L(G)
37. Find which of the graphs shown in Figure 4.11 are line graphs of graphs (which
are not necessarily simple).
38. Prove or disprove:
(a) If G is chordal, then Gc is chordal.
(b) If G is chordal, then G v is chordal, for every v V (G).
(c) If G is such that G v is chordal, for every v V (G), then G is chordal.
39. Get a PEO of Kpc + Kt .