Professional Documents
Culture Documents
Module89108 - 8647 - 4703440 - DITRUC1-Digraph Paths and SUbgraphs
Module89108 - 8647 - 4703440 - DITRUC1-Digraph Paths and SUbgraphs
Paths and
Subgraph
s
PRESENTED BY:
Russell Fortaleza
Restley Guay
Dale Matthew Boquiren
OBJECTIV To understand the basic concepts of digraphs,
paths, and subgraphs, including their
definitions, properties, and examples.
E
To learn how to represent digraphs using
graphs, matrices, and other mathematical
structures, and how to manipulate them for
different purposes.
DIGRAPHS Example:
Out Degree and In Degree
Out degree- The number of edges going out of a vertex in a directed graph.
d+(Vi)
In degree- The number of edges coming into a vertex in a directed graph.
d-(Vi)
Example:
Example:
Isolated Vertex
Pendant Vertex
Pendant Vertex is a vertex of a graph is said to be pendant if its neighborhood contains
exactly one vertex.
d+(Vi)+ d-(Vi)=1
Example:
Pendant Vertex
Example:
Symmetric digraphs
Symmetric directed graphs are directed graphs where all edges appear twice, one in each direction
(that is, for every arrow that belongs to the digraph, the corresponding inverse arrow also belongs to
it).
EXAMPLE:
(V1,V2),(V2,V1)
(V2,V3),(V3,V2)
(V3,V4),(V4,V3)
(V4,V1),(V1,V4)
(V1,V2),(V2,V1)
(V3,V2),(V2,V3)
(V1,V3),(V3,V1)
PATHS
• A path is a sequence of edges that begins at a vertex, and travels
from vertex to vertex along edges of the graph. As the path travels
along its edges, it visits the vertices along this path, that is, the
endpoint of these. The number of edges on the path is called the
length of the path.
Example: w x y z w corresponds
to a path of length 4.
Example :
Here, ‘a’ and ‘b’ are the points. The link between
these two points is called a line.
Here, the dot is a point named ‘a’.
Vertex Edge
- A vertex is a point where multiple lines - An edge is the mathematical term for a line that
meet. It is also called a node. Similar to
connects two vertices. Many edges can be formed
points, a vertex is also denoted by an
alphabet. from a single vertex. Without a vertex, an edge
cannot be formed. There must be a starting vertex
Example: and an ending vertex for an edge.
Example:
Here, the vertex is named with an alphabet
‘a’.
Here, ‘a’ and ‘b’ are the two vertices and the link
between them is called an edge.
SUBGRAPHS
E (H1) ∩ E (H2) = Ø
VERTEX
DISJOINT
SUBGRAPH
a vertex disjoint subgraph is a subgraph
where none of the vertices in the subgraph
are shared with any other subgraph. In other
words, the subgraph only contains vertices
that are unique to that particular subgraph
and do not appear in any other subgraph.
What is proper and
improper subgraph?
A subgraph H of G if H is
equal to G we say that H is an
improper subgraph of G if H
is not equal to G which means
that G has some vertices or
some edges or some vertices
and edges that aren't in its sub
graph H that means that H is a
proper subgraph of G.
• An Induced Subgraph is a special case of subgraph. If S
is a subset of G’s nodes. Then the subgraph of G induced
by S is the graph that has S as its set of vertices and
S unweighted ones.
Tip: "if you do not know the answer in an item, skip it and go to
the next. If time permits go back to skipped questions and if you
really don't know. Make a guess."
- Sir Ems, 2023
THANK
YOU!!!