Graphs & Networks

From an AS paper

Edexcel

Edexcel · Old spec

A2 June 2024 Q4

EdexcelCurrent spec8 marksGraphs & Networks

4.

(a) Explain why it is not possible to draw a graph with exactly six nodes with degrees 1, 2, 3, 4, 5 and 6 (1)

A tree, T, has exactly six nodes. The degrees of the six nodes of T are

\(1 \qquad 2 \qquad (4 - x) \qquad (2x - 5) \qquad (4x - 11) \qquad (3x - 5)\)

where \(x\) is an integer.

(b) Explain how you know that T cannot be Eulerian. (1)
(c)
(i) Determine the value of \(x\)
(ii) Hence state whether T is semi-Eulerian or not. You must justify your answer. (5)
Figure 2: graph G with six nodes of degrees 1, 2, 3, 3, 3 and 4
Figure 2

Figure 2 shows a graph, G, with six nodes with degrees 1, 2, 3, 3, 3 and 4

(d) Using the vertices in Diagram 1 in the answer book, draw a graph with exactly six nodes with degrees 1, 2, 3, 3, 3 and 4 that is not isomorphic to G. (1)
Diagram 1: six vertices with no arcs
Diagram 1

AS June 2023 Q5

EdexcelAS paperCurrent spec8 marksGraphs & NetworksRoute Inspection

5.

Figure 4: network with arcs AB 2x + 1, AC x + 5, BC 5x - 8, BD x + 4, CD 2x - 2, CE 3x + 2, CF x + 7, EF 5x - 6
Figure 4

[The weight of the network is \(20x + 3\)]

Figure 4 shows a graph G that contains 8 arcs and 6 vertices.

(a) State the minimum number of arcs that would need to be added to make G into an Eulerian graph. (1)
(b) Explain whether or not the route A – C – F – E – C – D – B is an example of a path on G. (1)

Figure 4 represents a network of 8 roads in a city. The expression on each arc gives the time, in minutes, to travel along the corresponding road.

You are given that \(x \gt 1.6\)

A route is required that

  • starts and finishes at the same vertex
  • traverses each road at least once
  • minimises the total time taken

The route inspection algorithm is applied to the network in Figure 4 and the time taken for the route is found to be at most 189 minutes.

Given that the inspection route contains two roads that need to be traversed twice,

(c) determine the range of possible values of \(x\), making your reasoning clear. (6)

A2 June 2023 Q1

EdexcelCurrent spec7 marksGraphs & NetworksShortest Path

1.

Figure 1: graph G on vertices A, B, C, D and E with edges EA, AB, AC, EB, ED, DB, DC and CB
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)
Figure 2: the same graph with weights EA 5, AB 10, EB 4, ED 7, DB 8, AC 15, DC 2, CB 3
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)

Initial time matrix (answer book)

ABCDE
A–                
B    –            
C        –        
D            –    
E                –

The time matrix after four iterations of Floyd’s algorithm is shown in Table 1.

ABCDE
A–1013155
B10–354
C133–27
D1552–7
E5477–

Table 1

(f) Perform the final iteration of Floyd’s algorithm that follows from Table 1, showing the time matrix for this iteration. (2)

A2 October 2021 Q1

EdexcelCurrent spec4 marksGraphs & Networks

1.

Figure 1: bipartite graph with A, B, C, D, E on the left and U, V, W, X, Y on the right; edges AU, AV, AW, AX, BU, BV, BY, CU, CV, CW, CX, DW, DX, DY, EV, EX, EY
Figure 1

A Hamiltonian cycle for the graph in Figure 1 begins C, V, E, X, A, W, ….

(a) Complete the Hamiltonian cycle. (1)
(b) Hence use the planarity algorithm to determine whether the graph shown in Figure 1 is planar. You must make your working clear and justify your answer. (3)

AS June 2019 Q1

EdexcelAS paperCurrent spec6 marksGraphs & Networks

1.

(a) Draw the graph \(\text{K}_5\) (1)
(b)
(i) In the context of graph theory explain what is meant by ‘semi-Eulerian’.
(ii) Draw two semi-Eulerian subgraphs of \(\text{K}_5\), each having five vertices but with a different number of edges. (3)
(c) Explain why a graph with exactly five vertices with vertex orders 1, 2, 2, 3 and 4 cannot be a tree. (2)

AS June 2018 Q2

EdexcelAS paperCurrent spec10 marksGraphs & Networks

2. A simply connected graph is a connected graph in which any two vertices are directly connected by at most one arc and no vertex is directly connected to itself.

(a) Given that a simply connected graph has exactly four vertices,
(i) write down the minimum number of arcs it can have,
(ii) write down the maximum number of arcs it can have. (2)
(b)
(i) Draw a simply connected graph that has exactly four vertices and exactly five arcs.
(ii) State, with justification, whether your graph is Eulerian, semi-Eulerian or neither. (3)
(c) By considering the orders of the vertices, explain why there is only one simply connected graph with exactly four vertices and exactly five arcs. (5)

D1 January 2013 Q4

EdexcelOld spec11 marksGraphs & NetworksShortest Path

4.

Figure 4: network of canals S, A, B, C, D, E, F, T with lengths in miles
Figure 4
(a) Explain what is meant, in a network, by the term path. (2)

Figure 4 represents a network of canals. The number on each arc represents the length, in miles, of the corresponding canal.

(b) Use Dijkstra’s algorithm to find the shortest path from S to T. State your path and its length. (6)
(c) Write down the length of the shortest path from S to F. (1)

Next week the canal represented by arc AB will be closed for dredging.

(d) Find a shortest path from S to T avoiding AB and state its length. (2)

D1 June 2012 Q4

EdexcelOld spec12 marksGraphs & NetworksRoute Inspection

4.

Figure 3: network of pipes A to K with lengths in metres
Figure 3

[The total weight of the network is 1436 m]

(a) Explain the term valency. (2)

Figure 3 models a system of underground pipes. The number on each arc represents the length, in metres, of that pipe.

Pressure readings indicate that there is a leak in the system and an electronic device is to be used to inspect the system to locate the leak. The device will start and finish at A and travel along each pipe at least once. The length of this inspection route needs to be minimised.

(b) Use the route inspection algorithm to find the pipes that will need to be traversed twice. You should make your method and working clear. (5)
(c) Find the length of the inspection route. (1)

Pipe HI is now found to be blocked; it is sealed and will not be replaced. An inspection route is now required that excludes pipe HI. The length of the inspection route must be minimised.

(d) Find the length of the minimum inspection route excluding HI. Justify your answer. (2)
(e) Given that the device may now start at any vertex and finish at any vertex, find a minimum inspection route, excluding HI. (2)

D1 June 2011 Q2

2.

Figure 1: network with arcs AC 14, AB 10, BC 13, CF 18, CE 17, BF 20, BE 15, BD 14, DF 19, EF 18, DE 12
Figure 1
(a) Define the terms
(i) tree,
(ii) minimum spanning tree.
(3)
(b) Use Kruskal’s algorithm to find a minimum spanning tree for the network shown in Figure 1. You should list the arcs in the order in which you consider them. In each case, state whether you are adding the arc to your minimum spanning tree. (3)
(c) Draw your minimum spanning tree using the vertices given in Diagram 1 in the answer book. (1)
(d) State whether your minimum spanning tree is unique. Justify your answer. (1)

D1 January 2010 Q2

2. Prim’s algorithm finds a minimum spanning tree for a connected graph.

(a) Explain the terms
(i) connected graph,
(ii) tree,
(iii) spanning tree.
(3)
(b) Name an alternative algorithm for finding a minimum spanning tree. (1)
CambridgeLondonNorwichOxfordPortsmouthSalisburyYork
Cambridge (C)-606281132139156
London (L)60-116567488211
Norwich (N)62116-144204201181
Oxford (O)8156144-8463184
Portsmouth (P)1327420484-43269
Salisbury (S)139882016343-248
York (Y)156211181184269248-

Figure 2

Figure 2 shows the distances by road, in miles, between seven cities.

(c)
(i) Use Prim’s algorithm, starting at London, to find the minimum spanning tree for these cities.  You must clearly state the order in which you selected the edges of your tree, and the weight of the final tree.
(ii) Draw your tree using the vertices given in Diagram 2 in the answer book.
(5)

D2 June 2008 Q2

EdexcelOld spec4 marksGraphs & Networks

2. Explain what is meant, in a network, by

(a) a walk, (2)
(b) a tour. (2)

D1 January 2007 Q5

EdexcelOld spec7 marksGraphs & NetworksRoute Inspection

5.

(a) Explain why a network cannot have an odd number of vertices of odd degree. (2)
Figure 4: network of paths on A to I
Figure 4

Figure 4 shows a network of paths in a public park. The number on each arc represents the length of that path in metres. Hamish needs to walk along each path at least once to check the paths for frost damage starting and finishing at \(A\). He wishes to minimise the total distance he walks.

(b) Use the route inspection algorithm to find which paths, if any, need to be traversed twice. (4)
(c) Find the length of Hamish’s route.
[The total weight of the network in Figure 4 is 4180 m.] (1)

D1 January 2007 Q3

EdexcelOld spec6 marksGraphs & Networks

3.

Figure 3: graph joining A, B, C, D with 1, 2, 3, 4
Figure 3
(a) Write down the name given to the type of graph drawn in Figure 3. (1)

A Hamiltonian cycle for the graph in Figure 3 begins A, 3, B, … .

(b) Complete this Hamiltonian cycle. (2)
(c) Starting with the Hamiltonian cycle found in (b), use the planarity algorithm to determine if the graph is planar. (3)

D1 June 2006 Q4

EdexcelOld spec12 marksGraphs & NetworksShortest Path

4.

(a) Explain what is meant by the term ‘path’. (2)
Figure 3: network of cycle tracks on A to I
Figure 3

Figure 3 shows a network of cycle tracks. The number on each edge represents the length, in miles, of that track. Mary wishes to cycle from \(A\) to \(I\) as part of a cycling holiday. She wishes to minimise the distance she travels.

(b) Use Dijkstra’s algorithm to find the shortest path from \(A\) to \(I\). Show all necessary working in the boxes in Diagram 1 in the answer book. State your shortest path and its length. (6)
(c) Explain how you determined the shortest path from your labelling. (2)

Mary wants to visit a theme park at \(E\).

(d) Find a path of minimal length that goes from \(A\) to \(I\) via \(E\) and state its length. (2)

D1 June 2005 Q2

EdexcelOld spec7 marksGraphs & Networks

2.

Figure 1: graph on vertices A, B, C, D, E, F
Figure 1
(a) Starting from \(A\); write down a Hamiltonian cycle for the graph in Figure 1. (2)
(b) Use the planarity algorithm to show that the graph in Figure 1 is planar. (3)

Arcs \(AF\) and \(EF\) are now added to the graph.

(c) Explain why the new graph is not planar. (2)