discrete presentation
discrete presentation
discrete presentation
GRAPH THEORY
Introduction
◦Many structures involving real-world situations can be
conveniently represented on paper by means of a
diagram consisting of a set of points which are usually
drawn as small circles or dots which together are with
lines or curves joining some or all pairs of these points.
◦Graph theory can be described as a study of the graph.
A graph is a type of mathematical structure which is
used to show a particular function with the help of
connecting a set of points.
Graphs are one of the prime objects to study in
Discrete Mathematics.
Undirected Graph:
◦An Undirected graph is a pair G=(V,E), where V is as set of
whose elements are vertices, and E is a set of unordered
pairs of distinct elements of V.
◦Vertices are also called as Nodes. Elements of E are called
Edges, or undirected edges.
◦Each edge may be considered as a subset of V containing two
elements; consequently,(V,W) denotes and undirected edge.
◦ In Diagrams this edge is the line V→W. In undirected graphs
V→W is same as W→V.
Example for
Undirected Graph
◦The figure shows an
undirected graph
◦G=(V,E) where
◦V={1,2,3,4,5,6,7}
◦E={(1,2),(1,3),(1,4),(2,4),
(2,5),(3,4),(3,6),(4,5),(4,6),
(4,7),(5,7),(6,7)}
UNDIRECTED GRAPH
Directed Graph
◦A Directed Graph, or digraph, is a pair G=(V,E) where
V is set of whose elements are called vertices, and E
is set of ordered pairs of elements of V.
◦Vertices are also called Nodes. Elements of E are
called arcs or directed edges.
◦For directed edge (v,w) in E, ’v’ is its tail and ’w’ its
head.(v,w) is represented in the diagrams as the
arrow →w.
Example for
Directed Graph
◦ The below figure shows a directed graph
◦ G=(V,E) where
◦ V={1,2,3,4,5,6,7}
◦ E={(2,1),(3,2),(4,5),(3,4),(6,1),(6,7),
(7,2),(7,3)}.
◦ As shown, an edge (v,w) is drawn as an
arrow from V to W.
◦ In Directed graph, (v,w) is not as same
as (w,v).That means (6,1) is not as same
as (1,6).
Thank
Thank you you