jmaths
IB Mathematics: Applications and Interpretation HL · AHL 1: Graph Theory · AHL 1.7
Name Date
Random walks and page rank Problem set A
Columns are the vertices you leave. Use decimals on the calculator and check that a high power has settled.
Difficulty: first skills applying them stretch
Skills
-
A mouse is in a maze of five chambers joined by tunnels, as shown. At each chamber the mouse chooses one of the tunnels from that chamber at random, each equally likely, and runs along it. Write down the transition matrix for the mouse's walk.
-
The table shows the distances, in km, along the roads between five towns. A dash means there is no road.
- (a) Draw the weighted graph.
- (b) A traveller moves between the towns. At each town she chooses one of the roads from that town at random, each equally likely. Write down the transition matrix.
-
A rumour is passed between four friends. Each person who hears it passes it on to one of their friends, chosen at random, each equally likely. The graph shows who is friends with whom. In the long run, find the proportion of times the rumour is with friend C. Give your answer to 3 significant figures.
-
A drone flies between four hubs along one-way air corridors, as shown. At each hub it chooses one of the corridors leaving that hub at random, each equally likely.
- (a) Write down the transition matrix.
- (b) Find the proportion of time spent at vertex A in the long run. Give your answer to 3 significant figures.
-
The directed graph shows the links between five pages of a school website. A visitor on a page clicks one of the links on it at random.
- (a) Show that the graph is not strongly connected.
- (b) Write down one new arrow that makes the graph strongly connected.
- (c) A visitor starts on page A and keeps clicking links at random for a very long time. Which pages can the visitor be on in the long run?
In context
-
Five galleries of a museum are joined by doors. Every ten minutes a visitor walks through one of the doors of the gallery she is in, chosen at random, each equally likely, to the next gallery.
- (a) Write down the transition matrix.
- (b) Find the probability that the walker is at D after 5 moves, starting at A.
- (c) The walk continues for a very long time. At which vertex is the walker found most often?
-
The directed graph shows the links between five pages on a school website. A visitor on a page clicks one of the links on it at random, each equally likely.
- (a) Write down the transition matrix.
- (b) Rank the pages from the most to the least important.
Stretch
-
The directed graph shows the links between four pages of an online shop. A visitor on a page clicks one of its links at random, each equally likely, but at each step there is a probability of 0.1 that they leave the shop instead.
- (a) Add a state End. Write down the new transition matrix.
- (b) A person starts on page A. Find the probability that they are on page B after 3 steps.
-
The directed graph shows the links between four pages of a recipe site. A visitor on a page clicks one of its links at random, each equally likely.
- (a) Use the long-run probabilities to rank the four pages.
- (b) In a second model, at each step the person stops with probability 0.1. A person starts on page A. Find the probability of being on each page after 10 steps in this model.
- (c) Does the second model change the order of the pages? Explain.
jmaths.xyz · AI HL · AHL 1.7 Random walks, transition matrices and page rank