



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
This lecture was delivered by Umar Faiz at Pakistan Institute of Engineering and Applied Sciences, Islamabad (PIEAS) for Discrete Mathematics course. It includes: Graphs, Simple, Multigraphs, Pseudographs, Adjacency, Incidence, Degree, Handshaking, Theorem
Typology: Slides
1 / 5
This page cannot be seen from the preview
Don't miss anything!




Discrete Mathematics
Definition:
u
(u, v)
2
3
4
Multiple edge
e 1 e 2 e4 Æ {2,3} e5 Æ {2,3} e6 Æ {1,2}
5
3 4
e 3 e 4 e 5 e 6
e 1 e^6 e3 Æ {1,3}, e4 Æ {2,3} e5 Æ {2} e6 Æ {2} e7 Æ {4}
6
1 2
3 4
e 3
e 2 e 4 e^5 e 7
docsity.com
T er m
E d g e ty p e
M u ltip le ed g es o k?
S elf- lo o p s o k? S im p le g rap h U n d ir. N o N o M u ltig rap h U n d ir. Y es N o P seu d o g rap h U n d ir. Y es Y es D irected g rap h D irected N o Y es D irected m u ltig rap hD irected m u ltig rap h D irectedD irected Y esY es Y esY es
7
8
1 2
3 4
e 1
e 3
e 2 e 4 e 5 e 6
Example: Which vertices are adjacent to 1, 2, 3, 4?
1 2
e 1
e 3
e 2 e 4 e 5
Solution: Vertex1 is adjacent to 2 and 3 Vertex2 is adjacent to 1 and 3 Vertex3 is adjacent to 1 and 2 Vertex4 is not adjacent to any vertex 9
3^ e^64
If e = {u, v}, the edge e is called incident with the vertices u and v. The edge e is also said to connect u and v.
Example:
10
1 2
3 4
e 1
e 3
e 2 e 4 e 5 e 6
1 2
3 4
e 1
e 3
e 2 e 4 e 5 e 6
Solution: e1, e2, e3, e6 are incident with Vertex Vertex2 is incident with e1, e2, e4, e5, e Vertex3 is incident with e3, e4, e Vertex4 is not incident with any edge
11
12
docsity.com
Example:
19
Islamabad (^980) Karachi
Lahore
280 750
20
Directed edge
Lahore
Islamabad (^980)
(^280 )
Karachi
21
22
Definition:
23
Example:
deg a (^) b ‐(a) = 1 deg‐(b) = 4
24
a (^) b
d c
deg+^ (a) = 2 deg+^ (b) = 2
deg‐(d) = 2 deg+^ (d) = 1
deg‐(c) = 0 deg+^ (c) = 2
docsity.com
Theorem:
deg ( v ) deg( v ) vV vV
∈
− ∑∈ ∑ =
both the sum of in-degrees and the sum of out- degrees by one.
25
docsity.com