Lecture 11
Lecture 11
Lecture 11
This week
Graph theory:
Graphs
Edge-endpoint functions
Degree
Walks and paths
x
These are not the kind of graphs we are studying here.
It follows that the graph Λn has vertex set {τij : 1 ≤ i < j ≤ n} with edges τij → τkl if
Number Theoryand only if {i, j} ∩ {k, l} ̸= ∅. The graphs Λ4 and Λ5 are pictured in Figure 11, where
In discrete mathematics, graphs look like:
we have simplified matters by labelling the vertices ij instead of τij , omitting loops, and
displaying pairs of directed edges ij ! kl as single undirected edges ij − kl.
The shape is a “tesseract”, a 4D cube:
PB n
Bn Mn In
Idempotent generators — Pn \ Sn
Jn Sn On
Definition (graph)
a
b 1 2 3 4 5
c
b b
d
1 1 c 2
5 2
c a
d
a
4 3 3 5 4
Consider a graph G .
a
b 1 2 3 4 5
c
Edge b is a loop.
3 2
5 x 4 w
1 γ
1 u v 1 2
d
5 2 3 2 α
c δ
β
a
4 3 x w 4 3
Exercises
1 Draw all simple graphs with vertex set {1, 2, 3, 4} and one
edge.
2 How many simple graphs have vertex set {1, 2, 3, 4} and two
edges?
3 How many simple graphs have vertex set {1, 2, 3, 4} and three
edges?
4 How many simple graphs have vertex set {1, 2, 3, 4}?
5 How many simple graphs have vertex set {1, 2, . . . , n}?
1
1 1 2
5 2
1 1 2 3 2 4 3 4 3
K1 K2 K3 K4 K5
1 1 2
1 2
7 2
8 3
6 3
6 3
7 4
5 4 5 4 6 5
K6 K7 K8
1 1 2 1
11 2
9 2
10 3
10 3
8 3
9 4
9 4
7 4 8 5 8 5
6 5 7 6 7 6
K9 K10 K11
K12
Lecture 11 Discrete Mathematics – MATH 1006 19 / 33
Graph Theory
Definition (degree)
Exercises
1 How many edges are there in a graph with 10 vertices, each of
degree 6?
2 Draw a graph with 4 vertices and the following degrees, or
explain why no such graph exists:
1, 1, 1, 4 1, 1, 1, 3 1, 1, 1, 1 1, 2, 3, 4
B D
A
B D
Definition (walk)
b c
1 2 3
g d
e
h 5 4
f
b c d e h h f
1 −−→ 2 −−→ 3 −−→ 4 −−→ 5 −−→ 5 −−→ 5 −−→ 4
is a walk from 1 to 4.
g h f d c b a
2 −−→ 5 −−→ 5 −−→ 4 −−→ 3 −−→ 2 −−→ 1 −−→ 1
is a walk from 2 to 1.
Lecture 11 Discrete Mathematics – MATH 1006 28 / 33
Graph Theory — walks, paths, circuits
Question
Does the following graph have an Euler circuit?
B D
b
2 3
a h c
1 g j 4
f i d
6 e 5
g i j
6 −−→ 2 −→ 5 −→ 3
b
2 3
a h c
1 g j 4
f i d
6 e 5
g i e
6 −−→ 2 −→ 5 −−→ 6 is a circuit (not Euler).
g i e h j d c b a f
6 −→ 2 −→ 5 −→ 6 −→ 3 −→ 5 −→ 4 −→ 3 −→ 2 −→ 1 −→ 6
is an Euler circuit!
B D