Introduction To Graph Theory
Introduction To Graph Theory
Sindiya Therese S
Friendship Network
Scientific collaboration network
Business ties in US biotech-industry
Genetic interaction network
Protein-Protein Interaction
Networks
Transportation Networks
Internet
Ecological Networks
Graph Theory - History
Leonhard Euler's paper on “Seven Bridges of
Königsberg”, in 1736.
banks
The KÖnigsberg Bridge Problem
Problem:
– Whether they could leave home, cross
every bridge exactly once, and return home.
The KÖnigsberg Bridge Problem
A Model
A vertex : a region
• V:={1,2,3,4,5,6}
• E:={{1,2},{1,5},{2,3},{2,5},{3,4},{4,5},{4,6}}
Simple Graphs
Zoidberg
Leela Fry
Flexo
Amy
Bender
Farnsworth Zoidberg
Moral of the Story
• One graph may be drawn in
(infinitely) many ways, but
it always provides us with
the same information.
• Graphs are a structure for
describing relationships
between objects.
(The vertices denote the objects
and the edges represent the
relationship.)
- a ll th e ma th -y ja rg on one could ask
(ie
for)
Committee 1 Committee 2
common
member
Graph Theory
Z
Ch. 1. Fundamental Concept 23
Loop, Multiple edges
• Loop : An edge whose endpoints are equal
• Multiple edges : Edges have the same pair of
endpoints
Multiple
edges
loop
Multiple
edges loop
C D
Graph Theory Ch. 1. Fundamental Concept 26
Finite Graph, Null Graph
u
e1 e2
w
e3
v
Definitions – Graph Type
u
e1 w e4
e2
v e3
Bipartite Graphs
• A graph G is bipartite if V(G) is the union of two
disjoint independent sets called partite sets of G
• Also: The vertices can be partitioned into two
sets such that each set is independent
• Matching Problem
• Job Assignment Problem
Workers
Boys
Girls Jobs
• Complete graph: Kn, is the simple graph that contains exactly one
edge between each pair of distinct vertices.
K1 K2 K3
K4
Example 3:
2) Is A adjacent to
B? C
Is D adjacent to
A?
Is E adjacent to
itself?
Is C adjacent to E
itself?
B
3) Is AB adjacent to
BC?
Is CE adjacent to
BD?
Regular
Connected Graph
C3 C4 C5
Bipartite graph
• V can be partitioned
into 2 sets V1 and V2
such that (u,v)E
implies
– either u V1 and v V2
– OR v V1 and uV2.
Complete Graph
• Every pair of vertices are adjacent
• Has n(n-1)/2 edges
Complete Bipartite Graph
• Bipartite Variation of Complete Graph
• Every node of one set is connected to every
other node on the other set
Stars
Example 3: (Exercise 60, pg 214) The
map to the right of downtown Kingsburg,
shows the Kings River running through
the downtown area and the three islands
(A, B, and C) connected to each other
and both banks by seven bridges. The
Chamber of Commerce wants to design a
walking tour that crosses all the bridges.
Draw a graph that models the layout of
Kingsburg.
A B C
S
Exercise 1