girgit.org

Sets

Universal set and Venn diagrams

The big ideaIn any problem there is one big set that everything comes from, and a simple drawing of a rectangle with circles shows how its subsets relate.

In simple words

Before you sort things, decide what you are sorting. If you are sorting the fruit in a basket, the basket is "everything". Draw the basket as a box. Draw each group, like "red fruit" or "sweet fruit", as a ring inside the box. Now you can see at a glance which groups overlap and which sit inside others.

The universal set

In a given problem, all the sets we talk about are usually subsets of one larger set. That larger set is called the universal set for the problem. It is written \( U \), and its subsets are named \( A, B, C, \dots \)

  • Studying prime numbers, even numbers and multiples of 3? A good universal set is \( \mathbf{N} \).
  • Working with the integers? The universal set could be \( \mathbf{Q} \), or \( \mathbf{R} \): any set that contains all of \( \mathbf{Z} \) will do.
  • A survey of the students of Class 11 in your school about which sport they play: \( U \) is the set of all Class 11 students.
  • A study of the human population: \( U \) is the set of all people in the world.

So the universal set is not fixed for all time. You choose it to fit the context, and the only rule is that it must contain every set in the problem.

Worked example

Let \( A = \{p, q\} \), \( B = \{r, s\} \) and \( C = \{q, s, t\} \). Which of these could be a universal set for all three?

  1. \( \{p, q, r, s, t\} \): contains every element of \( A \), \( B \) and \( C \). Yes.
  2. \( \{p, q, r, s\} \): the \( t \) of \( C \) is missing. No.
  3. \( \phi \): contains nothing, so it cannot hold any non-empty set. No.
  4. The set of all 26 letters of the English alphabet: bigger than needed, but contains all three. Yes.

Venn diagrams

A Venn diagram is a picture of sets, named after the English logician John Venn (1834 to 1883). The rules are simple:

  • The universal set \( U \) is drawn as a rectangle.
  • Each subset is drawn as a closed curve, usually a circle, inside the rectangle.
  • Elements are written inside the region they belong to.

Here is how to picture a few examples. Let \( U = \{1, 2, 3, \dots, 10\} \).

  1. One subset. Let \( A = \{1, 4, 9\} \), the perfect squares in \( U \). Draw one circle inside the rectangle and write 1, 4 and 9 inside it. The other seven numbers go in the rectangle, outside the circle.
  2. A subset of a subset. Let \( A = \{3, 6, 9\} \) (multiples of 3) and \( B = \{6\} \) (multiples of 6). Since \( B \subset A \), the circle for \( B \) is drawn completely inside the circle for \( A \).
  3. Overlapping sets. Let \( A = \{2, 4, 6, 8, 10\} \) and \( B = \{3, 6, 9\} \). They share 6, so the circles overlap, and 6 is written in the lens-shaped region common to both.
  4. Sets with nothing in common. Let \( A = \{1, 2\} \) and \( B = \{9, 10\} \). The circles are drawn apart, not touching.

Try it: build the four examples yourself, or make your own, and watch the circles find the right arrangement.

Over the next few pages, Venn diagrams make union, intersection, difference and complement almost obvious: each one is just a different region of the picture to shade.

Remember

  • \( U \): the universal set, the "everything" of a problem. It must contain every set in that problem.
  • Venn diagram: \( U \) is a rectangle, subsets are circles inside it.
  • \( B \subset A \): circle \( B \) drawn inside circle \( A \).

Try it. Suggest a universal set for (a) the set of equilateral triangles in a plane, (b) the set of vowels.

Answer
(a) The set of all triangles in that plane (or all polygons in it). (b) The set of all letters of the English alphabet. Other answers are fine as long as they contain the given set.

Words to know

Universal set \( U \)
The set containing every element under discussion in a problem.
Venn diagram
A picture of sets: a rectangle for \( U \), circles for its subsets.
John Venn
English logician (1834 to 1883) after whom the diagrams are named.
Closed curve
A loop with no gap, such as a circle, used to fence in a set.

In a Venn diagram, set \( B \) is drawn entirely inside set \( A \). What does that tell you?

  1. \( A \subset B \)
  2. \( B \subset A \)
  3. \( A \) and \( B \) have no common elements

For \( A = \{-1, 0, 1\} \) and \( B = \{\tfrac{1}{2}, 2\} \), which is a valid universal set?

  1. \( \mathbf{Z} \)
  2. \( \mathbf{N} \)
  3. \( \mathbf{Q} \)