Skip to content

Mathematics · Ch 1 — Sets

Venn Diagrams

1.5

Venn Diagrams

Sets and the relationships between them can be pictured using simple diagrams

introduced by the British logician John Venn, called Venn diagrams. They are

an extremely useful visual tool for understanding set operations before computing

them algebraically.

Convention. The universal set UU is represented by a rectangle. Every other set

under discussion is represented by a circle (or closed curve) drawn inside that

rectangle, since every such set is a subset of UU. If a set AA is a subset of

another set BB, the circle for AA is drawn entirely inside the circle for BB. If

two sets AA and BB have some elements in common but neither is a subset of the

other, their circles are drawn overlapping, so that the overlapping (lens-shaped)

region represents the elements common to both.

Reading a Venn diagram. For two sets AA and BB drawn as overlapping circles

inside a rectangle UU:

  • The region where the two circles overlap represents A∩BA \cap B (elements in both AA and BB).
  • The part of circle AA outside the overlap represents A−BA - B (elements in AA but not in BB).
  • The part of circle BB outside the overlap represents B−AB - A (elements in BB but not in AA).
  • The whole shaded area covered by either circle (overlap included, counted once) represents A∪BA \cup B.
  • The region inside the rectangle but outside both circles represents the complement (A∪B)′(A \cup B)' — elements of UU belonging to neither set.

Worked illustration. Take U={1,2,…,10}U = \{1, 2, \dots, 10\}, A={1,2,3,4}A = \{1, 2, 3, 4\},

B={3,4,5,6}B = \{3, 4, 5, 6\}. Drawing two overlapping circles for AA and BB inside a

rectangle for UU: the elements 1,21, 2 are placed in the part of circle AA that does

not overlap BB (since they belong only to AA); the elements 5,65, 6 are placed in the

part of circle BB that does not overlap AA; the elements 3,43, 4 — which belong to

both sets — are placed in the overlapping lens; and the remaining elements

7,8,9,107, 8, 9, 10, belonging to neither AA nor BB, are placed inside the rectangle but …

Figure 1.5Basic Venn diagram for two intersecting sets A and B inside universal set U

What this figure shows. A rectangle labelled U (the universal set) contains two overlapping circles labelled A and B. The overlapping lens-shaped region in the middle represents A ∩ B (elements common to both A and B). The part of circle A outside the overlap represents A - B (elements only in A). The part of circle B outside the overlap represents B - A (elements only in B). The region inside the rectangle but outside both circles represents (A ∪ B)', i.e. elements of U in neither A nor B. Small sample elements are written inside each region as dots/labels to show membership: e.g. elements 1,2,3 placed only inside circle A (the A-only lens), elements 6,7,8 placed only inside circle B (the B-only lens), elements 4,5 placed in the overlapping lens (shared by both A and B), and elements 9,10 placed outside both circles but inside the rectangle U. The rectangle border is solid black; circle A is typically outlined in one colour and …