Graph Theory and Applications
Graph Theory and Applications
Basic concepts
Representation of Graphs
Isomorphism and Sub graphs
Multi graphs and Euler Circuits
Hamiltonian graphs
Planar graphs
Chromatic number
Spanning trees
Basic concepts and notations.
A Graph G is a pair of sets (V, E)
where V = A set of vertices (nodes) and
E = A set of edges (lines)
V(G) = Set of vertices in G.
E(G) = Set of edges in G.
V(G) = Number of vertices in graph G = Order of G.
E(G) = Number of edges in graph G = Size of G .
a* *b
c* *d
Types of graphs
Non Directed Graph (Undirected graph): The elements of E are
unordered pairs (sets) of vertices. In this case an edge {u, v} is said to
join u and v or to be between u and v.
Directed Graph: In a digraph the elements of E are ordered pairs of
vertices. In this case an edge (u, v) is said to be from u to v.
Loop: An edge drawn from a vertex to itself.
Multi Graph: If one allows more than one edge to join a pair of
vertices, the result is then called a multi graph.
Simple Graph: A graph with no loops and no parallel edges.
Degree: Degree of a vertex in an undirected graph is the number of
edges incident with it, except that a loop at a vertex contributes twice
to the degree of that vertex. The degree of the vertex ‘v’ is denoted by
deg(v).
Definitions
Proof: When the degrees are summed, each edge contributes a count
of one to the degree of each of the two vertices on which the edge is
incident.
Hence, the theorem follows.
Corrollories
n n
deg+(vi) = deg –(vi) = E
i=1 i=1
3.(4) + (n – 3 ). 2 = 2.(21)
n = 18.
Ex.What is the number of vertices in an undirected connected graph with
27 edges, 6 vertices of degree 2, 3 vertices of degree 4 and remaining
vertices of degree 3?
deg (vi) = 2. E
Ex. Let G be a simple graph with n vertices. Then show that the
number of edges in G is less than or equal to {n.(n – 1)} / 2.
Ex. A planar graph contains 25 vertices and 60 edges then find the
number of regions in the graph .
Ex. What is the maximum number of edges possible in a planar graph
with eight vertices ?.
Ex. What is the minimum number of vertices necessary for a graph
with 11 edges to be a simple planar graph?.
Ex. Suppose that a connected planar graph has 20 vertices, each of
degree 3. In to how many regions does a representation of this planar
graph split the plane ?
Examples
Ex. Let G is a connected planar graph with 35 regions and degree of
each region is 6. Find the number of vertices in G ?.
Ex. Suppose G is a polyhedral graph with 12 vertices and 30 edges
prove that degree of each region is 3.
Ex. Show that there does not exist a polyhedral graph with exactly
seven edges.
Ex. Show that there does not exist a polyhedral graph with exactly 30
edges and 11 regions.
Theorem: Prove that a complete graph Kn is planar iff n 4.
Theorem: Prove that a complete Bipartite graph Km, n is planar
iff m 2 or n 2.
Chromatic number
Vertex coloring: A coloring of a simple graph is the assignment of
color to each vertex of the graph so that no two adjacent vertices are
assigned the same color.
Chromatic Number: The minimum number of colors needed to
paint a graph G is called the chromatic number of G , denoted by
(G)
Adjacent Regions: In a planar graph two regions are adjacent if they
share a common vertex.
Map coloring: An assignment of colors to the regions of a map such
that adjacent regions have different colors.
A map ‘M’ is n – colorable if there exists a coloring of M which uses
n colors.
A planar graph is 5 – colorable
Four color Theorem
Four color Theorem: If the regions of a planar graph are colored so
that adjacent regions have different colors, then no more than 4 colors
are required.
i.e., (G) 4.
Ex. Prove that the chromatic number of a complete graph Kn is n.
Ex. Prove that the chromatic number of a complete Bipartite graph
Km, n is 2.
Ex. Prove that the chromatic number of cyclic graph Cn is 2 if n is
even and 3 if n is odd.
Ex. If every cycle of G has even length then show that its chromatic
number is 2.
Ex. Prove that the chromatic number of a tree on n vertices is 2.
A covering g of a graph is minimal if g contains no paths of length
three or more.
If a covering g contains no path of length three or more, all its
components must be star graphs. (From a star graph no edge can be
removed)
13. The number of edges in the minimal covering of an n - vertex
graph is
a) n/2 b) (n – 1) c) 2n d) n
Vertex Covering : A covering of a graph G = (V, X) is a subset K of
V such that every line of G is incident with a vertex in K. A covering
K is called a minimum covering if G has no covering K1 with |K1| <
|K|
* The number of vertices in a minimum covering of G is called the
covering number of G, denoted by .
* A sub set S of V is called an independent set of G if no
two vertices of S are adjacent in G. An independent set
‘S’ is minimum if G has no independent set S1such that
|S1| |S|.