How a search engine knows what matters: the random surfer, PageRank as a share of time on each page, why a link from an important page is worth more, the damping factor, and visits that settle.
Step 1 of 6 · The random surfer
Step 1 of 6
The random surfer
The web here has eight pages, and each arrow is a link from page to page. When you search for something, a search engine finds millions of matching pages, and it has to decide which comes first. The idea of PageRank, on which Google was built, is to see the links as a directed graph and imagine a random surfer: at each step it clicks one of the current page’s links, at random, or, now and then, jumps to any page at random. A page’s PageRank is the share of its time the surfer spends there in the long run. The height of each page’s plinth is its rank.
Right now Chance of clicking a link is 0%: the surfer only jumps. Predict what happens when it starts clicking.
Step 2 of 6
Quiet links
No page links to your page, so the surfer reaches it only by jumping. How much will the page gain from links?
Step 3 of 6
A link from the hub
Each page splits its rank among the links it gives. So what matters is not how many links reach a page, but where from: the formula is
where is the chance of clicking a link, the number of pages, and the number of links page gives. A page’s rank depends on the ranks of the pages linking to it, which depend on the ranks of the pages linking to them, and so on.
Step 4 of 6
Climbing
The links to your page come in a fixed order: three quiet pages, then the hub, then the news site. Climb the ranking.
Step 5 of 6
What a link passes on
Read the formula from right to left: page passes the amount through each of its links. The at the front is the random jumps, which give every page a little, even a page nobody links to.
Step 6 of 6
The surfer settles
How do you work out the ranks, if each depends on the others? You can simply let the surfer walk, and count. Look inside brings in the surfer, and beside each plinth a bar of the share of visits that landed on that page. So far it has made only a few dozen clicks.
Loading the interactive version…
Loading the interactive version…
Each step sets up the Scene for you, and a control marked “fixed” stays put for that step.
Practice · Predict, then look
Right now the surfer never clicks links, it only jumps to a random page, so all eight pages share one rank. When Chance of clicking a link goes up to 85%, which page will rise to the top?
Practice · Predict, then look
Right now the surfer never clicks links, it only jumps to a random page, so all eight pages share one rank. When Chance of clicking a link goes up to 85%, which page will rise to the top?
Practice · Predict, then look
No page links to your page, and its rank is about 1.9%. Now the blog, the photos and the shop, three quiet pages, will link to it. Where will its rank go?
Practice · Predict, then look
No page links to your page, and its rank is about 1.9%. Now the blog, the photos and the shop, three quiet pages, will link to it. Where will its rank go?
Practice · Predict, then look
Three quiet pages already link to your page. Now the hub will add one link. Will your page gain more or less from it than it gained from the three links?
Practice · Predict, then look
Three quiet pages already link to your page. Now the hub will add one link. Will your page gain more or less from it than it gained from the three links?
Practice · Reach the target
Change Pages linking to yours until your page is in second place, behind only the hub, and press Check.
Practice · Reach the target
Change Pages linking to yours until your page is in second place, behind only the hub, and press Check.
Practice · Calculate
The hub links to four pages, and the surfer follows a link on 85% of its moves. Read the hub’s rank off the board. How many percentage points does each of its links pass on?
Practice · Calculate
The hub links to four pages, and the surfer follows a link on 85% of its moves. Read the hub’s rank off the board. How many percentage points does each of its links pass on?
Practice · Predict, then look
The random surfer has made only a few clicks, and the visit bars beside the plinths are far from the ranks. What will happen to the bars when it has made twenty thousand clicks?
Practice · Predict, then look
The random surfer has made only a few clicks, and the visit bars beside the plinths are far from the ranks. What will happen to the bars when it has made twenty thousand clicks?
Lesson complete. Every practice question here is done.