The friendship paradox

An extension of the topic of the mean and of graph theory. Statistically your friends have, on average, more friends than you do — because very sociable people appear on many friend lists, inflating the average. This is sampling bias: vertices of high degree are overrepresented. The phenomenon was described by the sociologist Scott Feld in 1991.

The friendship paradox
Mathematics · Graph theory · The friendship paradox (1991)
Friendship networkGroup (9)
On average, the number of friends your friends have is…
people
9
friendships
11
avg. friends
2.44
avg. friends of friends
3.27
🎯 Challenge: which average is larger?
streak: 0

I’ll give you a network — decide which is larger: your average number of friends (ā) or the average number of friends of your friends (ā_fr). Remember the inequality ā_fr ≥ ā.

What just happened?

The friendship paradox is a surprising result from social-network theory, described by the sociologist Scott Feld in 1991 (“Why your friends have more friends than you do”). It says that on average your friends have more friends than you do — and this holds for most people at the same time. It is not psychology or bad luck: it is pure mathematics of graph statistics.

The model: two different averages

We turn people into vertices of a graph and friendships into edges. The degree deg⁡(v)\deg(v) is the number of friends of person vv. The average number of friends per person is computed in the ordinary way:

dˉ=1n∑vdeg⁡(v)\bar d = \frac{1}{n}\sum_{v} \deg(v)

But when we ask “how many friends do my friends have”, we average over friendship relations (over edges), not over people. A person of degree dd is a friend of dd people, so they appear on dd lists and are counted dd times:

dˉfr=∑vdeg⁡(v)2∑vdeg⁡(v)\bar d_{\mathrm{fr}} = \frac{\sum_{v} \deg(v)^2}{\sum_{v} \deg(v)}

The invariant: friends always win

For any friendship network the following inequality holds (it follows from the Cauchy–Schwarz inequality for the degrees):

dˉfr=∑deg⁡(v)2∑deg⁡(v)  ≥  ∑deg⁡(v)n=dˉ\bar d_{\mathrm{fr}} = \frac{\sum \deg(v)^2}{\sum \deg(v)} \;\ge\; \frac{\sum \deg(v)}{n} = \bar d

Equality holds only when everyone has exactly the same number of friends (a regular graph — our “Ring”). In every other network dˉfr>dˉ\bar d_{\mathrm{fr}} > \bar d: the average number of friends your friends have is greater than the average number of friends per person.

Why it works — sampling bias

This is an example of sampling bias. Looking at “friends”, you are more likely to hit a popular person than a loner — because a popular person is someone’s friend dozens of times, while a loner barely once. Hubs are overrepresented in the set of friends and inflate the average. On the stage you can see it directly: the probe hopping along friendships keeps landing on the golden hubs.

What does it mean in practice?

The paradox has real applications. In epidemiology, vaccinating “friends of randomly chosen people” stops an epidemic more effectively than vaccinating random people — because it hits the hubs of the contact network. It also governs social-media analysis and viral marketing, and teaches caution in interpreting averages in networks: “the average friend” is something different from “the average person”.

Why this matters for your exams:

It is an extension of the topic of the mean and of graph theory. It shows that the way of averaging (over people vs over relations) changes the result — a classic trap in interpreting data. The same inequality ∑d2/∑d≥dˉ\sum d^2 / \sum d \ge \bar d is a disguised Cauchy–Schwarz inequality (the quadratic mean ≥ the arithmetic mean), which appears in advanced-level problems.

Remember: vertices of high degree — sociable people — are overrepresented among “friends”, so the average number of friends-of-friends dˉfr\bar d_{\mathrm{fr}} is always ≥\ge the average number of friends dˉ\bar d. Your friends really do have more friends than you on average — and it is not bad luck, just graph statistics.

Illustrative model · NexTutor Virtual Laboratory

Enjoyed the experiment? Share it.

It's free — send it to friends from school.

Theory & formulas

Statement

The average number of friends of your friends is usually larger than the number of your friends — and this holds for most people at the same time.

Why

People with many connections (hubs) appear on many friend lists, so they are overrepresented in the sample of “friends”. For degrees dd (numbers of friends): average friends of a friend=⟨d2⟩⟨d⟩ ≥ ⟨d⟩\text{average friends of a friend}=\frac{\langle d^2\rangle}{\langle d\rangle}\ \ge\ \langle d\rangle because always ⟨d2⟩≥⟨d⟩2\langle d^2\rangle\ge\langle d\rangle^2.

Application

Vaccinating randomly nominated friends hits the hubs and curbs epidemics more effectively.

Notation: dd degree (number of friends), ⟨⋅⟩\langle\cdot\rangle the average over people.

Frequently asked questions

›

Do your friends have more friends than you?

On average yes — and for most people at the same time, which follows from the mathematics of network statistics.

›

Why does this happen?

Because sociable people (with many connections) are overrepresented among “friends” — this is sampling bias.

›

Where is the friendship paradox used?

In epidemiology — vaccinating the friends of random people curbs epidemics more effectively, because it hits the hubs of the network.

Teaching? Embed this experiment on your site.

Free widget — paste it on your school site, blog or notes. It links to the full version.

Teaching a class or tutoring? Guide students in NexTutor →