0% found this document useful (0 votes)
13 views15 pages

Graphs 1

Uploaded by

main.23000351
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views15 pages

Graphs 1

Uploaded by

main.23000351
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

MATHEMATICS IN THE

MODERN WORLD

Instructor: Joris N. Buloron, MS


Topic Outline
I. Nature of Mathematics
II. Speaking Mathematically
III. Problem-Solving
IV. Statistics
V. Logic
VI. Graphs
VII. Mathematical Systems

Textbook: Aufmann, R., Lockwood, J., Nation, R., Clegg, D., Epp, S., Abad, E. Jr. Mathematics
in the Modern World. (Rex Book Store, Inc., Manila, Philippines). 2018.
VI. Graph Theory
Seven Bridges of Kӧnigsberg, Euler and Graph Theory

(Courtesy of google.com)
The problem was to devise a walk through
the city that would cross each of those
bridges once and only once.

Moreover, what if we want to start and end


with the same vertex?
(Courtesy of google.com)
Introduction to Graphs
• A graph is a pair (V,E) where V is a set of elements called vertices and E
is a set of edges {v,w}.
• Example: Consider the graph G=(V,E) where V={1,2,3,4,5} and
E={{1,2},{1,3},{3,4},{2,4},{4,5}}.
Draw a diagram representing the graph G.
• Example: Consider the graph G=(V,E) where V={a,b,c,d} and E={{a,b},{b,c},{b,d}}.
Draw a diagram representing the graph G.
• Example: The table below lists five mobile phone companies and indicates whether they have
agreements to roam onto each other's networks. Draw a graph that represents this information, where
each vertex represents a phone company and an edge connects two vertices if the corresponding
companies have a roaming agreement. Then use the graph to answer the questions: Which phone
company has roaming agreements with the most carriers? Which company can roam with only one
other network? MobilePlus TalkMore SuperCell Airwave Lightning
MobilePlus - No Yes No Yes
TalkMore No - Yes No No
SuperCell Yes Yes - Yes No
Airwave No No Yes - Yes
Lightning Yes No No Yes -
• Example: An “X” in the table below indicates a direct Bus Rapid Transport (BRT) route
between the corresponding cities/municipalities. Draw a graph that represents this
information, in which each vertex represents a city/municipality and an edge connects two
vertices if there is a BRT route between the corresponding cities/municipalities. Give a
minimal set of routes so that a commuter can travel from Minglanilla to Lapu-lapu City.
Cebu City Minglanilla Mandaue City Consolacion Talisay City Lapu-Lapu City Cordova

Cebu City - X X X

Minglanilla - X

Mandaue City X - X X

Consolacion X - X

Talisay City X X -

Lapu-Lapu City X X X

Cordova X X -
• In general, a graph can include vertices that are not joined to any edges,
but all edges must begin and end at vertices.
• If two or more edges connect the same vertices, they are called multiple
edges.
• If an edge begins and ends at the same vertex, it is called a loop.
• A graph is called connected if any vertex can be reached from any other
vertex by tracing along edges.
• A connected graph in which every possible edge is drawn between
vertices and without any multiple edges is called a complete graph.
• Two graphs G=(V,E) and G'=(V',E') are isomorphic if there exists a one-to-
one and onto function β:V→V' such that for any x,y ϵ V:
{x,y} ϵ E if and only if {β(x), β(y)} ϵ E'.
• Example: Determine whether the following graphs are isomorphic.
B C

A B C D
A D

• Example: Determine whether the following graphs are isomorphic.


A D

B B A

C E
C D E
Euler Circuits
• A path is a graph G=(V,E) such that V={x1, x2, x3, ... , xn-2, xn-1, xn} and
E={{x1,x2}, {x2,x3}, ... , {xn-2,xn-1}, {xn-1,xn}}.
• If a path ends at the same vertex at which it started, it is called a closed
path or a circuit.
• Note: a path or a circuit is sometimes useful when considered as a part of
a “bigger” graph (this is the concept of a “subgraph”).
• In a graph, a circuit that uses every edge but never uses the same edge
twice is called an Euler circuit.
• Example: Find an Euler circuit in the following graph.
A B C D

E F G H
• Example: Find an Euler circuit in the following graph.
A B

C D

• The number of edges that meet at a vertex is called the degree of a


vertex. If v is a vertex of a graph G, we write deg(v) the degree of vertex v.
• Example: Determine the degree of each vertex in the following graph.
A B
C

D E
• A graph with an Euler circuit s called an Eulerian graph.
• Eulerian Graph Theorem:
A connected graph is Eulerian if and only if every vertex of the graph
is of even degree.
• Example: Use the Eulerian Graph Theorem to verify our two examples above on the
existence of Eulerian circuits.
• Example: Recalling the problem of 7 bridges of Kӧnigsberg, was it possible for the people to
take a stroll that would lead them across each bridge and return them to the starting point
without traversing the same bridge twice?
• In a graph, a path that uses every edge once and only once is called an
Euler path.
• Example: Determine if there exists an Euler path of the following graph.
A B

C D
• A Version of Euler Path Theorem:
Let G be a connected graph with two distinct vertices x and y of odd
degrees. G has an Euler path from vertex x to vertex y if and only
if x and y are the only vertices of odd degrees.

• Example: Verify our last example on the existence of an Euler path using this theorem.
• Example: Recalling the problem of 7 bridges of Kӧnigsberg, was it possible for the people to
take a stroll such that they start in one of the points and end up with a different point with the
condition that they cross each bridge without traversing the same bridge twice?
• Example: A bicyclist wants to mountain
bike through all the trails of a national park.
A map of the park is shown on the right.
Because the bicyclist will be dropped off in
the morning by friends and picked up in
the evening, she does not have a
preference for where she begins and ends
her ride. Is it possible for the cyclist to
traverse all of the trails without repeating
any portions of her trip?
• Example: The floor plan of a warehouse is
illustrated on the right. Use a graph to
represent the floor plan, and answer the
following questions: Is it possible to walk
through the warehouse so that you pass
through every doorway once but not twice?
Does it matter whether you return to the
starting point?

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy