← LibraryThought Experiments

The Barber Paradox

In a town where the barber shaves exactly those who don't shave themselves, who shaves the barber?

Bertrand Russell used this puzzle in 1918 as a vivid illustration of the contradiction at the heart of naïve set theory. The barber is a proxy for a deeper problem about self-reference in logic and mathematics.

Russell, B. (1918). The Philosophy of Logical Atomism. The Monist, 28–29.

The paradox

In a town, there is one barber. The barber shaves exactly those men in the town who do not shave themselves. Every man either shaves himself or is shaved by the barber, and none is shaved by both.

Who shaves the barber? If the barber shaves himself, he is a man who shaves himself, so by the rule, the barber does not shave him. Contradiction. If the barber does not shave himself, he is a man who does not shave himself, so by the rule, the barber shaves him. Contradiction.

There is no consistent answer. The only conclusion is that no such barber can exist. The description "the barber who shaves all and only those who don't shave themselves" is self-defeating.

The connection to Russell's Set Paradox

The barber is an analogy for a deeper problem in mathematics. In 1901, Russell discovered a paradox within naïve set theory, the assumption that any well-defined property determines a set.

Consider the set R of all sets that do not contain themselves. Does R contain itself? If yes, it should not be in R. If no, it should be in R. The same loop. The barber story is just this paradox dressed in human clothing: replace "shaves" with "contains" and "men" with "sets."

Russell sent a letter to Gottlob Frege in 1902 describing the contradiction. Frege was completing the second volume of his Grundgesetze der Arithmetik, his attempt to ground all of mathematics in logic. He added an appendix acknowledging the problem, writing that it had shaken the foundation he had built his work on.

What came next: type theory and ZF set theory

Two main responses emerged. Russell developed type theory, a hierarchical system that forbids sets from being members of themselves by assigning every set a level, or type. A set of level n can only contain members of level n-1. Self-membership and the paradox become syntactically illegal.

Ernst Zermelo and Abraham Fraenkel developed an axiomatic set theory, now called ZF, that avoids the paradox by restricting set formation. You cannot form a set from an arbitrary property; you can only separate a subset from an already-existing set. The set R is never formed in the first place because there is no prior "set of all sets" to separate it from. Both solutions work, but they work by carefully restricting what can be said, not by explaining away the original intuition.

Discussion questions

  1. Does the fact that a simple rule can create a logical impossibility shake your confidence in logic?
  2. If a self-referential paradox can break mathematics, what other obvious systems might have hidden contradictions?
  3. Is this more of a problem with language or with reality?

Take it to the dinner table.

Get 3 thought experiments for memorable conversations, designed for dinner, with friends, at events, or anywhere small talk has gone on too long.

In Austin? Join Thought Experiments on Patios →