Practice AHL 3.15—Adjacency matrices and tables with authentic IB Mathematics Applications & Interpretation (AI) exam questions for both SL and HL students. This question bank mirrors Paper 1, 2, 3 structure, covering key topics like core principles, advanced applications, and practical problem-solving. Get instant solutions, detailed explanations, and build exam confidence with questions in the style of IB examiners.
A neural network has nodes , and , with directed edges representing signal propagation. The adjacency matrix is:
Draw the directed graph.
Find the number of walks of length 6 from to .
List all trails of length 4 from to .
A new node is added, sending signals to and , and receiving from . Update the adjacency matrix and graph.
In the updated network, find the number of nodes reachable from in exactly 3 steps.
A museum has exhibits , and , connected by pathways with weights as viewing times (in minutes). The adjacency matrix is:
Construct the adjacency table for the pathways.
Use Kruskal's algorithm to find the MST, listing edges in order of selection.
A visitor wants to view all exhibits, starting and ending at . Find an upper bound for the total time using the nearest neighbor algorithm.
Find a lower bound using the MST from part (b).
If a new exhibit is added with pathways , and , update the MST and calculate its total weight.
A transport network has hubs , and , with directed edges representing one-way routes. The adjacency matrix includes self-loops (hubs retaining cargo):
Draw the directed graph, including self-loops.
Find the number of walks of length 5 from to .
A cargo starts at . Determine which hubs are reached after exactly 4 steps.
A new hub is added, sending to and , and receiving from . Update the adjacency matrix and graph.
In the updated network, find the number of walks of length 3 from to , and interpret in the context of cargo transport.
A city's metro system has stations , with weighted edges representing distances (in km). The adjacency matrix is:
Construct the adjacency table for the network.
Use Kruskal's algorithm to find the MST, listing edges in order of selection.
A tourist starts at and visits all stations, returning to . Use the nearest neighbor algorithm to find an upper bound for the distance.
Find a lower bound using the MST from part (b).
If a new station is added with edges , and , update the MST and calculate its new total weight.
A robot navigates a grid of rooms , and , with directed edges indicating possible movements, some marked with sensors (dashed edges) that double the probability of being chosen. The graph is:

Determine the transition matrix for the robot's movement, considering sensor paths have twice the probability of normal paths.
Using a graphic display calculator, estimate the percentage of time the robot spends at if it moves indefinitely.
Comment on one limitation of this probabilistic model.
If a new room is added with a sensor path to and a normal path from , update the transition matrix.
Based on the graph:
Create the complete weighted adjacency matrix (including the shortest weighted connection between every two vertices).
Find the upper bound for the travelling salesman problem using vertex A.
Based on this graph:
Create the adjacency matrix.
Find a hamiltonian path in this graph
What change would be needed for a hamiltonian cycle to be present?
Based on the graph:
Create an unweighted adjacency matrix for the graph.
Hence, identify the odd vertices.
Hence, find the solution to the chinese postman problem.
Based on the graph:
Create the weighted adjacency matrix showing all shortest connections.
Use the deleted vertex theorem with each vertex to find the best lower bound.
Use the nearest neighbour algorithm to find the upper bound
Hecnce or otherwise, solve the travelling salesman problem.
Based on this graph:
Create a weighted adjacency matrix.
Use Kruskal's algorithm to create the minimum spanning tree, and state its value.