Discrete maths: Graph Theory, Slides of Discrete Structures and Graph Theory

Discrete maths: Graph Theory for bachelor

Typology: Slides

2025/2026

Uploaded on 12/12/2025

tool-devloper
tool-devloper 🇸🇬

1 document

1 / 154

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Basic Theory of Graph (Part 1)
Some Formal De…nitions of Graph Matrix Representation of Graph
MZI
School of Computing
Telkom University
SoC Tel-U
April-May 2023
MZI (SoC Tel-U) Graph (Part 1) April-May 2023 1 / 77
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download Discrete maths: Graph Theory and more Slides Discrete Structures and Graph Theory in PDF only on Docsity!

Basic Theory of Graph (Part 1)

Some Formal DeÖnitions of Graph ñ Matrix Representation of Graph

MZI

School of Computing Telkom University

SoC Tel-U

April-May 2023

Acknowledgements

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 @telkomuniversity.ac.id.

Contents

(^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

Background

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).

Motivation and Informal Terminologies

By modelling connectedness of cities in Central Java using graph, we can answer the following questions:

Motivation and Informal Terminologies

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?

Motivation and Informal Terminologies

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?

Motivation and Informal Terminologies

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.

Contents

(^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

Directed Graph with Multiple Edges

DeÖnition (a directed graph with multiple edges)

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.

Solution of Exercise 1

We have G = (V; E; f ) where (^1) V =

Solution of Exercise 1

We have G = (V; E; f ) where (^1) V = f 1 ; 2 ; 3 ; 4 g, (^2) E =

Solution of Exercise 1

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).

Undirected Graph with Multiple Edges

DeÖnition (an undirected graph with multiple edges)

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.