MCA 520: Graph Theory Instructor Neelima Gupta

Slides:



Advertisements
Similar presentations
Edge-connectivity and super edge-connectivity of P 2 -path graphs Camino Balbuena, Daniela Ferrero Discrete Mathematics 269 (2003) 13 – 20.
Advertisements

MCA 202: Discrete Mathematics under construction Instructor Neelima Gupta
13 May 2009Instructor: Tasneem Darwish1 University of Palestine Faculty of Applied Engineering and Urban Planning Software Engineering Department Introduction.
MCA 520: Graph Theory Instructor Neelima Gupta
1 Chapter 22: Elementary Graph Algorithms IV. 2 About this lecture Review of Strongly Connected Components (SCC) in a directed graph Finding all SCC (i.e.,
MCA 202: Discrete Structures Instructor Neelima Gupta
 Graph Graph  Types of Graphs Types of Graphs  Data Structures to Store Graphs Data Structures to Store Graphs  Graph Definitions Graph Definitions.
GOLOMB RULERS AND GRACEFUL GRAPHS
1 Section 8.2 Graph Terminology. 2 Terms related to undirected graphs Adjacent: 2 vertices u & v in an undirected graph G are adjacent (neighbors) in.
SE561 Math Foundations Week 11 Graphs I
2k-Cycle Free Bipartite Graph Steven Wu. What is a bipartite graph?
Graph Theory in CS Route Search in Online Map Services
Discrete Mathematics Lecture#11.
MCA 520: Graph Theory Instructor Neelima Gupta
Graphs.
K-Coloring k-coloring: A k-coloring of a graph G is a labeling f: V(G)  S, where |S|=k. The labels are colors; the vertices of one color form a color.
Problem: Induced Planar Graphs Tim Hayes Mentor: Dr. Fiorini.
K-Coloring k-coloring: A k-coloring of a graph G is a labeling f: V(G)  S, where |S|=k. The labels are colors; the vertices of one color form a color.
Problem: Induced Planar Graphs Tim Hayes Mentor: Dr. Fiorini.
9.2 Graph Terminology and Special Types Graphs
Introduction to Network Theory: Basic Concepts
Graph Theory Chapter 6 Planar Graphs Ch. 6. Planar Graphs.
GRAPHS CSE, POSTECH. Chapter 16 covers the following topics Graph terminology: vertex, edge, adjacent, incident, degree, cycle, path, connected component,
Graphs Simple graph G=(V,E) V = V(G) ={1,2,3,4} – vertices E = E(G) = {a,b,c,d,e} – edges Edge a has end- vertices 1 and 2. Vertices 1 and 2 are adjacent:
CSE, IIT KGP Graph Theory: Introduction Pallab Dasgupta Dept. of CSE, IIT
Chapter 1 Fundamental Concepts II Pao-Lien Lai 1.
aka “Undirected Graphs”
9.2: Graph Terminology. Special Simple Graphs Complete GraphsK 1,… CyclesC 3,… WheelsW 3,… N-cubesQ 1,… Complete bipartiteK 2,2,…
Copyright © Zeph Grunschlag, More on Graphs.
Chapter 6 Graph Theory R. Johnsonbaugh Discrete Mathematics 5 th edition, 2001.
1 CS104 : Discrete Structures Chapter V Graph Theory.
Based on slides by Y. Peng University of Maryland
Indian Institute of Technology Kharagpur PALLAB DASGUPTA Graph Theory: Introduction Pallab Dasgupta, Professor, Dept. of Computer Sc. and Engineering,
Week 11 - Monday.  What did we talk about last time?  Binomial theorem and Pascal's triangle  Conditional probability  Bayes’ theorem.
Graphs What are Graphs? General meaning in everyday math: A plot or chart of numerical data using a coordinate system. Technical meaning in discrete.
Maximum density of copies of a graph in the n-cube John Goldwasser Ryan Hansen West Virginia University.
Basic Notions on Graphs. The House-and-Utilities Problem.
Chapter 1 Fundamental Concepts Introduction to Graph Theory Douglas B. West July 11, 2002.
CHAPTER 3 FUZZY RELATION and COMPOSITION. 3.1 Crisp relation Product set Definition (Product set) Let A and B be two non-empty sets, the product.
1 12/2/2015 MATH 224 – Discrete Mathematics Formally a graph is just a collection of unordered or ordered pairs, where for example, if {a,b} G if a, b.
7. Basic Operations on Graphs
September1999 CMSC 203 / 0201 Fall 2002 Week #13 – 18/20/22 November 2002 Prof. Marie desJardins.
Mathematical Preliminaries
Week 1 – Introduction to Graph Theory I Dr. Anthony Bonato Ryerson University AM8002 Fall 2014.
An Introduction to Graph Theory
Graph Theory and Applications
Introduction to Graphs. This Lecture In this part we will study some basic graph theory. Graph is a useful concept to model many problems in computer.
GRAPHS. Graph Graph terminology: vertex, edge, adjacent, incident, degree, cycle, path, connected component, spanning tree Types of graphs: undirected,
 Quotient graph  Definition 13: Suppose G(V,E) is a graph and R is a equivalence relation on the set V. We construct the quotient graph G R in the follow.
CSE, IIT KGP Graph Theory: Introduction Pallab Dasgupta Dept. of CSE, IIT
1 Finding a decomposition of a graph T into isomorphic copies of a graph G is a classical problem in Combinatorics. The G-decomposition of T is balanced.
Introduction to Graph Theory By: Arun Kumar (Asst. Professor) (Asst. Professor)
Approximation Algorithms by bounding the OPT Instructor Neelima Gupta
MCA 520: Graph Theory Instructor Neelima Gupta
Fundamental Graph Theory (Lecture 1) Lectured by Hung-Lin Fu 傅 恆 霖 Department of Applied Mathematics National Chiao Tung University.
Graphs. Representations of graphs : undirected graph An undirected graph G have five vertices and seven edges An adjacency-list representation of G The.
Applied Discrete Mathematics Week 13: Graphs
Special Graphs By: Sandeep Tuli Astt. Prof. CSE.
Graphs Hubert Chan (Chapter 9) [O1 Abstract Concepts]
Graph Theory CSRU1400, Fall 2007 Ellen Zhang.
Chapter 5 Fundamental Concept
Graph theory Definitions Trees, cycles, directed graphs.
Matrix Representation of Graph
Graphs.
Based on slides by Y. Peng University of Maryland
Planarity Testing.
Graph.
Planarity.
Introduction to Graph Theory
Applied Discrete Mathematics Week 13: Graphs
Presentation transcript:

MCA 520: Graph Theory Instructor Neelima Gupta

Table of Contents Graph Isomorphism

Thanks to Anika & Arpana Two graphs G=(V,E) and G’=(V,E) are isomorphic if there is a bijective function f: V(G)  V(G’) such that for all v, w  V: {v,w}  E(G) iff {f(v),f(w)}  E(G’)

X w Y Z C A B D AD CB CB DA is isomorphic to Thanks to Anika & Arpana

Showing Isomorphism using Matrices Thanks to Anika & Arpana Y W X Z D C A B Graph G Graph G’ Let there exist a bijective function f: G  G’ such that f(W) = A f(Y) = B f(Z) = C f(X) = D

Adjacency matrix of graph G Adjacency matrix of graph G’ W X Y Z A B C D W A X B Y C Z D Applying permutation to rows and columns of matrix of graph G such that given bijection holds good. W Y Z X W Y Z X Thanks to Anika & Arpana The resultant matrix corresponds to matrix of graph G’ and hence G and G’ are isomorphic to each other.

Let there exist a bijective function f: G  G’ such that f(W) = C f(Z) = A f(X) = B f(Y) = D Thanks to Anika & Arpana Applying permutation to rows and columns of matrix of graph G such that given bijection holds good. Z X W Y Z X W Y

Isomorphism An Equivalence Relation Let G = (V, E), G’ = (V’, E’) and G’’ = (V’’, E’’) all be graphs. Reflexive: For all graphs G, G = G Symmetric: If G = G’ then G’ = G Transitive: If G = G’ And G’ = G’’ then G = G’’ If f :G G’ i.e for all (u,v) € G (f(u),f(v)) € G’ g : G’ G’’ i.e for all (w,x) € G’ (g(w)g,(x)) € G’’ Then gof : G G’’ Therefore, Isomorphism is an equivalence Relation Thanks to Anika & Arpana ~ ~~ ~~~

 We can divide graphs into equivalence classes. All the graphs within an equivalence class are isomorphic to each other.  Eg All the graphs below are isomorphic to each other Thanks to Anika & Arpana

Isomorphism: as different drawings Members of Isomorphic Class are different drawings of the same graph in a plane where the vertices are fixed with their co-ordinates. So, the vertices are unlabeled in Isomorphic world.

The above graphs represent the drawing of same graph in a 2-D plane. Thanks to Anika & Arpana (2,3 ) (3,1) (5,2) (4,4) (2,3 ) (4,4) (5,2) (3,1) If labels are fixed the graph correspond to a drawing and if labels are removed then these drawings become isomorphic graphs.

Some Common Terms P n : Path with n vertices Eg All the graphs isomorphic to the below graph are P 4. C n : Cycle with n vertices Eg All the graphs isomorphic to below graph are C 4. Thanks to Anika & Arpana

K n : Complete graph with n vertices. Eg K 4 K n,m : Complete Bipartite graph with m vertices on one side and n vertices on other side. There cannot be cycles of odd length in a bipartite graph. eg K 2,3 Thanks to Anika & Arpana

Isomorphic Or Not Check if the following graphs are isomorphic or not. G1 G2 Thus, graphs G1 and G2 are isomorphic. u v w x y z G1 is a bipartite graph. Thanks to Arti, Asmita

G3 G3 is not a bipartite graph as it contains a cycle of odd length. Thus, it is not isomorphic to G1 and G2. — G4 Thus, G4 is isomorphic to G1 and G2. lm n r pq lr q m n p Thanks to Arti, Asmita

There are 2 n C 2 graphs possible for n vertices. For n=3, n C 2 = 3 edges possible => 2 3 = 8 graphs possible. G1 G2 G3 G4 G5 G6 G7 G8 Thus, there are 4 isomorphic classes, {G1, G2, G3}, {G4, G5, G6}, {G7} and {G8}. F or n=4 vertices, 64 graphs are possible with 11 equivalence classes. Thanks to Arti, Asmita

Graph Decomposition A Decomposition of a Graph G is a set of subgraphs H 1, H 2, H 3,……….., H k that partition the edges of G such that E(H 1 ) E(H 2 ) E(H 3 ) ……….. E(H k ) = E(G) and E(H 1 ) ∩ E(H 2 ) ∩ E(H 3 ) ∩ ………..∩ E( H k ) = Ø Thanks to Arti, Asmita

Examples K n can be decomposed in K n-1, K n-1, 1 Decomposition of K 4 contains three copies of P 3. K 7 can be decomposed into 7 copies of K 3 K 6 can be decomposed into 5 copies of P 4

K n can be decomposed into K n-1, K n-1,1 K n-1 Thanks: Gayatri Koli Roll No. 10 Gunjan Sawhney Roll no. 11 (MCA 2014)

K n = Uk n-1,1 Bi-clique is not necessarily a complete graph. K n can be constructed from k n-1. K n-1 Thanks: Gayatri Koli Roll No. 10 Gunjan Sawhney Roll no. 11 (MCA 2014)

K 7 can be decomposed into 7 copies of k 3 (wrong figure, pls correct it) Pick one edge from each type of edge then rotate. In the given graph there are 3 types of edges- 1. circumference (black) 2. radial (blue) 3. dotted (red) Thanks: Gayatri Koli Roll No. 10 Gunjan Sawhney Roll no. 11 (MCA 2014)

K 6 can be decomposed into 5 copies of P 4. Pick one edge from each type of edge then rotate. In the given graph there are 3 types of edges- 1. circumference (black) 2. radial (blue) 3. dotted (red) Thanks: Gayatri Koli Roll No. 10 Gunjan Sawhney Roll no. 11 (MCA 2014)

Graph Complement Complement of a Graph : Let G = (V, E) be a simple graph and let K consist of all 2-element subsets of V. Then H = (V, K \ E) is the complement of G. The Complement or Inverse of a graph G is a graph H on the same vertices such that two distinct vertices are adjacent in H if and only if they are not adjacent in G. Thanks to Arti, Asmita

Self-complementary Graph Self-Complementary Graph : A graph which is isomorphic to its complement. An n-vertex Graph H is Self-Complementary if and only if K n has a decomposition consisting of two copies of H. Note:- Two copies mean two graphs isomorphic to each other. Thanks to Arti, Asmita

Example :C 5 is self complementary = + G GBGB GAGA Graph G is decomposed into G A and G B where G A is complement of G B and also, G A is isomorphic to G B. Thanks to Arti, Asmita

Example :C 5 is self complementary. K 5 = C 5 U C 5 c Thanks: Gayatri Koli Roll No. 10 Gunjan Sawhney Roll no. 11 (MCA 2014)

Formal Proof Given : G = G A G B such that E(G A ) ∩ E(G B ) = Ø and G A is isomorphic to G B. To Prove : G A and G B are Self-Complementary Graphs. Proof : Given G = G A G B …………….(1) & E(G A ) ∩ E(G B ) = Ø …………….(2) Therefore, by (1) and (2) G A is complement of G B and vice versa i.e G A = G B c and G B = G a c …………….(3) Also given that, G A is isomorphic to G B …………….(4) By (3) and (4) Hence, proved that G A and G B are SELF-COMPLEMENTARY. Thanks to Arti, Asmita

Some Special Graphs And Their Complements Triangle Claw Triangle’s complement Claw’s complement Thanks: Gayatri Koli Roll No. 10 Gunjan Sawhney Roll no. 11 (MCA 2014)

Paw Kite Paw’s complement Kite’s complement Thanks: Gayatri Koli Roll No. 10 Gunjan Sawhney Roll no. 11 (MCA 2014)

House Bull House’s complement Bull’s complement Thanks: Gayatri Koli Roll No. 10 Gunjan Sawhney Roll no. 11 (MCA 2014)

Bow Arrow Bow’s complement Arrow’s complement Thanks: Gayatri Koli Roll No. 10 Gunjan Sawhney Roll no. 11 (MCA 2014)

Petersen Graph Definition: A Simple graph whose vertices are the 2-element subsets of a 5-element set and there is an edge between {a,b} and{c,d} iff they are disjoint.

Girth A girth of a graph with a cycle is the length of its shortest cycle. A girth of a graph without a cycle is infinity.

Girth of Petersen Graph Girth of Petersen Graph is 5.

Automorphism Defn A graph G is vertex transitive if for every pair of vertices u, v in G, there is an automorphism that maps u to v. K m,n has m! n! automorphisms. K n,n has 2 (n!) 2 automorphisms.