Logic

Four circles cannot do it

Three overlapping circles cut the plane into exactly the eight regions three sets need. Four circles cut it into fourteen, and sixteen are required — so the diagram everyone draws stops working at four, and the reason is a count.

Worth reading first: Every corner pays for itself.

Three overlapping circles is the picture everybody has seen. It is also, in a way that is easy to miss, exactly the right size.

3 circles, and the 8 patterns they realiseClosed curves overlapping in the plane, with each region of the arrangement identified by which curves contain it.ABCABABCACBCABC3 circles cut the plane into 8 pieces — Euler's count is 8all 8 patterns appear, so this is a Venn diagram for 3 sets
Fig. 1 Three circles in general position. Each region is labelled by which circles contain it, and there are eight labels because every combination of in-and-out occurs. The count in the caption is measured on the drawing rather than quoted — the plane is sampled, the regions are found by flood fill, and both the region count and the list of patterns come out of that.

Three sets have 23=82^3 = 8 possible membership patterns: in all three, in the first two only, in none, and so on. The picture shows eight regions. Every pattern appears exactly once, which is what makes the diagram useful — point at a pattern and there is somewhere to point.

The natural next thought is that four circles will do the same for four sets. It will not, and the reason has nothing to do with arranging them cleverly.

What the picture is being asked to do

Before the counting, it is worth being clear about what job the diagram has, because the failure is a failure to do that job and not a failure to look right.

A diagram of this kind is a catalogue of possibilities. It is not a picture of three particular collections of things; it is a picture of every way membership in three collections could fall out. That is why it has to show the region for “in BB only” even when there happens to be nothing in BB alone — the region stands for a possibility, and a possibility with nowhere to be drawn is a possibility the diagram cannot discuss.

Once that is the job, the diagram becomes a piece of machinery rather than an illustration. A statement about the three sets is a statement about which regions are empty. All AA are BB says the region inside AA and outside BB has nothing in it. Some AA is BB says the region inside both has something. Every categorical statement is a claim about regions, and a diagram with a region for every pattern can express every such claim.

That is the whole reason it matters whether all 2n2^n regions are present. A diagram missing two of its sixteen regions is not merely untidy: there are two statements about four sets that it has no way to express, and the reader has no signal that anything is absent. The picture looks complete. That is the failure this essay is about, and it is a good example of a defect whose symptom is absence — the hardest kind to notice, because nothing on the page is wrong.

The requirement, stated exactly

A Venn diagram for nn sets is a family of nn closed curves such that:

  • every one of the 2n2^n membership patterns occurs somewhere in the plane, and
  • each pattern occupies a single connected region.

Both conditions matter and they are usually run together. The first says nothing is missing. The second says nothing is duplicated — a pattern spread over two disconnected pieces is a diagram that has drawn the same set twice, and a reader shading “in AA and BB but not CC” would have to remember to shade both.

What four circles actually produce

4 circles, and the 14 patterns they realiseClosed curves overlapping in the plane, with each region of the arrangement identified by which curves contain it.ABCDABABCBCDADCDABCD4 circles cut the plane into 14 pieces — Euler's count is 1414 of the 16 patterns appear; missing: A¬BC¬D, ¬AB¬CD
Fig. 2 Four circles, each pair crossing twice. The plane comes out in fourteen pieces, not sixteen, and the caption names the two patterns that never occur.

Fourteen. The two that never appear are the ones for the two diagonal pairs: the region inside AA and CC but outside BB and DD, and the region inside BB and DD but outside AA and CC. Opposite circles do meet — every pair crosses — but the lens where two opposite circles overlap lies entirely inside the other two, so there is nowhere in it that is outside them.

The instinct at this point is to move the circles. Make them bigger, smaller, differently placed. It does not help, and the reason it does not help is a count that does not depend on where the circles are.

2 circles, and the 4 patterns they realiseClosed curves overlapping in the plane, with each region of the arrangement identified by which curves contain it.ABABAB2 circles cut the plane into 4 pieces — Euler's count is 4all 4 patterns appear, so this is a Venn diagram for 2 sets
Fig. 3 Two circles, four regions, 22=42^2 = 4 patterns. The smallest case, and the one where the requirement and the supply happen to match exactly — as they do again at three and never again after that.

Euler’s formula settles it

Take nn circles in general position, meaning every pair crosses at exactly two points and no three circles pass through one point. The arrangement is a graph drawn on the sphere, and the count that every corner pays for applies to it.

Vertices. Each pair of circles contributes two crossings, so V=2(n2)=n(n1)V = 2 \binom{n}{2} = n(n-1).

Edges. Each circle is cut by the other n1n-1 circles at 2(n1)2(n-1) points, and those points divide it into 2(n1)2(n-1) arcs. So E=2n(n1)E = 2n(n-1).

Faces. Euler’s formula gives F=EV+2=2n(n1)n(n1)+2F = E - V + 2 = 2n(n-1) - n(n-1) + 2, which is n2n+2n^2 - n + 2.

That is the whole argument. For n=3n = 3 it gives 323+2=83^2 - 3 + 2 = 8, and eight is 232^3, so three circles have exactly the room required. For n=4n = 4 it gives 424+2=144^2 - 4 + 2 = 14, and 24=162^4 = 16. Fourteen regions cannot hold sixteen patterns, so no arrangement of four circles is a Venn diagram — not the arrangement above, not any other.

The figures do not take the formula on trust. Each one samples the plane, finds the connected pieces of equal membership pattern by flood fill, and asserts that the measured count equals n2n+2n^2 - n + 2. Two ways of getting the same number, one from Euler’s formula and one from counting the drawing, agreeing.

Why it is circles that fail, and not diagrams

The failure is specific and it is worth being precise about what is responsible, because the wrong lesson is easy to draw.

The step that costs everything is V=n(n1)V = n(n-1): two circles cross at most twice. That is a fact about circles — two distinct circles meet in at most two points, because subtracting their equations leaves a line — and it caps the number of vertices, which caps the edges, which caps the faces.

A curve that can cross another more often gets more vertices and therefore more faces, and the requirement is met. So the fix is not to place circles better; it is to stop using circles.

Ellipses do work, and only just

Four ellipses, and all sixteen patternsClosed curves overlapping in the plane, with each region of the arrangement identified by which curves contain it.ABCDfour congruent ellipses, and all sixteen patterns present as sixteen single regionsmeasured on the drawing itself: every pattern found, every one of them in one piece
Fig. 4 Four congruent ellipses. All sixteen patterns appear, and each appears as a single connected region — both facts measured on the drawing rather than asserted, which is the only reason this configuration is the one on the page.

An ellipse can cross another ellipse four times rather than twice, which doubles the vertex count and buys the room. Venn found such a figure himself in 1880, and it has been redrawn many times since.

The configuration above is not the classical one; it was found by search, and what the search rejected is more instructive than what it accepted. Several arrangements produce all sixteen patterns and fail the second condition: two of the sixteen come out as two separate pieces each, touching at a pinch so narrow that a measurement of the drawing reads sixteen regions at one sampling resolution and eighteen at the next. An arrangement whose verdict depends on how finely it is sampled is not evidence of anything, and three otherwise attractive candidates were discarded before this one, which returns sixteen patterns in sixteen pieces at every resolution from 130 samples across to 1,000, and whose smallest region is a third of a percent of the frame rather than a thousandth.

That is the difference between the two conditions doing real work. “All sixteen patterns appear” is easy to hit by accident; “each in one piece” is the one that costs.

Five, and the shape of the general answer

5 circles, and the 22 patterns they realiseClosed curves overlapping in the plane, with each region of the arrangement identified by which curves contain it.ABCDEABABCBCABCDCDBCDEAEABEDEADECDEABCDEEuler's count for 5 circles in general position is 22 pieces22 of the 32 patterns appear; missing: A¬BC¬D¬E, A¬B¬CD¬E, ¬AB¬CD¬E, AB¬CD¬E,A¬BCD¬E, ¬AB¬C¬DE, ¬A¬BC¬DE, A¬BC¬DE, ¬ABC¬DE, ¬AB¬CDE
Fig. 5 Five circles. Euler’s count gives 525+2=225^2 - 5 + 2 = 22 regions against 25=322^5 = 32 patterns, and the gap has opened from two to ten.

The gap grows fast, because n2n+2n^2 - n + 2 is a polynomial and 2n2^n is not. At six sets, circles offer 32 regions against 64 patterns; at ten, 92 against 1,024. Whatever the fix is, it cannot be a mild improvement to circles.

The general fix is Venn’s own and it is constructive. Given a diagram for nn sets, add an (n+1)(n+1)-th curve that threads through every existing region exactly once, entering and leaving each — a curve that snakes around the whole diagram. Every region it passes through is split in two, one half inside the new curve and one outside, so the count doubles from 2n2^n to 2n+12^{n+1} and every new pattern is realised.

Such a curve exists for every nn, so Venn diagrams exist for every number of sets. They are simply not made of circles, and past four they are not made of anything anyone would draw by hand: the snaking curve for six sets crosses the others 62 times and looks like a scribble.

There is a beautiful special case worth naming. A Venn diagram with nn-fold rotational symmetry exists exactly when nn is prime. Henderson showed in 1963 that primality is necessary; Grünbaum drew one for five sets in 1975; and the construction for every prime was completed by Griggs, Killian and Savage in 2004.

The necessity half is a counting argument and it is short. Under a rotation of order nn, the 2n22^n - 2 patterns other than “all” and “none” fall into orbits of size nn, so nn must divide the number of patterns of each size — that is, n(nk)n \mid \binom{n}{k} for every kk strictly between 00 and nn. That holds precisely when nn is prime.

Two other things four circles get wrong

The missing regions are the headline, and there are two smaller failures in the same picture that are worth seeing because they are what a reader would notice first if they noticed anything.

The region a & b & ~c & ~d on 4 circlesClosed curves overlapping in the plane, with each region of the arrangement identified by which curves contain it.ABCDthe region a ∩ b ∩ ¬c ∩ ¬d, drawn as the zero set of a combination of the fourcurves1 closed boundary, contoured rather than shaded by hand
Fig. 6 The region inside AA and BB and outside CC and DD — one of the fourteen that does exist. It is drawn as the zero set of a combination of the four circles’ own implicit functions and contoured, rather than shaded by hand, so the boundary is where the circles actually are.

The regions have wildly different sizes. In the three-circle picture the eight regions are of comparable size and the diagram reads evenly. With four, some regions are large lobes and others are slivers, and the sliver regions are exactly the ones a reader will fail to point at. Nothing in the construction controls this and nothing can: the shapes are determined by the circle placement, and the placement is already fully used up by the requirement that every pair crosses.

The pattern for a region is not readable off the picture. With three circles a reader can see which circles a point is inside. With four, the innermost regions are bounded by arcs of all four circles and telling them apart takes tracing. The diagram has stopped being a thing to look at and become a thing to work out, which is most of its value gone even where it is correct.

Both of these get worse with nn faster than the region deficit does, which is part of why the honest answer for large nn is not a better Venn diagram but a different representation entirely — a table of patterns, or the cube of assignments, neither of which is trying to be a picture of the plane.

What the diagram is for, and what it is not

Two things get expected of these pictures that they cannot deliver, and both come from the same confusion.

A Venn diagram is not a picture of particular sets. It is a picture of the pattern space — of all the ways membership could fall out. That is why every region has to be present even when it is empty for the sets in question: a diagram in which the empty combinations are simply left out is an Euler diagram, which is a different and often more useful object, and which does not have this problem because it is not trying to show everything.

Region areas mean nothing. Nothing in the construction makes the region for “in AA only” proportional to anything. Reading area as quantity is the standard misuse and the diagrams are silent about it — there is a whole small literature on area-proportional Venn diagrams, and the interesting result there is that three circles cannot generally achieve given areas either, for reasons of the same kind: not enough freedom in the shape.

What the diagram is for is the thing this field will use it for repeatedly. It turns a statement about sets into a statement about which regions are empty, and once that translation is made, a claim about all possible situations becomes a claim about a finite picture with a finite number of regions that are either shaded or not. Two hundred and fifty-six arguments become a decidable question exactly because three sets have eight regions and 282^8 ways of being occupied.

The diagram that gives up the guarantee

There is a second family of pictures that solves the problem by refusing it, and it is the one most real diagrams in the world actually are.

The region a & b & ~c on 3 circlesClosed curves overlapping in the plane, with each region of the arrangement identified by which curves contain it.ABCthe region a ∩ b ∩ ¬c, drawn as the zero set of a combination of the four curves1 closed boundary, contoured rather than shaded by hand
Fig. 7 One region of the three-circle diagram picked out: inside AA and BB, outside CC. This is what a claim looks like once the diagram is in place — a statement about sets has become a statement about a region, and the boundary drawn here is contoured from the circles’ own equations rather than sketched.

An Euler diagram draws only the regions that are non-empty for the particular sets in hand. Three sets where AA and BB are disjoint get two separated circles; three sets where AA is contained in BB get one inside the other. No region is required to exist merely because it could, so the counting obstruction never arises and Euler diagrams exist for any number of sets in any configuration.

What is given up is the guarantee. A Venn diagram is a fixed template: its shape is the same whatever the sets are, and every claim about them is a shading of it. An Euler diagram’s shape is the claim, so two Euler diagrams for the same three sets under different assumptions look nothing alike, and a reader cannot tell by looking whether a region is absent because it is empty or absent because the draughtsman ran out of room.

That trade is worth naming because it is the same one the field makes over and over. A representation that shows every possibility is uniform, complete and does not scale; a representation that shows only what is the case is compact, readable and carries no information about what it left out. Venn wanted the first, drew circles, and found at four that the first is not always available.

Why an impossibility this small is worth the space

The result is modest: a particular kind of drawing does not work past a particular size. Nobody is inconvenienced.

What earns it a place is the shape of the proof, which is the one this field keeps using. There is no search over arrangements and no cleverness about circle placement. There is a quantity — the number of faces — that is determined by the combinatorics regardless of the arrangement, and a requirement that the quantity be at least 2n2^n, and at n=4n = 4 the two numbers can be compared and one is smaller.

That is an impossibility proof of the cheapest available kind, and its cheapness is the point. It rules out infinitely many attempts at once without examining any of them, in the same way that the count of angles at a vertex rules out a sixth regular solid and a parity argument rules out a walk over the bridges. In each case the invariant is small enough to compute and rigid enough not to care about the details it is being asked to rule out.

The habit worth carrying forward: when a construction is failing repeatedly, stop improving the construction and look for a number it cannot change.

Reads more easily once this is understood

Essays that name this one as worth reading first.

Named objects

A dashed tag is an object no other essay names yet.

ArrangementClosed curveConvexityEuler formulaMembership patternRegion countSet operationsVenn diagram