Algorithms

PageRank

PageRank models a random surfer who follows links and occasionally jumps to a random page. Iterating the update spreads authority across the graph.

8 minLevel 3/3The interactive stage stays ad-free.
Iteration0 / 12Top pageNode 0Top score0.143Mass1.000
00.14310.14320.14330.14340.14350.14360.143

Every page shares its score across outgoing links. The damping factor adds a small random jump so dead ends cannot keep all authority. Node size and brightness show the current score; the top node is outlined in amber.

What you are seeing

1

Start with equal scores. Each page shares its score equally among its outgoing links.

2

A damping factor adds a small uniform jump, preventing dead ends from trapping all authority.

3

Repeat until scores stop changing. Pages linked by important pages rise to the top.

Why it matters

PageRank introduced link-based ranking to web search and remains a foundational example of spectral graph methods and iterative linear algebra.

Complexity & details

Each iteration: O(V + E). Convergence usually takes tens of iterations; the damping factor controls the rate.

Frequently asked questions

What does the damping factor mean?+

With probability d the surfer follows a link; with probability 1 − d they jump to a random page. A common value is d = 0.85.

Why not just count incoming links?+

A link from an authoritative page should count more than many links from unimportant pages. PageRank propagates importance recursively.