Questions D2 (553 questions)

Browse by board
AQA AS Paper 1 AS Paper 2 C1 C2 C3 C4 D1 D2 FP1 FP2 FP3 Further AS Paper 1 Further AS Paper 2 Discrete Further AS Paper 2 Mechanics Further AS Paper 2 Statistics Further Paper 1 Further Paper 2 Further Paper 3 Discrete Further Paper 3 Mechanics Further Paper 3 Statistics M1 M2 M3 Paper 1 Paper 2 Paper 3 S1 S2 S3 CAIE FP1 FP2 Further Paper 1 Further Paper 2 Further Paper 3 Further Paper 4 M1 M2 P1 P2 P3 S1 S2 Edexcel AEA AS Paper 1 AS Paper 2 C1 C12 C2 C3 C34 C4 CP AS CP1 CP2 D1 D2 F1 F2 F3 FD1 FD1 AS FD2 FD2 AS FM1 FM1 AS FM2 FM2 AS FP1 FP1 AS FP2 FP2 AS FP3 FS1 FS1 AS FS2 FS2 AS M1 M2 M3 M4 M5 P1 P2 P3 P4 PMT Mocks PURE Paper 1 Paper 2 Paper 3 S1 S2 S3 S4 OCR AS Pure C1 C2 C3 C4 D1 D2 FD1 AS FM1 AS FP1 FP1 AS FP2 FP3 FS1 AS Further Additional Pure Further Additional Pure AS Further Discrete Further Discrete AS Further Mechanics Further Mechanics AS Further Pure Core 1 Further Pure Core 2 Further Pure Core AS Further Statistics Further Statistics AS H240/01 H240/02 H240/03 M1 M2 M3 M4 PURE S1 S2 S3 S4 OCR MEI AS Paper 1 AS Paper 2 C1 C2 C3 C4 D1 D2 FP1 FP2 FP3 Further Extra Pure Further Mechanics A AS Further Mechanics B AS Further Mechanics Major Further Mechanics Minor Further Numerical Methods Further Pure Core Further Pure Core AS Further Pure with Technology Further Statistics A AS Further Statistics B AS Further Statistics Major Further Statistics Minor M1 M2 M3 M4 Paper 1 Paper 2 Paper 3 S1 S2 S3 S4 Pre-U Pre-U 9794/1 Pre-U 9794/2 Pre-U 9794/3 Pre-U 9795 Pre-U 9795/1 Pre-U 9795/2 WJEC Further Unit 1 Further Unit 2 Further Unit 3 Further Unit 4 Further Unit 5 Further Unit 6 Unit 1 Unit 2 Unit 3 Unit 4
Edexcel D2 2004 June Q9
7 marks Standard +0.3
\includegraphics{figure_5} The diagram above shows a network of roads represented by arcs. The capacity of the road represented by that arc is shown on each arc. The numbers in circles represent a possible flow of 26 from \(B\) to \(L\). Three cuts \(C_1\), \(C_2\) and \(C_3\) are shown on The diagram above.
  1. Find the capacity of each of the three cuts. [3]
  2. Verify that the flow of 26 is maximal. [1]
The government aims to maximise the possible flow from \(B\) to \(L\) by using one of two options. Option 1: Build a new road from \(E\) to \(J\) with capacity 5. or Option 2: Build a new road from \(F\) to \(H\) with capacity 3.
  1. By considering both options, explain which one meets the government's aim [3]
Edexcel D2 2004 June Q10
18 marks Moderate -0.5
Flatland UK Ltd makes three types of carpet, the Lincoln, the Norfolk and the Suffolk. The carpets all require units of black, green and red wool. For each roll of carpet, the Lincoln requires 1 unit of black, 1 of green and 3 of red, the Norfolk requires 1 unit of black, 2 of green and 2 of red, and the Suffolk requires 2 units of black, 1 of green and 1 of red. There are up to 30 units of black, 40 units of green and 50 units of red available each day. Profits of £50, £80 and £60 are made on each roll of Lincoln, Norfolk and Suffolk respectively. Flatland UK Ltd wishes to maximise its profit. Let the number of rolls of the Lincoln, Norfolk and Suffolk made daily be \(x\), \(y\) and \(z\) respectively.
  1. Formulate the above situation as a linear programming problem, listing clearly the constraints as inequalities in their simplest form, and stating the objective function. [4]
This problem is to be solved using the Simplex algorithm. The most negative number in the profit row is taken to indicate the pivot column at each stage.
  1. Stating your row operations, show that after one complete iteration the tableau becomes
    Basic variable\(x\)\(y\)\(z\)\(r\)\(s\)\(t\)Value
    \(r\)\(\frac{1}{2}\)0\(1\frac{1}{2}\)1\(-\frac{1}{2}\)010
    \(y\)\(\frac{1}{2}\)1\(\frac{1}{2}\)0\(\frac{1}{2}\)020
    \(t\)2000\(-1\)110
    P\(-10\)0\(-20\)04001600
    [4]
You may not need to use all of the tableaux.
Basic variable\(x\)\(y\)\(z\)\(r\)\(s\)\(t\)ValueRow operations
\(r\)
\(s\)
\(t\)
P
Basic variable\(x\)\(y\)\(z\)\(r\)\(s\)\(t\)ValueRow operations
  1. Explain the practical meaning of the value 10 in the top row. [2]
    1. Perform one further complete iteration of the Simplex algorithm.
      Basic variable\(x\)\(y\)\(z\)\(r\)\(s\)\(t\)ValueRow operations
      Basic variable\(x\)\(y\)\(z\)\(r\)\(s\)\(t\)ValueRow operations
    2. State whether your current answer to part (d)(i) is optimal. Give a reason for your answer.
    3. Interpret your current tableau, giving the value of each variable. [8]
(Total 18 marks)
Edexcel D2 2006 June Q1
4 marks Easy -1.8
  1. State Bellman's principle of optimality. [1]
  2. Explain what is meant by a minimax route. [1]
  3. Describe a practical problem that would require a minimax route as its solution. [2]
(Total 4 marks)
Edexcel D2 2006 June Q2
Moderate -0.8
Three workers, \(P\), \(Q\) and \(R\), are to be assigned to three tasks, 1, 2 and 3. Each worker is to be assigned to one task and each task must be assigned to one worker. The cost, in hundreds of pounds, of using each worker for each task is given in the table below. The cost is to be minimised.
Cost (in £100s)Task 1Task 2Task 3
Worker \(P\)873
Worker \(Q\)956
Worker \(R\)1044
Formulate the above situation as a linear programming problem, defining the decision variables and making the objective and constraints clear. (Total 7 marks)
Edexcel D2 2006 June Q3
11 marks Moderate -0.5
A college wants to offer five full-day activities with a different activity each day from Monday to Friday. The sports hall will be used for these activities. Each evening the caretaker will prepare the hall by putting away the equipment from the previous activity and setting up the hall for the activity next day. On Friday evening he will put away the equipment used that day and set up the hall for the following Monday. The 5 activities offered are Badminton (\(B\)), Cricket nets (\(C\)), Dancing (\(D\)), Football coaching (\(F\)) and Tennis (\(T\)). Each will be on the same day from week to week. The college decides to offer the activities in the order that minimises the total time the caretaker has to spend preparing the hall each week. The hall is initially set up for Badminton on Monday. The table below shows the time, in minutes, it will take the caretaker to put away the equipment from one activity and set up the hall for the next.
To
\cline{2-6} \multicolumn{1}{c|}{Time}\(B\)\(C\)\(D\)\(F\)\(T\)
\(B\)--10815064100
\(C\)108--5410460
From \(D\)15054--150102
\(F\)64104150--68
\(T\)1006010268--
  1. Explain why this problem is equivalent to the travelling salesman problem. [2]
  2. Find the total time taken by the caretaker each week using this ordering. A possible ordering of activities is
    MondayTuesdayWednesdayThursdayFriday
    \(B\)\(C\)\(D\)\(F\)\(T\)
    [2]
  3. Starting with Badminton on Monday, use a suitable algorithm to find an ordering that reduces the total time spent each week to less than 7 hours. [3]
  4. By deleting \(B\), use a suitable algorithm to find a lower bound for the time taken each week. Make your method clear. [4]
(Total 11 marks)
Edexcel D2 2006 June Q4
11 marks Standard +0.3
During the school holidays four building tasks, rebuilding a wall (\(W\)), repairing the roof (\(R\)), repainting the hall (\(H\)) and relaying the playground (\(P\)), need to be carried out at a Junior School. Four builders, \(A\), \(B\), \(C\) and \(D\) will be hired for these tasks. Each builder must be assigned to one task. Builder \(B\) is not able to rebuild the wall and therefore cannot be assigned to this task. The cost, in thousands of pounds, of using each builder for each task is given in the table below.
Cost\(H\)\(P\)\(R\)\(W\)
\(A\)35119
\(B\)378--
\(C\)25107
\(D\)8376
  1. Use the Hungarian algorithm, reducing rows first, to obtain an allocation that minimises the total cost. State the allocation and its total cost. You must make your method clear and show the table after each stage. [9]
  2. State, with a reason, whether this allocation is unique. [2]
(Total 11 marks)
Edexcel D2 2006 June Q5
Moderate -0.5
Victor owns some kiosks selling ice cream, hot dogs and soft drinks. The network below shows the choices of action and the profits, in thousands of pounds, they generate over the next four years. The negative numbers indicate losses due to the purchases of new kiosks. \includegraphics{figure_5} Use a suitable algorithm to determine the sequence of actions so that the profit over the four years is maximised and state this maximum profit. (Total 12 marks)
Edexcel D2 2006 June Q6
14 marks Moderate -0.5
  1. Explain briefly the circumstances under which a degenerate feasible solution may occur to a transportation problem. [2]
  2. Explain why a dummy location may be needed when solving a transportation problem. [1]
The table below shows the cost of transporting one unit of stock from each of three supply points \(A\), \(B\) and \(C\) to each of two demand points 1 and 2. It also shows the stock held at each supply point and the stock required at each demand point.
12Supply
\(A\)624715
\(B\)614812
\(C\)685817
Demand1611
  1. Complete the table below to show a possible initial feasible solution generated by the north-west corner method.
    123
    \(A\)
    \(B\)0
    \(C\)
    [1]
  2. Use the stepping-stone method to obtain an optimal solution and state its cost. You should make your method clear by stating shadow costs, improvement indices, stepping-stone route, and the entering and exiting squares at each stage. [10]
(Total 14 marks)
Edexcel D2 2006 June Q7
16 marks Standard +0.8
A two person zero-sum game is represented by the following pay-off matrix for player \(A\).
\(B\) plays 1\(B\) plays 2\(B\) plays 3
\(A\) plays 1572
\(A\) plays 2384
\(A\) plays 3649
  1. Formulate the game as a linear programming problem for player \(A\), writing the constraints as equalities and clearly defining your variables. [5]
  2. Explain why it is necessary to use the simplex algorithm to solve this game theory problem. [1]
  3. Write down an initial simplex tableau making your variables clear. [2]
  4. Perform two complete iterations of the simplex algorithm, indicating your pivots and stating the row operations that you use. [8]
(Total 16 marks)
Edexcel D2 2006 June Q8
16 marks Standard +0.3
The tableau below is the initial tableau for a maximising linear programming problem.
Basic variable\(x\)\(y\)\(z\)\(r\)\(s\)\(t\)Value
\(r\)710101003600
\(s\)69120103600
\(t\)2340012400
\(P\)-35-55-600000
  1. Write down the four equations represented in the initial tableau above. [4]
  2. Taking the most negative number in the profit row to indicate the pivot column at each stage, solve this linear programming problem. State the row operations that you use. [9]
  3. State the values of the objective function and each variable. [3]
(Total 16 marks)
Edexcel D2 2006 June Q9
14 marks Moderate -0.3
\includegraphics{figure_9} The figure above shows a capacitated, directed network. The capacity of each arc is shown on each arc. The numbers in circles represent an initial flow from \(S\) to \(T\). Two cuts \(C_1\) and \(C_2\) are shown on the figure.
  1. Write down the capacity of each of the two cuts and the value of the initial flow. [3]
  2. Complete the initialisation of the labelling procedure on the diagram below by entering values along arcs \(AC\), \(CD\), \(DE\) and \(DT\). \includegraphics{figure_9b} [2]
  3. Hence use the labelling procedure to find a maximal flow through the network. You must list each flow-augmenting path you use, together with its flow. [5]
  4. Show your maximal flow pattern on the diagram below. \includegraphics{figure_9d} [2]
  5. Prove that your flow is maximal. [2]
(Total 14 marks)
OCR MEI D2 Q1
16 marks Easy -1.2
The switching circuit in Fig. 1.1 shows switches, s for a car's sidelights, h for its dipped headlights and f for its high-intensity rear foglights. It also shows the three sets of lights. \includegraphics{figure_1} (Note: s and h are each "ganged" switches. A ganged switch consists of two connected switches sharing a single switch control, so that both are either on or off together.)
    1. Describe in words the conditions under which the foglights will come on. [2]
    Fig. 1.2 shows a combinatorial circuit. \includegraphics{figure_2}
    1. Write the output in terms of a Boolean expression involving s, h and f. [2]
    2. Use a truth table to prove that \(s \wedge h \wedge f = \sim (\sim s \vee \sim h) \wedge f\). [3]
  1. A car's first gear can be engaged (g) if either both the road speed is low (r) and the clutch is depressed (d), or if both the road speed is low (r) and the engine speed is the correct multiple of the road speed (m).
    1. Draw a switching circuit to represent the conditions under which first gear can be engaged. Use two ganged switches to represent r, and single switches to represent each of d, m and g. [2]
    2. Draw a combinatorial circuit to represent the Boolean expression \(r \wedge (d \vee m) \wedge g\). [4]
    3. Use Boolean algebra to prove that \(r \wedge (d \vee m) \wedge g = ((r \wedge d) \vee (r \wedge m)) \wedge g\). [2]
    4. Draw another switching circuit to represent the conditions under which first gear can be selected, but without using a ganged switch. [1]
OCR MEI D2 Q2
16 marks Moderate -0.8
Karl is considering investing in a villa in Greece. It will cost him 56000 euros (€ 56000). His alternative is to invest his money, £35000, in the United Kingdom. He is concerned with what will happen over the next 5 years. He estimates that there is a 60% chance that a house currently worth € 56000 will appreciate to be worth € 75000 in that time, but that there is a 40% chance that it will be worth only € 55000. If he invests in the United Kingdom then there is a 50% chance that there will be 20% growth over the 5 years, and a 50% chance that there will be 10% growth.
  1. Given that £1 is worth € 1.60, draw a decision tree for Karl, and advise him what to do, using the EMV of his investment (in thousands of euros) as his criterion. [4]
In fact the £/€ exchange rate is not fixed. It is estimated that at the end of 5 years, if there has been 20% growth in the UK then there is a 70% chance that the exchange rate will stand at 1.70 euros per pound, and a 30% chance that it will be 1.50. If growth has been 10% then there is a 40% chance that the exchange rate will stand at 1.70 and a 60% chance that it will be 1.50.
  1. Produce a revised decision tree incorporating this information, and give appropriate advice. [3]
A financial analyst asks Karl a number of questions to determine his utility function. He estimates that for x in cash (in thousands of euros) Karl's utility is \(x^{0.5}\), and that for y in property (in thousands of euros), Karl's utility is \(y^{0.75}\).
  1. Repeat your computations from part (ii) using utility instead of the EMV of his investment. Does this change your advice? [3]
  2. Using EMVs, find the exchange rate (number of euros per pound) which will make Karl indifferent between investing in the UK and investing in a villa in Greece. [2]
  3. Show that, using Karl's utility function, the exchange rate would have to drop to 1.277 euros per pound to make Karl indifferent between investing in the UK and investing in a villa in Greece. [4]
OCR MEI D2 Q3
20 marks Standard +0.3
The distance and route matrices shown in Fig. 3.1 are the result of applying Floyd's algorithm to the incomplete network on 4 vertices shown in Fig. 3.2. \includegraphics{figure_3} \includegraphics{figure_4}
  1. Draw the complete network of shortest distances. [2]
  2. Explain how to use the route matrix to find the shortest route from vertex 4 to vertex 1 in the original incomplete network. [2]
A new vertex, vertex 5, is added to the original network. Its distances from vertices to which it is connected are shown in Fig. 3.3. \includegraphics{figure_5}
  1. Draw the extended network and the complete 5-node network of shortest distances. (You are not required to use an algorithm to find the shortest distances.) [3]
  2. Produce the shortest distance matrix and the route matrix for the extended 5-node network. [3]
  3. Apply the nearest neighbour algorithm to your \(5 \times 5\) distance matrix, starting at vertex 1. Give the length of the cycle produced, together with the actual cycle in the original 5-node network. [3]
  4. By deleting vertex 1 and its arcs, and by using Prim's algorithm on the reduced distance matrix, produce a lower bound for the solution to the practical travelling salesperson problem in the original 5-node network. Show clearly your use of the matrix form of Prim's algorithm. [4]
  5. In the original 5-node network find a shortest route starting at vertex 1 and using each of the 6 arcs at least once. Give the length of your route. [3]
OCR MEI D2 Q4
20 marks Standard +0.8
Kassi and Theo are discussing how much oil and how much vinegar to use to dress their salad. They agree to use between 5 and 10ml of oil and between 3 and 6ml of vinegar and that the amount of oil should not exceed twice the amount of vinegar. Theo prefers to have more oil than vinegar. He formulates the following problem to maximise the proportion of oil: Maximise \(\frac{x}{x + y}\) subject to \(0 \leq x \leq 10\), \(0 \leq y \leq 6\), \(x - 2y \leq 0\).
  1. Explain why this problem is not an LP. [1]
  2. Use the simplex method to solve the following LP. Maximise \(x - y\) subject to \(0 \leq x \leq 10\), \(0 \leq y \leq 6\), \(x - 2y \leq 0\). [7]
  3. Kassi prefers to have more vinegar than oil. She formulates the following LP. Maximise \(y - x\) subject to \(5 \leq x \leq 10\), \(3 \leq y \leq 6\), \(x - 2y \leq 0\). Draw separate graphs to show the feasible regions for this problem and for the problem in part (ii). [5]
  4. Explain why the formulation in part (ii) produced a solution for Theo's problem, and why it is more difficult to use the simplex method to solve Kassi's problem in part (iii). [2]
  5. Produce an initial tableau for using the two-stage simplex method to solve Kassi's problem. Explain briefly how to proceed. [5]
Edexcel D2 Q1
6 marks Moderate -0.8
This question should be answered on the sheet provided. The table below shows the distances in miles between five villages. Jane lives in village A and is about to take her daughter's friends home to villages B, C, D and E. She will begin and end her journey at A and wishes to travel the minimum distance possible.
ABCDE
A\(-\)4782
B4\(-\)156
C71\(-\)27
D852\(-\)3
E2673\(-\)
  1. Obtain a minimum spanning tree for the network and hence find an upper bound for the length of Jane's journey. [4 marks]
  2. Using a shortcut, improve this upper bound to find an upper bound of less than 15 miles. [2 marks]
Edexcel D2 Q2
8 marks Standard +0.3
The payoff matrix for player A in a two-person zero-sum game with value V is shown below.
B
IIIIII
\multirow{3}{*}{A}I6\(-4\)\(-1\)
II\(-2\)53
III51\(-3\)
Formulate this information as a linear programming problem, the solution to which will give the optimal strategy for player B.
  1. Rewrite the matrix as necessary and state the new value of the game, v, in terms of V. [2 marks]
  2. Define your decision variables. [2 marks]
  3. Write down the objective function in terms of your decision variables. [2 marks]
  4. Write down the constraints. [2 marks]
Edexcel D2 Q3
9 marks Moderate -0.3
This question should be answered on the sheet provided. The table below gives distances, in miles, for a network relating to a travelling salesman problem.
ABCDEFG
A\(-\)83576810391120
B83\(-\)7863418252
C5778\(-\)37596374
D686337\(-\)605262
E103415960\(-\)4851
F9182635248\(-\)77
G1205274625177\(-\)
  1. Use the nearest neighbour algorithm, starting at A, to find an upper bound for the length of a tour beginning and ending at A and state the tour. [4 marks]
  2. By deleting A, obtain a lower bound for the length of a tour. [4 marks]
  3. Hence, write down an inequality which must by satisfied by d, the minimum distance travelled in miles. [1 mark]
Edexcel D2 Q4
10 marks Challenging +1.8
This question should be answered on the sheet provided. A rally consisting of four stages is being planned. The first stage will begin at A and the last stage will end at L. Various routes are being considered, with the end of one stage being the start of the next. The organisers want the shortest stage to be as long as possible. The table below shows the length, in miles, of each of the possible stages.
Finishing point
CDEFGHI
\multirow{3}{*}{Starting point}A14.513108114
B510.5
C96
D12715
E
F5
G8
H10
I
J
K
Finishing point
JKL
2
923
29
5
6
10
Use dynamic programming to find the route which satisfies the wish of the organisers. State the length of the shortest stage on this route. [10 marks]
Edexcel D2 Q5
11 marks Standard +0.3
Four athletes are put forward for selection for a mixed stage relay race at a local competition. They may each be selected for a maximum of one stage and only one athlete can be entered for each stage. The average time, in seconds, for each athlete to complete each stage is given below, based on past performances.
Stage
123
Alex1969168
Darren2264157
Leroy2072166
Suraj2366171
Use the Hungarian algorithm to find an optimal allocation which will minimise the team's total time. Your answer should show clearly how you have applied the algorithm. [11 marks]
Edexcel D2 Q6
13 marks Moderate -0.3
The payoff matrix for player X in a two-person zero-sum game is shown below.
Y
\(Y_1\)\(Y_2\)
\multirow{2}{*}{X}\(X_1\)\(-2\)4
\(X_2\)6\(-1\)
  1. Explain why the game does not have a saddle point. [3 marks]
  2. Find the optimal strategy for
    1. player X, [8 marks]
    2. player Y.
  3. Find the value of the game. [2 marks]
Edexcel D2 Q7
18 marks Standard +0.3
A transportation problem has costs, in pounds, and supply and demand, in appropriate units, as given in the transportation tableau below.
DEFSupply
A13111420
B1091215
C156825
Demand30525
  1. Find the initial solution given by the north-west corner rule and state why it is degenerate. [3 marks]
  2. Use the stepping-stone method to obtain an optimal solution minimising total cost. State the resulting transportation pattern and its total cost. [15 marks]
OCR D2 Q1
4 marks Moderate -0.8
The payoff matrix for player \(A\) in a two-person zero-sum game is shown below. \begin{array}{c|c|c|c|c} & & \multicolumn{3}{c}{B}
& & \text{I} & \text{II} & \text{III}
\hline \multirow{3}{*}{A} & \text{I} & -3 & 4 & 0
& \text{II} & 2 & 2 & 1
& \text{III} & 3 & -2 & -1
\end{array} Find the optimal strategy for each player and the value of the game. [4 marks]
OCR D2 Q2
12 marks Moderate -0.8
ActivityTimePrecedence
A5
B20A
C3A
D7A
E4B
F15C
G6C
H17D
I10F, G
J2G, H
K6E, I
L9I, J
M3K, L
Fig. 1 Construct an activity network Use appropriate forward and backward scanning to find
  1. the minimum number of days needed to complete the entire project, [3 marks]
  2. the activities which lie on the critical path. [3 marks]
[6 marks]
OCR D2 Q3
8 marks Moderate -0.3
Arthur is planning a bus journey from town \(A\) to town \(L\). There are various routes he can take but he will have to change buses three times -- at \(B\), \(C\) or \(D\), at \(E\), \(F\), \(G\) or \(H\) and at \(I\), \(J\) or \(K\). \includegraphics{figure_2} Fig. 2 Figure 2 shows the bus routes that Arthur can use. The number on each arc shows the average waiting time, in minutes, for a bus to come on that route. As the forecast is for rain, Arthur wishes to plan his journey so that the total waiting time is as small as possible. Use dynamic programming to find the route that Arthur should use. [8 marks]