Plannar Graph and Graph Colouring
Plannar Graph and Graph Colouring
UNIT 7
PLANAR GRAPHS
Structure Page No
7.1 Introduction 177
Objectives
7.2 Planar Graphs 178
7.3 Euler’s Formula 183
7.4 Characterisation of Planar Graphs 187
Kuratowski’s Theorem
Wagner’s Theorem
7.5 PCB Problem 192
7.6 Duality 196
7.7 Map Colouring Problem 199
7.8 Summary 201
7.9 Solutions/Answers 201
7.1 INTRODUCTION
In this unit we introduce you to another type of graphs called planar graphs. In
earlier days the study of the concept of planarity was motivated by famous
problems such as the Four–Colour Problem and the Utility Problem. Now a
days this concept is also applied in the design of circuit layouts on silicon
chips! The concept of planarity is also very useful in many practical situations
such as electric connection without an extra layer of insulation in the design of
printed circuit board. Therefore, in this unit we shall study plane graphs which
help us investigate the characteristics of planar graphs.
In Section 7.2, we study plane, planar and nonplanar graphs. In section 7.3,
we study the Euler’s Formula, which relates the numbers of vertices, edges
and faces of a plane drawing of a planar graph and study some restrictions on
the number of edges and degrees of vertices on a planar graph.
• identify the faces of a planar graph, and compute the face degrees;
• state, prove and apply the Euler’s Formula;
• use Kuratowski’s and Wagner’s Theorems to check planarity;
• understand the (PCB) Problem;
• find the thickness and crossing number of some small graphs;
• draw the dual graph of a plane graph;
• define the face-colouring of a plane graph, and check whether a given is
k -face-colourable or not.
For example, the graph K 4 is planar, since it can be drawn in the plane
without edge-crossings. The following are three plane drawings of K 4 .
178
Unit 7 Planar Graphs
Let us look at some more examples.
Example 1: Show that the following graphs are planar, by finding a plane
drawing of each.
u v u a b
z v
z w
w
y x y x u v w x
Solution: Note that the above graphs can be redrawn, in order, as follows.
u v u
u
v v
z
z w
a b
w
w
y x
x y x
***
Every plane drawing of a planar graph divides the plane into a number of
regions. For example, any plane drawing of K 4 divides the plane into four
regions of which exactly one is unbounded. Three plane drawings of K 4 are
drawn below. In each of these drawings the region marked “4” is unbounded.
179
Block 2 Graph Tracing and Coluring
4 4
4 1 3
1 2 3
1
2 2
3
Plane drawings of K4
Similarly, any plane drawing of K 2 , 5 divides the plane into five regions. In the
drawing below the region marked “5” is unbounded.
1 2 3 4 5
A Plane drawing of K 2 , 5
Definition: Let G be a plane graph. Then G divides the set of points of the
plane not lying on G into maximal regions, called the faces of G. Exactly one
of these faces is unbounded. The boundary of a face f of G is the
subgraph of G that bounds f .
It is clear that two distinct faces of a plane graph do not have any point in
common, however they may share the same boundary. For instance, the
plane graph G given below has two faces, namely f1 and f 2 . Both these
faces have the same boundary G.
f1 f2
G
Also, note that every edge of a plane graph need not lie on the boundaries of
two faces. For instance, consider the following plane graph G.
f1 f2
e
f4
f3
G
180
Unit 7 Planar Graphs
The edge e of this graph lies on the boundary of the face f 4 , which is shown
is bold edges. The boundaries of f1 , f 2 and f 3 do not contain e.
Note that if G1 and G2 are two isomorphic plane graphs, then G1 and G2
have the same number of faces. In other words, the number of faces of a
plane drawing of a planar graph is uniquely determined. For instance, look at
any of the following plane drawing of the planar graph W5 .
They are pairwise isomorphic, and each has exactly five faces.
By now you must have observed that to determine the face of a plane graph,
one essentially needs to take a closed walk on its boundary. In case the graph
is disconnected, one closed walk may not be enough for every face. For
example, consider the graph given below.
v1 v2 v5
f3
f1 f2
v4 v3
v8 v6 v7
This graph has three faces f1 , f 2 and f 3 . The face f 3 is bounded by two
closed walks, namely (v1 , v2 , v3 , v4 , v1 ) and (v5 , v6 , v7 , v6 , v8 , v5 ). Thus three are
a total of 9 edges that enclose the face f 3 , where the edge v6 v7 is counted
twice. This leads to the following definition.
v10
v9 v4
f3 v1
f2 f4
f1
v8 v5
v2 v3
v7 v6
G
181
Block 2 Graph Tracing and Coluring
There are four faces, namely f1 , f 2 , f 3 and f 4 in G. The face f1 is bounded
by the closed walk (v1 , v2 , v3 , v1 ), which has 3 edges. Therefore, d ( f1 ) = 3.
Similarly, d ( f 2 ) = 3. The face f 3 is bounded by the closed walk
(v1 , v2 , v3 , v4 , v5 , v6 , v7 , v8 , v9 , v10 , v4 , v1 ), which contains 11 edges. Therefore,
d ( f 3 ) = 11. The closed walk (v4 , v5 , v6 , v7 , v8 , v9 , v10 , v4 ) bounds the face f 4 ,
and so d ( f 4 ) = 7.
4
If we now sum all the face degrees, we get ∑ d ( f ) = 3 + 3 + 11 + 7 = 24,
i =1
i
This makes us suspect that the Handshaking Lemma for graphs has “face
analogue” for a plane graph. This is indeed the case, as stated below.
∑ d ( f ) = 2 m(G).
i =1
i
Proof: In any plane drawing of a planar graph, each edge has two sides
(which may lie on the boundary of a single face or on the boundaries of two
different faces), so it contributes exactly 2 to the sum of the face degrees.
Hence, the result follows.
u u v
u v
z v
z w
z w
w
y x y x
y x
(a) (b) (a)
Solution: (a) There are 8 edges and 4 faces with face degrees 3, 3, 4, 6. Thus
we have 3 + 3 + 4 + 6 = 16 = 2 × 8.
(b) There are 11 edges and 7 faces in this graph, with face degrees 3, 3, 3,
3, 3, 3, 4. Therefore, 3 + 3 + 3 + 3 + 3 + 3 + 4 = 22 = 2 × 11 .
(c) There are 10 edges and 6 faces in this graph, with face degrees 3, 3, 3,
3, 4, 4. Therefore, 3 + 3 + 3 + 3 + 4 + 4 = 20 = 2 × 10 .
***
There are some exercises for you to try.
E7) If G and H are two planar graphs sharing exactly one vertex, then
show that G ∪ H is also planar.
Thus far we have seen the definition and examples of plane and planar
graphs. In the next section we shall discuss an important formula for such
graphs.
Example 5: For each of the plane graphs in Example 4, count the numbers of
vertices (n), edges (m) and faces (r ), and find the value of n − m + r.
Solution: (a) There are 6 vertices, 8 edges and 4 faces, so the required value
is 6 − 8 + 4 = 2.
(b) There are 6 vertices, 11 edges and 7 faces, so the required value
is 6 − 11 + 7 = 2.
(c) There are 6 vertices, 10 edges and 6 faces, so the required value
is 6 − 10 + 6 = 2.
***
In Example 5, we have seen that for each of the plane drawings under
consideration, n − m + r = 2.
This equation holds for any plane drawing of a connected planar graph, and is
known as Euler’s Formula. It tells us that each plane drawing of a given
connected planar graph with n vertices and m edges must have the same
number of faces, 2 − n + m.
First, we prove statement (i). Let T be any spanning tree of G; then we can
draw T in the plane without crossings. Since T has n vertices and n − 1
edges, and there is only 1 face the (unbounded one), we have
n − m + r = n − (n − 1) + 1 = 2,
as required.
Example 6: Verify the Euler’s Formula for each of the following planar graphs:
a) the octahedron graph
b) Wn , n ≥ 4
c) K 2,6
d) the graph formed from the vertices and edges of a k × k square lattice.
184
K 2, 6
Unit 7 Planar Graphs
Here n = 8, m = 12 and r = 6. Therefore, n − m + r = 2.
which correspond to the bounded faces of a plane drawing of it. Thus its
plane drawing has k + 1 faces in all. Now, we have
2
n − m + r = (k + 1) 2 − 2k (k + 1) + (k 2 + 1) = 2.
*** A 5 × 5 square lattice
Next, we show how the Euler’s Formula can be used to prove that certain
graphs are nonplanar. We first derive two corollaries of Theorem 2 that give
upper bounds for the number of edges of a planar graph.
However, note that we cannot use Corollary 1 to prove that K 3,3 is nonplanar,
as K 3,3 has 6 vertices and 9 edges, and the inequality 9 ≤ (3 × 6) − 6 is true.
Instead, we shall use the following corollary to prove that K 3, 3 is nonplanar.
Proof: Consider a plane drawing of G with r faces. The degree of each face
of such a drawing is at least 4 as G has no triangles. It follows from the
Handshaking Lemma for Planar Graphs that 4r ≤ 2m, so 2r ≤ m. Substituting
r from the Euler’s Formula r = m − n + 2, we obtain 2m − 2n + 4 ≤ m, and
hence m ≤ 2n − 4, as required.
A B C
E11) Every nonplanar graph contains at least one nonplanar proper subgraph.
True or false? Justify.
E12) Give an example of each of the following or explain why no such graph
exists.
a) a planar graph in which each vertex has degree 5;
b) a planar graph in which each vertex has degree 6 or more. A graph is said to be
maximal planar if it
E13) Does there exists a planar (6,12) -graph? If yes, draw such a graph. is planar and has the
maximum number of
E14) Let G be a planar graph with n vertices, m edges, r faces and k edges on a fixed
components. Show that n − m + r = k + 1. vertex set.
After inserting
some vertices
of degree 2
x w x w
G A subdivision of G
For example, the following graphs are nonplanar, since the first graph is a
subdivision of K 5 , and the second one is a subdivision of K 3,3 .
A subdivision of K 5 A subdivision of K 3, 3
You may be wondering why we are so concerned with K 5 and K 3,3 and their
subdivisions. The reason is that the converse of Corollary 1 is also true. That
is, if a graph G contains no subdivision of K 5 or K 3,3 , then G is planar.
Example 10: Use Kuratowski’s Theorem to show that the following graph is
nonplanar.
v6 v5
v7 v4
v8 v3
v1 v2
G
188
Unit 7 Planar Graphs
Solution: Deleting v3 v7 from G we get a subgraph H which is a subdivision
of K 3, 3 as shown below.
v6 v5 v2 v5 v8
v7 v7
v4 v3
≅
v8 v3
v1 v2 v1 v4 v6
H A subdivision of K 3, 3
iii) Gk = H .
w w
u e v y puv
y
x x
G G ⋅e
The importance of Theorems 3 and 4 is that they give necessary and sufficient
conditions for a graph to be planar in graph-theoretic terms (subgraphs,
subdivision, contraction of a graph), rather than in geometric terms (crossing,
drawing in the plane). However, Theorems 3 and 4 do not provide an easy
way of showing that a given graph is planar, since this would involve looking at
a large number of subgraphs and verifying that none of them is a subdivision
of K 5 or K 3,3 , or contains K 5 or K 3,3 as a contraction. For this reason, no
currently used algorithm for testing the planarity of a graph is based on either
of these theorems.
v1
u5 u2 u5 u2 u5 w2
v5 v2 v5 v2 v5
v 4 v3 v 4 v3 v4 v3
u4 u3 u4 u3 u4 u3
G = G0 G1 = G0 ⋅ u1v1 G 2 = G1 ⋅ u 2 v 2
w1 w1 w1
w5 w2 u5 w2 u5 w2
v5 v5
v4
w4 w3 w4 w3 u4 w3
G5 = G4 ⋅ u5 v5 G 4 = G3 ⋅ u 4 v 4 G3 = G 2 ⋅ u 3 v3
Solution: Given on the left below is the Grötzsch graph. If we remove the
edges v2 u3 , u3 v4 and u4 v5 we get the subgraph H as shown on the right
190 below.
Unit 7 Planar Graphs
u1 u1
v1 v1
u5 u2 u5 u2
v5 v2 v5 v2
w w
v4 v3 v4 v3
u4 u3 u4 u3
G H
Now we get K 3,3 as a contraction of H as follows.
u1 u1 u1
v1 w1 w2
u5 u2 u5 u2 u5 u2
v5 v2 v5 v2 v2
w
v4 v3 v4 v3 v4 v3
u4 u3 u4 u3 u4 u3
H = H0 H 1 = H 0 ⋅ w v1 H 2 = H 1 ⋅ w1 v5
u1 u1 u1
w3 u5 w3 w3 u2
w5 w4 w4 u5
v4 v3 v4 v3 v4 v3
u4 u4 u3
H 5 = H 4 ⋅ u 4 u5 H 4 = H 3 ⋅ u 2 u3 H 3 = H 2 ⋅ w2 v2
E17) Give a plane drawing of the graph given below, if it exists. Otherwise,
explain why no plane drawing exists.
191
Block 2 Graph Tracing and Coluring
E18) If H is a contraction of a graph G, then Δ ( H ) ≤ Δ (G). True or False?
Justify.
E19) Is the following graph planar? Justify your answer.
E20) Does there exist planar graph with 7 vertices and 12 edges such that
each of its faces is bounded by exactly 3 edges? Why?
There are many real life applications of planarity. One of the most important
applications is in Printed Circuit Board (PCB) layouts that we are going to
discuss in the next section.
Such printed connectors are not allowed to cross, since this would lead to
undesirable electrical contact at crossing points. Circuits in which many
crossings are unavoidable may be printed on several boards (layers) that are
then sandwiched together. Each board consists of a printed circuit without
crossings. Now, the question arises is – what is the smallest number of such
layers need for a given circuit?
We illustrate this problem with a particular example.
Consider a printed circuit that has 36 interconnections and is represented by
the complete graph K 9 . It is impossible to arrange all these interconnections in
one layer, or even two; three layers are needed, and a solution is given below.
3 4
2 5 2 3 4 5 2 3 4 5
1 9 8 7 6 9 8 7 6 1 9 8 7 6
1
192
layer 1 layer 2 layer 3
Unit 7 Planar Graphs
Note that each edge of K 9 is included on just one of the layers – for example,
the edge 28 appears on layer 2, and the edge 69 appears on layer 3.
Each of these three graphs is a planar graph. So the PCB problem, indeed,
seeks a decomposition of a graph into a minimum number of planar
subgraphs. In the case of K 9 , the three planar subgraphs corresponding to the
three layers shown above are induced by the following sets, respectively.
{12,13,16,18,19, 23, 29, 34, 38, 39, 45, 46, 47, 48, 56, 57, 67, 68, 78, 89},
{14,15,17, 24, 28, 35, 36, 37, 79},
{25, 26, 27, 49, 58, 59, 69}.
Example 13: Show that K 6 can be ‘printed’ in two layers and write down a
corresponding edge decomposition.
1 2 1 2
6 3 6 3
5 4 5 4
layer 1 layer 2
Note that a graph may have many decompositions into planar subgraphs.
However here we are concerned with the minimum number of such subgraphs
in a decomposition. This leads us to define the thickness of a graph.
We shall write θ (G ) for the thickness of G, and ν (G) for the crossing
number of G. Thickness and crossing number tell us how far a graph deviates
from planarity.
j
b e
i f
h g
c d
G
We know that G is nonplanar. Therefore, θ (G) ≥ 2. Now look at the following
planar subgraphs G ′ and G ′′ whose union is G. That is, {G′, G′′} is a
decomposition of G into planar subgraphs. Thus θ (G) = 2.
j j
b e
i f
i f
h g h g
c d
G′ G ′′
***
⎡ m ⎤
a) θ (G) ≥ ⎢ ,
⎢ 3n − 6 ⎥⎥
⎡ m ⎤
b) θ (G) ≥ ⎢ , if G has no triangles.
⎢ 2n − 4 ⎥⎥
We can now deduce lower bounds for the thickness of K n and that of K r , s .
194
Unit 7 Planar Graphs
⎢n + 7⎥
Theorem 6: a) θ ( K n ) ≥ ⎢ for all n ≥ 1.
⎣ 6 ⎥⎦
⎡ mn ⎤
b) θ ( K m, n ) ≥ ⎢ , for all m, n ≥ 1.
⎢ 2m + 2n − 4 ⎥⎥
b) Try yourself.
So, to sum up, although we cannot solve the PCB problem in general, we
have obtained a lower bound for the solution, and this bound coincides with
the correct value surprisingly often.
E21) Find the thickness and crossing number of each of the following graphs:
a a
b
f b
e
e c
d c
d
(i) (ii)
a b a b
f g
f c
e h
e d d c
(iii) (iv)
[Hint: Check for planarity first by redrawing the graphs]. 195
Block 2 Graph Tracing and Coluring
⎢n + 5⎥
E22) Show that θ ( K n , n ) = ⎢ for all n ≥ 1.
⎣ 4 ⎥⎦
By now you must have gained some understanding of plane and planar
graphs. The next concept we are going to introduce is about the dual of a
plane graph.
7.6 DUALITY
We now introduce the idea of duality for plane graphs. To illustrate this idea,
we consider the graph of the cube Q3 . If we place a new vertex within each
face (including the unbounded one) and join the pairs of new vertices that lie in
adjacent faces, we obtain the graph of the octahedron as follows.
1
4 4
3 1 5
3 1 5
5 4
2 2 6
6 2 3
6
Q3 Octahedron
(The new vertices are represented by small circles, and the edges joining
them are indicated by dashed lines.) The graph we have obtained is the “dual”
of Q3 . A formal definition is here.
*
Definition: Let G be a plane graph. Then the dual of G, denoted by G is
the graph constructed as follows.
*
Draw a point in each face of G , and call then the vertices of G . For each
* *
edge e of G draw an edge e joining the vertices of G in the faces on either
*
side of e : these are the edges of G . (Note that if any edge e of G lies on the
* * *
boundary of exactly on face of G, then e is a loop of G . Thus G may be a
multigraph.)
*
For instance, look at the graph G and its dual G drawn below.
It turns out that the dual of a plane graph is a planar graph. Let us look at one
more example.
Example 15: Draw the dual of each of the following plane graphs.
196
Unit 7 Planar Graphs
G1 G2 G3
G1 G1*
G2 G2*
G3 G3*
***
Observe that in the example above we have G1 ≅ G1* and G3 ≅ G3* . Such
graphs are “self-dual” as defined below.
You can clearly verify that the wheel graph Wn is self-dual for all n ≥ 4. The
next example shows that the duals of two isomorphic plane graphs need not
be isomorphic.
Example 16: Show that the following plane graphs are isomorphic, but their
duals are not.
197
Block 2 Graph Tracing and Coluring
G1 G2
Solution: Establishing an isomorphism between G1 and G2 is easier. (Just
find.) Let us draw the duals of G1 and G2 .
G1 G1*
G2*
G2
Now we shall show that the dual of a plane graph is always connected, no
matter whether the original graph is connected or not.
*
Theorem 7: For every plane graph G, its dual G is connected.
*
Proof: Let G be any plane graph. Pick any two vertices u and v in G . Then
there is a curve in the plane that joins u and v, which does not pass through
any of the vertices of G. This curve, of course, passes through the faces and
edges of G, alternately. But the faces of G correspond to the vertices of G * ,
*
and the edges of G correspond to the edges of G . Thus, we get an
*
alternating sequence of vertices and edges of G with endpoints u and v,
* *
which is, indeed, a (u, v) -walk in G . Therefore, G is connected.
*
E24) If a plane graph G has a cut-vertex, then G also has a cut-vertex. True
or false? Justify.
E25) Without actually drawing G * , find the number of vertices, edges and
faces of G * , where G is the multigraph given below:
Next, we shall discuss the Map Coloring Problem. We will show that this can
be reduced to coloring of planar graphs. We shall also show that any planar
graph can be vertex coloured with at must five colours.
Indeed, any planar graph can be vertex-coloured with just 4 colours. However,
this remained a problem (known as four Colour Problem) for a long time, until 199
Block 2 Graph Tracing and Coluring
1979 when Appel and Haken gave an algorithmic proof. They took nearly 1200
hours of computer time on some fastest available computers of that time to
eventually conclude that no more than 4 colours were needed.
f2 f3
f5
f1 f4
f2 f3
2 1 f5
f1 f4 3
1 2
A 3‐face‐colouring of G.
7.8 SUMMARY
In this unit, we have covered the following points:
2. Any plane drawing of a planar graph G divides the set of points of the
plane not lying on G into regions, called faces.
4. We have seen the Euler’s Formula that relates the number of vertices,
edges and faces of any plane drawing of a connected planar graph.
9. We have defined the concept of the dual of a plane graph, and finally
gave an overview of the Map Colouring Problem.
7.9 SOLUTIONS/ANSWERS
E1) The statement is false. For a counter-example consider the plane graph
G and its face f given below.
v1 v2
v4 v3
G 201
Block 2 Graph Tracing and Coluring
Let S = {v1 , v2 , v3 , v4 }. Then S induces G, which is not a subgraph of
the boundary of f .
E3) For n ≥ 3, we can draw the vertices of C n on a circle, and add edges
joining the consecutive vertices. This gives us a plane embedding of Cn .
K5 − e K4
Since both K 5 − e and K 4 are planar, every proper subgraph of K 5 is
planar.
E7) Consider two planar graphs G and H sharing exactly one vertex, say
v. Draw two disks meeting exactly at one point in the plane. Then place
the vertex v at the point of contact of the disks. Now draw the remaining
vertices of a plane drawing of G inside one disk, and of H inside
another disk. This gives us a plane drawing of G ∪ H , and hence
G ∪ H is planar.
v1
v5 u1 v2
u5 u2
u 4 u3
v4 v3
Each vertex in this graph has degree 4. Now add two vertices x
and y to this graph in such a way that x is the neighbour of
u1 , u 2 , u3 , u 4 and u5 ; and y is a neighbour of v1 , v2 , v3 , v4 and v5 .
This gives us a desired planar graph.
E14) Let ni , mi , ri denote the number of vertices, number of edges, and the
number of faces, respectively in the ith component of G. Note that one
face is common in all the components. Therefore,
k
r = ∑ ri − (k − 1).
i =1
203
Block 2 Graph Tracing and Coluring
Now applying the Euler’s Formula for each component we get
ni − mi + ri = 2, i.e., ri = mi − ni + 2 for all i = 1, 2, K, k. Therefore,
k
r = ∑ (mi − ni + 2) − ( k − 1)
i =1
= m − n + 2 k − k + 1 = m − n + k + 1.
This gives us n − m + r = k + 1.
u v w
G H = G ⋅ uv
E19) Observe that the given graph can be contracted into the follow graph.
204
Unit 7 Planar Graphs
a b
d c
So, the graph is planar. Hence its thickness is 1, and the crossing
number is 0.
ii) The thickness and the crossing numbers of this graph are also 1
and 0, respectively, as it has a following plane drawing.
a d
b
e c f
iii) Note that the given graph G (say) contains the following
subgraph.
a b
f c
e d 205
Block 2 Graph Tracing and Coluring
This is isomorphic to K 3, 3 . Thus G is nonplanar, and hence has
thickness at least 2. Two planar subgraphs of G are drawn below.
a b
a
f c
e d d
G1 G2
Therefore, θ (G) = 2.
f c
e d
Consequently, ν (G) = 1.
a b a b x d
f g g g
e
h e h h
d c d c y c
G0 = G G1 = G0 ⋅ af G2 = G1 ⋅ de
206
Unit 7 Planar Graphs
a b g
f g
e h c
d c
H1 H2
Consequently, θ (G) = 2.
E23)
G G*
G G*
207
G G*
Block 2 Graph Tracing and Coluring
E24) False. For instance, look at the graph G and its dual G * drawn below.
G G*
208