Who Points to You
PageRank as a random surfer: importance is being linked to by important pages.
A recommendation from someone you trust counts for more than ten from strangers. PageRank, the idea behind Google’s early ranking, applies the same rule to the web: a page is important if important pages link to it.
A surfer who never stops
That definition is circular, so picture a surfer instead. They start on some page and click a random link, again and again. Every so often they get bored and jump to a page chosen at random. Count where they spend their time.
A surfer starts on A and clicks a random link on each page.
The visit counts settle on fixed numbers, and those numbers are the PageRank. A has six in-links, the most of any page. B has two, yet B ends up on top: A links only to B, so whenever the surfer leaves A by a link, they land on B. (Drag the link chance below about 0.7 and the random jumps dilute that one strong link enough for A to win back.)
Rank flows like water
The same numbers come out of a simple update rule, the one chapter 14 of Easley and Kleinberg’s Networks, Crowds, and Markets builds up. Give each of the pages of the rank. At every step, each page splits its rank equally among the pages it links to.
Every page starts with an equal share of rank: 1/5 each.
The basic rule has a weak spot. A group of pages that link only to each other is a spider trap: rank flows in and never comes back out, until the trap holds all of it. The fix is the surfer’s boredom. Each page passes on only a fraction of its rank, and the rest is shared equally by every page:
This is the scaled update rule from section 14.3 of the book, and it gives the same answer as the surfer who follows a link with probability and jumps to a random page otherwise. Repeat the update and the ranks converge, whatever they started at.