




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Discrete maths: Graph Theory for bachelor
Typology: Slides
1 / 154
This page cannot be seen from the preview
Don't miss anything!





























































































Some Formal DeÖnitions of Graph ñ Matrix Representation of Graph
School of Computing Telkom University
SoC Tel-U
April-May 2023
This slide is composed based on the following materials: (^1) Discrete Mathematics and Its Applications, 8th Edition, 2019, by K. H. Rosen (main). (^2) Discrete Mathematics with Applications, 5th Edition, 2018, by S. S. Epp. (^3) Mathematics for Computer Science. MIT, 2010, by E. Lehman, F. T. Leighton, A. R. Meyer. (^4) Slide for Matematika Diskret 2 (2012). Fasilkom UI, by B. H. Widjaja. (^5) Slide for Matematika Diskret 2 at Fasilkom UI by Team of Lecturers. (^6) Slide for Matematika Diskret. Telkom University, by B. Purnama. Some of the pictures are taken from the above resources. This slide is intended for academic purpose at FIF Telkom University. If you have any suggestions/comments/questions related with the material on this slide, send an email to
(^1) Background and Motivation
(^2) Some Formal DeÖnitions of Graph
(^3) Some Basic Terminologies
4 Subgraph, Spanning Subgraph, Complement Graph, and Graph Union
5 Some Simple Graphs with Special Structure
(^6) Graph representation with Matrix and List
Graph is an important object in Discrete Math and has many implementations, one of them is in topology design of communication networks.
We can use graph to model the connectedness between discrete objects. One of them is a graph that describe connectedness between cities in Central Java (here, we view connectedness from the availability of the road connecting the cities).
By modelling connectedness of cities in Central Java using graph, we can answer the following questions:
By modelling connectedness of cities in Central Java using graph, we can answer the following questions: (^1) What is the shortest route that connect Pekalongan and Solo?
By modelling connectedness of cities in Central Java using graph, we can answer the following questions: (^1) What is the shortest route that connect Pekalongan and Solo? (^2) Can we visit every city in Central Java and pass through the cities exactly once in one journey? (^3) How many di§erent routes that can be used by a person from Cilacap to Rembang if the number of cities that is passed through must be as minimum as possible?
By modelling connectedness of cities in Central Java using graph, we can answer the following questions: (^1) What is the shortest route that connect Pekalongan and Solo? (^2) Can we visit every city in Central Java and pass through the cities exactly once in one journey? (^3) How many di§erent routes that can be used by a person from Cilacap to Rembang if the number of cities that is passed through must be as minimum as possible? By graph modeling, cities are viewed as dot or node or vertex (plural: vertices) while roads are viewed as edge or line or arc.
(^1) Background and Motivation
(^2) Some Formal DeÖnitions of Graph
(^3) Some Basic Terminologies
4 Subgraph, Spanning Subgraph, Complement Graph, and Graph Union
5 Some Simple Graphs with Special Structure
(^6) Graph representation with Matrix and List
A graph G is denoted as a triple (V; E; f ) where (^1) V is a set of all vertices in the graph, (^2) E is a set of all edges in the graph, (^3) f is a total function from E to V V.
A directed graph that has multiple edges as well as loop is called arbitrary directed graph or directed multigraph.
We have G = (V; E; f ) where (^1) V =
We have G = (V; E; f ) where (^1) V = f 1 ; 2 ; 3 ; 4 g, (^2) E =
We have G = (V; E; f ) where (^1) V = f 1 ; 2 ; 3 ; 4 g, (^2) E = fe 1 ; e 2 ; e 3 ; e 4 ; e 5 ; e 6 g, (^3) f : E! V V with the deÖnition: I (^) f (e 1 ) = f (e 2 ) = (1; 2) I (^) f (e 3 ) = (3; 4) I (^) f (e 4 ) = (4; 3) I (^) f (e 5 ) = f (e 6 ) = (4; 4).
A graph G is denoted as a triple (V; E; f ) where (^1) V is a set of all vertices in the graph, (^2) E is a set of all edges in the graph, (^3) f is a total function from E to a set ffu; vg j u; v 2 V g.
An undirected graph that has multiple edges as well as loop is called a pseudograph.