Professional Documents
Culture Documents
1
Source for Konigsberg maps: MacTutor History of Mathematics archive,
www-history.mcs.st-and.ac.uk
The Seven Bridges of Konigsberg
The Seven Bridges of Konigsberg
The Seven Bridges of Konigsberg
I molecules
I flow charts
I family trees
I ...
The Konigsberg Bridge Problem
Euler and the Konigsberg Bridge Problem
C E
S
The Bridges of Konigsberg
C E
S
Euler and the Konigsberg Bridge Problem
Other examples:
I Walking tour: must cross every bridge once
Which of these figures can you draw without ever lifting your
pen from the page, or retracing a previous line?
For which ones can you finish with your pen at the same point
it started?
Unicursal Tracings
Which of these figures can you draw without ever lifting your
pen from the page, or retracing a previous line?
For which ones can you finish with your pen at the same point
it started?
A
C
F H
E G
Different Representations of Graphs
B D F H
A E
C G
F H B D
E G A C
Different Representations of Graphs
B D F H F H
A E E
C G G
F H B D D
B
E G A C A C
Different Representations of Graphs
B D F H F H
A E E
C G G
F H B D D
B
E G A C A C
E G
F H
B D
A C
Different Representations of Graphs
B D F H F H
A E E
C G G
F H B D D
B
E G A C A C
E G E G
F
F H
B
H
B D
D C
A C A
Different Representations of Graphs
B D F H F H
A E E
C G G
F H B D D
B
E G A C A C
E G E G
F
F H
B
H
B D
D C
A C A
B
A
AB Vertex set:
BC V = {A, B, C , D, E , F }
C
AD
F CD Edge set:
BE
E = {AB, BB, BC ,
CD CD, CD, DE , BE , AD}
E DE D
BA = B
A
AB Vertex set:
BC V = {A, B, C , D, E , F }
C
AD
= DA
F CD Edge set:
BE
E = {AB, BB, BC ,
CD CD, CD, DE , BE , AD}
E DE D
F CD Edge set:
BE
E = {AB, BB, BC ,
CD CD, CD, DE , BE , AD}
E DE D
B
A
AB Vertex set:
BC V = {A, B, C , D, E , F }
C
AD
B
A
AB Vertex set:
BC V = {A, B, C , D, E , F }
C
AD
F CD Edge set:
irrelevant! BE E = {AB, BB, BC ,
CD CD, CD, DE , BE , AD}
E DE D
BB
B Vertex set:
AB
A V = {A, B, C , D, E , F }
isolated BC
vertex C
AD
Edge set:
F CD
E = {AB, BB, BC ,
BE
CD CD, CD, DE , BE , AD}
E DE D
B
A
C
E D
Graph Terminology: Degree
The degree of a vertex v is the number of edges attached
to v . (A loop counts as two edges.)
Degree
B
A
5
2
C
3
F 0
2 4
E D
Graph Terminology: Degree
The degree of a vertex v is the number of edges attached
to v . (A loop counts as two edges.)
Degree
B
A
5
2
C
3
F 0
2 4
E D
Example: Konigsberg.
Vertices = regions of city
Degree of a vertex = number of bridges that go to that region
C E
S
Graph Terminology: Degree
Example: Konigsberg.
Vertices = regions of city
Degree of a vertex = number of bridges that go to that region
N
degree(N) = 3
degree(C) = 5
C E degree(E) = 3
degree(S) = 3
S
Graph Terminology: Degree
Example: Map of USA.
Vertices = states; degree = number of bordering states
Graph Terminology: Degree
Example: Map of USA.
Vertices = states; degree = number of bordering states
deg(MN) = 4 deg(ME) = 1
deg(CA) = 3
deg(TN)
=8
deg(AK) = 0 deg(KS) = 4
Paths and Circuits
I Rule: A trip cannot use the same edge more than once,
but it may pass through the same vertex more than once.
delete
loop e
Bridges
If two or more edges share both endpoints, then removing any
one of them cannot make the graph disconnected. Therefore,
none of those edges is a bridge.
delete
multiple
C edges
A
B
D
Bridges
If two or more edges share both endpoints, then removing any
one of them cannot make the graph disconnected. Therefore,
none of those edges is a bridge.
delete
multiple
C edges
A
B