Salick Academy
By the end of this topic you should be able to
  • Use set notation and list the members of a set
  • Find the complement of a set
  • Find the union and intersection of two sets
  • Recognise subsets
  • Represent information on a Venn diagram
  • Solve counting problems with two sets

Describing a set

A set is a collection of things, written inside curly brackets: A={2,4,6,8,10}A = \{2, 4, 6, 8, 10\}.

  • xAx \in A — "xx is an element of AA"
  • xAx \notin A — "xx is not an element of AA"
  • n(A)n(A) — the number of elements in AA. Here n(A)=5n(A) = 5.
  • \varnothing or {  }\{\;\} — the empty set, with no elements at all

A set can also be described by a rule: {x:x is an even number less than 12}\{x : x \text{ is an even number less than } 12\} means the same as the list above. Listing it out is usually safer in an exam — you can see what you are working with.

The universal set and the complement

The universal set UU is everything under consideration in that question. The complement AA' is everything in UU that is not in AA.

If U={1,2,3,,10}U = \{1, 2, 3, \ldots, 10\} and A={2,4,6,8,10}A = \{2,4,6,8,10\}, then A={1,3,5,7,9}A' = \{1,3,5,7,9\}.

Union and intersection

For A={1,2,3,4}A = \{1,2,3,4\} and B={3,4,5}B = \{3,4,5\}:   AB={1,2,3,4,5}\;A \cup B = \{1,2,3,4,5\} and AB={3,4}A \cap B = \{3,4\}.

An element is written once in the union, however many sets it belongs to.

Subsets

ABA \subset B means every element of AA is also in BB.

Two consequences worth knowing: if ABA \subset B then AB=AA \cap B = A and AB=BA \cup B = B — the overlap is all of the smaller set, and the union is all of the larger.

The empty set is a subset of every set.

Venn diagrams

Draw the rectangle for UU first, then overlapping circles inside it.

Fill in the overlap first, then work outwards by subtracting. If 25 students study French and 8 study both languages, then 258=1725 - 8 = 17 study French only — and 17 is the number that goes in the French-only region of the diagram.

Counting problems

Adding the two sets counts everyone in the overlap twice, so subtract the overlap once.

In a class of 40 where 25 study French, 18 study Spanish and 8 study both:

n(FS)=25+188=35n(F \cup S) = 25 + 18 - 8 = 35

so 35 study at least one language, and 4035=540 - 35 = 5 study neither.

The same equation can be run backwards. If you know the total, both individual sets and how many are in neither, the unknown overlap drops out — which is what most exam questions on this topic actually ask.