Mathematics of Graphs
Mathematics of Graphs
Mathematics of Graphs
of Graphs
Group 1
Objectives:
G = (V, E) where
V = {a, b, c, d} and
E = {{a, b}, {a, c}, {b, c}, {b, d}, {c, d}}
Simple graph:
Each edge connects two different vertices
No two edges connect at the pair of vertices.
C. Terminology
VERTEX- dot in the paragraph.
EDGES – connect pairs of vertices.
LOOP – edge that connects a vertex
to itself.
WALK
- Alternating sequence of
vertices and edges.
Kinds of Walk
1. TRAIL
Walk in which no edge is repeated.
2. PATH
A trail in which no vertex is repeated.
CONNECTED -there is a path from any vertex to any other
vertex.
DISCONNECTED -there is no way to get from the vertices
on the left to the vertices on the right.
WEIGHTS - distance between two locations, travel
time, or travel cost.
7.2 Eulerian Graphs
Euler's Graph - A graph is considered Eularian or Euler's
graph, if the graph is both connected and has a closed trail
(a walk with no repeated edges) containing all edges of the
graph.
Euler's Graph Theorems
Theorem 1: Euler Circuits An Euler circuit
is a circuit that uses every edge of a graph
with no repeats. Being a circuit, it must start
and end at the same vertex.
Starting and ending at vertex A: ABCDECFGFCHA shown
in arrows.
Why do we care if an Euler circuit exist?
1. If a graph is a tree ,there is one and only one path joining any
two vertices .conversely , if there is one and only one path
joining any two vertices of a graph, the graph must be a tree.
Properties of tree