Decision Mathematics 1: MEI Structured Mathematics Module Summary Sheets
Decision Mathematics 1: MEI Structured Mathematics Module Summary Sheets
Decision Mathematics 1: MEI Structured Mathematics Module Summary Sheets
Decision Mathematics 1
(Version B: reference to new book)
Topic 1: Algorithms
Topic 2: Graphs
Topic 3: Networks
Topic 4: Critical Path Analysis
Topic 5: Linear Programming
Topic 6: Simulation
Summary D1 Topic 1:
References:
Chapter 1
Pages 1-7
Exercise 1B
Q. 2
Algorithms
Terminology
Examples
Linear
Binary
Index
Exercise 1C
Q. 1
Sorting
Placing all items in a list in the correct order
Exchange Find the smallest and swap it with the first. Find the
next smallest and swap it with the second; etc.
Bubble
On the first pass compare adjacent items (1st with 2nd,
2nd with 3rd etc.), and swap if necessary. Repeat until
all items sorted.
Quick
Choose a pivot value and sort items into two sub-lists,
containing items smaller and larger than the pivot respectively. Repeat algorithm on each sub-list until all
sub-lists are of length 1 or 0.
Bin Packing
The process of allocating items to
locations, given a set of items of
specified sizes and a set of locations
with specified capacities.
First fit
Mathematical
Leading to the calculation of a required value
References:
Chapter 1
Pages 20-24
Exercise 1D
Q. 1
Exercise 1E
Q. 4
Decision Mathematics 1
Version B: page 2
Competence statements A1, A2, A3, A4
MEI
Summary D1 Topic 2:
References:
Chapter 2
Pages 43-45
Graphs
Terminology
Examples
Graph collection of vertices & edges
Multiple edges
Sub graph any set of edges & vertices taken from a graph
is a sub-graph
References:
Chapter 2
Pages 47-50
vertices
edge
Exercise 2A
Q. 4
loop
15
tree
digraph
From
Fro
To
A B C
A 1 1
B 1 1
C 1 1 2
Decision Mathematics 1
Version B: page 3
Competence statements g1, g2
MEI
Summary D1 Topic 3:
Networks
References:
Chapter 3
Pages 60-61
Terminology
Network - a graph with weighted arcs (or edges)
References:
Chapter 3
Pages 62-65
Example
B
2
Kruskals algorithm
1
Select the shortest edge in a network
2
Select the next shortest edge which does not create a cycle Kruskals
3
Repeat step 2 until all vertices have been connected
Exercise 3A
Q. 1
References:
Chapter 3
Pages 68-79
Prims algorithm
1
Select any vertex
2
Select the shortest edge connected to that vertex
3
Select the shortest edge which connects a previously
chosen vertex to a new vertex
4
Repeat step 3 until all vertices have been connected
Shortest path the shortest route between any two nodes in a
network
1
2
3
C
Prims
(starting from A)
1
AB
2
BD
3
DC
AB
CD
BD
B
D
Dijkstras algorithm
Exercise 3B
Q. 1
2
Exercise 3C
Q. 2, 3
Exercise 3D
Q. 4
References:
Chapter 3
Pages 86-87
D
A
C
B
D
A
C
Exercise 3E
Q. 4
D
A
C
B
Decision Mathematics 1
Version B: page 4
Competence statements N1, N2, N3, N4
MEI
D
A
C
Summary D1 Topic 4:
References:
Chapter 4
Pages 101-107
Terminology
Example
A Critical Path Analysis question will consist of a project to Make a cup of instant black coffee
be completed by carrying out a number of tasks.
Activity
Duration (secs)
Preceding
activities
A Fill Kettle
20
B Boil Kettle
90
10
B, D, E
D Put coffee in
mug
20
15
The above precedence table leads to the following graph (activity network)
Exercise 4B
Q. 3
Exercise 4C
Q. 9
Resourcing
Resourcing is the task of finding how many people are
required to complete the project in the minimum time.
1. Each task requires one person. In this case the critical
path will usually be completed by a single person. The
other tasks are scheduled (possibly making use of float
time to delay the start times) so that the least number of
people are required [there are links here to the concepts
of bin-packing from the algorithms section].
events.
To ensure correct logic.
Decision Mathematics 1
Version B: page 5
Competence statements X1, X2, X3, X4, X5
MEI
Summary D1 Topic 5:
References:
Chapter 5
Pages 138-145
Linear Programming
Terminology
Variable a named quantity which can take more than one
value.
Examples
x, y, Xab, Product1
maximise 2x + 3y
Objective Function an expression which is to be maximised or minimised, expressed as a linear function of the
variables.
P = 2x + 3y
x + 2y 12
x3
2x y = 4
Graphical Solutions
(assuming a two-variable maximisation problem)
Label axes for each variable.
For each constraint, draw the line representing the
equality. For inequalities, shade out the unwanted side
(above for <, below for >).
Shade out left of vertical and below horizontal axes.
Example 5.1
Page 141-145
Exercise 5A
Q. 2
References:
Chapter 5
Pages 148-156
Exercise 5B
Q. 3
Exercise 5C
Q. 3
Example
Maximise 2x + 3y subject to
2x + y 8, x + 2y 8
The gradient of P = 2x + 3y is 2/3
Multiple solutions
These occur when the objective function is parallel to a
constraint, and occasionally in integer problems.
Spare capacity
Any constraint which does not pass through the optimal solution will have spare capacity which can be
calculated. This can be done by substituting the values
for the variables and noting the difference across the
inequality sign.
Decision Mathematics 1
Version B: page 6
Competence statements L1, L2, L3, L4,L 5
MEI
Summary D1 Topic 6:
References:
Chapter 6
Pages 168-169
Exercise 6A
Q. 3
References:
Chapter 6
Pages 173-174
Exercise 6B
Q. 1
References:
Chapter 6
Page 174
Simulation
Terminology
Simulation: a mathematical model that can be used to
test what might happen in situations where an
experiment with real subjects may be too dangerous
or take too long.
Deterministic model: assumes that chance events do
not occur.
Stochastic model: allows for an element of chance.
Random variables: used in stochastic models to
simulate probabilities. Of two types
Uniformly distributed random variables
Non-uniform random variables
Rules of the simulation and Cumulative frequency
methods: allocating the random variables in line with
the probabilities
Inter arrival times: how often a new customer joins
the queue
0.2
0.5
0.3
Random Numbers
00-19
20-69
70-99
probability
probability
Random Numbers
/6
00-15
/2
16-63
/3
64-95
Exercise 6D
Q. 4
coins or dice
random number tables, random number generated
from a calculator
References:
Chapter 6
Page 178
Queuing simulations
1. Decide on the important variables
Exercise 6C
Q. 3
Examples
What system of queuing will minimise customer waiting times in a bank?
How does an infectious disease spread through a
population?
Decision Mathematics 1
Version B: page 7
Competence statements Z1, Z2, Z3, Z4, Z5
MEI
customer
RND
Arrival
time
Service
start
RND
Service
time
Service
ends
Queing
time
58
13
73
24
11
88
39