Clastify logo
Clastify logo
Exam prep
Exemplars
Review
HOT

Graph Theory

Practice exam-style IB Math AI questions for Graph Theory, aligned with the syllabus and grouped by topic.

Paper
Difficulty
Status
Level
Question 1
HL • Paper 1
Easy
Calculator Permitted

A connected simple graph GG has eight vertices. Their degrees are

2,3,3,4,4,4,5,x2,3,3,4,4,4,5,x

The graph has 14 edges.

A

Determine the value of xx.

[2]
Write your answer here...
B

State the number of vertices of odd degree.

[1]
Write your answer here...
C

Determine the number of additional edges required to make GG complete.

[2]
Write your answer here...

0

Question 2
HL • Paper 1
Easy
Calculator Permitted

A connected undirected graph has vertices A,B,C,D,E,FA,B,C,D,E,F with degrees

d(A)=2,d(B)=3,d(C)=4,d(D)=3,d(E)=2,d(F)=2d(A)=2,\quad d(B)=3,\quad d(C)=4,\quad d(D)=3,\quad d(E)=2,\quad d(F)=2
A

Determine whether the graph has an Eulerian trail or an Eulerian circuit.

[2]
Write your answer here...
B

new edge BDBD is added. Determine whether the new graph has an Eulerian circuit. Justify your answer.

[2]
Write your answer here...

0

Question 3
HL • Paper 1
Medium
Calculator Permitted

The directed graph GG has vertices in the order A,B,C,DA,B,C,D and adjacency matrix

M=(0110001010010100)M=\begin{pmatrix} 0&1&1&0\\ 0&0&1&0\\ 1&0&0&1\\ 0&1&0&0 \end{pmatrix}

Rows represent starting vertices.

A

Determine the out-degree and in-degree of vertex AA.

[2]
Write your answer here...
B

Write down the vertices adjacent from CC.

[1]
Write your answer here...
C

Determine whether GG is strongly connected. Justify your answer.

[2]
Write your answer here...

0

Question 4
HL • Paper 1
Medium
Calculator Permitted

An undirected graph has vertices in the order A,B,C,DA,B,C,D and adjacency matrix

M=(0110101111010110)M=\begin{pmatrix} 0&1&1&0\\ 1&0&1&1\\ 1&1&0&1\\ 0&1&1&0 \end{pmatrix}
A

Calculate the number of walks of length 33 from AA to DD.

[2]
Write your answer here...
B

Calculate the number of walks from AA to DD having length at most 33 but at least 11.

[2]
Write your answer here...
C

Explain why the identity matrix is not included in the calculation in part (b).

[1]
Write your answer here...

0

Question 5
HL • Paper 1
Medium
Calculator Permitted

A delivery vehicle moves between depots AA, BB and CC. Its transition matrix is

T=(00.50.50.2500.750.60.40)T=\begin{pmatrix} 0&0.5&0.5\\ 0.25&0&0.75\\ 0.6&0.4&0 \end{pmatrix}

where rows represent the current depot. Initially, the vehicle is at depot AA.

A

Write down the initial state vector p0\mathbf p_0.

[1]
Write your answer here...
B

Determine the probability distribution after two transitions.

[3]
Write your answer here...
C

Write down the probability that the vehicle is at depot CC after two transitions.

[1]
Write your answer here...

0

Question 6
HL • Paper 1
Medium
Calculator Permitted

A connected undirected graph has vertex set {A,B,C,D,E}\{A,B,C,D,E\} and edge set

{AB,BC,CD,DA,AC,CE}\{AB,BC,CD,DA,AC,CE\}
A

Classify the walk ABCADCA-B-C-A-D-C as a walk, trail or path, using the most specific applicable term. Justify your answer.

[2]
Write your answer here...
B

Determine the endpoints of an Eulerian trail in the graph and give one such trail.

[2]
Write your answer here...
C

Explain why the graph cannot have a Hamiltonian cycle.

[1]
Write your answer here...

0

Question 7
HL • Paper 1
Medium
Calculator Permitted

A road inspector must start and finish at the same junction while travelling along every road at least once. The road network has edges with lengths, in kilometres,

AB=4, BC=3, CD=5, DA=6, AC=2, CE=4, DE=3AB=4,\ BC=3,\ CD=5,\ DA=6,\ AC=2,\ CE=4,\ DE=3
A

Determine the minimum length of the inspector's route.

[4]
Write your answer here...

0

Question 8
HL • Paper 1
Medium
Calculator Permitted

The distances between five cities are represented by the complete weighted graph below.

ABCDEA4738B4265C7243D3646E8536\begin{array}{c|ccccc} &A&B&C&D&E\\ \hline A&-&4&7&3&8\\ B&4&-&2&6&5\\ C&7&2&-&4&3\\ D&3&6&4&-&6\\ E&8&5&3&6&- \end{array}
A

Apply the nearest neighbour algorithm starting at AA. Write down the resulting tour.

[3]
Write your answer here...
B

Determine the upper bound for the travelling salesman problem obtained from this tour.

[2]
Write your answer here...

0

Question 9
HL • Paper 1
Medium
Calculator Permitted

For a travelling salesman problem, a feasible Hamiltonian cycle of weight 4242 has been found. Applying the deleted vertex algorithm at vertices A,B,C,D,EA,B,C,D,E gives lower bounds 39,42,40,41,3839,42,40,41,38, respectively.

A

State the strongest lower bound and the vertex that produces it.

[1]
Write your answer here...
B

Deduce the weight of an optimal Hamiltonian cycle. Justify your answer.

[3]
Write your answer here...

0

Question 10
HL • Paper 1
Medium
Calculator Permitted

A communication network has vertices P,Q,R,S,T,U,VP,Q,R,S,T,U,V and edges

PQ, PR, QS, QT, RU, UVPQ,\ PR,\ QS,\ QT,\ RU,\ UV

The network is connected.

A

Show that the network is a tree.

[2]
Write your answer here...
B

Write down the unique path from SS to VV and state its length.

[2]
Write your answer here...
C

new edge TVTV is added. Write down the cycle that is created.

[1]
Write your answer here...

0

Question 11
HL • Paper 1
Medium
Calculator Permitted

A company wishes to connect six sites A,B,C,D,E,FA,B,C,D,E,F. The possible links and their costs, in thousands of dollars, are

AB=2, AC=5, BC=3, BD=6, CD=4,CE=7, DE=2, DF=5, EF=3, BE=8.\begin{aligned} &AB=2,\ AC=5,\ BC=3,\ BD=6,\ CD=4,\\ &CE=7,\ DE=2,\ DF=5,\ EF=3,\ BE=8. \end{aligned}
A

Using Kruskal's algorithm, write down the first three edges selected.

[2]
Write your answer here...
B

Determine a minimum spanning tree and its total cost.

[3]
Write your answer here...

0

Question 12
HL • Paper 1
Medium
Calculator Permitted

The weighted adjacency table for a network is shown below. A dash indicates that there is no direct edge.

ABCDEA427B4156C2183D582E7632\begin{array}{c|ccccc} &A&B&C&D&E\\ \hline A&-&4&2&-&7\\ B&4&-&1&5&6\\ C&2&1&-&8&3\\ D&-&5&8&-&2\\ E&7&6&3&2&- \end{array}
A

Use Prim's algorithm, starting at DD, to write down the edges in the order in which they are selected.

[3]
Write your answer here...
B

Calculate the total weight of the minimum spanning tree.

[2]
Write your answer here...

0

Question 13
HL • Paper 1
Medium
Calculator Permitted

A complete weighted graph has the following edge weights:

AB=6, AC=4, AD=7, AE=5, BC=3,BD=8, BE=6, CD=5, CE=7, DE=2.\begin{aligned} &AB=6,\ AC=4,\ AD=7,\ AE=5,\ BC=3,\\ &BD=8,\ BE=6,\ CD=5,\ CE=7,\ DE=2. \end{aligned}
A

Delete vertex AA and determine the weight of a minimum spanning tree on the remaining vertices.

[2]
Write your answer here...
B

Use the deleted vertex algorithm to determine a lower bound for the travelling salesman problem.

[2]
Write your answer here...
C

Explain why the value found in part (b) is a lower bound.

[1]
Write your answer here...

0

Question 14
HL • Paper 1
Medium
Calculator Permitted

Four clinics A,B,C,DA,B,C,D are connected through an intermediate junction XX. The undirected road lengths, in kilometres, are

AX=3, BX=4, CX=2, DX=5, AB=8, BC=9, CD=10, AD=12AX=3,\ BX=4,\ CX=2,\ DX=5,\ AB=8,\ BC=9,\ CD=10,\ AD=12

A route in the completed graph may represent a multi-edge shortest route in the original network.

A

Determine the least distances from AA to DD and from BB to DD.

[2]
Write your answer here...
B

Complete the least-distance model as required and apply the nearest neighbour algorithm starting at AA. Determine the resulting tour and its total length.

[3]
Write your answer here...

0

Question 15
HL • Paper 1
Medium
Calculator Permitted

A simplified page-ranking model contains webpages P,Q,R,SP,Q,R,S. The hyperlinks are

PQ,PR,QR,RP,RS,SPP\to Q,\quad P\to R,\quad Q\to R,\quad R\to P,\quad R\to S,\quad S\to P

A user chooses with equal probability between all links leaving the current page. The webpages are ordered P,Q,R,SP,Q,R,S.

A

Construct the transition matrix TT, using rows as source webpages.

[2]
Write your answer here...
B

Initially, the user is equally likely to be on any webpage. Determine the probability distribution after two transitions.

[3]
Write your answer here...
C

Using the distribution after two transitions, identify the webpages with the joint highest rank.

[1]
Write your answer here...

0

Question 16
HL • Paper 1
Medium
Calculator Permitted

A maintenance vehicle must traverse every edge of a network and return to its starting point. The network has vertices A,B,C,D,OA,B,C,D,O and weighted edges

OA=2, OB=3, OC=4, OD=5, AB=4, BC=6, CD=4, DA=7OA=2,\ OB=3,\ OC=4,\ OD=5,\ AB=4,\ BC=6,\ CD=4,\ DA=7
A

Identify the odd-degree vertices.

[1]
Write your answer here...
B

Determine the least total weight of the edges that must be duplicated.

[3]
Write your answer here...
C

Hence determine the minimum total weight of a closed route traversing every edge.

[2]
Write your answer here...

0

Question 17
HL • Paper 2
Medium
Calculator Permitted

A connected simple graph GG represents communication links between eight research stations. The degrees of seven of the vertices are

2,2,3,3,4,4,42,2,3,3,4,4,4

The graph has 1313 edges. The two vertices of degree 33 are labelled UU and VV.

A
I.

Determine the degree of the eighth vertex.

[2]
Write your answer here...
II.

Determine how many more edges would be required to make GG complete.

[2]
Write your answer here...
B

new edge UVUV is added. Determine whether the resulting graph has an Eulerian circuit. Justify your answer.

[4]
Write your answer here...

0

Question 18
HL • Paper 2
Medium
Calculator Permitted

A company plans fibre links between seven facilities. The possible links and installation costs, in thousands of dollars, are

AB=4, AC=7, BC=2, BD=6, CD=3, CE=8, DE=5,DF=9, EF=1, EG=6, FG=4, CG=10, BG=9.\begin{aligned} &AB=4,\ AC=7,\ BC=2,\ BD=6,\ CD=3,\ CE=8,\ DE=5,\\ &DF=9,\ EF=1,\ EG=6,\ FG=4,\ CG=10,\ BG=9. \end{aligned}
A
I.

Using Kruskal's algorithm, write down the links in the order in which they are selected.

[2]
Write your answer here...
II.

Calculate the total cost of the minimum spanning tree.

[2]
Write your answer here...
B

Apply Prim's algorithm starting at GG. State the order in which the links are selected and explain why the total agrees with part (a).

[4]
Write your answer here...

0

Question 19
HL • Paper 3
Medium
Calculator Permitted

A connected simple graph models communication links between ten mountain observatories A,B,C,D,E,F,G,H,I,JA,B,C,D,E,F,G,H,I,J. The degrees of the first eight vertices are

1,2,2,3,3,3,4,41,2,2,3,3,3,4,4

The graph has 1414 edges, and d(J)=d(I)+2d(J)=d(I)+2.

A
I.

Determine d(I)d(I) and d(J)d(J).

[3]
Write your answer here...
II.

State the number of odd-degree vertices.

[1]
Write your answer here...
B
I.

Explain why the original graph has neither an Eulerian circuit nor an Eulerian trail.

[2]
Write your answer here...
II.

It is known that the four odd-degree vertices can be paired using two edges that are not already in the graph. Determine the minimum number of edges that must be added to obtain an Eulerian circuit. Justify your answer.

[2]
Write your answer here...

0

Question 20
HL • Paper 2
Hard
Calculator Permitted

A directed data network has vertices in the order A,B,C,D,EA,B,C,D,E and adjacency matrix

M=(0110000110100010000101000)M=\begin{pmatrix} 0&1&1&0&0\\ 0&0&1&1&0\\ 1&0&0&0&1\\ 0&0&0&0&1\\ 0&1&0&0&0 \end{pmatrix}

Rows represent starting vertices.

A
I.

Determine the in-degree and out-degree of vertex CC.

[2]
Write your answer here...
II.

Explain why the directed graph is strongly connected.

[2]
Write your answer here...
B
I.

Calculate the number of walks of length 44 from AA to EE.

[2]
Write your answer here...
II.

Calculate the number of walks from AA to EE having length at least 11 and at most 44.

[2]
Write your answer here...

0

Question 21
HL • Paper 2
Hard
Calculator Permitted

A simplified page-ranking model has webpages J,K,L,MJ,K,L,M. The directed hyperlinks are

JK,JL,KL,LJ,LM,MJ,MKJ\to K,\quad J\to L,\quad K\to L,\quad L\to J,\quad L\to M,\quad M\to J,\quad M\to K

A user chooses with equal probability from the hyperlinks leaving the current webpage. Rows represent the current webpage.

A directed network diagram with webpages J, K, L and M as labelled vertices and arrows showing the stated hyperlink structure.
A
I.

Construct the transition matrix TT, using the vertex order J,K,L,MJ,K,L,M.

[2]
Write your answer here...
II.

The user starts at webpage JJ. Determine the probability distribution after two transitions.

[2]
Write your answer here...
B
I.

Determine the probability distribution after four transitions.

[2]
Write your answer here...
II.

Find the stationary distribution and hence identify the webpage with the highest long-term rank.

[2]
Write your answer here...

0

Question 22
HL • Paper 2
Hard
Calculator Permitted

An undirected walking network has vertices A,B,C,D,E,FA,B,C,D,E,F and edges

AB,BC,CD,DE,EF,FA,AC,CEAB,BC,CD,DE,EF,FA,AC,CE

The vertices are ordered A,B,C,D,E,FA,B,C,D,E,F.

An undirected graph diagram with six labelled vertices A to F, showing an outer six-vertex cycle and the additional internal connections AC and CE.
A
I.

Write down the degree of each vertex.

[2]
Write your answer here...
II.

Construct the adjacency matrix AA of the network.

[2]
Write your answer here...
B
I.

Calculate the number of walks of length 55 from AA to DD.

[2]
Write your answer here...
II.

Calculate the number of walks from AA to DD having positive length at most 33.

[2]
Write your answer here...

0

Question 23
HL • Paper 2
Hard
Calculator Permitted

A weighted graph has vertices A,B,C,D,E,FA,B,C,D,E,F and edges

AB=1, AC=1, BC=1, BD=3, CE=3,DE=2, DF=4, EF=2, AE=5, BF=5.\begin{aligned} &AB=1,\ AC=1,\ BC=1,\ BD=3,\ CE=3,\\ &DE=2,\ DF=4,\ EF=2,\ AE=5,\ BF=5. \end{aligned}
A weighted undirected graph with six labelled vertices A to F, including a triangular subgraph on A, B and C and weighted connections from this subgraph to D, E and F.
A
I.

Use Kruskal's algorithm to find one minimum spanning tree.

[2]
Write your answer here...
II.

Calculate the weight of the minimum spanning tree.

[2]
Write your answer here...
B

Determine whether the minimum spanning tree is unique. Justify your answer by giving two different minimum spanning trees.

[4]
Write your answer here...

0

Question 24
HL • Paper 2
Hard
Calculator Permitted

An ecological network is represented by a connected simple graph GG with nine vertices and eight edges. The vertex degrees are

1,1,1,1,2,2,2,3,x1,1,1,1,2,2,2,3,x
A
I.

Determine the value of xx.

[2]
Write your answer here...
II.

Show that GG is a tree.

[2]
Write your answer here...
B

One new edge is added between two previously non-adjacent vertices. Explain why exactly one cycle is created, and determine how many further edges would be required to make the resulting graph complete.

[4]
Write your answer here...

0

Question 25
HL • Paper 3
Hard
Calculator Permitted

A directed graph models the permitted movement of data packets between five servers P,Q,R,S,TP,Q,R,S,T. Its directed edges are

PQ,PR,QR,QS,RP,RT,ST,TP,TSP\to Q,\quad P\to R,\quad Q\to R,\quad Q\to S,\quad R\to P,\quad R\to T,\quad S\to T,\quad T\to P,\quad T\to S

Rows of an adjacency matrix represent starting vertices.

A directed network diagram showing the five labelled servers $P,Q,R,S,T$ and exactly these nine one-way data links, with arrowheads clearly visible: $P\to Q$, $P\to R$, $Q\to R$, $Q\to S$, $R\to P$, $R\to T$, $S\to T$, $T\to P$, and $T\to S$. No other directed edges are present.
A
I.

Construct the adjacency matrix AA using the vertex order P,Q,R,S,TP,Q,R,S,T.

[2]
Write your answer here...
II.

Determine the in-degree and out-degree of server TT.

[2]
Write your answer here...
B
I.

Calculate the number of directed walks of length 33 from PP to TT.

[2]
Write your answer here...
II.

Hence calculate the number of walks from PP to TT having positive length at most 33.

[2]
Write your answer here...

0

Question 26
HL • Paper 3
Hard
Calculator Permitted

Visitors move randomly between three exhibition rooms A,B,CA,B,C. From AA, a visitor chooses equally between BB and CC. From BB, the visitor chooses equally between AA and CC. From CC, the visitor always moves to AA. Rows represent the current room.

A directed three-vertex room network showing the permitted visitor movements. Rooms A and B each have directed arrows to the other two rooms, and room C has one directed arrow to room A. Between rooms A and B, each permitted direction is shown by one unambiguous arrow only; there is no separate unarrowed horizontal segment.
A
I.

Construct the transition matrix TT using the order A,B,CA,B,C.

[2]
Write your answer here...
II.

visitor starts in room AA. Determine the probability distribution after two transitions.

[2]
Write your answer here...
B
I.

Find the stationary distribution of the visitor.

[3]
Write your answer here...
II.

Interpret the first component of this stationary distribution in context.

[1]
Write your answer here...

0

Question 27
HL • Paper 3
Hard
Calculator Permitted

A research institute is installing fibre between laboratories A,B,C,D,E,FA,B,C,D,E,F. The possible links and their costs, in thousands of euros, are given by the edge list below; this edge list defines the network:

AB=3,AC=6,BC=2,BD=5,CD=4,CE=7,DE=3,DF=8,EF=2,BF=9,AE=10,AF=11AB=3,\quad AC=6,\quad BC=2,\quad BD=5,\quad CD=4,\quad CE=7,\quad DE=3,\quad DF=8,\quad EF=2,\quad BF=9,\quad AE=10,\quad AF=11
A weighted undirected network of the six laboratories, with every available fibre link labelled by its installation cost.
A
I.

Use Kruskal's algorithm to determine a minimum spanning tree.

[3]
Write your answer here...
II.

Calculate the total cost of the minimum spanning tree.

[1]
Write your answer here...
B

The institute wants to add exactly one available link so that failure of any one link leaves all laboratories connected.

[4]
Write your answer here...

0

Question 28
HL • Paper 3
Hard
Calculator Permitted

A courier must visit six distribution centres. Travel times, in minutes, form a complete weighted graph with edges

AB=2,AC=7,AD=8,AE=6,AF=3,BC=3,BD=7,BE=8,BF=6,CD=2,CE=6,CF=8,DE=3,DF=7,EF=2.\begin{aligned} &AB=2,\quad AC=7,\quad AD=8,\quad AE=6,\quad AF=3,\quad BC=3,\quad BD=7,\\ &BE=8,\quad BF=6,\quad CD=2,\quad CE=6,\quad CF=8,\quad DE=3,\quad DF=7,\quad EF=2. \end{aligned}

A

B

C

D

E

F

A

2

7

8

6

3

B

2

3

7

8

6

C

7

3

2

6

8

D

8

7

2

3

7

E

6

8

6

3

2

F

3

6

8

7

2

A
I.

Apply the nearest-neighbour algorithm starting at AA.

[2]
Write your answer here...
II.

Calculate the resulting upper bound.

[1]
Write your answer here...
B

Use the deleted vertex algorithm with AA deleted to prove that the tour in part (a) is optimal.

[5]
Write your answer here...

0

Question 29
HL • Paper 3
Hard
Calculator Permitted

A festival walkway graph is a simple undirected graph with vertices X,A,B,C,DX,A,B,C,D and edges

XA,AB,BX,XC,CD,DXXA, AB, BX, XC, CD, DX

Thus, two triangular walkway loops share only the vertex XX.

A clean diagram of a simple undirected graph with exactly the six continuous edges $XA$, $AB$, $BX$, $XC$, $CD$ and $DX$: two triangular loops with vertices $X,A,B$ and $X,C,D$ sharing only vertex $X$, with no parallel or broken edge segments.
A
I.

Determine whether the graph has an Eulerian circuit. Justify your answer.

[2]
Write your answer here...
II.

Explain why the graph has no Hamiltonian cycle.

[2]
Write your answer here...
B

For the new graph, determine whether an Eulerian trail exists and whether a Hamiltonian cycle exists. Justify each answer.

[4]
Write your answer here...

0

Question 30
HL • Paper 2
Hard
Calculator Permitted

A street-cleaning vehicle must traverse every street in a connected network and return to its starting point. The street lengths, in kilometres, are

AB=4, BC=2, CD=5, DA=3, AC=6, CE=4, DE=2, EB=3AB=4,\ BC=2,\ CD=5,\ DA=3,\ AC=6,\ CE=4,\ DE=2,\ EB=3
A
I.

Identify the odd-degree vertices.

[2]
Write your answer here...
II.

Calculate the total length of all the streets.

[1]
Write your answer here...
B

Compare all possible pairings of the odd-degree vertices and determine the least additional distance required.

[3]
Write your answer here...
C

Hence determine the minimum length of a closed route and give one possible route.

[2]
Write your answer here...

0

Question 31
HL • Paper 2
Hard
Calculator Permitted

A maintenance worker must inspect every corridor of a campus network and return to the starting point. Corridor lengths, in hundreds of metres, are

PQ=3, QR=4, RS=2, SP=5, PR=6, RT=3, TU=4, US=2PQ=3,\ QR=4,\ RS=2,\ SP=5,\ PR=6,\ RT=3,\ TU=4,\ US=2
A connected weighted undirected campus network with labelled vertices P, Q, R, S, T and U and corridor weights shown beside the corresponding edges.
A
I.

Identify the odd-degree vertices and find the shortest route between them.

[2]
Write your answer here...
II.

Determine the minimum total length of the inspection route.

[2]
Write your answer here...
B

new corridor PUPU of weight 11 is constructed. Determine the new minimum total length of an inspection route and explain why it is shorter than the route in part (a).

[4]
Write your answer here...

0

Question 32
HL • Paper 2
Hard
Calculator Permitted

The table gives travel times, in minutes, between six locations in a complete network.

ABCDEFA48763B45976C85437D79458E67354F36784\begin{array}{c|cccccc} &A&B&C&D&E&F\\ \hline A&-&4&8&7&6&3\\ B&4&-&5&9&7&6\\ C&8&5&-&4&3&7\\ D&7&9&4&-&5&8\\ E&6&7&3&5&-&4\\ F&3&6&7&8&4&- \end{array}

Location

A

B

C

D

E

F

A

4

8

7

6

3

B

4

5

9

7

6

C

8

5

4

3

7

D

7

9

4

5

8

E

6

7

3

5

4

F

3

6

7

8

4

A
I.

Apply the nearest-neighbour algorithm starting at AA. State the resulting tour.

[2]
Write your answer here...
II.

Determine the resulting upper bound.

[2]
Write your answer here...
B

Delete vertex AA and use the deleted vertex algorithm to find a lower bound. Hence state the largest possible difference between the upper bound in part (a) and the optimal tour.

[4]
Write your answer here...

0

Question 33
HL • Paper 2
Hard
Calculator Permitted

A travelling salesperson must visit five warehouses. The complete weighted graph has edge weights

AB=2, AC=6, AD=7, AE=3, BC=4,BD=5, BE=6, CD=2, CE=5, DE=4.\begin{aligned} &AB=2,\ AC=6,\ AD=7,\ AE=3,\ BC=4,\\ &BD=5,\ BE=6,\ CD=2,\ CE=5,\ DE=4. \end{aligned}
A
I.

Apply the nearest-neighbour algorithm starting at AA.

[2]
Write your answer here...
II.

State what the value found represents for the optimal travelling-salesperson tour.

[2]
Write your answer here...
B

Delete vertex AA and use the deleted vertex algorithm. Hence prove that the tour found in part (a) is optimal.

[4]
Write your answer here...

0

Question 34
HL • Paper 2
Hard
Calculator Permitted

A water-taxi network has terminals A,B,C,D,EA,B,C,D,E. The available direct routes have lengths, in kilometres,

AB=4, AC=9, BC=3, BD=8, CD=2, CE=7, DE=4, AE=12AB=4,\ AC=9,\ BC=3,\ BD=8,\ CD=2,\ CE=7,\ DE=4,\ AE=12

For the travelling-salesperson model, a completed edge represents a shortest route in the original network.

A
I.

Determine the least distances from AA to CC, from BB to DD, and from CC to EE.

[2]
Write your answer here...
II.

Determine the least distances from AA to DD and from BB to EE.

[2]
Write your answer here...
B

Apply the nearest-neighbour algorithm to the completed graph, starting at AA. Determine the tour and its total length.

[4]
Write your answer here...

0

Question 35
HL • Paper 2
Hard
Calculator Permitted

A bicycle moves randomly between docking stations A,B,C,D,EA,B,C,D,E. The directed routes are

AB, AD, BC, CA, CD, DC, DE, EAA\to B,\ A\to D,\ B\to C,\ C\to A,\ C\to D,\ D\to C,\ D\to E,\ E\to A

At each station, the bicycle is equally likely to take any outgoing route.

A directed graph showing five bicycle docking stations A to E and the permitted one-way routes between them.
A
I.

Construct the transition matrix TT in the order A,B,C,D,EA,B,C,D,E, using rows as source stations.

[2]
Write your answer here...
II.

Initially, the bicycle is equally likely to be at any station. Determine the probability distribution after three transitions.

[2]
Write your answer here...
B

Find the stationary distribution and identify all stations with the highest long-term probability.

[4]
Write your answer here...

0

Question 36
HL • Paper 2
Hard
Calculator Permitted

A directed graph has vertices in the order P,Q,R,SP,Q,R,S and adjacency matrix

A=(0110001000011100)A=\begin{pmatrix} 0&1&1&0\\ 0&0&1&0\\ 0&0&0&1\\ 1&1&0&0 \end{pmatrix}
A
I.

Calculate the number of walks from PP to SS having positive length at most 44.

[2]
Write your answer here...
II.

Calculate the number of walks of length 66 from PP to SS.

[2]
Write your answer here...
B

Determine the smallest integer kk such that every vertex can reach every other distinct vertex using at most kk directed edges. Justify your answer using matrix powers.

[4]
Write your answer here...

0

Question 37
HL • Paper 2
Hard
Calculator Permitted

A festival site is represented by a connected graph with vertices A,B,C,D,E,FA,B,C,D,E,F and edges

AB,BC,CA,CD,DE,EF,FDAB,BC,CA,CD,DE,EF,FD

Thus, two triangular regions are joined by the edge CDCD.

An undirected graph consisting of a triangle on A, B and C and a triangle on D, E and F, with the two triangles joined by the single bridge CD.
A
I.

Determine whether the graph has an Eulerian trail or an Eulerian circuit.

[2]
Write your answer here...
II.

Give one Eulerian trail.

[2]
Write your answer here...
B

Explain why the original graph has no Hamiltonian cycle. A new edge BFBF is then added. Give a Hamiltonian cycle in the new graph.

[4]
Write your answer here...

0

Question 38
HL • Paper 2
Hard
Calculator Permitted

A renewable-energy company can install cables along the following links. The weights are cable lengths in kilometres.

AB=2, AC=5, BC=3, BD=4, CD=2, CE=6,DE=3, DF=5, EF=2, AF=8, BE=7.\begin{aligned} &AB=2,\ AC=5,\ BC=3,\ BD=4,\ CD=2,\ CE=6,\\ &DE=3,\ DF=5,\ EF=2,\ AF=8,\ BE=7. \end{aligned}
A
I.

Use Prim's algorithm starting at AA to determine the order in which the links are selected.

[2]
Write your answer here...
II.

Calculate the total length of the minimum spanning tree.

[2]
Write your answer here...
B

The link CDCD becomes unavailable. Use Prim's algorithm starting at AA to determine a new minimum spanning tree and its total length.

[4]
Write your answer here...

0

Question 39
HL • Paper 3
Hard
Calculator Permitted

A wheel network WnW_n, where n4n\geq 4, consists of a cycle of nn outer vertices and one central vertex. The central vertex is adjacent to every outer vertex. The accompanying diagram is a separate schematic example and does not define the edge set of WnW_n; use the written definition.

Separate schematic example only; it does not represent the edge set of $W_n$. Use the written definition: exactly $n$ edges join consecutive outer vertices in the cycle, and exactly $n$ spokes join the centre to the outer vertices.
A
I.

Write down the degree of the central vertex and the degree of each outer vertex.

[2]
Write your answer here...
II.

Hence determine the number of edges in WnW_n.

[2]
Write your answer here...
B

Show that (A2)vv=d(v)(A^2)_{vv}=d(v) for every vertex vv, and hence determine tr(A2)\operatorname{tr}(A^2) in terms of nn and E|E|.

[4]
Write your answer here...

0

Question 40
HL • Paper 3
Hard
Calculator Permitted

A power network has vertices P,Q,R,S,T,UP,Q,R,S,T,U. The upper vertex in the diagram is denoted by UU. The available links have weights

PQ=2,QR=3,RS=4,ST=5,PU=6,QU=6,SU=7,TU=8,PT=xPQ=2,\quad QR=3,\quad RS=4,\quad ST=5,\quad PU=6,\quad QU=6,\quad SU=7,\quad TU=8,\quad PT=x

where x>0x>0.

A weighted undirected network showing six power stations $P,Q,R,S,T,U$, including the upper station $U$, fixed-weight links, and the link $PT$ labelled $x$.
A
I.

For x=10x=10, use Kruskal's algorithm to determine a minimum spanning tree.

[2]
Write your answer here...
II.

Calculate its total weight.

[1]
Write your answer here...
B
I.

Find the values of xx for which the link PTPT occurs in a minimum spanning tree.

[3]
Write your answer here...
II.

Hence write down the minimum spanning tree weight as a piecewise function of xx.

[2]
Write your answer here...

0

Question 41
HL • Paper 3
Hard
Calculator Permitted

A road inspector must traverse every road in a connected network and return to the starting junction. The road lengths, in kilometres, are

AB=4,BC=3,CD=4,DE=3,EF=4,FA=3,AC=2,CE=2,BD=2,AE=3AB=4,\quad BC=3,\quad CD=4,\quad DE=3,\quad EF=4,\quad FA=3,\quad AC=2,\quad CE=2,\quad BD=2,\quad AE=3
A weighted undirected road network on six labelled junctions, with a hexagonal outer route and the four additional internal roads.
A
I.

Identify the odd-degree vertices.

[2]
Write your answer here...
II.

Calculate the total length of all roads.

[1]
Write your answer here...
B

Apply the Chinese postman algorithm to determine the minimum length of the inspector's closed route.

[5]
Write your answer here...

0

Question 42
HL • Paper 3
Hard
Calculator Permitted

A snowplough must traverse every road and return to its starting junction. The network has weighted edges, with lengths in kilometres:

PQ=3,QR=4,RS=3,SP=4,RT=2,TP=5PQ=3,\quad QR=4,\quad RS=3,\quad SP=4,\quad RT=2,\quad TP=5

A new road PRPR of length xx kilometres is proposed. If constructed, the new road must also be cleared.

A weighted undirected snowplough network with five labelled junctions and a proposed dashed road from P to R labelled x kilometres.
A
I.

Identify the odd-degree vertices in the original network and find the length of a shortest path between them.

[2]
Write your answer here...
II.

Determine the minimum length of a closed route in the original network.

[2]
Write your answer here...
B
I.

Show that after the new road is constructed, the network has an Eulerian circuit.

[2]
Write your answer here...
II.

Find the values of xx for which constructing the new road decreases the minimum closed-route length.

[2]
Write your answer here...

0

Question 43
HL • Paper 3
Hard
Calculator Permitted

A ferry company serves ports H,J,K,L,MH,J,K,L,M. The available two-way routes, with lengths in kilometres, are

HJ=4,HK=10,JK=3,JL=8,KL=2,KM=7,LM=3,HM=12HJ=4,\quad HK=10,\quad JK=3,\quad JL=8,\quad KL=2,\quad KM=7,\quad LM=3,\quad HM=12

For a travelling-salesperson model, an edge in the completed graph represents a shortest route through the original network.

A weighted undirected ferry network showing the five ports and all available direct routes.
A
I.

Determine the least distances from HH to KK, from HH to LL, and from JJ to MM.

[3]
Write your answer here...
II.

Write down the least distance from KK to MM.

[1]
Write your answer here...
B
I.

Apply the nearest-neighbour algorithm to the completed graph, starting at HH.

[2]
Write your answer here...
II.

Calculate the tour length and explain how the final completed edge is travelled in the original network.

[2]
Write your answer here...

0

Question 44
HL • Paper 3
Hard
Calculator Permitted

A simplified page-ranking model has webpages U,V,W,XU,V,W,X. The hyperlinks are

UV,UW,VW,WU,WX,XU,XVU\to V,\quad U\to W,\quad V\to W,\quad W\to U,\quad W\to X,\quad X\to U,\quad X\to V

A user chooses equally between all outgoing hyperlinks. Rows represent the current webpage.

A directed webpage network showing four labelled pages and all hyperlinks, with arrowheads clearly indicating direction.
A
I.

Construct the transition matrix TT in the order U,V,W,XU,V,W,X.

[2]
Write your answer here...
II.

user starts on webpage UU. Determine the probability distribution after three transitions.

[2]
Write your answer here...
B

Find the stationary distribution and identify the webpage with the greatest long-term rank.

[4]
Write your answer here...

0

Question 45
HL • Paper 3
Hard
Calculator Permitted

A monitoring network is arranged as a rooted kk-ary tree of depth hh. The root is at level 00. Every non-leaf vertex has exactly kk children, and all leaves are at level hh.

A genuinely schematic rooted k-ary tree arranged in horizontal levels, with the root at level 0 and all leaves at level h. Every displayed internal vertex has exactly k child placeholders, no vertex is shown as a leaf before level h, and ellipses indicate the repeated omitted structure.
A
I.

For k=2k=2 and h=4h=4, determine the number of vertices and the number of leaves.

[2]
Write your answer here...
II.

Determine the number of edges in this network.

[2]
Write your answer here...
B

For general k>1k>1 and h1h\geq1, show that the number of edges is

kh+1kk1\frac{k^{h+1}-k}{k-1}
[4]
Write your answer here...

0

Question 46
HL • Paper 3
Hard
Calculator Permitted

The vertices A1,A2,,AnA_1,A_2,\ldots,A_n, where n4n\geq4, represent checkpoints positioned at coordinates 1,2,,n1,2,\ldots,n on a straight line. The complete graph has edge weight

w(AiAj)=ijw(A_iA_j)=|i-j|
Six checkpoints at coordinates 1 to 6 on a straight line. The horizontal line represents the coordinate positions only and is not an edge of the complete graph.
A
I.

For n=6n=6, apply the nearest-neighbour algorithm starting at A1A_1.

[2]
Write your answer here...
II.

Calculate the weight of this tour.

[1]
Write your answer here...
B

For the graph defined above, prove that the nearest-neighbour algorithm starting at A1A_1 produces an optimal Hamiltonian cycle for general n4n\ge4.

[5]
Write your answer here...

0

Question 47
HL • Paper 3
Hard
Calculator Permitted

A communication graph is the complete bipartite graph Km,nK_{m,n}. Its vertices are divided into sets LL and RR, where L=m|L|=m and R=n|R|=n. Every vertex in LL is adjacent to every vertex in RR, and there are no edges joining two vertices in the same set.

A generic complete bipartite graph with two separated vertex sets labelled L and R, showing every possible cross-set edge and no within-set edges.
A
I.

Write down the degree of a vertex in LL and the degree of a vertex in RR.

[2]
Write your answer here...
II.

Determine the number of edges in Km,nK_{m,n}.

[1]
Write your answer here...
B

Fix a vertex vv in LL, and let AA be the adjacency matrix of the graph. Determine (A2)vv(A^2)_{vv} and (A4)vv(A^4)_{vv}, and hence deduce formulae for (A2r)vv(A^{2r})_{vv} and (A2r+1)vv(A^{2r+1})_{vv} for positive integers rr.

[5]
Write your answer here...

0

Question 48
HL • Paper 3
Hard
Calculator Permitted

Five observatories A,B,C,D,EA,B,C,D,E are arranged around a circular reserve. The complete weighted graph has weight pp on each perimeter edge

AB,BC,CD,DE,EAAB,\quad BC,\quad CD,\quad DE,\quad EA

and weight qq on each of the five remaining edges, where 0<pq0<p\leq q.

Edge

Type

Weight

A-B

Perimeter

p

B-C

Perimeter

p

C-D

Perimeter

p

D-E

Perimeter

p

E-A

Perimeter

p

A-C

Diagonal

q

A-D

Diagonal

q

B-D

Diagonal

q

B-E

Diagonal

q

C-E

Diagonal

q

A
I.

For q>pq>p, apply the nearest-neighbour algorithm starting at AA and give one possible tour.

[2]
Write your answer here...
II.

Write down the resulting upper bound.

[1]
Write your answer here...
B

Use the deleted vertex algorithm, deleting AA, to prove that a perimeter tour is optimal for every qpq\geq p.

[5]
Write your answer here...

0


Geometry of 3D Shapes

Trigonometric Functions