Dec 1, 2017 - The edges connecting the same pair of vertices are called multiple edges or parallel edges. December 1, 2017. N.K. Sudev. Fundamentals of ...
Graph Theory - Fundamentals
Fundamentals of Graph Theory N.K. S UDEV
Vidya Academy of Science & Technology Thalakkottukara, Thrissur-680501.
December 1, 2017
N.K. Sudev Fundamentals of Graph Theory
Vidya Academy of Science & Technology
Graph Theory - Fundamentals
A graph G can be considered as an ordered triple (V, E, ψ), where I V = {v1 , v2 , v3 , . . .} is called the vertex set of G and the elements of V are called the vertices (or points or nodes);
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
2 / 107
Graph Theory - Fundamentals
A graph G can be considered as an ordered triple (V, E, ψ), where I V = {v1 , v2 , v3 , . . .} is called the vertex set of G and the elements of V are called the vertices (or points or nodes); I E = {e1 , e2 , e3 , . . .} is the called the edge set of G and the elements of E are called edges (or lines or arcs); and
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
2 / 107
Graph Theory - Fundamentals
A graph G can be considered as an ordered triple (V, E, ψ), where I V = {v1 , v2 , v3 , . . .} is called the vertex set of G and the elements of V are called the vertices (or points or nodes); I E = {e1 , e2 , e3 , . . .} is the called the edge set of G and the elements of E are called edges (or lines or arcs); and I ψ is called the adjacency relation, defined by ψ : E → V × V , which defines the association between each edge with the vertex pairs of G.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
2 / 107
Graph Theory - Fundamentals
A graph G can be considered as an ordered triple (V, E, ψ), where I V = {v1 , v2 , v3 , . . .} is called the vertex set of G and the elements of V are called the vertices (or points or nodes); I E = {e1 , e2 , e3 , . . .} is the called the edge set of G and the elements of E are called edges (or lines or arcs); and I ψ is called the adjacency relation, defined by ψ : E → V × V , which defines the association between each edge with the vertex pairs of G. Usually the graph is denoted as G = (V, E). The vertex set and edge set of a graph G are also written as V (G) and E(G) respectively. December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
2 / 107
Graph Theory - Fundamentals
Figure: An example of a graph. December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
3 / 107
Graph Theory - Fundamentals
An edge of a graph that joins a node to itself is called loop or a self loop. That is, a loop is an edge uv, where u = v.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
4 / 107
Graph Theory - Fundamentals
An edge of a graph that joins a node to itself is called loop or a self loop. That is, a loop is an edge uv, where u = v. In the above example, the edges e6 and e7 are loops.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
4 / 107
Graph Theory - Fundamentals
An edge of a graph that joins a node to itself is called loop or a self loop. That is, a loop is an edge uv, where u = v. In the above example, the edges e6 and e7 are loops. The edges connecting the same pair of vertices are called multiple edges or parallel edges.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
4 / 107
Graph Theory - Fundamentals
An edge of a graph that joins a node to itself is called loop or a self loop. That is, a loop is an edge uv, where u = v. In the above example, the edges e6 and e7 are loops. The edges connecting the same pair of vertices are called multiple edges or parallel edges. In the above example, the edges e4 and e5 are parallel edges.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
4 / 107
Graph Theory - Fundamentals
An edge of a graph that joins a node to itself is called loop or a self loop. That is, a loop is an edge uv, where u = v. In the above example, the edges e6 and e7 are loops. The edges connecting the same pair of vertices are called multiple edges or parallel edges. In the above example, the edges e4 and e5 are parallel edges. A graph G which does not have loops or parallel edges is called a simple graph. A graph which is not simple is generally called a multigraph.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
4 / 107
Graph Theory - Fundamentals
If two vertices u and v are the (two) end points of an edge e, then we represent this edge by uv or vu.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
5 / 107
Graph Theory - Fundamentals
If two vertices u and v are the (two) end points of an edge e, then we represent this edge by uv or vu. If e = uv is an edge of a graph G, then we say that u and v are adjacent vertices in G and that e joins u and v. (We may also say that each that of u and v is adjacent to the other).
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
5 / 107
Graph Theory - Fundamentals
If two vertices u and v are the (two) end points of an edge e, then we represent this edge by uv or vu. If e = uv is an edge of a graph G, then we say that u and v are adjacent vertices in G and that e joins u and v. (We may also say that each that of u and v is adjacent to the other). Given an edge e = uv, the vertex u and an edge e are said to be incident with each other and so are v and e.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
5 / 107
Graph Theory - Fundamentals
If two vertices u and v are the (two) end points of an edge e, then we represent this edge by uv or vu. If e = uv is an edge of a graph G, then we say that u and v are adjacent vertices in G and that e joins u and v. (We may also say that each that of u and v is adjacent to the other). Given an edge e = uv, the vertex u and an edge e are said to be incident with each other and so are v and e. Two edges ei and ej are said to be adjacent edges if they are incident with a common vertex.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
5 / 107
Graph Theory - Fundamentals
The order of a graph G, denoted by ν(G), is the number of its vertices and the size of G, denoted by (G), is the number of its edges.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
6 / 107
Graph Theory - Fundamentals
The order of a graph G, denoted by ν(G), is the number of its vertices and the size of G, denoted by (G), is the number of its edges. A graph with p-vertices and q-edges is called a (p, q)graph.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
6 / 107
Graph Theory - Fundamentals
The order of a graph G, denoted by ν(G), is the number of its vertices and the size of G, denoted by (G), is the number of its edges. A graph with p-vertices and q-edges is called a (p, q)graph. The (1, 0)-graph (a graph with a single vertex) is called a trivial graph. An empty graph is a (p, 0)-graph (a graph without edges).
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
6 / 107
Graph Theory - Fundamentals
The order of a graph G, denoted by ν(G), is the number of its vertices and the size of G, denoted by (G), is the number of its edges. A graph with p-vertices and q-edges is called a (p, q)graph. The (1, 0)-graph (a graph with a single vertex) is called a trivial graph. An empty graph is a (p, 0)-graph (a graph without edges). A graph with finite number of vertices as well as a finite number of edges is called a finite graph. Otherwise, it is an infinite graph.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
6 / 107
Graph Theory - Fundamentals
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
7 / 107
Graph Theory - Fundamentals
The number of edges incident on a vertex v, with self-loops counted twice, is called the degree of the vertex v and is denoted by degG (v) or deg(v) or simply d(v).
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
8 / 107
Graph Theory - Fundamentals
The number of edges incident on a vertex v, with self-loops counted twice, is called the degree of the vertex v and is denoted by degG (v) or deg(v) or simply d(v). A vertex having no incident edge is called an isolated vertex. In other words, isolated vertices are those with zero degree.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
8 / 107
Graph Theory - Fundamentals
The number of edges incident on a vertex v, with self-loops counted twice, is called the degree of the vertex v and is denoted by degG (v) or deg(v) or simply d(v). A vertex having no incident edge is called an isolated vertex. In other words, isolated vertices are those with zero degree. A vertex of degree 1, is called a pendent vertex or an end vertex.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
8 / 107
Graph Theory - Fundamentals
The number of edges incident on a vertex v, with self-loops counted twice, is called the degree of the vertex v and is denoted by degG (v) or deg(v) or simply d(v). A vertex having no incident edge is called an isolated vertex. In other words, isolated vertices are those with zero degree. A vertex of degree 1, is called a pendent vertex or an end vertex. A vertex with degree greater than or equal to 2 is called an internal vertex or an intermediate vertex.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
8 / 107
Graph Theory - Fundamentals
The maximum degree of a graph G, denoted by ∆(G), is defined to be ∆(G) = max{d(v) : v ∈ V (G)}.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
9 / 107
Graph Theory - Fundamentals
The maximum degree of a graph G, denoted by ∆(G), is defined to be ∆(G) = max{d(v) : v ∈ V (G)}. Similarly, the minimum degree of a graph G, denoted by δ(G), is defined to be δ(G) = min{d(v) : v ∈ V (G)}
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
9 / 107
Graph Theory - Fundamentals
The maximum degree of a graph G, denoted by ∆(G), is defined to be ∆(G) = max{d(v) : v ∈ V (G)}. Similarly, the minimum degree of a graph G, denoted by δ(G), is defined to be δ(G) = min{d(v) : v ∈ V (G)} The degree sequence of a graph of order n is the n-term sequence (usually written in descending order) of the vertex degrees.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
9 / 107
Graph Theory - Fundamentals
The maximum degree of a graph G, denoted by ∆(G), is defined to be ∆(G) = max{d(v) : v ∈ V (G)}. Similarly, the minimum degree of a graph G, denoted by δ(G), is defined to be δ(G) = min{d(v) : v ∈ V (G)} The degree sequence of a graph of order n is the n-term sequence (usually written in descending order) of the vertex degrees. An integer sequence S is said to be graphical if there is a graph G with S as its degree sequence.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
9 / 107
Graph Theory - Fundamentals
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
10 / 107
Graph Theory - Fundamentals
In the above figure, δ(G) = 2, ∆(G) = 5 and the degree sequence of G is (5, 4, 3, 2).
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
10 / 107
Graph Theory - Fundamentals
I
In a graph G, the sum of the degrees of the vertices is equal to twice P the number of edges. That is, d(v) = 2. (This result is known as v∈V (G)
the first theorem on graph theory and hand shaking lemma).
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
11 / 107
Graph Theory - Fundamentals
I
In a graph G, the sum of the degrees of the vertices is equal to twice P the number of edges. That is, d(v) = 2. (This result is known as v∈V (G)
the first theorem on graph theory and hand shaking lemma). I
For any graph G, δ(G) ≤
December 1, 2017
N.K. Sudev
2|E| |V |
≤ ∆(G).
Fundamentals of Graph Theory
11 / 107
Graph Theory - Fundamentals
I
In a graph G, the sum of the degrees of the vertices is equal to twice P the number of edges. That is, d(v) = 2. (This result is known as v∈V (G)
the first theorem on graph theory and hand shaking lemma). 2|E| |V |
I
For any graph G, δ(G) ≤
I
For any graph G, the number of odd degree vertices is always even.
December 1, 2017
N.K. Sudev
≤ ∆(G).
Fundamentals of Graph Theory
11 / 107
Graph Theory - Fundamentals
A graph G is said to be a regular graph if all its vertices have the same degree. A graph G is said to be a k-regular graph if d(v) = k for all v ∈ V (G).
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
12 / 107
Graph Theory - Fundamentals
A graph G is said to be a regular graph if all its vertices have the same degree. A graph G is said to be a k-regular graph if d(v) = k for all v ∈ V (G).
(a) A graph
December 1, 2017
2-regular
(b) A graph
N.K. Sudev
3-regular (c) Petersen Graph
Fundamentals of Graph Theory
12 / 107
Graph Theory - Fundamentals
A directed graph or digraph G consists of a set V of vertices and a set E of edges such that e ∈ E is associated with an ordered pair of vertices. In other words, if each edge of the graph G has a direction then the graph is called directed graph.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
13 / 107
Graph Theory - Fundamentals
A directed graph or digraph G consists of a set V of vertices and a set E of edges such that e ∈ E is associated with an ordered pair of vertices. In other words, if each edge of the graph G has a direction then the graph is called directed graph. If we assign directions to the edges of a given graph, then the new directed graph D is called an orientation of G.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
13 / 107
Graph Theory - Fundamentals
A directed graph or digraph G consists of a set V of vertices and a set E of edges such that e ∈ E is associated with an ordered pair of vertices. In other words, if each edge of the graph G has a direction then the graph is called directed graph. If we assign directions to the edges of a given graph, then the new directed graph D is called an orientation of G. Note that an undirected graph G can have 2|E(G)| distinct orientations.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
13 / 107
Graph Theory - Fundamentals
A directed graph or digraph G consists of a set V of vertices and a set E of edges such that e ∈ E is associated with an ordered pair of vertices. In other words, if each edge of the graph G has a direction then the graph is called directed graph. If we assign directions to the edges of a given graph, then the new directed graph D is called an orientation of G. Note that an undirected graph G can have 2|E(G)| distinct orientations. If remove the directions of the edges of a directed graph D, then the reduced graph G is called the underlying graph of D.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
13 / 107
Graph Theory - Fundamentals
A directed graph or digraph G consists of a set V of vertices and a set E of edges such that e ∈ E is associated with an ordered pair of vertices. In other words, if each edge of the graph G has a direction then the graph is called directed graph. If we assign directions to the edges of a given graph, then the new directed graph D is called an orientation of G. Note that an undirected graph G can have 2|E(G)| distinct orientations. If remove the directions of the edges of a directed graph D, then the reduced graph G is called the underlying graph of D. Note that a directed graph can have a unique underlying graph. December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
13 / 107
Graph Theory - Fundamentals
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
14 / 107
Graph Theory - Fundamentals
In a directed graph D, the out-degree of a vertex v of DG, denoted by d+ (v), is the number of edges beginning at v and the in-degree of v, denoted by d− (v), is the number of edges ending at v.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
15 / 107
Graph Theory - Fundamentals
In a directed graph D, the out-degree of a vertex v of DG, denoted by d+ (v), is the number of edges beginning at v and the in-degree of v, denoted by d− (v), is the number of edges ending at v. The sum of the in-degree and out-degree of a vertex is called the total degree of the vertex.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
15 / 107
Graph Theory - Fundamentals
In a directed graph D, the out-degree of a vertex v of DG, denoted by d+ (v), is the number of edges beginning at v and the in-degree of v, denoted by d− (v), is the number of edges ending at v. The sum of the in-degree and out-degree of a vertex is called the total degree of the vertex. A vertex with zero in-degree is called a source and a vertex with zero out-degree is called a sink.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
15 / 107
Graph Theory - Fundamentals
In a directed graph D, the out-degree of a vertex v of DG, denoted by d+ (v), is the number of edges beginning at v and the in-degree of v, denoted by d− (v), is the number of edges ending at v. The sum of the in-degree and out-degree of a vertex is called the total degree of the vertex. A vertex with zero in-degree is called a source and a vertex with zero out-degree is called a sink. In a directed graph D, the sum of the in-degrees and the sum of out-degrees of areP equal to the number Pthe vertices of edges. That is, d+ (v) = d− (v) = . v∈V (D)
December 1, 2017
N.K. Sudev
v∈V (D)
Fundamentals of Graph Theory
15 / 107
Graph Theory - Fundamentals
The neighbourhood (or open neighbourhood) of a vertex v, denoted by N (v), is the set of vertices adjacent to v.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
16 / 107
Graph Theory - Fundamentals
The neighbourhood (or open neighbourhood) of a vertex v, denoted by N (v), is the set of vertices adjacent to v. Therefore, d(v) = |N (v)|.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
16 / 107
Graph Theory - Fundamentals
The neighbourhood (or open neighbourhood) of a vertex v, denoted by N (v), is the set of vertices adjacent to v. Therefore, d(v) = |N (v)|. The closed neighbourhood of a vertex v, denoted by N [v], is simply the set N (v) ∪ {v}.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
16 / 107
Graph Theory - Fundamentals
The neighbourhood (or open neighbourhood) of a vertex v, denoted by N (v), is the set of vertices adjacent to v. Therefore, d(v) = |N (v)|. The closed neighbourhood of a vertex v, denoted by N [v], is simply the set N (v) ∪ {v}. A graph H(V1 , E1 ) is said to be a subgraph of a graph G(V, E) if V1 ⊆ V and E1 ⊆ E.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
16 / 107
Graph Theory - Fundamentals
The neighbourhood (or open neighbourhood) of a vertex v, denoted by N (v), is the set of vertices adjacent to v. Therefore, d(v) = |N (v)|. The closed neighbourhood of a vertex v, denoted by N [v], is simply the set N (v) ∪ {v}. A graph H(V1 , E1 ) is said to be a subgraph of a graph G(V, E) if V1 ⊆ V and E1 ⊆ E. A graph H(V1 , E1 ) is said to be a spanning subgraph of a graph G(V, E) if V1 = V and E1 ⊆ E.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
16 / 107
Graph Theory - Fundamentals
Figure: Examples of Subgraphs
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
17 / 107
Graph Theory - Fundamentals
A complete graph is a simple undirected graph in which every pair of distinct vertices is connected by a unique edge. A complete graph on n vertices is denoted by Kn .
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
18 / 107
Graph Theory - Fundamentals
A complete graph is a simple undirected graph in which every pair of distinct vertices is connected by a unique edge. A complete graph on n vertices is denoted by Kn .
Figure: First few complete graphs
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
18 / 107
Graph Theory - Fundamentals
edges (a triangular numA complete graph has n(n−1) 2 ber ), and is a regular graph of degree n − 1.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
19 / 107
Graph Theory - Fundamentals
edges (a triangular numA complete graph has n(n−1) 2 ber ), and is a regular graph of degree n − 1.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
19 / 107
Graph Theory - Fundamentals
edges (a triangular numA complete graph has n(n−1) 2 ber ), and is a regular graph of degree n − 1.
Note: Every graph on n vertices is a (spanning subgraph) of the complete graph Kn .
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
19 / 107
Graph Theory - Fundamentals
If the edges of a complete graph are each given an orientation, the resulting directed graph is called a tournament.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
20 / 107
Graph Theory - Fundamentals
If the edges of a complete graph are each given an orientation, the resulting directed graph is called a tournament. A complete digraph is a directed graph in which every pair of distinct vertices is connected by a pair of unique edges (one in each direction).
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
20 / 107
Graph Theory - Fundamentals
A graph G is said to be a bipartite graph if its vertex set V can be partitioned in to two sets, say V1 and V2 , such that no two vertices in the same partition can be adjacent. Here, the pair (V1 , V2 ) is called the bipartition of G.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
21 / 107
Graph Theory - Fundamentals
A graph G is said to be a bipartite graph if its vertex set V can be partitioned in to two sets, say V1 and V2 , such that no two vertices in the same partition can be adjacent. Here, the pair (V1 , V2 ) is called the bipartition of G.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
21 / 107
Graph Theory - Fundamentals
A bipartite graph G is said to be a complete bipartite graph if every vertex of one partition is adjacent to every vertex of the other. A complete bipartite graph with bipartition (X, Y ) is denoted by Ka,b , where a = |X|, b = |Y |.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
22 / 107
Graph Theory - Fundamentals
A bipartite graph G is said to be a complete bipartite graph if every vertex of one partition is adjacent to every vertex of the other. A complete bipartite graph with bipartition (X, Y ) is denoted by Ka,b , where a = |X|, b = |Y |.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
22 / 107
Graph Theory - Fundamentals
An isomorphism of two graphs G and H is a bijective function f : V (G) → V (H) such that any two vertices u and v of G are adjacent in G if and only if f (u) and f (v) are adjacent in H.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
23 / 107
Graph Theory - Fundamentals
An isomorphism of two graphs G and H is a bijective function f : V (G) → V (H) such that any two vertices u and v of G are adjacent in G if and only if f (u) and f (v) are adjacent in H. That is, two graphs G and H are said to be isomorphic if (i) |V (G)| = |V (H)|, (ii) |E(G)| = |E(H)|, (iii) vi vj ∈ E(G) =⇒ f (vi )f (vj ) ∈ E(H). This bijection is commonly described as edge-preserving bijection.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
23 / 107
Graph Theory - Fundamentals
An isomorphism of two graphs G and H is a bijective function f : V (G) → V (H) such that any two vertices u and v of G are adjacent in G if and only if f (u) and f (v) are adjacent in H. That is, two graphs G and H are said to be isomorphic if (i) |V (G)| = |V (H)|, (ii) |E(G)| = |E(H)|, (iii) vi vj ∈ E(G) =⇒ f (vi )f (vj ) ∈ E(H). This bijection is commonly described as edge-preserving bijection. If an isomorphism exists between two graphs, then the graphs are called isomorphic graphs and denoted as G ' H. December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
23 / 107
Graph Theory - Fundamentals
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
24 / 107
Graph Theory - Fundamentals
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
25 / 107
Graph Theory - Fundamentals
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
26 / 107
Graph Theory - Fundamentals
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
27 / 107
Graph Theory - Fundamentals
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
28 / 107
Graph Theory - Fundamentals
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
29 / 107
Graph Theory - Fundamentals
¯ The complement or inverse of a graph G, denoted by G ¯ is a graph with V (G) = V (G) such that two distinct ver¯ are adjacent if and only if they are not adjacent tices of G in G.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
30 / 107
Graph Theory - Fundamentals
¯ The complement or inverse of a graph G, denoted by G ¯ is a graph with V (G) = V (G) such that two distinct ver¯ are adjacent if and only if they are not adjacent tices of G in G.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
30 / 107
Graph Theory - Fundamentals
¯ The complement or inverse of a graph G, denoted by G ¯ such that two distinct veris a graph with V (G) = V (G) ¯ are adjacent if and only if they are not adjacent tices of G in G.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
31 / 107
Graph Theory - Fundamentals
¯ The complement or inverse of a graph G, denoted by G ¯ such that two distinct veris a graph with V (G) = V (G) ¯ are adjacent if and only if they are not adjacent tices of G in G. ¯ we have Note that for a graph G and its complement G, ¯ = Kn ; (i) G1 ∪ G ¯ (ii) V (G) = V (G); ¯ = E(Kn ); (iii) E(G) ∪ E(G) ¯ = |E(Kn )| = n . (iv) |E(G)| + |E(G)| 2
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
31 / 107
Graph Theory - Fundamentals
v1
v1
v5
v2
v5
v2
v4
v3
v4
v3 ¯ (b) G
(a) G
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
32 / 107
Graph Theory - Fundamentals
A graph G is said to be self-complementary if G is isomorphic to its complement.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
33 / 107
Graph Theory - Fundamentals
A graph G is said to be self-complementary if G is isomorphic to its complement. Note: For self complementary graphs of order n, |E(G)| = ¯ = n(n−1) . This implies, 4 divides either n or n−1. |E(G)| 4 That is, we have n ≡ 0, 1(mod 4).
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
33 / 107
Graph Theory - Fundamentals
A graph G is said to be self-complementary if G is isomorphic to its complement. Note: For self complementary graphs of order n, |E(G)| = ¯ = n(n−1) . This implies, 4 divides either n or n−1. |E(G)| 4 That is, we have n ≡ 0, 1(mod 4).
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
33 / 107
Graph Theory - Fundamentals
Illustration to Self-Complementary Graphs
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
34 / 107
Graph Theory - Fundamentals
A walk in a graph G is an alternating sequence of vertices and connecting edges in G. In other words, a walk is any route through a graph from vertex to vertex along edges. If the starting and end vertices of a walk is the same, then such a trail is called a closed walk.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
35 / 107
Graph Theory - Fundamentals
A walk in a graph G is an alternating sequence of vertices and connecting edges in G. In other words, a walk is any route through a graph from vertex to vertex along edges. If the starting and end vertices of a walk is the same, then such a trail is called a closed walk. A trail is a walk that does not pass over the same edge twice. A trail might visit the same vertex twice, but only if it comes and goes from a different edge each time. A closed trail or a tour is a trail that begins and ends on the same vertex.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
35 / 107
Graph Theory - Fundamentals
A walk in a graph G is an alternating sequence of vertices and connecting edges in G. In other words, a walk is any route through a graph from vertex to vertex along edges. If the starting and end vertices of a walk is the same, then such a trail is called a closed walk. A trail is a walk that does not pass over the same edge twice. A trail might visit the same vertex twice, but only if it comes and goes from a different edge each time. A closed trail or a tour is a trail that begins and ends on the same vertex. A path is a walk that does not include any vertex twice, except that its first vertex might be the same as its last.A cycle or a circuit is a path that begins and ends on the same vertex. December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
35 / 107
Graph Theory - Fundamentals
The length of a walk or trail or path or cycle is the number of edges in it.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
36 / 107
Graph Theory - Fundamentals
The length of a walk or trail or path or cycle is the number of edges in it. A path of order n is denoted by Pn and a cycle of order n is denoted by Cn .
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
36 / 107
Graph Theory - Fundamentals
The length of a walk or trail or path or cycle is the number of edges in it. A path of order n is denoted by Pn and a cycle of order n is denoted by Cn . Every edge of G can be considered as a path of length 1.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
36 / 107
Graph Theory - Fundamentals
The length of a walk or trail or path or cycle is the number of edges in it. A path of order n is denoted by Pn and a cycle of order n is denoted by Cn . Every edge of G can be considered as a path of length 1. Note that the length of a path on n vertices has length n − 1 and the length of a cycle of order n is n.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
36 / 107
Graph Theory - Fundamentals
The length of a walk or trail or path or cycle is the number of edges in it. A path of order n is denoted by Pn and a cycle of order n is denoted by Cn . Every edge of G can be considered as a path of length 1. Note that the length of a path on n vertices has length n − 1 and the length of a cycle of order n is n. The distance between two vertices u and v in a graph G, denoted by dG (u, v) or simply d(u, v), is the length (number of edges) of a shortest path (also called a graph geodesic) connecting them.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
36 / 107
Graph Theory - Fundamentals
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
37 / 107
Graph Theory - Fundamentals
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
38 / 107
Graph Theory - Fundamentals
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
39 / 107
Graph Theory - Fundamentals
Two vertices u and v are said to be connected if there exists a path between them.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
40 / 107
Graph Theory - Fundamentals
Two vertices u and v are said to be connected if there exists a path between them. If there is a path between two vertices u and v, then u is said to be reachable from v and vice versa.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
40 / 107
Graph Theory - Fundamentals
Two vertices u and v are said to be connected if there exists a path between them. If there is a path between two vertices u and v, then u is said to be reachable from v and vice versa. A graph G is said to be connected if there exists paths between any two vertices in G. A graph which is not connected is called a disconnected graph.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
40 / 107
Graph Theory - Fundamentals
Two vertices u and v are said to be connected if there exists a path between them. If there is a path between two vertices u and v, then u is said to be reachable from v and vice versa. A graph G is said to be connected if there exists paths between any two vertices in G. A graph which is not connected is called a disconnected graph. A component of a graph G is a maximal connected subgraph of G. A connected graph has only one component. A graph having more than one component is a disconnected graph. Each vertex belongs to exactly one connected component, so does each edge. December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
40 / 107
Graph Theory - Fundamentals
An edge e of a graph G is said to be a cut-edge or a bridge of G if G − e is disconnected.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
41 / 107
Graph Theory - Fundamentals
An edge e of a graph G is said to be a cut-edge or a bridge of G if G − e is disconnected.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
41 / 107
Graph Theory - Fundamentals
An edge e of a graph G is said to be a cut-edge or a bridge of G if G − e is disconnected.
An edge e of a graph G is a cut-edge of G if and only if it is not contained in any cycle of G. December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
41 / 107
Graph Theory - Fundamentals
A subset F of the edge set E of a graph G is said to be an edge-cut of G if G − E is disconnected.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
42 / 107
Graph Theory - Fundamentals
A subset F of the edge set E of a graph G is said to be an edge-cut of G if G − E is disconnected.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
42 / 107
Graph Theory - Fundamentals
A vertex v of a graph G is said to be a cut-vertex of G if G − v is disconnected.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
43 / 107
Graph Theory - Fundamentals
A vertex v of a graph G is said to be a cut-vertex of G if G − v is disconnected.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
43 / 107
Graph Theory - Fundamentals
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
44 / 107
Graph Theory - Fundamentals
¨ The city of Konigsberg in Prussia (now Kaliningrad, Russia) was situated on the either sides of the Pregel River and included two large islands which were connected to each other and the mainlands by seven bridges (see the below picture).
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
45 / 107
Graph Theory - Fundamentals
¨ Konigsberg Seven Bridege Problem The problem was to devise a walk through the city that would cross each bridge once and only once, subject to the following conditions:
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
46 / 107
Graph Theory - Fundamentals
¨ Konigsberg Seven Bridege Problem The problem was to devise a walk through the city that would cross each bridge once and only once, subject to the following conditions: I
The islands could only be reached by the bridges; and
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
46 / 107
Graph Theory - Fundamentals
¨ Konigsberg Seven Bridege Problem The problem was to devise a walk through the city that would cross each bridge once and only once, subject to the following conditions: I I
The islands could only be reached by the bridges; and Every bridge once accessed must be crossed to its other end.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
46 / 107
Graph Theory - Fundamentals
¨ Konigsberg Seven Bridege Problem The problem was to devise a walk through the city that would cross each bridge once and only once, subject to the following conditions: I I
I
The islands could only be reached by the bridges; and Every bridge once accessed must be crossed to its other end. The starting and ending points of the walk shall be the same.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
46 / 107
Graph Theory - Fundamentals
¨ Konigsberg Seven Bridege Problem The problem was to devise a walk through the city that would cross each bridge once and only once, subject to the following conditions: I I
I
The islands could only be reached by the bridges; and Every bridge once accessed must be crossed to its other end. The starting and ending points of the walk shall be the same.
¨ The Konigsberg seven bridge problem was instrumental to the origination of Graph Theory as a branch of modern Mathematics. December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
46 / 107
Graph Theory - Fundamentals
In 1736, Swiss Mathematician Leonard Euler introduced a graphical model to this problem by representing each land area by a vertex and each bridge by an edge connecting corresponding vertices (see the following figure). B
A
D
C
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
47 / 107
Graph Theory - Fundamentals
In 1736, Swiss Mathematician Leonard Euler introduced a graphical model to this problem by representing each land area by a vertex and each bridge by an edge connecting corresponding vertices (see the following figure). B
A
D
C Using this graphical model, Euler proved that no such a walk (trail) exists. December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
47 / 107
Graph Theory - Fundamentals
An Eulerian trail or Euler walk in an undirected graph is a walk that uses each edge exactly once. If an Euler trail exists in a given graph G, then G is called a traversable graph or a semi-Eulerian graph.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
48 / 107
Graph Theory - Fundamentals
An Eulerian trail or Euler walk in an undirected graph is a walk that uses each edge exactly once. If an Euler trail exists in a given graph G, then G is called a traversable graph or a semi-Eulerian graph. An Eulerian cycle or Eulerian circuit or Euler tour in an undirected graph is a cycle that uses each edge exactly once. A graph which contains an Euler cycle is called Eulerian graph or a unicursal graph.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
48 / 107
Graph Theory - Fundamentals
An Eulerian trail or Euler walk in an undirected graph is a walk that uses each edge exactly once. If an Euler trail exists in a given graph G, then G is called a traversable graph or a semi-Eulerian graph. An Eulerian cycle or Eulerian circuit or Euler tour in an undirected graph is a cycle that uses each edge exactly once. A graph which contains an Euler cycle is called Eulerian graph or a unicursal graph. Euler proved that a connected graph G is Eulerian if and only if every vertex G is even degree.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
48 / 107
Graph Theory - Fundamentals
A Hamiltonian path (or traceable path) is a path in an undirected (or directed graph) that visits each vertex exactly once.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
49 / 107
Graph Theory - Fundamentals
A Hamiltonian path (or traceable path) is a path in an undirected (or directed graph) that visits each vertex exactly once. A graph that contains a Hamiltonian path is called a traceable graph.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
49 / 107
Graph Theory - Fundamentals
A Hamiltonian path (or traceable path) is a path in an undirected (or directed graph) that visits each vertex exactly once. A graph that contains a Hamiltonian path is called a traceable graph. A Hamiltonian cycle, or a Hamiltonian circuit, or a vertex tour or a graph cycle is a cycle that visits each vertex exactly once (except for the vertex that is both the start and end, which is visited twice).
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
49 / 107
Graph Theory - Fundamentals
A Hamiltonian path (or traceable path) is a path in an undirected (or directed graph) that visits each vertex exactly once. A graph that contains a Hamiltonian path is called a traceable graph. A Hamiltonian cycle, or a Hamiltonian circuit, or a vertex tour or a graph cycle is a cycle that visits each vertex exactly once (except for the vertex that is both the start and end, which is visited twice). A graph that contains a Hamiltonian cycle is called a Hamiltonian graph.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
49 / 107
Graph Theory - Fundamentals
A Hamiltonian path (or traceable path) is a path in an undirected (or directed graph) that visits each vertex exactly once. A graph that contains a Hamiltonian path is called a traceable graph. A Hamiltonian cycle, or a Hamiltonian circuit, or a vertex tour or a graph cycle is a cycle that visits each vertex exactly once (except for the vertex that is both the start and end, which is visited twice). A graph that contains a Hamiltonian cycle is called a Hamiltonian graph. Hamiltonian graphs are named after the famous mathematician William Rowan Hamilton who invented the Hamilton’s puzzle, which involves finding a Hamiltonian cycle in the edge graph of the dodecahedron. December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
49 / 107
Graph Theory - Fundamentals
Figure: Aa Hamilton cycle in a Dodecahedron
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
50 / 107
Graph Theory - Fundamentals
Figure: A graph that is Eulerian and Hamiltonian
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
51 / 107
Graph Theory - Fundamentals
Figure: A graph that is Eulerian and Hamiltonian
Figure: A graph that is Eulerian, but not Hamiltonian
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
51 / 107
Graph Theory - Fundamentals
Figure: A graph that is Hamiltonian, but not Eulerian
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
52 / 107
Graph Theory - Fundamentals
Figure: A graph that is Hamiltonian, but not Eulerian
Figure: A graph is neither Eulerian nor Hamiltonian
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
52 / 107
Graph Theory - Fundamentals
A graph G is called a tree if it is connected and has no cycles. That is, a tree is a conncted acyclic (circuitless) graph.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
53 / 107
Graph Theory - Fundamentals
A graph G is called a tree if it is connected and has no cycles. That is, a tree is a conncted acyclic (circuitless) graph.
Figure: Examples to trees
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
53 / 107
Graph Theory - Fundamentals
A graph G is called a tree if it is connected and has no cycles. That is, a tree is a conncted acyclic (circuitless) graph.
Figure: Examples to trees
An acyclic graph may possibly be a disconnected graph whose components are trees. Such graphs are called forests. December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
53 / 107
Graph Theory - Fundamentals
I
In a tree, there is exactly one path between every pair of its vertices.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
54 / 107
Graph Theory - Fundamentals
I
I
In a tree, there is exactly one path between every pair of its vertices. A tree with n vertices has n − 1 edges.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
54 / 107
Graph Theory - Fundamentals
I
I I
In a tree, there is exactly one path between every pair of its vertices. A tree with n vertices has n − 1 edges. Any connected graph with n vertices and n − 1 edges is a tree.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
54 / 107
Graph Theory - Fundamentals
I
I I
I
In a tree, there is exactly one path between every pair of its vertices. A tree with n vertices has n − 1 edges. Any connected graph with n vertices and n − 1 edges is a tree. A tree is minimally connected. That is, every edge of G is a cut edge.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
54 / 107
Graph Theory - Fundamentals
I
I I
I
I
In a tree, there is exactly one path between every pair of its vertices. A tree with n vertices has n − 1 edges. Any connected graph with n vertices and n − 1 edges is a tree. A tree is minimally connected. That is, every edge of G is a cut edge. Any tree with at least two vertices has at least two pendant vertices.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
54 / 107
Graph Theory - Fundamentals
A spanning tree of a connected graph G is a tree containing all the vertices of G.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
55 / 107
Graph Theory - Fundamentals
A spanning tree of a connected graph G is a tree containing all the vertices of G. Every connected graph G has a spanning tree.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
55 / 107
Graph Theory - Fundamentals
A spanning tree of a connected graph G is a tree containing all the vertices of G. Every connected graph G has a spanning tree. The spanning tree of a graph is the maximal tree subgraph of that graph. A spanning tree of a graph G is sometimes called the skeleton or the scaffold graph.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
55 / 107
Graph Theory - Fundamentals
A spanning tree of a connected graph G is a tree containing all the vertices of G. Every connected graph G has a spanning tree. The spanning tree of a graph is the maximal tree subgraph of that graph. A spanning tree of a graph G is sometimes called the skeleton or the scaffold graph. Let T be a spanning tree of a given graph G. Then, every edge of T is called a branch of T . An edge of G that is not in a spanning tree of G is called a chord (or a tie or a link).
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
55 / 107
Graph Theory - Fundamentals
Every graph with n vertices and edges has n−1 branches and − n + 1 chords.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
56 / 107
Graph Theory - Fundamentals
Every graph with n vertices and edges has n−1 branches and − n + 1 chords. The number of branches in a spanning tree T of a graph G is called its rank, denoted by rank(G). The number of chords of a graph G is called its nullity, denoted by nullity(G).
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
56 / 107
Graph Theory - Fundamentals
Every graph with n vertices and edges has n−1 branches and − n + 1 chords. The number of branches in a spanning tree T of a graph G is called its rank, denoted by rank(G). The number of chords of a graph G is called its nullity, denoted by nullity(G). Therefore, we have rank(G) + nullity(G) = |E(G)|, the size ofG .
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
56 / 107
Graph Theory - Fundamentals
A rooted tree is a tree T in which one vertex is distinguished from all other vertices. This particular vertex is called the root of T . v5 v4 v5 v3 v4 v2 v2 v3 v1
v1 v4
v5
v2
v3 v1
December 1, 2017
v2
v3
v4
vN.K. 5 Sudev
Fundamentals of Graph Theory
57 / 107
Graph Theory - Fundamentals
A binary tree is a rooted tree in which there is only one vertex of degree 2 and all other vertices have degree 3 or 1. The vertex having degree 2 serves as the root of a binary tree.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
58 / 107
Graph Theory - Fundamentals
A binary tree is a rooted tree in which there is only one vertex of degree 2 and all other vertices have degree 3 or 1. The vertex having degree 2 serves as the root of a binary tree. The number of vertices in a binary tree is odd.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
58 / 107
Graph Theory - Fundamentals
A binary tree is a rooted tree in which there is only one vertex of degree 2 and all other vertices have degree 3 or 1. The vertex having degree 2 serves as the root of a binary tree. The number of vertices in a binary tree is odd. A binary tree on n vertices has
December 1, 2017
N.K. Sudev
n+1 2
pendant vertices.
Fundamentals of Graph Theory
58 / 107
Graph Theory - Fundamentals
A binary tree is a rooted tree in which there is only one vertex of degree 2 and all other vertices have degree 3 or 1. The vertex having degree 2 serves as the root of a binary tree. The number of vertices in a binary tree is odd. A binary tree on n vertices has
n+1 2
pendant vertices.
A vertex v of a binary tree is said to be at level ` if its distance from the root is `.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
58 / 107
Graph Theory - Fundamentals
A binary tree is a rooted tree in which there is only one vertex of degree 2 and all other vertices have degree 3 or 1. The vertex having degree 2 serves as the root of a binary tree. The number of vertices in a binary tree is odd. A binary tree on n vertices has
n+1 2
pendant vertices.
A vertex v of a binary tree is said to be at level ` if its distance from the root is `. An `-level binary tree is said to be a complete binary tree if it has 2k vertices at the k-th level for all 1 ≤ k ≤ `.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
58 / 107
Graph Theory - Fundamentals
level 4 level 3 level 2 level 1 level 0 Figure: A 9-vertex binary tree with level 4.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
59 / 107
Graph Theory - Fundamentals
A connected graph G is a tree if and only if adding an edge between any two vertices in G creates exactly one cycle (circuit).
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
60 / 107
Graph Theory - Fundamentals
A connected graph G is a tree if and only if adding an edge between any two vertices in G creates exactly one cycle (circuit). Let G be a connected graph and T be a spanning tree of G. Then, adding a chord to T creates a unique cycle and in G. Such a chord is called a fundamental circuit or fundamental cycle in G.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
60 / 107
Graph Theory - Fundamentals
A connected graph G is a tree if and only if adding an edge between any two vertices in G creates exactly one cycle (circuit). Let G be a connected graph and T be a spanning tree of G. Then, adding a chord to T creates a unique cycle and in G. Such a chord is called a fundamental circuit or fundamental cycle in G. Any connected graph G with n vertices and edges components has − n + 1 fundamental cycles.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
60 / 107
Graph Theory - Fundamentals
A connected graph G is a tree if and only if adding an edge between any two vertices in G creates exactly one cycle (circuit). Let G be a connected graph and T be a spanning tree of G. Then, adding a chord to T creates a unique cycle and in G. Such a chord is called a fundamental circuit or fundamental cycle in G. Any connected graph G with n vertices and edges components has − n + 1 fundamental cycles. Any graph G with n vertices, edges and k components has − n + k fundamental cycles.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
60 / 107
Graph Theory - Fundamentals
Cut-sets Recall that an edge e of a graph G is a cut-edge of G if G − e is disconnected.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
61 / 107
Graph Theory - Fundamentals
Cut-sets Recall that an edge e of a graph G is a cut-edge of G if G − e is disconnected. A subset F of the edge set E of a graph G is said to be an edge-cut of G if G − E is disconnected.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
61 / 107
Graph Theory - Fundamentals
Cut-sets Recall that an edge e of a graph G is a cut-edge of G if G − e is disconnected. A subset F of the edge set E of a graph G is said to be an edge-cut of G if G − E is disconnected. A cut-set is a minimal edge-cut of G. That is, a cut-set of a graph G is a set of edges F of G whose removal makes the graph disconnected, provided the removal of no proper subset of F makes G disconnected.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
61 / 107
Graph Theory - Fundamentals
Cut-sets Recall that an edge e of a graph G is a cut-edge of G if G − e is disconnected. A subset F of the edge set E of a graph G is said to be an edge-cut of G if G − E is disconnected. A cut-set is a minimal edge-cut of G. That is, a cut-set of a graph G is a set of edges F of G whose removal makes the graph disconnected, provided the removal of no proper subset of F makes G disconnected. A cut-set also called a minimal cut-set, a proper cut-set, a simple cut-set, or a cocycle. Note that the edge-cut F in the above example is a cut set-set of G. December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
61 / 107
Graph Theory - Fundamentals
I
Every cut-set in a graph G must contain at least one branch of every spanning tree of G.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
62 / 107
Graph Theory - Fundamentals
I
I
Every cut-set in a graph G must contain at least one branch of every spanning tree of G. Every cycle (circuit) in G has even number of edges in common with any cut-set of G.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
62 / 107
Graph Theory - Fundamentals
I
I
I
Every cut-set in a graph G must contain at least one branch of every spanning tree of G. Every cycle (circuit) in G has even number of edges in common with any cut-set of G. A connected graph G (or a connected component of a graph) is said to be a separable graph if it has a cut vertex.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
62 / 107
Graph Theory - Fundamentals
I
I
I
I
Every cut-set in a graph G must contain at least one branch of every spanning tree of G. Every cycle (circuit) in G has even number of edges in common with any cut-set of G. A connected graph G (or a connected component of a graph) is said to be a separable graph if it has a cut vertex. A connected graph or a connected component of a graph, which is not separable, is called non-separable graph.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
62 / 107
Graph Theory - Fundamentals
I
I
I
I
I
Every cut-set in a graph G must contain at least one branch of every spanning tree of G. Every cycle (circuit) in G has even number of edges in common with any cut-set of G. A connected graph G (or a connected component of a graph) is said to be a separable graph if it has a cut vertex. A connected graph or a connected component of a graph, which is not separable, is called non-separable graph. A non-separable subgraph of a separable graph G is called a block of G.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
62 / 107
Graph Theory - Fundamentals
v2
v1
v2
v5
v3
v7 v1
v6 (a) A separable graph
v5
v4
v3
v7
v6
(b) A non-separable graph
Figure: Illustration to separable and non-separable graphs
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
63 / 107
Graph Theory - Fundamentals
v5
v2 v2 v1 (a) Block 1
December 1, 2017
v3 v3 (b) Block 2
N.K. Sudev
v7 v6 (c) Block 3
Fundamentals of Graph Theory
64 / 107
Graph Theory - Fundamentals
Suppose there are three cottages (or houses)- H1 , H2 and H3 - on a plane and each needs to be connected to three utilities, say gas (G), water (W) and electricity E. Without using a third dimension or sending any of the connections through another house or cottage, is there a way to make all nine connections without any of the lines crossing each other?
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
65 / 107
Graph Theory - Fundamentals
Suppose there are three cottages (or houses)- H1 , H2 and H3 - on a plane and each needs to be connected to three utilities, say gas (G), water (W) and electricity E. Without using a third dimension or sending any of the connections through another house or cottage, is there a way to make all nine connections without any of the lines crossing each other? The problem can be modelled graphically as follows:
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
65 / 107
Graph Theory - Fundamentals
December 1, 2017
H1
H2
H3
G
E
W
N.K. Sudev
Fundamentals of Graph Theory
66 / 107
Graph Theory - Fundamentals
The above graph is often referred to as the utility graph in reference to the problem.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
67 / 107
Graph Theory - Fundamentals
The above graph is often referred to as the utility graph in reference to the problem. In more formal graph-theoretic terms, the problem asks whether the complete bipartite graph K3,3 can be redrawn in such a way that no two edges of K3,3 crosses each other.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
67 / 107
Graph Theory - Fundamentals
The above graph is often referred to as the utility graph in reference to the problem. In more formal graph-theoretic terms, the problem asks whether the complete bipartite graph K3,3 can be redrawn in such a way that no two edges of K3,3 crosses each other. The three utilities problem was the motivation for the introduction of the concepts of planarity of graphs.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
67 / 107
Graph Theory - Fundamentals
A face of a graph G is the region formed by a cycle or parallel edges or loops in G. A face of a graph G is also called a window, a region or a mesh.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
68 / 107
Graph Theory - Fundamentals
A face of a graph G is the region formed by a cycle or parallel edges or loops in G. A face of a graph G is also called a window, a region or a mesh. A Jordan curve is a non-self-intersecting continuous closed curve in the plane. Cycles in a graph can be considered to be Jordan Curves.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
68 / 107
Graph Theory - Fundamentals
A face of a graph G is the region formed by a cycle or parallel edges or loops in G. A face of a graph G is also called a window, a region or a mesh. A Jordan curve is a non-self-intersecting continuous closed curve in the plane. Cycles in a graph can be considered to be Jordan Curves. Every Jordan curve J divides the plane into an interior region, denoted by IntJ , bounded by the curve and an exterior region, denoted by ExtJ containing all of the nearby and far away exterior points.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
68 / 107
Graph Theory - Fundamentals
A graph G is called a planar graph if it can be re-drawn on a plane without any crossovers (That is, in such a way that two edges intersect only at their end points). Such a representation is sometimes called a topological planar graph.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
69 / 107
Graph Theory - Fundamentals
A graph G is called a planar graph if it can be re-drawn on a plane without any crossovers (That is, in such a way that two edges intersect only at their end points). Such a representation is sometimes called a topological planar graph. Such a drawing of G, if exists, is called a plane graph or planar embedding of G.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
69 / 107
Graph Theory - Fundamentals
A graph G is called a planar graph if it can be re-drawn on a plane without any crossovers (That is, in such a way that two edges intersect only at their end points). Such a representation is sometimes called a topological planar graph. Such a drawing of G, if exists, is called a plane graph or planar embedding of G. The portion of the plane lying outside a graph embedded in a plane is infinite in its extent such a region is called an infinite region, outer region, exterior region or unbounded region.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
69 / 107
Graph Theory - Fundamentals
An embedding of a graph G on a surface S is a geometric representation of G drawn on the surface such that the curves representing any two edges of G do not intersect except at a point representing a vertex of G.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
70 / 107
Graph Theory - Fundamentals
An embedding of a graph G on a surface S is a geometric representation of G drawn on the surface such that the curves representing any two edges of G do not intersect except at a point representing a vertex of G. In order that a graph G is planar, we have to show that there exists a graph isomorphic to G that is embedded in a plane.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
70 / 107
Graph Theory - Fundamentals
An embedding of a graph G on a surface S is a geometric representation of G drawn on the surface such that the curves representing any two edges of G do not intersect except at a point representing a vertex of G. In order that a graph G is planar, we have to show that there exists a graph isomorphic to G that is embedded in a plane. Equivalently, a geometric graph G is nonplanar if none of the possible geometric representations of G can be embedded in a plane.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
70 / 107
Graph Theory - Fundamentals
The graphs depicted in Figure 16 are some examples of planar graphs (or plane graphs).
(a)
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
71 / 107
Graph Theory - Fundamentals
The graphs depicted in Figure 16 are some examples of planar graphs (or plane graphs).
(b)
(a)
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
71 / 107
Graph Theory - Fundamentals
The graphs depicted in Figure 16 are some examples of planar graphs (or plane graphs).
(b)
(a)
(c)
Figure: Illustration to planar (plane) graphs
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
71 / 107
Graph Theory - Fundamentals
A graph can be embedded on the surface of a sphere if and only if it can be embedded in a plane.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
72 / 107
Graph Theory - Fundamentals
A graph can be embedded on the surface of a sphere if and only if it can be embedded in a plane. N
S ˆ P
December 1, 2017
Sudev Fundamentals of Graph Figure: SphericalN.K. embedding of a point inTheory a plane.
72 / 107
Graph Theory - Fundamentals
Jordan Curve Theorem: The Jordan curve theorem asserts that any path connecting a point of interior region of a Jordan curve J to a point exterior region of J intersects with the curve J somewhere.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
73 / 107
Graph Theory - Fundamentals
Jordan Curve Theorem: The Jordan curve theorem asserts that any path connecting a point of interior region of a Jordan curve J to a point exterior region of J intersects with the curve J somewhere. The complete graph K5 and the complete bipartite graph K3,3 are called Kuratowski’s graphs, after the Polish mathematician Kasimir Kuratowski, who found that these two graphs are nonplanar. The complete graph K5 and the complete bipartite graph K3,3 are nonplanar.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
73 / 107
Graph Theory - Fundamentals
v5 v4 v1 v3 v2
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
74 / 107
Graph Theory - Fundamentals
v5 v4 v1 v3 v2
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
75 / 107
Graph Theory - Fundamentals
v5 v4 v1 v3 v2
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
76 / 107
Graph Theory - Fundamentals
v5 v4 v1 v3 v2
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
77 / 107
Graph Theory - Fundamentals
The complete bipartite graph K3,3 is nonplanar.
Figure
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
78 / 107
Graph Theory - Fundamentals
We observe that the two graphs K5 and K3,3 have the following common properties: (i) Both K5 and K3,3 are regular.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
79 / 107
Graph Theory - Fundamentals
We observe that the two graphs K5 and K3,3 have the following common properties: (i) Both K5 and K3,3 are regular. (ii) K5 and K3,3 are nonplanar.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
79 / 107
Graph Theory - Fundamentals
We observe that the two graphs K5 and K3,3 have the following common properties: (i) Both K5 and K3,3 are regular. (ii) K5 and K3,3 are nonplanar. (ii) Removal of one edge or a vertex makes each of K5 and K3,3 a planar graph.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
79 / 107
Graph Theory - Fundamentals
We observe that the two graphs K5 and K3,3 have the following common properties: (i) Both K5 and K3,3 are regular. (ii) K5 and K3,3 are nonplanar. (ii) Removal of one edge or a vertex makes each of K5 and K3,3 a planar graph. (iv) K5 is a nonplanar graph with the smallest number of vertices, and K3,3 is the nonplanar graph with smallest number of edges.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
79 / 107
Graph Theory - Fundamentals
I
Euler Theorem on Plane Graphs: If G is a connected plane graph, then |V (G)|+|F (G)|−|E(G)| = 2, where V, E, F are respectively the vertex set, edge set and set of faces of G.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
80 / 107
Graph Theory - Fundamentals
I
Euler Theorem on Plane Graphs: If G is a connected plane graph, then |V (G)|+|F (G)|−|E(G)| = 2, where V, E, F are respectively the vertex set, edge set and set of faces of G. If G is a planar graph without parallel edges on n vertices and edges, where ≥ 3, then ≤ 3n − 6.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
80 / 107
Graph Theory - Fundamentals
I
Euler Theorem on Plane Graphs: If G is a connected plane graph, then |V (G)|+|F (G)|−|E(G)| = 2, where V, E, F are respectively the vertex set, edge set and set of faces of G. If G is a planar graph without parallel edges on n vertices and edges, where ≥ 3, then ≤ 3n − 6.
I
If G is bipartite, then ≤ 2n − 4.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
80 / 107
Graph Theory - Fundamentals
Let G be a separable graph with blocks G1 , G2 , G3 , . . . , Gk . Then, we need to check the planarity of each block separately.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
81 / 107
Graph Theory - Fundamentals
Let G be a separable graph with blocks G1 , G2 , G3 , . . . , Gk . Then, we need to check the planarity of each block separately. S1: Note that addition or removal of self-loops do not affect planarity. So, if G has self-loops, remove all of them.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
81 / 107
Graph Theory - Fundamentals
Let G be a separable graph with blocks G1 , G2 , G3 , . . . , Gk . Then, we need to check the planarity of each block separately. S1: Note that addition or removal of self-loops do not affect planarity. So, if G has self-loops, remove all of them. S2: Similarly, parallel edges do not affect planarity. So, if G has parallel edges, remove all of them, keeping one edge between every pair of vertices.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
81 / 107
Graph Theory - Fundamentals
Let G be a separable graph with blocks G1 , G2 , G3 , . . . , Gk . Then, we need to check the planarity of each block separately. S1: Note that addition or removal of self-loops do not affect planarity. So, if G has self-loops, remove all of them. S2: Similarly, parallel edges do not affect planarity. So, if G has parallel edges, remove all of them, keeping one edge between every pair of vertices. S3: We observe that removal of vertices having degree 2 by merging the two edges incident on it, perform this action as far as possible.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
81 / 107
Graph Theory - Fundamentals
Repeated performance of these steps will reduce the order and size of the graph without affecting its planarity (see Figure below). After repeated application of elementary reduction, the given graph will be reduced to any one of the following cases,
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
82 / 107
Graph Theory - Fundamentals
Repeated performance of these steps will reduce the order and size of the graph without affecting its planarity (see Figure below). After repeated application of elementary reduction, the given graph will be reduced to any one of the following cases, (i) A single edge K2 ; or
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
82 / 107
Graph Theory - Fundamentals
Repeated performance of these steps will reduce the order and size of the graph without affecting its planarity (see Figure below). After repeated application of elementary reduction, the given graph will be reduced to any one of the following cases, (i) A single edge K2 ; or (ii) A complete graph K4 ; or
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
82 / 107
Graph Theory - Fundamentals
Repeated performance of these steps will reduce the order and size of the graph without affecting its planarity (see Figure below). After repeated application of elementary reduction, the given graph will be reduced to any one of the following cases, (i) A single edge K2 ; or (ii) A complete graph K4 ; or (iii) A non-separable simple graph with n ≥ 5, ≥ 7.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
82 / 107
Graph Theory - Fundamentals
Repeated performance of these steps will reduce the order and size of the graph without affecting its planarity (see Figure below). After repeated application of elementary reduction, the given graph will be reduced to any one of the following cases, (i) A single edge K2 ; or (ii) A complete graph K4 ; or (iii) A non-separable simple graph with n ≥ 5, ≥ 7. If H is a graph obtained from a graph G by a series of elementary reductions, then G and H are said to be homeomorphic graphs. In this case, H is also called a topological minor of G.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
82 / 107
Graph Theory - Fundamentals
v4
v3
v1
v2 (a) G
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
83 / 107
Graph Theory - Fundamentals
v4
v3
v1
v2 (a)
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
84 / 107
Graph Theory - Fundamentals
v4
v3
v1
v2 (a)
December 1, 2017
v3
v1
v2 (b)
N.K. Sudev
Fundamentals of Graph Theory
85 / 107
Graph Theory - Fundamentals
v3
v1
v2 (a)
v3
v1
v3
v1 (b)
(c)
Figure: Step by step illustration of elemntary reduction of a graph.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
86 / 107
Graph Theory - Fundamentals
Kuratowski’s Theorem: A graph G planar if and only if it has no subdivisions of K5 and K3,3 .
(a)
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
87 / 107
Graph Theory - Fundamentals
Kuratowski’s Theorem: A graph G planar if and only if it has no subdivisions of K5 and K3,3 .
(a)
December 1, 2017
(b)
N.K. Sudev
Fundamentals of Graph Theory
87 / 107
Graph Theory - Fundamentals
Kuratowski’s Theorem: A graph G planar if and only if it has no subdivisions of K5 and K3,3 .
(a)
December 1, 2017
(b)
N.K. Sudev
(c)
Fundamentals of Graph Theory
87 / 107
Graph Theory - Fundamentals
A graph colouring is an assignment of labels (Colours) to the elements (vertices, edges or faces) of a graph subject to certain constraints.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
88 / 107
Graph Theory - Fundamentals
A graph colouring is an assignment of labels (Colours) to the elements (vertices, edges or faces) of a graph subject to certain constraints. A vertex colouring is a way of Colouring the vertices of a graph such that no two adjacent vertices share the same Colour. That is, a vertex colouring can be considered as a function c : V (G) → C, where C = {c1 , c2 , . . . , cr } is a set of colours.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
88 / 107
Graph Theory - Fundamentals
A graph colouring is an assignment of labels (Colours) to the elements (vertices, edges or faces) of a graph subject to certain constraints. A vertex colouring is a way of Colouring the vertices of a graph such that no two adjacent vertices share the same Colour. That is, a vertex colouring can be considered as a function c : V (G) → C, where C = {c1 , c2 , . . . , cr } is a set of colours. Similarly, an edge colouring assigns a Colour to each edge so that no two adjacent edges share the same Colour, and a face colouring or map colouring of a planar graph assigns a Colour to each face or region so that no two faces that share a boundary have the same colour. December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
88 / 107
Graph Theory - Fundamentals
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
89 / 107
Graph Theory - Fundamentals
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
90 / 107
Graph Theory - Fundamentals
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
91 / 107
Graph Theory - Fundamentals
Graph Colouring
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
92 / 107
Graph Theory - Fundamentals
A labeling scheme for vertex colouring of graphs is illustrated as follows: c1 c2 c3
c2 c2
c1 c3
c1
December 1, 2017
c1 c3
N.K. Sudev
Fundamentals of Graph Theory
93 / 107
Graph Theory - Fundamentals
By colouring, we mean vertex Colouring unless specified otherwise. If the graph G has a loop at the vertex v then v is adjacent to itself and hence no colouring of G is possible. To avoid this uninteresting case we will assume that in any vertex colouring context graphs have no loops.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
94 / 107
Graph Theory - Fundamentals
By colouring, we mean vertex Colouring unless specified otherwise. If the graph G has a loop at the vertex v then v is adjacent to itself and hence no colouring of G is possible. To avoid this uninteresting case we will assume that in any vertex colouring context graphs have no loops. A colouring using at most k Colours is called a (proper) k-colouring. The smallest number of Colours needed to Colour a graph G is called its chromatic number, and is often denoted χ(G) (read it as chi(G)).
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
94 / 107
Graph Theory - Fundamentals
By colouring, we mean vertex Colouring unless specified otherwise. If the graph G has a loop at the vertex v then v is adjacent to itself and hence no colouring of G is possible. To avoid this uninteresting case we will assume that in any vertex colouring context graphs have no loops. A colouring using at most k Colours is called a (proper) k-colouring. The smallest number of Colours needed to Colour a graph G is called its chromatic number, and is often denoted χ(G) (read it as chi(G)). A graph that can be assigned a (proper) k-colouring is said to be a k-colourable graph. A graph is said to be k-chromatic if its chromatic number is exactly k.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
94 / 107
Graph Theory - Fundamentals
An independent set is a set of elements of G in which no two elements are adjacent.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
95 / 107
Graph Theory - Fundamentals
An independent set is a set of elements of G in which no two elements are adjacent. A subset of vertices of V (G) having the same Colour is called a Colour class. Every such class forms an independent set. Thus, a k-Colouring is the same as a partition of the vertex set into k independent sets.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
95 / 107
Graph Theory - Fundamentals
An independent set is a set of elements of G in which no two elements are adjacent. A subset of vertices of V (G) having the same Colour is called a Colour class. Every such class forms an independent set. Thus, a k-Colouring is the same as a partition of the vertex set into k independent sets. A graph G is called critical if for every proper subgraph H of G, χ(H) ≤ χ(G). Also, G is k-critical if it is kchromatic and critical.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
95 / 107
Graph Theory - Fundamentals
An independent set is a set of elements of G in which no two elements are adjacent. A subset of vertices of V (G) having the same Colour is called a Colour class. Every such class forms an independent set. Thus, a k-Colouring is the same as a partition of the vertex set into k independent sets. A graph G is called critical if for every proper subgraph H of G, χ(H) ≤ χ(G). Also, G is k-critical if it is kchromatic and critical. Assigning distinct Colours to distinct vertices always yields a proper Colouring and hence we have 1 ≤ χ(G) ≤ n.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
95 / 107
Graph Theory - Fundamentals
1. If the graph G has n vertices, χ(G) ≤ n.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
96 / 107
Graph Theory - Fundamentals
1. If the graph G has n vertices, χ(G) ≤ n. 2. If H is a subgraph of the graph G, then χ(H) ≤ χ(G).
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
96 / 107
Graph Theory - Fundamentals
1. If the graph G has n vertices, χ(G) ≤ n. 2. If H is a subgraph of the graph G, then χ(H) ≤ χ(G). 3. χ(Kn ) = n for all n > 1.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
96 / 107
Graph Theory - Fundamentals
1. If the graph G has n vertices, χ(G) ≤ n. 2. If H is a subgraph of the graph G, then χ(H) ≤ χ(G). 3. χ(Kn ) = n for all n > 1. 4. If the graph G contains Kn as a subgraph, then χ(G) ≥ n.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
96 / 107
Graph Theory - Fundamentals
1. If the graph G has n vertices, χ(G) ≤ n. 2. If H is a subgraph of the graph G, then χ(H) ≤ χ(G). 3. χ(Kn ) = n for all n > 1. 4. If the graph G contains Kn as a subgraph, then χ(G) ≥ n. 5. If the graph G has G1 , G2 , G3 , . . . , Gn as its connected components, then χ(G) = max{χ(Gi ) : 1 ≤ i ≤ n}.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
96 / 107
Graph Theory - Fundamentals
Figure
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
97 / 107
Graph Theory - Fundamentals
Let us now look at some simple examples.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
98 / 107
Graph Theory - Fundamentals
Let us now look at some simple examples. Firstly, if the graph G has no edges, then each vertex can be given the same colour, i.e., χ(G) = 1.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
98 / 107
Graph Theory - Fundamentals
Let us now look at some simple examples. Firstly, if the graph G has no edges, then each vertex can be given the same colour, i.e., χ(G) = 1. Now, let G = Cn , the cycle of length n, with vertex set {v1 , v2 , . . . , vn }. Assign colour 1 to v1 , then, v2 by colour 2, v3 by the colour 1 again and so on. We note that if n is odd, then vn needs a different colour 3. Thus, χ(Cn ) = 2 if n is even and χ(Cn ) = 3 if n is odd.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
98 / 107
Graph Theory - Fundamentals
Illustration
Figure December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
99 / 107
Graph Theory - Fundamentals
A non-empty graph G is 2-colourable (that is, χ(G) = 2) if and only if it is bipartite.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
100 / 107
Graph Theory - Fundamentals
A non-empty graph G is 2-colourable (that is, χ(G) = 2) if and only if it is bipartite. Let G be a graph. Then χ(G) ≥ 3 if and only if G has an odd cycle.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
100 / 107
Graph Theory - Fundamentals
An edge colouring of a non-empty graph G assigns colours, usually denoted by 1, 2, 3, . . . (or c1 , c2 , c3 , . . .) to the edges of G, one colour per edge, so that adjacent edges are assigned different colours. A k-edge colouring of G is a colouring of G which consists of k different colours and in this case, G is said to be k-edge colourable. The edge chromatic number of a graph G,denoted by χ1 (G), is minimum number k for which there exists an kedge colouring of G. If χ1 (G) = k, we say that G is k-edge chromatic.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
101 / 107
Graph Theory - Fundamentals
Figure: Example to edge colouring
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
102 / 107
Graph Theory - Fundamentals
Graph Colouring
Figure: Example to edge colouring (2)
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
103 / 107
Graph Theory - Fundamentals
A map is defined to be a connected plane graph with no bridges (cut edges). A map G is said to be k-face colourable if we can colour its faces with at most k colours in such a way that no two adjacent faces (two faces sharing a common boundary edge) have the same colour. The Four Colour Conjecture: Every map is 4-face colourable. A map G is 2-face colourable if and only if it is an Eulerian graph.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
104 / 107
Graph Theory - Fundamentals
A map is defined to be a connected plane graph with no bridges (cut edges). A map G is said to be k-face colourable if we can colour its faces with at most k colours in such a way that no two adjacent faces (two faces sharing a common boundary edge) have the same colour. The Four Colour Conjecture: Every map is 4-face colourable. A map G is 2-face colourable if and only if it is an Eulerian graph. Every map G has a face colouring of at most six colours.
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
104 / 107
Graph Theory - Fundamentals
Graph Colouring
Figure: Example to map colouring (1) December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
105 / 107
Graph Theory - Fundamentals
Graph Colouring
Figure: Example to map colouring (2)
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
106 / 107
Graph Theory - Fundamentals
December 1, 2017
N.K. Sudev
Fundamentals of Graph Theory
107 / 107