
HL Paper 3
is a simple, connected, planar graph with vertices and edges.
The complement of has edges.
Find the maximum possible value of .
Find an expression for in terms of .
Given that the complement of is also planar and connected, find the possible values of .
is a simple graph with vertices and edges.
Given that both and its complement are planar and connected, find the maximum possible value of .
Markscheme
* This question is from an exam for a previous syllabus, and may contain minor differences in marking or structure.
substitutes into either or (M1)
the maximum number of edges is A1
[2 marks]
has (A1)
so A1
[2 marks]
(M1)
(the possible values are and ) A1
[2 marks]
recognises that (or equivalent) (A1)
uses and M1
to form A1
Note: Award A1 for .
attempts to solve their quadratic inequality (equality) (M1)
the maximum possible value of is A1
[5 marks]
Examiners report
Christine and her friends live in Winnipeg, Canada. The weighted graph shows the location of their houses and the time, in minutes, to travel between each house.
Christine’s house is located at vertex .
Use Dijkstra’s algorithm to find the shortest time to travel from to , clearly showing how the algorithm has been applied.
Hence write down the shortest path from to .
A new road is constructed that allows Christine to travel from to in minutes. If Christine starts from home and uses this new road her minimum travel time to is reduced, but her minimum travel time to remains the same.
Find the possible values of .
Markscheme
attempts to construct a graph or table to represent Dijkstra’s algorithm M1
EITHER
OR
a clear attempt at Step 1 ( and considered) M1
Steps 2 and 3 correctly completed A1
Step 4 () correctly completed A1
Steps 5 and 6 ( and or or ) correctly completed A1
shortest time (mins) A1
[6 marks]
A1
Note: Award A1 only if it is clear that Dijkstra’s algorithm has been attempted in part (a) (i). This A1 can be awarded if the candidate attempts to use Dijkstra’s algorithm but neglects to state (mins).
[1 mark]
minimum travel time from to is reduced
is now (mins) (M1)
is still (mins)
so (A1)
Note: Condone .
travel time from to remains the same ( mins)
is now (mins) (M1)
(A1)
so A1
Note: Accept .
[5 marks]
Examiners report
This question explores how graph algorithms can be applied to a graph with an unknown edge weight.
Graph is shown in the following diagram. The vertices of represent tourist attractions in a city. The weight of each edge represents the travel time, to the nearest minute, between two attractions. The route between and is currently being resurfaced and this has led to a variable travel time. For this reason, has an unknown travel time minutes, where .
Daniel plans to visit all the attractions, starting and finishing at . He wants to minimize his travel time.
To find a lower bound for Daniel’s travel time, vertex and its adjacent edges are first deleted.
Daniel makes a table to show the minimum travel time between each pair of attractions.
Write down the value of
To find an upper bound for Daniel’s travel time, the nearest neighbour algorithm is used, starting at vertex .
Consider the case where .
Consider the case where .
Write down a Hamiltonian cycle in .
Use Prim’s algorithm, starting at vertex , to find the weight of the minimum spanning tree of the remaining graph. You should indicate clearly the order in which the algorithm selects each edge.
Hence, for the case where , find a lower bound for Daniel’s travel time, in terms of .
.
.
.
Use the nearest neighbour algorithm to find two possible cycles.
Find the best upper bound for Daniel’s travel time.
Find the least value of for which the edge will definitely not be used by Daniel.
Hence state the value of the upper bound for Daniel’s travel time for the value of found in part (e)(i).
The tourist office in the city has received complaints about the lack of cleanliness of some routes between the attractions. Corinne, the office manager, decides to inspect all the routes between all the attractions, starting and finishing at . The sum of the weights of all the edges in graph is .
Corinne inspects all the routes as quickly as possible and takes hours.
Find the value of during Corinne’s inspection.
Markscheme
e.g. A1
Note: Accept any other correct answers starting at any vertex.
[1 mark]
vertices, so edges required for MST (M1)
Note: To award (M1), their edges should not form a cycle.
M1A1A1
Note: Award M1 for the first three edges in correct order, A1 for in correct order and A1 for all of the edges correct.
weight of MST A1
Note: The final A1 can be awarded independently of previous marks.
[5 marks]
lower bound (M1)
A1
[2 marks]
A1
[1 mark]
A1
[1 mark]
A1
[1 mark]
attempt to use nearest neighbour algorithm (M1)
any two correct cycles from
A1A1
Note: Bracketed vertices may be omitted in candidate’s answer.
Award M1A0A1 for candidates who list two correct sequences of vertices, but omit the final vertex .
[3 marks]
use OR their shortest cycle from (d)(i) (M1)
upper bound A1
[2 marks]
cycle starts:
return to has two options, or (M1)
hence least value of A1
[2 marks]
upper bound A2
[2 marks]
recognition that edges will be repeated / there are odd vertices (M1)
OR A1
recognizing and is lowest weight and is repeated (M1)
solution to CPP A1
A1
Note: Award M1A0M0A1A1 if only pairing and is considered, leading to a correct answer.
[5 marks]
Examiners report
Mostly well done, although some candidates wrote down a path instead of a cycle and some candidates wrote a cycle that did not include all the vertices.
Many candidates could apply the algorithm correctly to find the weight of the minimum spanning tree. A common misconception was selecting the shortest edge adjacent to the previous vertex, instead of selecting the shortest edge adjacent to the existing tree. This approach will not necessarily find the minimum spanning tree. A small number of candidates found the correct minimum spanning tree, but did not show evidence of using Prim’s algorithm, which only received partial credit; where a method/algorithm is explicit in the question, working must be seen to demonstrate that approach. Part (b)(ii) was also answered reasonably well, however several candidates did not read the instruction to give their answer in terms of , instead choosing a specific value.
Many candidates could apply the algorithm correctly to find the weight of the minimum spanning tree. A common misconception was selecting the shortest edge adjacent to the previous vertex, instead of selecting the shortest edge adjacent to the existing tree. This approach will not necessarily find the minimum spanning tree. A small number of candidates found the correct minimum spanning tree, but did not show evidence of using Prim’s algorithm, which only received partial credit; where a method/algorithm is explicit in the question, working must be seen to demonstrate that approach. Part (b)(ii) was also answered reasonably well, however several candidates did not read the instruction to give their answer in terms of , instead choosing a specific value.
Mostly well-answered.
Mostly well-answered.
Mostly well-answered.
Many candidates could successfully apply the nearest neighbour algorithm to find a correct cycle, but some made errors finding a second one. Part (ii) was done reasonably well, with many candidates either giving the correct answer or gaining follow-through marks for selecting their shortest cycle from part (d)(i). A small number of candidates incorrectly chose their longest cycle.
Many candidates could successfully apply the nearest neighbour algorithm to find a correct cycle, but some made errors finding a second one. Part (ii) was done reasonably well, with many candidates either giving the correct answer or gaining follow-through marks for selecting their shortest cycle from part (d)(i). A small number of candidates incorrectly chose their longest cycle.
This question had a mixed response. Some candidates used the table or the graph to realize that the two choices to get from to are either or . Some incorrectly stated . These candidates often achieved success in part (e)(ii), making the connection to their previous answer in part (d).
This question had a mixed response. Some candidates used the table or the graph to realize that the two choices to get from to are either or . Some incorrectly stated . These candidates often achieved success in part (e)(ii), making the connection to their previous answer in part (d).
A surprising number of candidates did not seem to realize this was an application of the Chinese Postman Problem and simply equated the given total weight to minutes. Not only does this show a lack of understanding of the problem, but it also showed a lack of appreciation of the amount of work required to answer a 5 mark question. Out of the many candidates who recognized the need to repeat edges connecting the odd vertices, some did not show complete working to explain why they chose to connect and , only gaining partial credit.
A graphic designer, Ben, wants to create an animation in which a sequence of squares is created by a composition of successive enlargements and translations and then rotated about the origin and reduced in size.
Ben outlines his plan with the following storyboards.
The first four frames of the animation are shown below in greater detail.
The sides of each successive square are one half the size of the adjacent larger square. Let the sequence of squares be
The first square, , has sides of length .
Ben decides the animation will continue as long as the width of the square is greater than the width of one pixel.
Ben decides to generate the squares using the transformation
where is a matrix that represents an enlargement, is a column vector that represents a translation, is a point in and is its image in .
By considering the case where is ,
Once the image of squares has been produced, Ben wants to continue the animation by rotating the image counter clockwise about the origin and having it reduce in size during the rotation.
Let be the enlargement matrix used when the original sequence of squares has been rotated through degrees.
Ben decides the enlargement scale factor, , should be a linear function of the angle, , and after a rotation of the sequence of squares should be half of its original length.
Find an expression for the width of in centimetres.
Given the width of a pixel is approximately , find the number of squares in the final image.
Write down .
Write down , in terms of .
state the coordinates, , of its image in .
hence find .
show that .
Hence or otherwise, find the coordinates of the top left-hand corner in .
Find, , in the form .
Write down .
Hence find the image of after it is rotated and enlarged.
Find the value of at which the enlargement scale factor equals zero.
After the enlargement scale factor equals zero, Ben continues to rotate the image for another two revolutions.
Describe the animation for these two revolutions, stating the final position of the sequence of squares.
Markscheme
* This sample question was produced by experienced DP mathematics senior examiners to aid teachers in preparing for external assessment in the new MAA course. There may be minor differences in formatting compared to formal exam papers.
M1A1
[2 marks]
(A1)
(A1)
Note: Accept equations in place of inequalities.
Hence there are squares A1
[3 marks]
A1
[1 mark]
A1
[1 mark]
A1
[1 mark]
(M1)
A1
[2 marks]
Recognise the geometric series M1
Each component is equal to M1A1
AG
[3 marks]
M1A1
A1
[3 marks]
M1A1
A1
A1
[4 marks]
A1
[1 mark]
M1A1A1
A1
[4 marks]
A1
[1 mark]
The image will expand from zero (accept equivalent answers)
It will rotate counter clockwise
The design will (re)appear in the opposite (third) quadrant A1A1
Note: Accept any two of the above
Its final position will be in the opposite (third) quadrant or from its original position or equivalent statement. A1
[3 marks]
Examiners report
This question is about a metropolitan area council planning a new town and the location of a new toxic waste dump.
A metropolitan area in a country is modelled as a square. The area has four towns, located at the corners of the square. All units are in kilometres with the -coordinate representing the distance east and the -coordinate representing the distance north from the origin at .
- Edison is modelled as being positioned at .
- Fermitown is modelled as being positioned at .
- Gaussville is modelled as being positioned at .
- Hamilton is modelled as being positioned at .
The metropolitan area council decides to build a new town called Isaacopolis located at .
A new Voronoi diagram is to be created to include Isaacopolis. The equation of the perpendicular bisector of is .
The metropolitan area is divided into districts based on the Voronoi regions found in part (c).
A toxic waste dump needs to be located within the metropolitan area. The council wants to locate it as far as possible from the nearest town.
The toxic waste dump, , is connected to the towns via a system of sewers.
The connections are represented in the following matrix, , where the order of rows and columns is ().
A leak occurs from the toxic waste dump and travels through the sewers. The pollution takes one day to travel between locations that are directly connected.
The digit in represents a direct connection. The values of in the leading diagonal of mean that once a location is polluted it will stay polluted.
The model assumes that each town is positioned at a single point. Describe possible circumstances in which this modelling assumption is reasonable.
Sketch a Voronoi diagram showing the regions within the metropolitan area that are closest to each town.
Find the equation of the perpendicular bisector of .
Given that the coordinates of one vertex of the new Voronoi diagram are , find the coordinates of the other two vertices within the metropolitan area.
Sketch this new Voronoi diagram showing the regions within the metropolitan area which are closest to each town.
A car departs from a point due north of Hamilton. It travels due east at constant speed to a destination point due North of Gaussville. It passes through the Edison, Isaacopolis and Fermitown districts. The car spends of the travel time in the Isaacopolis district.
Find the distance between Gaussville and the car’s destination point.
Find the location of the toxic waste dump, given that this location is not on the edge of the metropolitan area.
Make one possible criticism of the council’s choice of location.
Find which town is last to be polluted. Justify your answer.
Write down the number of days it takes for the pollution to reach the last town.
A sewer inspector needs to plan the shortest possible route through each of the connections between different locations. Determine an appropriate start point and an appropriate end point of the inspection route.
Note that the fact that each location is connected to itself does not correspond to a sewer that needs to be inspected.
Markscheme
the size of each town is small (in comparison with the distance between the towns)
OR
if towns have an identifiable centre
OR
the centre of the town is at that point R1
Note: Accept a geographical landmark in place of “centre”, e.g. “town hall” or “capitol”.
[1 mark]
A1
Note: There is no need for a scale / coordinates here. Condone boundaries extending beyond the metropolitan area.
[1 mark]
the gradient of is (A1)
negative reciprocal of any gradient (M1)
gradient of perpendicular bisector
Note: Seeing (for example) used clearly as a gradient anywhere is evidence of the “negative reciprocal” method despite being applied to an inappropriate gradient.
midpoint is (A1)
equation of perpendicular bisector is A1
Note: Accept equivalent forms e.g. or .
Allow FT for the final A1 from their midpoint and gradient of perpendicular bisector, as long as the M1 has been awarded
[4 marks]
the perpendicular bisector of is (A1)
Note: Award this A1 if seen in the -coordinate of any final answer or if is used as the -value in the equation of any other perpendicular bisector.
attempt to use symmetry OR intersecting two perpendicular bisectors (M1)
A1
A1
[4 marks]
M1A1
Note: Award M1 for exactly four perpendicular bisectors around (, , and ) seen, even if not in exactly the right place.
Award A1 for a completely correct diagram. Scale / coordinates are NOT necessary. Vertices should be in approximately the correct positions but only penalized if clearly wrong (condone northern and southern vertices appearing to be very close to the boundary).
Condone the Voronoi diagram extending outside of the square.
Do not award follow-though marks in this part.
[2 marks]
of is (A1)
recognizing line intersects bisectors at (or equivalent) but different -values (M1)
and
finding an expression for the distance in Isaacopolis in terms of one variable (M1)
equating their expression to
distance A1
[4 marks]
must be a vertex (award if vertex given as a final answer) (R1)
attempt to calculate the distance of at least one town from a vertex (M1)
Note: This must be seen as a calculation or a value.
correct calculation of distances A1
OR AND OR
A1
Note: Award R1M0A0A0 for a vertex written with no other supporting calculations.
Award R1M0A0A1 for correct vertex with no other supporting calculations.
The final A1 is not dependent on the previous A1. There is no follow-through for the final A1.
Do not accept an answer based on “uniqueness” in the question.
[4 marks]
For example, any one of the following:
decision does not take into account the different population densities
closer to a city will reduce travel time/help employees
it is closer to some cites than others R1
Note: Accept any correct reason that engages with the scenario.
Do not accept any answer to do with ethical issues about whether toxic waste should ever be dumped, or dumped in a metropolitan area.
[1 mark]
METHOD 1
attempting M1
attempting M1
e.g.
last row/column of
last row/column of
hence Isaacopolis is the last city to be polluted A1
Note: Do not award the A1 unless both and are considered.
Award M1M0A0 for a claim that the shortest distance is from to and that it is , without any support.
METHOD 2
attempting to translate to a graph or a list of cities polluted on each day (M1)
correct graph or list A1
hence Isaacopolis is the last city to be polluted A1
Note: Award M1A1A1 for a clear description of the graph in words leading to the correct answer.
[3 marks]
it takes days A1
[1 mark]
EITHER
the orders of the different vertices are:
(A1)
Note: Accept a list where each order is greater than listed above.
OR
a correct diagram/graph showing the connections between the locations (A1)
Note: Accept a diagram with loops at each vertex.
This mark should be awarded if candidate is clearly using their correct diagram from the previous part.
THEN
“Start at F and end at I” OR “Start at I and end at F” A1
Note: Award A1A0 for “it could start at either F or I”.
Award A1A1 for “IGEHTF” OR “FTHEGI”.
Award A1A1 for “F and I” OR “I and F”.
[2 marks]
Examiners report
Question 2 was based on Voronoi diagrams, but a substantial number of candidates appeared to have not met this topic.
2(a) was generally well answered, although a strangely common answer was to claim that the towns must be 1km by 1km! Perhaps this came from thinking of coordinates as representing pixels rather than points.
2(b) was done well by most candidates who knew what a Voronoi diagram was.
2(c)(i) showed some poor planning skills by many candidates who found a line perpendicular to the given Voronoi edge rather than finding the gradient of IF.
In 2(c)(ii) candidates would have benefited from taking a step back and thinking about the symmetry of the situation before unthinkingly intersecting a lot of lines.
2(c)(iii) was done well by some, but many did not seem to have any intuition for the effect of adding a point to a Voronoi diagram.
2(d) was probably the worst answered question. Candidates did not seem to have the problem-solving tools to deal with this slightly unfamiliar situation.
In 2(e) many candidates clearly did not know that the solution to the toxic waste problem (as described in the syllabus) occurs at a vertex of the Voronoi diagram.
A pleasing number of candidates were able to approach 2(f) even if they were unable to do earlier parts of the question, and in these very long questions candidates should be advised that sometimes later parts are not necessarily harder or impossible to access. Very few who attempted the matrix power approach could interpret what zeroes meant in the matrices produced, but a good number successfully turned the matrix into a graph and proceeded well from there.
This question compares possible designs for a new computer network between multiple school buildings, and whether they meet specific requirements.
A school’s administration team decides to install new fibre-optic internet cables underground. The school has eight buildings that need to be connected by these cables. A map of the school is shown below, with the internet access point of each building labelled .
Jonas is planning where to install the underground cables. He begins by determining the distances, in metres, between the underground access points in each of the buildings.
He finds , and .
The cost for installing the cable directly between and is .
Jonas estimates that it will cost per metre to install the cables between all the other buildings.
Jonas creates the following graph, , using the cost of installing the cables between two buildings as the weight of each edge.
The computer network could be designed such that each building is directly connected to at least one other building and hence all buildings are indirectly connected.
The computer network fails if any part of it becomes unreachable from any other part. To help protect the network from failing, every building could be connected to at least two other buildings. In this way if one connection breaks, the building is still part of the computer network. Jonas can achieve this by finding a Hamiltonian cycle within the graph.
After more research, Jonas decides to install the cables as shown in the diagram below.
Each individual cable is installed such that each end of the cable is connected to a building’s access point. The connection between each end of a cable and an access point has a probability of failing after a power surge.
For the network to be successful, each building in the network must be able to communicate with every other building in the network. In other words, there must be a path that connects any two buildings in the network. Jonas would like the network to have less than a probability of failing to operate after a power surge.
Find .
Find the cost per metre of installing this cable.
State why the cost for installing the cable between and would be higher than between the other buildings.
By using Kruskal’s algorithm, find the minimum spanning tree for , showing clearly the order in which edges are added.
Hence find the minimum installation cost for the cables that would allow all the buildings to be part of the computer network.
State why a path that forms a Hamiltonian cycle does not always form an Eulerian circuit.
Starting at , use the nearest neighbour algorithm to find the upper bound for the installation cost of a computer network in the form of a Hamiltonian cycle.
Note: Although the graph is not complete, in this instance it is not necessary to form a table of least distances.
By deleting , use the deleted vertex algorithm to find the lower bound for the installation cost of the cycle.
Show that Jonas’s network satisfies the requirement of there being less than a probability of the network failing after a power surge.
Markscheme
(M1)(A1)
Note: Award (M1) for substitution into the cosine rule and (A1) for correct substitution.
A1
[3 marks]
(M1)
A1
[2 marks]
any reasonable statement referring to the lake R1
(eg. there is a lake between and , the cables would need to be installed under/over/around the lake, special waterproof cables are needed for lake, etc.)
[1 mark]
edges (or weights) are chosen in the order
A1A1A1
Note: Award A1 for the first two edges chosen in the correct order. Award A1A1 for the first six edges chosen in the correct order. Award A1A1A1 for all seven edges chosen in the correct order. Accept a diagram as an answer, provided the order of edges is communicated.
[3 marks]
Finding the sum of the weights of their edges (M1)
total cost A1
[2 marks]
a Hamiltonian cycle is not always an Eulerian circuit as it does not have to include all edges of the graph (only all vertices) R1
[1 mark]
edges (or weights) are chosen in the order
A1A1A1
Note: Award A1 for the first two edges chosen in the correct order. Award A1A1 for the first five edges chosen in the correct order. Award A1A1A1 for all eight edges chosen in the correct order. Accept a diagram as an answer, provided the order of edges is communicated.
finding the sum of the weights of their edges (M1)
upper bound A1
[5 marks]
attempt to find MST after deleting vertex D (M1)
these edges (or weights) (in any order)
A1
Note: Prim’s or Kruskal’s algorithm could be used at this stage.
reconnect to MST with two different edges (M1)
A1
Note: This A1 is independent of the first A mark and can be awarded if both and are chosen to reconnect to the MST, even if the MST is incorrect.
finding the sum of the weights of their edges (M1)
Note: For candidates with an incorrect MST or no MST, the weights of at least seven of the edges being summed (two of which must connect to ) must be shown to award this (M1).
lower bound A1
[6 marks]
METHOD 1
recognition of a binomial distribution (M1)
finding the probability that a cable fails (at least one of its connections fails)
OR A1
recognition that two cables must fail for the network to go offline M1
recognition of binomial distribution for network, (M1)
OR A1
therefore, the diagram satisfies the requirement since AG
Note: Evidence of binomial distribution may be seen as combinations.
METHOD 2
recognition of a binomial distribution (M1)
finding the probability that at least two connections fail
OR A1
recognition that the previous answer is an overestimate M1
finding probability of two ends of the same cable failing, ,
and the ends of the other cables not failing,
(A1)
A1
therefore, the diagram satisfies the requirement since AG
METHOD 3
recognition of a binomial distribution M1
finding the probability that the network remains secure if or connections fail or if connections fail provided that the second failed connection occurs at the other end of the cable with the first failure (M1)
(remains secure) A1
A1
(network fails) A1
therefore, the diagram satisfies the requirement since AG
METHOD 4
(network failing)
M1
A1A1A1
Note: Award A1 for each of 2nd, 3rd and last terms.
A1
therefore, the diagram satisfies the requirement since AG
[5 marks]
Examiners report
This question part was intended to be an easy introduction to help candidates begin working with the larger story and most candidates handled it well. However, it was surprisingly common for a candidate to correctly choose the cosine rule and to make the correct substitutions into the formula but then arrive at an incorrect answer. The frequency of this mistake suggests that candidates were either making simple entry mistakes into their GDC or forgetting to ensure that their GDC was set to degrees rather than radians.
(b) and (c) Most candidates were able to gain the three marks available.
(d), (f) and (g) These three question parts required candidates to demonstrate their ability to carry out graph theory algorithms. Kruskal’s algorithm was split into two different question parts to guide candidates to show their work. As a result, many were able to score well in part (d)(ii) either from having the correct MST or from “follow through” marks from an incorrect MST. However, without this guidance in 2(f) and 2(g), many candidates did a poor job of showing the process they were using to apply the algorithms. The candidates that scored well were detailed in showing the order of how edges were selected and how they were being summed to arrive at the final answers. Although “follow through” within the problem was not available for the final answer in parts 2(f) and 2(g), many candidates missed the opportunity to gain the final method mark in both parts by not fully showing the process they used.
Many candidates were able to state the definitions of Hamiltonian cycles and Eulerian circuits. However, the question was not asking for definitions but rather a distinct conclusion of why a Hamiltonian cycle is not always an Eulerian circuit. Disappointingly, many incorrect answers contained five or more lines or writing that may have used up exam time that could have been devoted to other question parts. Another common mistake seen here was candidates incorrectly trying to state a reason based on the number of odd vertices.
This question was very challenging for almost all the candidates. Although there were several different methods that candidates could have used to answer this question, most candidates were only able to gain one or two marks here. Many candidates did recognize that something binomial was needed, but few knew how to setup the correct parameters for the distribution.
The weights of the edges in the complete graph are given in the following table.
Starting at A , use the nearest neighbour algorithm to find an upper bound for the travelling salesman problem for .
By first deleting vertex A , use the deleted vertex algorithm together with Kruskal’s algorithm to find a lower bound for the travelling salesman problem for .
Markscheme
* This question is from an exam for a previous syllabus, and may contain minor differences in marking or structure.
the edges are traversed in the following order
AB A1
BC
CF A1
FE
ED A1
DA A1
A1
[5 marks]
having deleted A, the order in which the edges are added is
BC A1
CF A1
CD A1
EF A1
Note: Accept indication of the correct order on a diagram.
to find the lower bound, we now reconnect A using the two edges with the lowest weights, that is AB and AF (M1)(A1)
A1
Note: Award (M1)(A1)A1 for obtained either from an incorrect order of correct edges or where order is not indicated.
[7 marks]
Examiners report
Consider the graph G represented in the following diagram.
The graph G is a plan of a holiday resort where each vertex represents a villa and the edges represent the roads between villas. The weights of the edges are the times, in minutes, Mr José, the security guard, takes to walk along each of the roads. Mr José is based at villa A.
State, with a reason, whether or not G has an Eulerian circuit.
Use Kruskal’s algorithm to find a minimum spanning tree for G, stating its total weight. Indicate clearly the order in which the edges are added.
Use a suitable algorithm to show that the minimum time in which Mr José can get from A to E is 13 minutes.
Find the minimum time it takes Mr José to patrol the resort if he has to walk along every road at least once, starting and ending at A. State clearly which roads need to be repeated.
Markscheme
* This question is from an exam for a previous syllabus, and may contain minor differences in marking or structure.
no because the graph has vertices (A, B, D, F) of odd degree R1
[1 mark]
the edges are added in the order
BI 5
DH 5 A1
AB 6
AF 6
CI 6 A1
CD 7
EF 7 A1
total weight = 42 A1
Note: The orders of the edges with the same weight are interchangeable.
Accept indication of correct edge order on a diagram.
[4 marks]
clear indication of using Dijkstra for example M1
[5 marks]
there are 4 vertices of odd degree (A, F, B and D) (A1)
attempting to list at least 2 possible pairings of odd vertices M1
A → F and B → D has minimum weight 6 + 17 = 23
A → B and F → D has minimum weight 6 + 18 = 24
A → D and F → B has minimum weight 20 + 12 = 32 A1A1
Note: Award A1A0 for 2 pairs.
minimum time is (116 + 23 =) 139 (mins) (M1)A1
roads repeated are AF, BC and CD A1
[7 marks]
Examiners report
In the context of graph theory, explain briefly what is meant by a circuit;
In the context of graph theory, explain briefly what is meant by an Eulerian circuit.
The graph has six vertices and an Eulerian circuit. Determine whether or not its complement can have an Eulerian circuit.
Find an example of a graph , with five vertices, such that and its complement both have an Eulerian trail but neither has an Eulerian circuit. Draw and as your solution.
Markscheme
a circuit is a walk that begins and ends at the same vertex and has no repeated edges A1
[1 mark]
an Eulerian circuit is a circuit that contains every edge of a graph A1
[1 mark]
if has an Eulerian circuit all vertices are even (are of degree 2 or 4) A1
hence, must have all vertices odd (of degree 1 or 3) R1
hence, cannot have an Eulerian circuit R1
Note: Award A1 to candidates who begin by considering a specific and (diagram). Award R1R1 to candidates who then consider a general and .
[3 marks]
for example
A2
A2
Notes: Each graph must have 3 vertices of order 2 and 2 odd vertices. Award A2 if one of the graphs satisfies that and the final A2 if the other graph is its complement.
[4 marks]
Examiners report
Consider the following weighted graph G.
State what feature of G ensures that G has an Eulerian trail.
State what feature of G ensures that G does not have an Eulerian circuit.
Write down an Eulerian trail in G.
Starting and finishing at B, find a solution to the Chinese postman problem for G.
Calculate the total weight of the solution.
Markscheme
G has an Eulerian trail because it has (exactly) two vertices (B and F) of odd degree R1
[1 mark]
G does not have an Eulerian circuit because not all vertices are of even degree R1
[1 mark]
for example BAEBCEFCDF A1A1
Note: Award A1 for start/finish at B/F, A1 for the middle vertices.
[2 marks]
we require the Eulerian trail in (b), (weight = 65) (M1)
and the minimum walk FEB (15) A1
for example BAEBCEFCDFEB A1
Note: Accept EB added to the end or FE added to the start of their answer in (b) in particular for follow through.
[3 marks]
total weight is (65 + 15=)80 A1
[1 mark]
Examiners report
Mathilde delivers books to five libraries, A, B, C, D and E. She starts her deliveries at library D and travels to each of the other libraries once, before returning to library D. Mathilde wishes to keep her travelling distance to a minimum.
The weighted graph , representing the distances, measured in kilometres, between the five libraries, has the following table.
Draw the weighted graph .
Starting at library D use the nearest-neighbour algorithm, to find an upper bound for Mathilde’s minimum travelling distance. Indicate clearly the order in which the edges are selected.
By first removing library C, use the deleted vertex algorithm, to find a lower bound for Mathilde’s minimum travelling distance.
Markscheme
* This question is from an exam for a previous syllabus, and may contain minor differences in marking or structure.
complete graph on 5 vertices A1
weights correctly marked on graph A1
[2 marks]
clear indication that the nearest-neighbour algorithm has been applied M1
DA (or 16) A1
AB (or 18) then BC (or 15) A1
CE (or 17) then ED (or 19) A1
A1
[5 marks]
an attempt to find the minimum spanning tree (M1)
DA (16) then BE (17) then AB (18) (total 51) A1
reconnect C with the two edges of least weight, namely CB (15) and CE (17) M1
A1
[4 marks]
Examiners report
The simple, complete graph has vertices . The weight of the edge from to is given by the number .
Consider the general graph .
(i) Draw the graph including the weights of all the edges.
(ii) Use the nearest-neighbour algorithm, starting at vertex , to find a Hamiltonian cycle.
(iii) Hence, find an upper bound to the travelling salesman problem for this weighted graph.
Consider the graph . Use the deleted vertex algorithm, with as the deleted vertex, to find a lower bound to the travelling salesman problem for this weighted graph.
(i) Use the nearest-neighbour algorithm, starting at vertex , to find a Hamiltonian cycle.
(ii) Hence find and simplify an expression in , for an upper bound to the travelling salesman problem for this weighted graph.
By splitting the weight of the edge into two parts or otherwise, show that all Hamiltonian cycles of have the same total weight, equal to the answer found in (c)(ii).
Markscheme
* This question is from an exam for a previous syllabus, and may contain minor differences in marking or structure.
(i) A1A1
Note: A1 for the graph, A1 for the weights.
(ii) cycle is A1
(iii) upper bound is A1
[4 marks]
with deleted, (applying Kruskal’s Algorithm) the minimum spanning tree will consist of the edges , of weights 3, 4, 5 (M1)A1
the two edges of smallest weight from are and of weights 6 and 7 (M1)A1
so lower bound is A1
[5 marks]
(i) starting at we go
we now have to take
thus the cycle is A1A1
Note: Final A1 is for .
(ii) smallest edge from is of weight 3, smallest edge from (to a new vertex) is of weight 5, smallest edge from (to a new vertex) is of weight (M1)
weight of is
weight is A1
M1A1
(which is an upper bound) A1
Note: Follow through is not applicable.
[7 marks]
put a marker on each edge so that of the weight belongs to vertex and of the weight belongs to vertex M1
the Hamiltonian cycle visits each vertex once and only once and for vertex there will be weight (belonging to vertex ) both going in and coming out R1
so the total weight will be A1AG
Note: Accept other methods for example induction.
[3 marks]
Examiners report
is a simple, connected graph with eight vertices.
is a connected, planar graph, with vertices, edges and faces. Every face in is bounded by exactly edges.
Write down the minimum number of edges in .
Find the maximum number of edges in .
Find the maximum number of edges in , given that contains an Eulerian circuit.
Explain why .
Find the value of when and .
Find the possible values of when .
Markscheme
7 (a tree) A1
[1 mark]
(a complete graph) (M1)
A1
[2 marks]
(since every vertex must be of degree 6) (M1)
A1
[2 marks]
counting the edges around every face gives edges A1
but as every edge is counted in 2 faces R1
AG
[2 marks]
using with M1
EITHER
substituting into (M1)
OR
substituting into (M1)
THEN
A1
[3 marks]
(or equivalent) M1
when
or A1
EITHER
M1
OR
substituting at least two of into (or equivalent) M1
THEN
(since ) A1
[4 marks]
Examiners report
A driver needs to make deliveries to five shops , , , and . The driver starts and finishes his journey at the warehouse . The driver wants to find the shortest route to visit all the shops and return to the warehouse. The distances, in kilometres, between the locations are given in the following table.
By deleting , use the deleted vertex algorithm to find a lower bound for the length of a route that visits every shop, starting and finishing at .
Starting from , use the nearest-neighbour algorithm to find a route which gives an upper bound for this problem and calculate its length.
Markscheme
deleting and its adjacent edges, the minimal spanning tree is
A1A1A1A1
Note: Award the A1’s for either the edges or their weights.
the minimum spanning tree has weight = 54
Note: Accept a correct drawing of the minimal spanning tree.
adding in the weights of 2 deleted edges of least weight and (M1)
lower bound = 54 + 36 + 39
= 129 A1
[6 marks]
attempt at the nearest-neighbour algorithm M1
A1
Note: Award M1 for a route that begins with and then .
upper bound = 36 + 11 + 15 + 12 + 22 + 39 = 135 (M1)A1
[4 marks]