In words
What it is, why it matters, and what it is like.
Why am I learning this?
PageRank is the algorithm that made modern search engines possible. You have likely used it every time you looked up something on Google or another major search engine. Learning how it works helps you understand why some websites appear at the top of your results while others do not. It also explains how recommendation systems decide which products, articles, or videos are 'important' enough to show you first. Concretely, this page prepares you to: (1) explain in simple terms how a search engine decides what is relevant among billions of pages, (2) follow discussions about online reputation and ranking algorithms, and (3) recognize how similar logic is used to find influential people in social networks or key papers in scientific citations. For example, if a page has 10 links pointing to it from pages that are themselves very popular, PageRank calculates that this page deserves a high score, even if it only has those 10 links.
The idea, in plain terms
Imagine you are a librarian trying to decide which books in a huge library are the most important. You cannot read every book in its entirety, so you use a simpler rule based on who refers to whom. If Book A cites Book B, it suggests that Book B is useful or authoritative. But importance flows through these citations. If Book B is cited by many other important books, Book B becomes more important itself. Crucially, not all citations are equal. A citation from a highly respected, widely-read book counts for more than a citation from an obscure, little-known book. This is the core idea of PageRank: importance is not just about how many links point to you, but who those links come from.
Now, think about a person surfing the web as a 'random surfer.' Imagine this person starts on any random webpage. They look at the links on that page and choose one at random to click. They arrive at a new page, look at its links, and choose another at random. They keep clicking like this forever. However, sometimes they get bored or lost. Let’s say there is a 15% chance at any step that they stop clicking links and instead jump to a completely new, random page on the internet (this is the 'damping factor' in action). Over a very long time, the surfer will spend varying amounts of time on different pages. Some pages will be visited far more often than others. These visit frequencies stabilize into fixed percentages. Pages that are linked to by other important pages get visited more often and thus receive higher PageRank scores. The final score for each page is simply the long-term proportion of time the random surfer spends on that page.
An analogy
Think of a university campus with a statue of a famous alumnus in the center square. Students gather around this statue, but not because the statue itself is inherently interesting — they gather there because it sits at the junction of many footpaths, and those footpaths lead from other important places like the library, lecture halls, and the dining hall. If you wanted to know which spot on campus is most 'central' or important, you wouldn’t just count how many paths touch it; you would watch where the students actually go.
Now, replace the statue with a webpage and the footpaths with hyperlinks. Replace the students wandering randomly with our random web surfer who occasionally teleports. The importance of the webpage is determined by how often the surfer ends up there, which depends on how many important pages link to it, and whether those linking pages are easy to reach. In this analogy, a page linked from the library (a very important place) gets more 'traffic' than a page linked from a quiet study room. The PageRank score is effectively the average number of times you would find the surfer standing in front of that specific webpage if you checked randomly after many hours. The analogy has limits: in the real web, pages can link to themselves, and human judgment of importance varies, but the core idea — that importance flows through connections and can be measured by a steady pattern of movement — holds true.",
Definition
PageRank is a method for ranking items in a network by simulating a random walker who mostly follows links but occasionally jumps to a random item; the final score of each item is the long-term percentage of time the walker spends there."
Where this sits
This concept sits alongside Dijkstra’s algorithm, which finds the shortest path between two points, and Breadth-First Search (BFS) or Depth-First Search (DFS), which explore all reachable items from a starting point. While those methods focus on *how* to get from A to B, PageRank focuses on *which* places are most significant within the whole network by analyzing the flow of connections. It also sets the stage for understanding social network analysis, where it helps identify key influencers in groups of people.