Common mistake
The empty set is not a subset of a set because it has no elements.
Correct understanding
The empty set is a subset of every set. The condition 'every element of ∅ belongs to A' is vacuously true.
Maths · Lesson 2.1
Roster and set-builder notation, subsets, union, intersection, difference and complement.
By the end of this lesson, you should be able to:
A set is a well-defined collection of objects. The objects are called elements, and the phrase well-defined means that for any object we can decide whether it belongs to the set. Sets are the language in which modern mathematics states definitions, relations and functions.
This lesson introduces the basic operations on sets. Union, intersection, difference and complement behave like the logical connectives or, and, and not. Once you see that correspondence, the algebra of sets becomes much easier to remember.
We write x ∈ A when x is an element of A, and x ∉ A otherwise. A set can be listed in roster form, A = {1, 2, 3}, or described in set-builder form, A = {x ∈ N : x < 4}. Two sets are equal when they have exactly the same elements; order and repetition do not matter.
A is a subset of B, written A ⊂ B, when every element of A is also an element of B. If A ⊂ B and A ≠ B, then A is a proper subset. The set with no elements is the empty set ∅, and it is a subset of every set. A set with n elements has 2n subsets.
The union A ∪ B contains everything in A or B. The intersection A ∩ B contains everything in both. The difference A - B contains the elements of A that are not in B. The complement A′ contains the elements of the universal set U that are not in A.
De Morgan's laws connect these operations: (A ∪ B)′ = A′ ∩ B′ and (A ∩ B)′ = A′ ∪ B′. In words, the complement of a union is the intersection of the complements, and vice versa. These laws are the set version of negating an or statement and a and statement.
A ∪ B = {1, 2, 3, 4, 5, 6, 7}, because it contains every element that appears in at least one set.
A ∩ B = {4, 5}, because those are the only elements common to both sets.
A - B = {1, 2, 3}, because 4 and 5 are removed from A.
A′ = {6, 7, 8, 9, 10}, because those are the elements of U that are not in A.
Common mistake
The empty set is not a subset of a set because it has no elements.
Correct understanding
The empty set is a subset of every set. The condition 'every element of ∅ belongs to A' is vacuously true.
24 = 16 subsets, including the empty set and the whole set.
A - B contains elements of A that are not in B, while B - A contains elements of B that are not in A. They are different unless A = B.