GED102 Week 10 WGN
GED102 Week 10 WGN
Noteboo
k in
GED10 Task List
The goal of
(Mathe
the reference materials given in the textbook.
matics Coloring.
in the
checking the number corresponding to each task.
Modern
World)
FIRST QUARTER, SY2020-2021 GED 102 WEEK 10
Highlights
A graph is a set of objects called vertices (or nodes) connected by links called
edges that can be either directed (one-way) or undirected (two-way) in the
context of mathematics, notably graph theory.
2. Degree of a vertex
FIRST QUARTER, SY2020-2021 GED 102 WEEK 10
In a graph, the degree of a vertex is the number of edges that are incident to
(or meet at) the vertex. In a directed graph, you can have different "in-
degree" and "out-degree" counts based on the edge direction.
3. Isomorphic graphs
Two graphs are isomorphic if their vertices and edges have a one-to-one
correspondence that preserves the graphs' connectedness. That is, they
share the same overall form or structure, even if their exact layouts or labels
differ.
B. Give 4 types of graphs and give a brief description (you may describe in
words or just draw a sample graph).
Example: A simple triangle where each corner is a vertex and each side is an
edge.
Weighted Graph: A weighted graph has a number (the weight) associated with
each edge. The weight often represents costs, lengths or capacities, depending
on the problem at hand.
Example: A road map where towns are vertices, roads are edges, and the
distances between towns are the weights.
Bipartite Graph: A bipartite graph's vertices can be divided into two sets, such
that all edges connect a vertex in one set with a vertex in the other set, and no
edges exist that connect vertices within the same set.
Highlights
2. Path, Trail
A path is a walk with well defined vertices and edges. In other terms, it is an
edge sequence that connects two vertices without returning to any vertices or
edges. A trail is a stroll across a graph in which no edges are duplicated but
vertices can be visited again and again.
3. Cycle, Circuit
A cycle is a path that has at least one edge that starts and finishes at the same
vertex. In other words, it's a path with the same first and last vertices. A circuit
is similar to a cycle in that it is a path that begins and finishes at the same
vertex. Some people consider "cycle" and "circuit" to be synonyms, however
several literature separate them in the manner described above.
An Eulerian graph is one in which all of the vertices have the same degree. This
characteristic assures that every edge in the graph may be traversed precisely
FIRST QUARTER, SY2020-2021 GED 102 WEEK 10
Leonhard Euler solved this problem in 1736, and it is regarded as the first
theorem in graph theory. Euler discovered that the possibility of such a walk is
determined by the degrees of the vertices rather than by the arrangement of the
bridges. A required requirement for such a walk (an Eulerian path) to exist is for
zero or two vertices to have an odd degree and all others to have an even
degree. Because each landmass in Konigsberg has an odd number of bridges, it
was demonstrated that no such trek could happen.
Highlights
Dijkstra's algorithm for shortest paths in graphs, as well as the Kruskal and Prim
algorithms for finding minimal spanning trees, are examples of its applications.