Tech●●●●●Difficulty 3 of 5

How did Google decide which web page deserves to come first?

Two Stanford students treated every link on the web as a vote, and then asked who the voters were. The answer made a search engine out of a citation index.

▶ Start the story

Google treated every link as a vote, and weighed each vote by who cast it. PageRank, the algorithm Google Search first used to rank pages, counts the number and quality of links to a page, on the assumption that more important websites are likely to receive more links from other websites. A hyperlink counts as a vote of support, and a page linked to by many pages with high PageRank gets a high rank itself.

That definition is recursive: a page's rank depends on the rank of the pages that link to it. The circle is broken by repetition: the computation makes several passes through the collection, called iterations, each bringing the approximate values closer to the true ones. Another way to see it is an imaginary surfer who clicks links at random and sometimes jumps to a random page instead: PageRank gives the likelihood that this surfer arrives at any particular page.

The random surfer
  1. Step 1: Start on a page

    Pick any page at random

  2. Step 2: Follow a link

    With probability d, about 0.85

  3. Step 3: Or jump

    With probability 1 - d, to a random page

  4. Step 4: Repeat for a long time

    PageRank is the likelihood of landing on each page

PageRank was developed at Stanford in 1996 by Larry Page, whose surname it shares, and Sergey Brin, as a research project for a new kind of search engine, different from the then-dominant AltaVista. Brin's idea was that information on the web could be ordered by "link popularity". The trick was borrowed: PageRank was influenced by citation analysis, developed by Eugene Garfield in the 1950s. Today PageRank is not the only algorithm Google Search uses to order results, but it was the company's first and it is the best known.

Quiz me

0/3

  1. 1.Why is PageRank defined "recursively"?
  2. 2.What does the damping factor d (about 0.85) represent in the random-surfer picture?
  3. 3.What problem did Google's "nofollow" link value address?

Recap

A link is a vote, and a vote from an important page counts for more.

💡 A trick to remember it · Pages are voters at a town meeting: a nod from the mayor counts for more than a nod from a stranger.

Surprising fact · Stanford, not Google, held the patent and sold its shares for $336 million.

Sources (1)

No source, no claim. Every fact in this lesson (21 claims) cites at least one of these.

  1. [1]PageRank · Wikipedia
More lessons in 💻 Tech (3) See all tech lessons →

One more light on your map.

Get one lesson like this every day, about the things you love. Free, in two or five minutes.

Get the share card for this lesson ↗