Decision 1: Algorithms, graphs, shortest paths, route inspection and TSP – Edexcel A Level Further Mathematics (9FM0)

53 questions · page 2 of 4

0 / 0Answer a question to start your score.
Quick quiz (10)Saved 0
Advertisement
16
9FM0 Option paper 4 D · Jun 2024 · Section 1, Question 6May/June 2024Option paper 4 D10 marks
Loading question…
Question text

6.
4
3
5
F
H
A
C
3
4
3
2
5
6
4
D
I
3
S
T
5
4
2
1
7
4
3
E
G
B
J
4
2
Figure 2
The staged, directed network in Figure 2 represents the roads that connect 12 towns,
S, A, B, C, D, E, F, G, H, I, J and T. The number on each arc shows the time, in hours, it
takes to drive between these towns.
Elena plans to drive from S to T. She must arrive at T by 9 pm.
(a) By completing the table in the answer book, use dynamic programming to find the
latest time that Elena can start her journey from S to arrive at T by 9 pm.
(9)
(b) Hence write down the route that Elena should take.
(1)
(Total for Question 6 is 10 marks)

17
9FM0 Option paper 3 A · Jun 2023 · Question 2May/June 2023Option paper 3 A16 marks
Loading question…
Question text

2. The vertical height, h m, above horizontal ground, of a passenger on a fairground ride,
t seconds after the ride starts, where t  5, is modelled by the differential equation
d 2 h
d h
t 2
2 t
2 h t 3
(I)
t
d t
2
d
(a) Given that t = e x , show that
d h d h
(i) t
=
d t
d x
d 2 h d 2 h d h
(ii) t
2
2
d x
d t 2
d x
(4)
(b) Hence show that the transformation t = e x transforms equation (I) into the equation
d h
d 2 h
2 h e 3 x
3
d x
d x
2
(1)
(c) Hence show that
1 3
h = At + Bt 2 +
t
2
where A and B are constants.
(6)
d h
= –1
Given that when t = 1, h = 2.5 and when t = 2,
d t
(d) determine the height of the passenger above the ground 5 seconds after the start of
the ride.
(5)
Question 2 continued
Question 2 continued
Question 2 continued
(Total for Question 2 is 16 marks)

18
9FM0 Option paper 3 A · Jun 2023 · Question 7May/June 2023Option paper 3 A15 marks
Loading question…
Question text

7. With respect to a fixed origin O the point A has coordinates (3, 6, 5) and the line l
has equation
( r – (12i + 30j + 39k) ) × (7i + 13j + 24k) = 0
The points B and C lie on l such that AB = AC = 15
Given that A does not lie on l and that the x coordinate of B is negative,
(a) determine the coordinates of B and the coordinates of C
(4)
(b) Hence determine a Cartesian equation of the plane containing the points A, B and C
(3)
The point D has coordinates (–2, 1, α), where α is a constant.
Given that the volume of the tetrahedron ABCD is 147
(c) determine the possible values of α
(4)
Given that α > 0
(d) determine the shortest distance between the line l and the line passing through the
points A and D, giving your answer to 2 significant figures.
(4)
Question 7 continued
Question 7 continued
Question 7 continued
Question 7 continued
(Total for Question 7 is 15 marks)

Advertisement
19
9FM0 Option paper 3 D · Jun 2023 · Section 1, Question 1May/June 2023Option paper 3 D7 marks
Loading question…
Question text

1.
A
E
B
D
C
Figure 1
Figure 1 shows the graph G.
(a) State whether G is Eulerian, semi-Eulerian, or neither, giving a reason for
your answer.
(1)
(b) Write down an example of a Hamiltonian cycle on G.
(1)
(c) State whether or not G is planar, justifying your answer.
(1)
(d) State the number of arcs that would need to be added to G to make the graph K 5
(1)
A
E
5
10
7
4
8
B
D
15
3
2
C
Figure 2
Direct roads between five villages, A, B, C, D and E, are represented in Figure 2. The
weight on each arc is the time, in minutes, required to travel along the corresponding
road. Floyd’s algorithm is to be used to find the complete network of shortest times
between the five villages.
(e) For the network represented in Figure 2, complete the initial time matrix in the
answer book.
(1)
The time matrix after four iterations of Floyd’s algorithm is shown in Table 1.
A
B
C
D
E
A
–
10
13
15
5
B
10
–
3
5
4
C
13
3
–
2
7
D
15
5
2
–
7
E
5
4
7
7
–
Table 1
(f) Perform the final iteration of Floyd’s algorithm that follows from Table 1, showing
the time matrix for this iteration.
(2)
(Total for Question 1 is 7 marks)

20
9FM0 Option paper 3 D · Jun 2023 · Section 1, Question 3May/June 2023Option paper 3 D8 marks
Loading question…
Question text

3.
B
42
E
50
J
37
23
21
8
7
30
35
28
A
G
C
45
32
7
41
43
10
11
34
22
D
F
H
32
Figure 4
Figure 4 represents a network with nodes, A, B, C, D, E, F, G, H and J.
The number on each edge gives the length of the corresponding edge.
(a) (i) Use Dijkstra’s algorithm to find the shortest path from A to J.
(ii) State the length of the shortest path from A to J.
(6)
One application of Dijkstra’s algorithm has order n 2 , where n is the number of nodes in
the network.
It takes a computer 0.0312 seconds to find the shortest path from a given start node to a
given end node in a network of 9 nodes.
(b) Calculate approximately how long it would take, in minutes, for the computer to
find the shortest path from a given start node to a given end node for a network of
9000 nodes.
(2)
(Total for Question 3 is 8 marks)

21
9FM0 Option paper 3 D · Jun 2023 · Section 1, Question 4May/June 2023Option paper 3 D12 marks
Loading question…
Question text

4. The eleven distinct numbers listed below are to be packed into bins of size 40
15
22
3
9
23
5
4
18
20
13
x
It is known that x
•
is an integer less than 40
•
is the largest number in the list
(a) Explain why it is not possible to pack the numbers into 3 bins of size 40
(1)
Given that it is possible to pack the numbers into 4 bins of size 40
(b) determine the range of values for x
(2)
(c) Use the first-fit bin packing algorithm to determine how the numbers can be packed
into bins of size 40
(3)
(d) Carry out a quick sort to produce a list of the numbers in descending order. You
should show the result of each pass and identify your pivots clearly.
(4)
When the first-fit decreasing bin packing algorithm is applied to the list, neither the 15
nor the 13 is placed in the first bin.
(e) Determine the value of x. You must give reasons for your answer.
(2)
(Total for Question 4 is 12 marks)

22
9FM0 Option paper 3 D · Jun 2023 · Section 1, Question 5May/June 2023Option paper 3 D13 marks
Loading question…
Question text

5.
A
34
B
21
H
42
17
8
50
20
C
G
23
12
D
10
48
22
33
F
65
E
18
J
Figure 5
[The total weight of the network is 423]
Direct roads between nine towns, A, B, C, D, E, F, G, H and J, are represented
in Figure 5. The number on each arc represents the length, in miles, of the
corresponding road.
The table below shows the shortest distances, in miles, between the nine towns.
A
B
C
D
E
F
G
H
J
A
–
34
51
31
79
20
8
55
61
B
34
–
17
65
45
54
42
21
27
C
51
17
–
82
28
71
59
22
10
D
31
65
82
–
87
22
23
86
92
E
79
45
28
87
–
65
87
30
18
F
20
54
71
22
65
–
28
75
81
G
8
42
59
23
87
28
–
63
69
H
55
21
22
86
30
75
63
–
12
J
61
27
10
92
18
81
69
12
–
Table of shortest distances
A route is needed that minimises the total distance required to traverse each road at
least once.
The route must start at F and finish at J.
(a) (i) By considering the pairings of all relevant nodes, find the roads that would need
to be traversed twice.
(ii) State the total length of this route.
(5)
(b) Starting at A, use Prim’s algorithm to find the minimum spanning tree for the
table of shortest distances. You must state the order in which you select the arcs of
your tree.
(3)
Pete needs to visit all nine towns, starting and finishing in the same town, and wishes to
minimise the total distance he travels.
(c) Starting at G, use the nearest neighbour algorithm on the table of shortest distances
to find an upper bound for the length of Pete’s route. Write down the route that gives
this upper bound.
(2)
(d) By deleting G and all of its arcs, find a lower bound for the length of Pete’s route.
(2)
Pete decides to take the route he found in (c).
(e) Interpret the route in terms of the actual towns visited.
(1)
(Total for Question 5 is 13 marks)

23
9FM0 Option paper 3 D · Jun 2023 · Section 2, Question 1May/June 2023Option paper 3 D7 marks
Loading question…
Question text

1.
A
E
B
D
C
Figure 1
Question 1 continued
(e) Initial time matrix
A
B
C
D
E
A
–
B
–
C
–
D
–
E
–
(f) Final iteration
A
B
C
D
E
A
–
B
–
C
–
D
–
E
–
(Total for Question 1 is 7 marks)

Advertisement
24
9FM0 Option paper 4 A · Jun 2023 · Question 5May/June 2023Option paper 4 A8 marks
Loading question…
Question text

5. (i) A security code is made up of 4 numerical digits followed by 3 distinct uppercase
letters.
Given that the digits must be from the set {1, 2, 3, 4, 5} and the letters from the set
{A, B, C, D}
(a) determine the total number of possible codes using this system.
To enable more codes to be generated, the system is adapted so that the 3 letters can
appear anywhere in the code but no letter can be next to another letter.
(b) Determine the increase in the number of codes using this adapted system.
(4)
(ii) A combination lock code consists of four distinct digits that can be read as a
positive integer, N = abcd, satisfying
•
all the digits are odd
N is divisible by 9
•
•
the digits appear in either ascending or descending order
N ≡ e (mod ab ) where ab is read as a two-digit number and e is the odd digit
•
that is not used in the code
(a) Use the first two properties to determine the four digits used in the code.
(b) Hence determine the code on the lock.
(4)
Question 5 continued
Question 5 continued
Question 5 continued
(Total for Question 5 is 8 marks)

25
9FM0 Option paper 4 D · Jun 2023 · Section 1, Question 2May/June 2023Option paper 4 D5 marks
Loading question…
Question text

2. An outdoor theatre is holding a summer gala performance. The theatre owner must
decide whether to take out insurance against rain for this performance.
The theatre owner estimates that
•
on a fine day, the total profit will be £15 000
•
on a wet day, the total loss will be £20 000
Insurance against rain costs £2 000. If the performance must be cancelled due to rain,
then the theatre owner will receive £16 000 from the insurer. If the performance is not
cancelled due to rain, then the theatre owner will receive nothing from the insurer.
The probability of rain on the day of the gala performance is 0.2
Draw a decision tree and hence determine whether the theatre owner should take out the
insurance against rain for this performance.
(5)
(Total for Question 2 is 5 marks)

26
9FM0 Option paper 4 D · Jun 2023 · Section 2, Question 2May/June 2023Option paper 4 D5 marks
Loading question…
Question text

2.
Question 2 continued
Use the space below if you need to redraw your decision tree.
(Total for Question 2 is 5 marks)

27
9FM0 Option paper 3 A · Jun 2022 · Question 6May/June 2022Option paper 3 A6 marks
Loading question…
Question text

6. The points P, Q and R have position vectors 2 , 1 and 0 respectively.
4 5
3
(a) Determine a vector equation of the plane that passes through the points P, Q and R,
giving your answer in the form r = a + λb + μc, where λ and μ are scalar parameters.
(2)
(b) Determine the coordinates of the point of intersection of the plane with the x-axis.
(4)
Question 6 continued
Question 6 continued
Question 6 continued
(Total for Question 6 is 6 marks)

28
9FM0 Option paper 3 D · Jun 2022 · Section 1, Question 1May/June 2022Option paper 3 D5 marks
Loading question…
Question text

1. A gardener needs the following lengths of string. All lengths are in metres.
4.3
6.1
5.1
4.7
2.5
5.9
3.4
1.7
2.1
0.4
1.3
She cuts the lengths from balls of string. Each ball contains 10 m of string.
(a) Calculate a lower bound for the number of balls of string the gardener needs.
You must make your method clear.
(2)
(b) Use the first‑fit bin packing algorithm to determine how the lengths could be cut
from the balls of string.
(3)
(Total for Question 1 is 5 marks)

Advertisement
29
9FM0 Option paper 3 D · Jun 2022 · Section 1, Question 2May/June 2022Option paper 3 D13 marks
Loading question…
Question text

2.
B
23
4
H
8
16
33
9
3
E
23
18
A
C
6
31
17
J
K
10
F
10
14
10
14
25
D
G
25
Figure 1
[The total weight of the network is 299]
Figure 1 represents a network of cycle tracks between 10 landmarks, A, B, C, D, E, F,
G, H, J and K. The number on each edge represents the length, in kilometres, of the
corresponding track.
One day, Blanche wishes to cycle from A to K. She wishes to minimise the distance
she travels.
(a) (i) Use Dijkstra’s algorithm to find the shortest path from A to K.
(ii) State the length of the shortest path from A to K.
(6)
The cycle tracks between the landmarks now need to be inspected. Blanche must travel
along each track at least once. She wishes to minimise the length of her inspection
route. Blanche will start her inspection route at D and finish at E.
(b) (i) State the edges that will need to be traversed twice.
(ii) Find the length of Blanche’s route.
(2)
It is now decided to start the inspection route at A and finish at K. Blanche must
minimise the length of her route and travel along each track at least once.
(c) By considering the pairings of all relevant nodes, find the length of Blanche’s new
route. You must make your method and working clear.
(5)
(Total for Question 2 is 13 marks)

30
9FM0 Option paper 3 D · Jun 2022 · Section 1, Question 3May/June 2022Option paper 3 D10 marks
Loading question…
Question text

3. The initial distance matrix (Table 1) shows the lengths, in metres, of the corridors
connecting six classrooms, A, B, C, D, E and F, in a school. For safety reasons, some of
the corridors are one‑way only.
A
B
C
D
E
F
A
–
12
32
24
29
11
B
12
–
17
8
∞
∞
C
32
17
–
4
12
∞
D
24
∞
4
–
∞
13
E
∞
∞
12
18
–
12
F
11
∞
∞
13
12
–
Table 1
(a) By adding the arcs from vertex A, along with their weights, complete the drawing of
this network on Diagram 1 in the answer book.
(2)
Floyd’s algorithm is to be used to find the complete network of shortest distances
between the six classrooms.
The distance matrix after two iterations of Floyd’s algorithm is shown in Table 2.
A
B
C
D
E
F
A
–
12
29
20
29
11
B
12
–
17
8
41
23
C
29
17
–
4
12
40
D
24
36
4
–
53
13
E
∞
∞
12
18
–
12
F
11
23
40
13
12
–
Table 2
(b) Perform the next two iterations of Floyd’s algorithm that follow from Table 2. You
should show the distance matrix after each iteration.
(4)
The final distance matrix after completion of Floyd’s algorithm is shown in Table 3.
A
B
C
D
E
F
A
–
12
24
20
23
11
B
12
–
12
8
24
21
C
28
17
–
4
12
17
D
24
21
4
–
16
13
E
23
29
12
16
–
12
F
11
23
17
13
12
–
Table 3
Yinka must visit each classroom. He will start and finish at E and wishes to minimise
the total distance travelled.
(c) (i) Use the nearest neighbour algorithm, starting at E, to find two Hamiltonian
cycles in the completed network of shortest distances.
(ii) Find the length of each of the two cycles.
(iii) State, with a reason, which of the two cycles provides the better upper bound for
the length of Yinka’s route.
(4)
(Total for Question 3 is 10 marks)

Advertisement