Académique Documents
Professionnel Documents
Culture Documents
This map is an
example of a graph.
25
CHAPTER
2.1
You need to know how graphs and networks can be used to create mathematical
models.
A graph consists of points (called vertices or nodes) which are connected by lines (edges
or arcs).
If a graph has a number associated with each edge (usually called its weight), then the
graph is known as a weighted graph or network.
Example 1
a Why is this a graph?
b What are i the vertices, ii the edges?
c What is the purpose of this graph?
a
b
Example 2
a Why is this a graph?
Alf Betty
Carol Dylan
Loan
Julie
Edward Fay
Kate
Lauren
a
b
c
26
George Hazel
Michael
Neil
Oscar
Example 3
The editor of a newspaper has to assign five reporters, Amro, Bavika, Chi, David and Erin, to cover five
events, hospital opening, movie premiere, celebrity wedding, royal visit and 110th birthday party.
Amro could be assigned to the movie premier or the celebrity wedding.
Bavika could be assigned to the hospital opening, movie premiere or 110th birthday.
Chi could be assigned to the royal visit, celebrity wedding or 110th birthday.
David could be assigned to the hospital
opening, movie premiere or royal visit.
Erin could be assigned to the celebrity
wedding, royal visit or 110th birthday.
Amro
Hospital openings
Movie premiere
Bavika
Celebrity weddings
Chi
Royal list
David
Erin
Amro
Bavika
Chi
David
Erin
Hospital openings
Movie premiere
Celebrity weddings
Royal list
110th birthday party
Example 4
The manager of a camp site needs to
provide a water supply to stand pipes
located at various points on the site.
a What do the vertices represent?
b What do the edges represent?
c What do the numbers represent?
a
b
c
A
30 m
main
supply
150 m
60 m
80 m
100 m
60 m
B
50 m
90 m
80 m
100 m
C
This is a network
showing a simplified
view of the situation.
27
CHAPTER
Example 5
This network represents a project with six activities, A, B, C, D, E and F.
Interpret the network.
A
2.2
You need to be familiar with some basic terminology used in graph theory.
Decision mathematics is a relatively new branch of mathematics which has grown out of
several fields of study.
There are often two different notations in use. You need to be familiar with both sets.
A and B are
nodes or vertices
C is a
nodes or
vertices
CE is
an arc
or edge.
A subgraph of G is a graph, each of whose vertices belongs to G and each of whose edges
belongs to G. It is simply a part of the original graph.
B
B
A
D
Subgraph 1
some
possible
subgraphs
Graph, G
A
D
Subgraph 2
The degree or valency or order of a vertex is the number of edges incident to it.
K
2 degree because
2 lines meet here
Vertex
Degree
M
N
A path is a finite sequence of edges, such that the end vertex of one edge in the sequence is
the start vertex of the next, and in which no vertex appears more than once.
S
U
W
For example, in the graph above, one possible path is R S U W T and another is U V W T R S.
A walk is a path in which you are permitted to return to vertices more than once. For
example in the graph above, a walk could be R U V S R T W U V.
A cycle (or circuit) is a closed path, i.e. the end vertex of the last edge is the start vertex of
the first edge.
For example in the graph above, a possible cycle is R U V W T R.
29
CHAPTER
Two vertices are connected if there is a path between them. A graph is connected if all its
vertices are connected.
E
H
R
loop
A simple graph is one in which there are no loops and not more than one edge connecting
any pair of vertices.
multiple
edges
F
C
If the edges of a graph have a direction associated with them they are known as directed
edges and the graph is known as a digraph.
Q
P
T
S
Exercise 2A
1
30
b F
J
H
I
B
Q
W
X
Z
B
C
F
D
A lemma is a mathematical
fact used a stepping stone
to more important results.
Q
P
R
M
b Confirm that there is only one path between any two vertices.
6
CHAPTER
Five volunteers, Ann, Brian, Conor, Dave and Eun Jung are going to run a help desk from
Monday to Friday next week.
One person is required each day.
Ann is available on Tuesday and Friday,
Brian is available on Wednesday,
Conor is available on Monday, Thursday and Friday,
Dave is available on Monday, Wednesday and Thursday,
Eun Jung is available on Tuesday, Wednesday and Thursday.
Look at Example 3.
2.3
Look at Example 5.
A
D
E
F
A tree
A spanning tree of a graph, G, is a subgraph which includes all the vertices of G and is also a tree.
For example, starting with this graph, G:
B
C
32
A bipartite graph consists of two sets of vertices, X and Y. The edges only join vertices in X
to vertices in Y, not vertices within a set.
You saw an example of a bipartite graph in Example 3. Another one is drawn below.
A
A complete graph is a graph in which every vertex is directly connected by an edge to each
of the other vertices. If the graph has n vertices the connected graph is denoted by kn.
k4
k3
k6
A complete bipartite graph is denoted kr,s, where there are r vertices in set X and s vertices
in set Y.
A
F
B
K
G
k3,3
k2,3
Isomorphic graphs are graphs that show the same information but are drawn differently.
For example
D
E
is isomophicto
and
M
W
T
For two graphs to be isomorphic, they must have the same number of vertices of the same
degree, but these vertices must also be connected together in the same way.
If graphs are isomorphic it is possible to pair equivalent vertices in this case.
A can be paired with J in the first graph and R in the second
B can be paired with M in the first graph and T in the second
C can be paired with N in the first graph and S in the second
D can be paired with L in the first graph and V in the second
E can be paired with Q in the first graph and W in the second
F can be paired with P in the first graph and U in the second
G can be paired with K in the first graph and X in the second
33
CHAPTER
2.4
You should understand how graphs and network can be represented using
matrices.
Example 6
Use an adjacency matrix to represent this graph.
Example 7
Use a distance matrix to represent this network.
23
17
A
15
19
20
16
D
18
C
34
17
18
17
15
19
23
18
15
20
19
20
16
23
16
Example 8
Use a distance matrix to represent this directed network.
T
11
18
10
11
10
9
10
Exercise 2B
1
There are 11 spanning trees for the graph above. See how many you can find.
3
Draw k8.
What is the degree of each vertex in the graph kn?
Draw k3,4
How many edges would be in kn,m?
35
CHAPTER
6
D
A
E
8
36
21
20
23
21
17
23
17
20
23
23
15
13
17
11
18
41
18
22
13
10
41
22
15
17
10
11
10
11
14
13
10
10
11
12
Mixed exercise 2C
1
A group of 6 children, Abmed, Bronwen, Di, Eddie, Fiona and Gary, were asked which of
6 sports, football, swimming, cricket, tennis, hockey and rugby, they enjoyed playing.
The results are shown in the table below.
Abmed
football
cricket
rugby
Bronwen
swimming
Di
football
tennis
hockey
Eddie
football
cricket
basketball
Fiona
tennis
Gary
football
basketball
swimming
hockey
hockey
rugby
hockey
swimming
hockey
BE
DF
CG
CHAPTER
50
15
30
18
20
C
10
16
23
25
E
Write down a formula connecting the number of edges, E, in a spanning tree with V vertices.
38
If a graph has a number associated with each edge (its weight) then the graph is a
weighted graph (network).
The degree or valency (order) of a vertex is the number of edges incident to it.
A path is a finite sequence of edges, such that the end vertex of one edge in the sequence
is the start vertex of the next, and in which no vertex appears more than once.
A cycle (circuit) is a closed path, i.e. the end vertex of the last edge is the start vertex of
the first edge.
Two vertices are connected if there is a path between them. A graph is connected of all its
vertices are connected.
A simple graph is one in which there are no loops and not more than one edge
connecting any pair of vertices.
If the edges of a graph have a direction associated with them they are known as a
digraph.
39