# PageRank

> Source: https://modeladay.com/models/pagerank/
> Category: principle | Topics: systems, science | Difficulty: 3/5

## Definition

PageRank scores nodes in a directed graph. In each round a node divides its link-following mass among outgoing neighbors, with some mass teleporting. Stable scores represent the long-run location probabilities of a random surfer.

## Core Rule

PageRank scores nodes in a directed graph. In each round a node divides its link-following mass among outgoing neighbors, with some mass teleporting. Stable scores represent the long-run location probabilities of a random surfer.

## Opening Context

Search for Bill Clinton on an early web search engine and you could get a joke at the top. The page did mention the president. It wasn't much help if you were looking for information from the White House.

When page after page mentions the same person, how does a search engine decide what you see first?

PageRank measures how important a page is in the web by looking at where the links point. Let's go through some early Google results and see how much a link can pass along.

## How It Works (Preview)

Larry Page and Sergey Brin built a Google prototype at Stanford. They wanted to see what the web could tell them beyond which pages contained the words. One page could send a reader to another. That gave them a clue about where to look.

Imagine a person opening a page and choosing a link at random. Every so often they decide to jump straight to another page instead. That jump gives them a way out of a cluster of pages they might otherwise keep moving among.

## When It Fails (Preview)

Change what a link means and the same score can tell you something different. Start by seeing whether you drew all the links you meant to.

## Full Lesson, Audio & Practice

Get the full PageRank breakdown, 5-minute audio lesson, interactive mechanism animation, and decision checklist in the ConceptFlow app:
- iOS App Store: https://apps.apple.com/app/conceptflow-mental-models/id6756862333
- Google Play: https://play.google.com/store/apps/details?id=com.juxianyp.conceptflow
- Web page: https://modeladay.com/models/pagerank/

## Related Mental Models

- [Friendship Paradox](https://modeladay.com/models/friendship-paradox/)
- [Small world](https://modeladay.com/models/small-world/)
- [structural holes](https://modeladay.com/models/structural-holes/)
