Describing a set
A set is a collection of things, written inside curly brackets: .
- — " is an element of "
- — " is not an element of "
- — the number of elements in . Here .
- or — the empty set, with no elements at all
A set can also be described by a rule: 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 is everything under consideration in that question. The complement is everything in that is not in .
If and , then .
Union and intersection
For and : and .
An element is written once in the union, however many sets it belongs to.
Subsets
means every element of is also in .
Two consequences worth knowing: if then and — 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 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 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:
so 35 study at least one language, and 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.