Clastify logo
Subjects
Features
Review
HOT
Tutoring

Graph Theory

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

Verified by Karim
Verified by Karim
Paper
Difficulty
Status
Level

This content can't be printed from the browser. Use Export PDF with Pro for an offline copy.

Question 1
HL • Paper 1
Easy
Calculator Permitted
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

the value of xx.

[2]
B

the number of vertices of odd degree.

[1]
C

the number of additional edges required to make GG complete.

[2]
Question 2
HL • Paper 1
Easy
Calculator Permitted
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

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

[2]
B

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

[2]
Question 3
HL • Paper 1
Medium
Calculator Permitted
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

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

[2]
B

the vertices adjacent from CC.

[1]
C

whether GG is strongly connected. your answer.

[2]
Question 4
HL • Paper 1
Medium
Calculator Permitted
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

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

[2]
B

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

[2]
C

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

[1]

Build a Practice Exam — Math AI HL

Test your knowledge with a custom paper containing questions from selected topics.

Practice exam question preview
Practice exams dashboard preview
Question 5
HL • Paper 1
Medium
Calculator Permitted
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

the initial vector p0\mathbf p_0.

[1]
B

the probability distribution after two transitions.

[3]
C

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

[1]
Question 6
HL • Paper 1
Medium
Calculator Permitted
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 A−B−C−A−D−CA-B-C-A-D-C as a walk, trail or path, using the most specific applicable term. your answer.

[2]
B

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

[2]
C

why the graph cannot have a Hamiltonian cycle.

[1]
Question 7
HL • Paper 1
Medium
Calculator Permitted
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

the minimum length of the inspector's route.

[4]
Question 8
HL • Paper 1
Medium
Calculator Permitted
HL • Paper 1
Medium
Calculator Permitted

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

ABCDEA−4738B4−265C72−43D364−6E8536−\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. the resulting tour.

[3]
B

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

[2]

Build a Practice Exam — Math AI HL

Test your knowledge with a custom paper containing questions from selected topics.

Practice exam question preview
Practice exams dashboard preview
Question 9
HL • Paper 1
Medium
Calculator Permitted
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

the strongest lower bound and the vertex that produces it.

[1]
B

the weight of an optimal Hamiltonian cycle. your answer.

[3]
Question 10
HL • Paper 1
Medium
Calculator Permitted
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

the network is a tree.

[2]
B

the unique path from SS to VV and its length.

[2]
C

A new edge TVTV is added. the cycle that is created.

[1]
Question 11
HL • Paper 1
Medium
Calculator Permitted
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, the first three edges selected.

[2]
B

a minimum spanning tree and its total cost.

[3]
Question 12
HL • Paper 1
Medium
Calculator Permitted
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.

ABCDEA−42−7B4−156C21−83D−58−2E7632−\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 the edges in the order in which they are selected.

[3]
B

the total weight of the minimum spanning tree.

[2]

Build a Practice Exam — Math AI HL

Test your knowledge with a custom paper containing questions from selected topics.

Practice exam question preview
Practice exams dashboard preview
Question 13
HL • Paper 1
Medium
Calculator Permitted
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 the weight of a minimum spanning tree on the remaining vertices.

[2]
B

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

[2]
C

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

[1]
Question 14
HL • Paper 1
Medium
Calculator Permitted
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

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

[2]
B

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

[3]
Question 15
HL • Paper 1
Medium
Calculator Permitted
HL • Paper 1
Medium
Calculator Permitted

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

P→Q,P→R,Q→R,R→P,R→S,S→PP\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

the transition matrix TT, using rows as source webpages.

[2]
B

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

[3]
C

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

[1]
Question 16
HL • Paper 1
Medium
Calculator Permitted
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

the odd-degree vertices.

[1]
B

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

[3]
C

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

[2]

Build a Practice Exam — Math AI HL

Test your knowledge with a custom paper containing questions from selected topics.

Practice exam question preview
Practice exams dashboard preview
Question 17
HL • Paper 2
Medium
Calculator Permitted
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.

the degree of the eighth vertex.

[2]
II.

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

[2]
B

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

[4]
Question 18
HL • Paper 2
Medium
Calculator Permitted
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, the links in the order in which they are selected.

[2]
II.

the total cost of the minimum spanning tree.

[2]
B

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

[4]
Question 19
HL • Paper 3
Medium
Calculator Permitted
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.

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

[3]
II.

the number of odd-degree vertices.

[1]
B
I.

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

[2]
II.

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

[2]
Question 20
HL • Paper 2
Hard
Calculator Permitted
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.

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

[2]
II.

why the directed graph is strongly connected.

[2]
B
I.

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

[2]
II.

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

[2]

Build a Practice Exam — Math AI HL

Test your knowledge with a custom paper containing questions from selected topics.

Practice exam question preview
Practice exams dashboard preview
Question 21
HL • Paper 2
Hard
Calculator Permitted
HL • Paper 2
Hard
Calculator Permitted

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

J→K,J→L,K→L,L→J,L→M,M→J,M→KJ\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
I.

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

[2]
II.

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

[2]
B
I.

the probability distribution after four transitions.

[2]
II.

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

[2]
Question 22
HL • Paper 2
Hard
Calculator Permitted
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.

A
I.

the degree of each vertex.

[2]
II.

the adjacency matrix AA of the network.

[2]
B
I.

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

[2]
II.

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

[2]
Question 23
HL • Paper 2
Hard
Calculator Permitted
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
I.

Use Kruskal's algorithm to one minimum spanning tree.

[2]
II.

the weight of the minimum spanning tree.

[2]
B

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

[4]
Question 24
HL • Paper 2
Hard
Calculator Permitted
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.

the value of xx.

[2]
II.

GG is a tree.

[2]
B

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

[4]

Build a Practice Exam — Math AI HL

Test your knowledge with a custom paper containing questions from selected topics.

Practice exam question preview
Practice exams dashboard preview
Question 25
HL • Paper 3
Hard
Calculator Permitted
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

P→Q,P→R,Q→R,Q→S,R→P,R→T,S→T,T→P,T→SP\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
I.

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

[2]
II.

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

[2]
B
I.

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

[2]
II.

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

[2]
Question 26
HL • Paper 3
Hard
Calculator Permitted
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
I.

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

[2]
II.

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

[2]
B
I.

the stationary distribution of the visitor.

[3]
II.

the first component of this stationary distribution in context.

[1]
Question 27
HL • Paper 3
Hard
Calculator Permitted
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 below; this edge 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
I.

Use Kruskal's algorithm to a minimum spanning tree.

[3]
II.

the total cost of the minimum spanning tree.

[1]
B

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

[4]
Question 28
HL • Paper 3
Hard
Calculator Permitted
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]
II.

the resulting upper bound.

[1]
B

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

[5]

Build a Practice Exam — Math AI HL

Test your knowledge with a custom paper containing questions from selected topics.

Practice exam question preview
Practice exams dashboard preview
Question 29
HL • Paper 3
Hard
Calculator Permitted
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
I.

whether the graph has an Eulerian circuit. your answer.

[2]
II.

why the graph has no Hamiltonian cycle.

[2]
B

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

[4]
Question 30
HL • Paper 2
Hard
Calculator Permitted
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.

the odd-degree vertices.

[2]
II.

the total length of all the streets.

[1]
B

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

[3]
C

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

[2]
Question 31
HL • Paper 2
Hard
Calculator Permitted
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
I.

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

[2]
II.

the minimum total length of the inspection route.

[2]
B

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

[4]
Question 32
HL • Paper 2
Hard
Calculator Permitted
HL • Paper 2
Hard
Calculator Permitted

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

ABCDEFA−48763B4−5976C85−437D794−58E6735−4F36784−\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. the resulting tour.

[2]
II.

the resulting upper bound.

[2]
B

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

[4]

Build a Practice Exam — Math AI HL

Test your knowledge with a custom paper containing questions from selected topics.

Practice exam question preview
Practice exams dashboard preview
Question 33
HL • Paper 2
Hard
Calculator Permitted
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]
II.

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

[2]
B

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

[4]
Question 34
HL • Paper 2
Hard
Calculator Permitted
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.

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

[2]
II.

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

[2]
B

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

[4]
Question 35
HL • Paper 2
Hard
Calculator Permitted
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

A→B, A→D, B→C, C→A, C→D, D→C, D→E, E→AA\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
I.

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

[2]
II.

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

[2]
B

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

[4]
Question 36
HL • Paper 2
Hard
Calculator Permitted
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.

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

[2]
II.

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

[2]
B

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

[4]

Build a Practice Exam — Math AI HL

Test your knowledge with a custom paper containing questions from selected topics.

Practice exam question preview
Practice exams dashboard preview
Question 37
HL • Paper 2
Hard
Calculator Permitted
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.

A
I.

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

[2]
II.

Give one Eulerian trail.

[2]
B

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

[4]
Question 38
HL • Paper 2
Hard
Calculator Permitted
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 the order in which the links are selected.

[2]
II.

the total length of the minimum spanning tree.

[2]
B

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

[4]
Question 39
HL • Paper 3
Hard
Calculator Permitted
HL • Paper 3
Hard
Calculator Permitted

A wheel network WnW_n, where n≥4n\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.

A
I.

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

[2]
II.

the number of edges in WnW_n.

[2]
B

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

[4]
Question 40
HL • Paper 3
Hard
Calculator Permitted
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
I.

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

[2]
II.

its total weight.

[1]
B
I.

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

[3]
II.

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

[2]

Build a Practice Exam — Math AI HL

Test your knowledge with a custom paper containing questions from selected topics.

Practice exam question preview
Practice exams dashboard preview
Question 41
HL • Paper 3
Hard
Calculator Permitted
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
I.

the odd-degree vertices.

[2]
II.

the total length of all roads.

[1]
B

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

[5]
Question 42
HL • Paper 3
Hard
Calculator Permitted
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
I.

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

[2]
II.

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

[2]
B
I.

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

[2]
II.

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

[2]
Question 43
HL • Paper 3
Hard
Calculator Permitted
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
I.

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

[3]
II.

the least distance from KK to MM.

[1]
B
I.

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

[2]
II.

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

[2]
Question 44
HL • Paper 3
Hard
Calculator Permitted
HL • Paper 3
Hard
Calculator Permitted

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

U→V,U→W,V→W,W→U,W→X,X→U,X→VU\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
I.

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

[2]
II.

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

[2]
B

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

[4]

Build a Practice Exam — Math AI HL

Test your knowledge with a custom paper containing questions from selected topics.

Practice exam question preview
Practice exams dashboard preview
Question 45
HL • Paper 3
Hard
Calculator Permitted
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
I.

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

[2]
II.

the number of edges in this network.

[2]
B

For general k>1k>1 and h≥1h\geq1, the number of edges is

kh+1−kk−1\frac{k^{h+1}-k}{k-1}
[4]
Question 46
HL • Paper 3
Hard
Calculator Permitted
HL • Paper 3
Hard
Calculator Permitted

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

w(AiAj)=∣i−j∣w(A_iA_j)=|i-j|
A
I.

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

[2]
II.

the weight of this tour.

[1]
B

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

[5]
Question 47
HL • Paper 3
Hard
Calculator Permitted
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
I.

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

[2]
II.

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

[1]
B

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

[5]
Question 48
HL • Paper 3
Hard
Calculator Permitted
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<p≤q0<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]
II.

the resulting upper bound.

[1]
B

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

[5]

Build a Practice Exam — Math AI HL

Test your knowledge with a custom paper containing questions from selected topics.

Practice exam question preview
Practice exams dashboard preview

Geometry of 3D Shapes

Trigonometric Functions