SlideShare a Scribd company logo
1 of 47
Reaccredited by
NAAC with A+
Presidency
Group
Presidency
College
(Autonomous)
PRESIDENCY
COLLEGE
(Autonomous)
Topic: Types of graph, construction of graphs ,
theorems ...
Date of presentation: 16/09/22
TEACHER : MS. SAVITHA GOWDA MAM
Reaccredited by
NAAC with A+
Presidency
Group
Presidency College
(Autonomous)
 A graph consists of a nonempty set of vertices or
nodes and is a set of edges.
 Each edge has either one or two vertices associated
with it called its endpoints. An edge is said to connect
its endpoints.
INTRODUCTION TO GRAPHS
Reaccredited by
NAAC with A+
Presidency
Group
Presidency College
(Autonomous)
GRAPH
Reaccredited by
NAAC with A+
Presidency
Group
Presidency College
(Autonomous)
BY
RISHI RAJ
DIRECTED GRAPH AND
UNDIRECTED GRAPHS AND ITS
CONSTRUCTION
Reaccredited by
NAAC with A+
Presidency
Group
Presidency College
(Autonomous)
A directed graph, also called a digraph, is a graph in
which the edges have a direction. This is usually
indicated with an arrow on the edge
DIRECTED GRAPHS
Reaccredited by
NAAC with A+
Presidency
Group
Presidency College
(Autonomous)
• A directed graph (or digraph) is a set of vertices
connected by edges, where the edges have a
direction associated with them.
• In a directed graph a given set of vertices can have
multiple edges connected to them
• The construction of directed graph consists of
edges having direction represented by an arrow
mark pointing towards the respected vertex
Construction Of Directed Graph
Reaccredited by
NAAC with A+
Presidency
Group
Presidency College
(Autonomous)
DIRECTED GRAPH ANOTHER EXAMPLE
Reaccredited by
NAAC with A+
Presidency
Group
Presidency College
(Autonomous)
An undirected graph is a graph, i.e., a set of objects
(called vertices or nodes) that are connected, where
all the edges are bidirectional.
UNDIRECTED GRAPH
Reaccredited by
NAAC with A+
Presidency
Group
Presidency College
(Autonomous)
UNDIRECTED GRAPH ANOTHER EXAMPLE
Reaccredited by
NAAC with A+
Presidency
Group
Presidency College
(Autonomous)
In the above figure we find that :
1. In the above graph there is no directed edges
2. As the definition of undirected graph states that
undirected graph is graph whose edges are not
directed , we can conclude that the above figure is
an undirected graph.
3. The construction of the undirected graph consists
of five vertices connected with edges which are
not directed
Construction Of Undirected Graph
Reaccredited by
NAAC with A+
Presidency
Group
Presidency College
(Autonomous)
BY
ROHESH KANCHAN
MULTIGRAPH AND
PSEUDOGRAPHS AND ITS
CONSTRUCTIONS
Reaccredited by
NAAC with A+
Presidency
Group
Presidency College
(Autonomous)
Graphs that may have multiple edges connecting the
same vertices are multigraphs.
MULTI GRAPH
Reaccredited by
NAAC with A+
Presidency
Group
Presidency College
(Autonomous)
CONSTRUCTION OF
MULTIGRAPH
Eg.1 In the figure we find that :
1. There are six vertices present in
the figure with edges connecting
their respective vertices.
2. On vertices B and C we can
observe that there are two
edges connecting the same set
of vertices.
3. By the definition of the
multigraph we can say that the
above figure is a multi-graph.
4. The construction of the
multigraph consisted of a set of
vertices and edges where
vertices B and C had two edges
connected to each other.
Reaccredited by
NAAC with A+
Presidency
Group
Presidency College
(Autonomous)
CONSTRUCTION
OF MULTIGRAPH
Eg.2 In this graph
• There are 6 edges and 4
vertices or nodes i.e A1, A2,
A3, and A4.
• It has an edge connecting A1
and A4.
• According to the definition
we can get to know it is a
multigraph.
Reaccredited by
NAAC with A+
Presidency
Group
Presidency College
(Autonomous)
GRAPHS THAT MAY INCLUDE LOOPS, AND POSSIBLY
MULTIPLE EDGES CONNECTING THE SOME PAIR OF
VERTICES OR A VERTEX TO ITSELF, ARE CALLED
PSEUDOGRAPHS.
PSEUDOGRAPHS
Reaccredited by
NAAC with A+
Presidency
Group
Presidency College
(Autonomous)
CONSTRUCTION OF
PSEUDOGRAPH
In the figure we find that :
1. There are both graph loops
and multiple edges present in
the above graph.
2. As the definition of a pseudo
graph states that both graph
loop and multiple edges are
permitted in the pseudo
graph, we can conclude that
the above graph is a pseudo
graph.
3. The construction of the
pseudo graph consists of
edges, multiple edges,
vertices, and graph loops
Reaccredited by
NAAC with A+
Presidency
Group
Presidency College
(Autonomous)
CONSTRUCTION OF
PSEUDOGRAPH
In this graph
• There are 4 nodes a, b, c,
and d. There is also a loop
present at C.
• According to the
definition, we can
conclude that it is a
Pseudograph.
Reaccredited by
NAAC with A+
Presidency
Group
Presidency College
(Autonomous)
CYCLIC AND ACYCLIC GRAPHS
AND ITS CONSTRUCTIONS.
BY
LOHITH S
Reaccredited by
NAAC with A+
Presidency
Group
Presidency College
(Autonomous)
• A graph with 'n' vertices (where, n>=3) and 'n'
edges forming a cycle of 'n' with all its edges is
known as cycle graph.
• A graph containing at least one cycle in it is known
as a cyclic graph.
• In the cycle graph, degree of each vertex is 2.
• The cycle graph which has n vertices is denoted by
Cn.
Cyclic Graph
Reaccredited by
NAAC with A+
Presidency
Group
Presidency College
(Autonomous)
Example-1:
Construction Of Cyclic Graph
Reaccredited by
NAAC with A+
Presidency
Group
Presidency College
(Autonomous)
• Example-2: The graph below is a cyclic graph
containing two cycles.
Construction Of Cyclic Graph
Reaccredited by
NAAC with A+
Presidency
Group
Presidency College
(Autonomous)
• A graph which does not contain any cycle in it is
called as an acyclic graph.
• An acyclic graph does not contain cycles which
means , vertices V1,V2,V3…Vn ,edges
{V1,V2},{V2,V3}….{Vn,V1} does not hold true in the
following graph
• At some point in the graph the cycle breaks or
vertices are not connected with edges which ends
up breaking the cycle
Acyclic Graph
Reaccredited by
NAAC with A+
Presidency
Group
Presidency College
(Autonomous)
• The following is an example for acyclic graph.
Construction Of Acyclic Graph
Reaccredited by
NAAC with A+
Presidency
Group
Presidency College
(Autonomous)
Is this graph cyclic or acyclic?
Question
Reaccredited by
NAAC with A+
Presidency
Group
Presidency College
(Autonomous)
BY
HARSHITH NAAG
CONNECTED AND
DISCONNECTED GRAPHS AND
ITS CONSTRUCTIONS.
Reaccredited by
NAAC with A+
Presidency
Group
Presidency College
(Autonomous)
• A connected graph is a graph in which we can visit
from any one vertex to any other vertex.
• In a connected graph, at least one edge or path
exists between every pair of vertices.
• In a connected graph we can traverse from any one
vertex to any other vertex.
Connected Graph
Reaccredited by
NAAC with A+
Presidency
Group
Presidency College
(Autonomous)
• Example: the below graph is an example for a
connected graph.
Construction of Connected Graph
Reaccredited by
NAAC with A+
Presidency
Group
Presidency College
(Autonomous)
• A disconnected graph is a graph in which any path
does not exist between every pair of vertices.
• Disconnected pair of vertices are considered to be
a disconnected graph where no path exits between
the 2 pair of vertices
• two independent components in this case being a
pair of vertices ,which are disconnected are
considered to be disconnected graph
Disconnected Graph
Reaccredited by
NAAC with A+
Presidency
Group
Presidency College
(Autonomous)
• Example: the below graph is an example for a
disconnected graph.
Construction of Disconnected Graph
Reaccredited by
NAAC with A+
Presidency
Group
Presidency College
(Autonomous) BIPARTITE GRAPH AND COMPLETE
BIPARTITE GRAPH
By
Syed Mansoor
Reaccredited by
NAAC with A+
Presidency
Group
Presidency College
(Autonomous)
If a set of vertices is divide into two disjoined sets V1 And V2 each edge
in the graph joins each vertex of V1 and V2. Then the graph is called
Bipartite Graph.
What is Bipartite Graph?
A
B D
C
V1 V2
Reaccredited by
NAAC with A+
Presidency
Group
Presidency College
(Autonomous)
What is a Complete Bipartite Graph?
• Complete Bipartite graph is a graph whose vertices can be
divided into two disjoint and independent sets U and V, that is
every edge connects a vertex in U to one in V.
A
B
C
D
P
Q
R
U={A,B,C,D} V={P,Q,R}
Reaccredited by
NAAC with A+
Presidency
Group
Presidency College
(Autonomous)
BY
SHUBHA
AND RISHANTH LAMA
THEOREMS
Reaccredited by
NAAC with A+
Presidency
Group
Presidency College
(Autonomous)
Theorem 3 : Let G = (V,E) be a directed graph with
edge e then:
i.e, the sum of outdegree of the vertices of a diagraph
G equals to the sum of indegrees of the vertices which
equals the number of edges in G .
Theorems : Directed Graph
Reaccredited by
NAAC with A+
Presidency
Group
Presidency College
(Autonomous)
Sum of indegree:
1+2+2+3= 8
Sum of outdegree:
2+4+1+1=8
The total number of
Edges= 8
Example 1:
Vertices A B C D
In
Degree 1 2 2 3
Out
Degree 2 4 1 1
Reaccredited by
NAAC with A+
Presidency
Group
Presidency College
(Autonomous)
Sum of indegree :
0+1+3+2+4= 10
Sum of Outdegree:
3+2+2+2+1 = 10
The total number of edges= 10
EXAMPLE 2:
Vertices 1 2 3 4 5
Indegree 0 1 3 2 4
Outdegree 3 2 2 2 1
Reaccredited by
NAAC with A+
Presidency
Group
Presidency College
(Autonomous)
Theorem 4: In a simple graph atleast 2 vertices will have
same degree. (n >= 2).
Theorem
Reaccredited by
NAAC with A+
Presidency
Group
Presidency College
(Autonomous)
Theorem 5: In regular graph with n vertices has nk/2
edges.
Reaccredited by
NAAC with A+
Presidency
Group
Presidency College
(Autonomous)
Find the total number of edges present in this
graph.
Reaccredited by
NAAC with A+
Presidency
Group
Presidency College
(Autonomous)
Theorem 6: A graph (G) is bipartite If and only if it
contains no odd cycles .
Bipartite means the Vertices of graph are partitioned into sets V1 and V2 such
that no two verties of the same partition can be adjacent .
Odd length and even length cycles:
Theorem : Bipartite graph
Reaccredited by
NAAC with A+
Presidency
Group
Presidency College
(Autonomous)
It's an even length cycle as
the number of edges=4 i.e,
a even number.
We are taking two sets
named V1 and V2.
V1= { x1, x2 }
V2={ y1, y2 }.
V(G)= V1 U V2
EXAMPLE 1:
Reaccredited by
NAAC with A+
Presidency
Group
Presidency College
(Autonomous)
Here we take an odd cycle.
From the diagram,
1 belongs to V1
2 belongs to V2
n belongs to V1 as it's odd.
But 5 is again connected to 1 which is not
possible as the vertices in same set
should not be adjacent .
Therefore a graph is said to be
bipartite if and only if there is
no odd cycles.
EXAMPLE 2:
Reaccredited by
NAAC with A+
Presidency
Group
Presidency College
(Autonomous)
If G is a graph with n vertices,
where n≥3 and deg(v)≥n/2, for
every vertex v of G then G is
Hamiltonian
Dirac’s Theorem
Reaccredited by
NAAC with A+
Presidency
Group
Presidency College
(Autonomous)
n=4(n>=3)
n/2=4/2
DEG(A)=2
DEG(B)=2
DEG(C)=2
DEG(D)=2
Example
Reaccredited by
NAAC with A+
Presidency
Group
Presidency College
(Autonomous)
If graph G is graph of order n≥3
such that for all distinct non
adjacent pairs of vertices u and
v, deg(u)+deg(v)≥n, then G is
Hamiltonian
Ore’s theorem
Reaccredited by
NAAC with A+
Presidency
Group
Presidency College
(Autonomous)
n=4(4>=3)
a pair of non-adjacent vertices
(U,V)=(A,D)or(B,C)
deg(A)+deg(D)>=n
2+2>=4
4>=4
Example
Reaccredited by
NAAC with A+
Presidency
Group
Presidency College
(Autonomous)
THANK YOU
RISHI RAJ
ROHESH KANCHAN
HARSHITH NAAG
LOHITH S
SHUBHA HARINI
RISHANTH LAMA

More Related Content

Similar to DS team2 ppt new.ppt

Slides Chapter10.1 10.2
Slides Chapter10.1 10.2Slides Chapter10.1 10.2
Slides Chapter10.1 10.2
showslidedump
 
8.-Graphs information technologies graph
8.-Graphs information technologies graph8.-Graphs information technologies graph
8.-Graphs information technologies graph
iloveyoucarlo0923
 
Graph terminology and algorithm and tree.pptx
Graph terminology and algorithm and tree.pptxGraph terminology and algorithm and tree.pptx
Graph terminology and algorithm and tree.pptx
asimshahzad8611
 
09_Graphs_handout.pdf
09_Graphs_handout.pdf09_Graphs_handout.pdf
09_Graphs_handout.pdf
Israr63
 

Similar to DS team2 ppt new.ppt (20)

Lecture 2.3.1 Graph.pptx
Lecture 2.3.1 Graph.pptxLecture 2.3.1 Graph.pptx
Lecture 2.3.1 Graph.pptx
 
Graphs in datastructures
Graphs in datastructuresGraphs in datastructures
Graphs in datastructures
 
Unit V - ppt.pptx
Unit V - ppt.pptxUnit V - ppt.pptx
Unit V - ppt.pptx
 
Graph 1
Graph 1Graph 1
Graph 1
 
UNIT III.pptx
UNIT III.pptxUNIT III.pptx
UNIT III.pptx
 
Slides Chapter10.1 10.2
Slides Chapter10.1 10.2Slides Chapter10.1 10.2
Slides Chapter10.1 10.2
 
Graph Theory
Graph TheoryGraph Theory
Graph Theory
 
les graphes v2.pptx
les graphes v2.pptxles graphes v2.pptx
les graphes v2.pptx
 
8.-Graphs information technologies graph
8.-Graphs information technologies graph8.-Graphs information technologies graph
8.-Graphs information technologies graph
 
Graph ASS DBATU.pptx
Graph ASS DBATU.pptxGraph ASS DBATU.pptx
Graph ASS DBATU.pptx
 
Graphs.pptx
Graphs.pptxGraphs.pptx
Graphs.pptx
 
LINEAR FUNCTIONS
LINEAR FUNCTIONSLINEAR FUNCTIONS
LINEAR FUNCTIONS
 
UNIT 4_DSA_KAVITHA_RMP.ppt
UNIT 4_DSA_KAVITHA_RMP.pptUNIT 4_DSA_KAVITHA_RMP.ppt
UNIT 4_DSA_KAVITHA_RMP.ppt
 
Data structure
Data structureData structure
Data structure
 
Graph terminology and algorithm and tree.pptx
Graph terminology and algorithm and tree.pptxGraph terminology and algorithm and tree.pptx
Graph terminology and algorithm and tree.pptx
 
Unit-6 Graph.ppsx ppt
Unit-6 Graph.ppsx                                       pptUnit-6 Graph.ppsx                                       ppt
Unit-6 Graph.ppsx ppt
 
Graph
GraphGraph
Graph
 
09_Graphs_handout.pdf
09_Graphs_handout.pdf09_Graphs_handout.pdf
09_Graphs_handout.pdf
 
vectors
vectorsvectors
vectors
 
Graph
GraphGraph
Graph
 

Recently uploaded

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Recently uploaded (20)

Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
What is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptxWhat is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17
 
Introduction to TechSoup’s Digital Marketing Services and Use Cases
Introduction to TechSoup’s Digital Marketing  Services and Use CasesIntroduction to TechSoup’s Digital Marketing  Services and Use Cases
Introduction to TechSoup’s Digital Marketing Services and Use Cases
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...
 
VAMOS CUIDAR DO NOSSO PLANETA! .
VAMOS CUIDAR DO NOSSO PLANETA!                    .VAMOS CUIDAR DO NOSSO PLANETA!                    .
VAMOS CUIDAR DO NOSSO PLANETA! .
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Our Environment Class 10 Science Notes pdf
Our Environment Class 10 Science Notes pdfOur Environment Class 10 Science Notes pdf
Our Environment Class 10 Science Notes pdf
 
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdfUGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf arts
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 

DS team2 ppt new.ppt

  • 1. Reaccredited by NAAC with A+ Presidency Group Presidency College (Autonomous) PRESIDENCY COLLEGE (Autonomous) Topic: Types of graph, construction of graphs , theorems ... Date of presentation: 16/09/22 TEACHER : MS. SAVITHA GOWDA MAM
  • 2. Reaccredited by NAAC with A+ Presidency Group Presidency College (Autonomous)  A graph consists of a nonempty set of vertices or nodes and is a set of edges.  Each edge has either one or two vertices associated with it called its endpoints. An edge is said to connect its endpoints. INTRODUCTION TO GRAPHS
  • 3. Reaccredited by NAAC with A+ Presidency Group Presidency College (Autonomous) GRAPH
  • 4. Reaccredited by NAAC with A+ Presidency Group Presidency College (Autonomous) BY RISHI RAJ DIRECTED GRAPH AND UNDIRECTED GRAPHS AND ITS CONSTRUCTION
  • 5. Reaccredited by NAAC with A+ Presidency Group Presidency College (Autonomous) A directed graph, also called a digraph, is a graph in which the edges have a direction. This is usually indicated with an arrow on the edge DIRECTED GRAPHS
  • 6. Reaccredited by NAAC with A+ Presidency Group Presidency College (Autonomous) • A directed graph (or digraph) is a set of vertices connected by edges, where the edges have a direction associated with them. • In a directed graph a given set of vertices can have multiple edges connected to them • The construction of directed graph consists of edges having direction represented by an arrow mark pointing towards the respected vertex Construction Of Directed Graph
  • 7. Reaccredited by NAAC with A+ Presidency Group Presidency College (Autonomous) DIRECTED GRAPH ANOTHER EXAMPLE
  • 8. Reaccredited by NAAC with A+ Presidency Group Presidency College (Autonomous) An undirected graph is a graph, i.e., a set of objects (called vertices or nodes) that are connected, where all the edges are bidirectional. UNDIRECTED GRAPH
  • 9. Reaccredited by NAAC with A+ Presidency Group Presidency College (Autonomous) UNDIRECTED GRAPH ANOTHER EXAMPLE
  • 10. Reaccredited by NAAC with A+ Presidency Group Presidency College (Autonomous) In the above figure we find that : 1. In the above graph there is no directed edges 2. As the definition of undirected graph states that undirected graph is graph whose edges are not directed , we can conclude that the above figure is an undirected graph. 3. The construction of the undirected graph consists of five vertices connected with edges which are not directed Construction Of Undirected Graph
  • 11. Reaccredited by NAAC with A+ Presidency Group Presidency College (Autonomous) BY ROHESH KANCHAN MULTIGRAPH AND PSEUDOGRAPHS AND ITS CONSTRUCTIONS
  • 12. Reaccredited by NAAC with A+ Presidency Group Presidency College (Autonomous) Graphs that may have multiple edges connecting the same vertices are multigraphs. MULTI GRAPH
  • 13. Reaccredited by NAAC with A+ Presidency Group Presidency College (Autonomous) CONSTRUCTION OF MULTIGRAPH Eg.1 In the figure we find that : 1. There are six vertices present in the figure with edges connecting their respective vertices. 2. On vertices B and C we can observe that there are two edges connecting the same set of vertices. 3. By the definition of the multigraph we can say that the above figure is a multi-graph. 4. The construction of the multigraph consisted of a set of vertices and edges where vertices B and C had two edges connected to each other.
  • 14. Reaccredited by NAAC with A+ Presidency Group Presidency College (Autonomous) CONSTRUCTION OF MULTIGRAPH Eg.2 In this graph • There are 6 edges and 4 vertices or nodes i.e A1, A2, A3, and A4. • It has an edge connecting A1 and A4. • According to the definition we can get to know it is a multigraph.
  • 15. Reaccredited by NAAC with A+ Presidency Group Presidency College (Autonomous) GRAPHS THAT MAY INCLUDE LOOPS, AND POSSIBLY MULTIPLE EDGES CONNECTING THE SOME PAIR OF VERTICES OR A VERTEX TO ITSELF, ARE CALLED PSEUDOGRAPHS. PSEUDOGRAPHS
  • 16. Reaccredited by NAAC with A+ Presidency Group Presidency College (Autonomous) CONSTRUCTION OF PSEUDOGRAPH In the figure we find that : 1. There are both graph loops and multiple edges present in the above graph. 2. As the definition of a pseudo graph states that both graph loop and multiple edges are permitted in the pseudo graph, we can conclude that the above graph is a pseudo graph. 3. The construction of the pseudo graph consists of edges, multiple edges, vertices, and graph loops
  • 17. Reaccredited by NAAC with A+ Presidency Group Presidency College (Autonomous) CONSTRUCTION OF PSEUDOGRAPH In this graph • There are 4 nodes a, b, c, and d. There is also a loop present at C. • According to the definition, we can conclude that it is a Pseudograph.
  • 18. Reaccredited by NAAC with A+ Presidency Group Presidency College (Autonomous) CYCLIC AND ACYCLIC GRAPHS AND ITS CONSTRUCTIONS. BY LOHITH S
  • 19. Reaccredited by NAAC with A+ Presidency Group Presidency College (Autonomous) • A graph with 'n' vertices (where, n>=3) and 'n' edges forming a cycle of 'n' with all its edges is known as cycle graph. • A graph containing at least one cycle in it is known as a cyclic graph. • In the cycle graph, degree of each vertex is 2. • The cycle graph which has n vertices is denoted by Cn. Cyclic Graph
  • 20. Reaccredited by NAAC with A+ Presidency Group Presidency College (Autonomous) Example-1: Construction Of Cyclic Graph
  • 21. Reaccredited by NAAC with A+ Presidency Group Presidency College (Autonomous) • Example-2: The graph below is a cyclic graph containing two cycles. Construction Of Cyclic Graph
  • 22. Reaccredited by NAAC with A+ Presidency Group Presidency College (Autonomous) • A graph which does not contain any cycle in it is called as an acyclic graph. • An acyclic graph does not contain cycles which means , vertices V1,V2,V3…Vn ,edges {V1,V2},{V2,V3}….{Vn,V1} does not hold true in the following graph • At some point in the graph the cycle breaks or vertices are not connected with edges which ends up breaking the cycle Acyclic Graph
  • 23. Reaccredited by NAAC with A+ Presidency Group Presidency College (Autonomous) • The following is an example for acyclic graph. Construction Of Acyclic Graph
  • 24. Reaccredited by NAAC with A+ Presidency Group Presidency College (Autonomous) Is this graph cyclic or acyclic? Question
  • 25. Reaccredited by NAAC with A+ Presidency Group Presidency College (Autonomous) BY HARSHITH NAAG CONNECTED AND DISCONNECTED GRAPHS AND ITS CONSTRUCTIONS.
  • 26. Reaccredited by NAAC with A+ Presidency Group Presidency College (Autonomous) • A connected graph is a graph in which we can visit from any one vertex to any other vertex. • In a connected graph, at least one edge or path exists between every pair of vertices. • In a connected graph we can traverse from any one vertex to any other vertex. Connected Graph
  • 27. Reaccredited by NAAC with A+ Presidency Group Presidency College (Autonomous) • Example: the below graph is an example for a connected graph. Construction of Connected Graph
  • 28. Reaccredited by NAAC with A+ Presidency Group Presidency College (Autonomous) • A disconnected graph is a graph in which any path does not exist between every pair of vertices. • Disconnected pair of vertices are considered to be a disconnected graph where no path exits between the 2 pair of vertices • two independent components in this case being a pair of vertices ,which are disconnected are considered to be disconnected graph Disconnected Graph
  • 29. Reaccredited by NAAC with A+ Presidency Group Presidency College (Autonomous) • Example: the below graph is an example for a disconnected graph. Construction of Disconnected Graph
  • 30. Reaccredited by NAAC with A+ Presidency Group Presidency College (Autonomous) BIPARTITE GRAPH AND COMPLETE BIPARTITE GRAPH By Syed Mansoor
  • 31. Reaccredited by NAAC with A+ Presidency Group Presidency College (Autonomous) If a set of vertices is divide into two disjoined sets V1 And V2 each edge in the graph joins each vertex of V1 and V2. Then the graph is called Bipartite Graph. What is Bipartite Graph? A B D C V1 V2
  • 32. Reaccredited by NAAC with A+ Presidency Group Presidency College (Autonomous) What is a Complete Bipartite Graph? • Complete Bipartite graph is a graph whose vertices can be divided into two disjoint and independent sets U and V, that is every edge connects a vertex in U to one in V. A B C D P Q R U={A,B,C,D} V={P,Q,R}
  • 33. Reaccredited by NAAC with A+ Presidency Group Presidency College (Autonomous) BY SHUBHA AND RISHANTH LAMA THEOREMS
  • 34. Reaccredited by NAAC with A+ Presidency Group Presidency College (Autonomous) Theorem 3 : Let G = (V,E) be a directed graph with edge e then: i.e, the sum of outdegree of the vertices of a diagraph G equals to the sum of indegrees of the vertices which equals the number of edges in G . Theorems : Directed Graph
  • 35. Reaccredited by NAAC with A+ Presidency Group Presidency College (Autonomous) Sum of indegree: 1+2+2+3= 8 Sum of outdegree: 2+4+1+1=8 The total number of Edges= 8 Example 1: Vertices A B C D In Degree 1 2 2 3 Out Degree 2 4 1 1
  • 36. Reaccredited by NAAC with A+ Presidency Group Presidency College (Autonomous) Sum of indegree : 0+1+3+2+4= 10 Sum of Outdegree: 3+2+2+2+1 = 10 The total number of edges= 10 EXAMPLE 2: Vertices 1 2 3 4 5 Indegree 0 1 3 2 4 Outdegree 3 2 2 2 1
  • 37. Reaccredited by NAAC with A+ Presidency Group Presidency College (Autonomous) Theorem 4: In a simple graph atleast 2 vertices will have same degree. (n >= 2). Theorem
  • 38. Reaccredited by NAAC with A+ Presidency Group Presidency College (Autonomous) Theorem 5: In regular graph with n vertices has nk/2 edges.
  • 39. Reaccredited by NAAC with A+ Presidency Group Presidency College (Autonomous) Find the total number of edges present in this graph.
  • 40. Reaccredited by NAAC with A+ Presidency Group Presidency College (Autonomous) Theorem 6: A graph (G) is bipartite If and only if it contains no odd cycles . Bipartite means the Vertices of graph are partitioned into sets V1 and V2 such that no two verties of the same partition can be adjacent . Odd length and even length cycles: Theorem : Bipartite graph
  • 41. Reaccredited by NAAC with A+ Presidency Group Presidency College (Autonomous) It's an even length cycle as the number of edges=4 i.e, a even number. We are taking two sets named V1 and V2. V1= { x1, x2 } V2={ y1, y2 }. V(G)= V1 U V2 EXAMPLE 1:
  • 42. Reaccredited by NAAC with A+ Presidency Group Presidency College (Autonomous) Here we take an odd cycle. From the diagram, 1 belongs to V1 2 belongs to V2 n belongs to V1 as it's odd. But 5 is again connected to 1 which is not possible as the vertices in same set should not be adjacent . Therefore a graph is said to be bipartite if and only if there is no odd cycles. EXAMPLE 2:
  • 43. Reaccredited by NAAC with A+ Presidency Group Presidency College (Autonomous) If G is a graph with n vertices, where n≥3 and deg(v)≥n/2, for every vertex v of G then G is Hamiltonian Dirac’s Theorem
  • 44. Reaccredited by NAAC with A+ Presidency Group Presidency College (Autonomous) n=4(n>=3) n/2=4/2 DEG(A)=2 DEG(B)=2 DEG(C)=2 DEG(D)=2 Example
  • 45. Reaccredited by NAAC with A+ Presidency Group Presidency College (Autonomous) If graph G is graph of order n≥3 such that for all distinct non adjacent pairs of vertices u and v, deg(u)+deg(v)≥n, then G is Hamiltonian Ore’s theorem
  • 46. Reaccredited by NAAC with A+ Presidency Group Presidency College (Autonomous) n=4(4>=3) a pair of non-adjacent vertices (U,V)=(A,D)or(B,C) deg(A)+deg(D)>=n 2+2>=4 4>=4 Example
  • 47. Reaccredited by NAAC with A+ Presidency Group Presidency College (Autonomous) THANK YOU RISHI RAJ ROHESH KANCHAN HARSHITH NAAG LOHITH S SHUBHA HARINI RISHANTH LAMA