Mathematics Topic

Subsets and the Number of Subsets

  1. Read notes
  2. Flashcards
  3. Quiz
  4. Confident

Study focus - 3 things

  1. B is a subset of A (B ⊆ A) when every element of B is also in A; ∅ and A itself are always subsets of A
  2. List subsets by size (none, one element, two elements, ...) so you never repeat one or miss one
  3. A set with n elements has 2^n subsets, because each element is either in or out

Section 1What a subset is

B is a subset of A when every element of B is also an element of A, and we write B ⊆ A. If even one element of B is missing from A, then B is not a subset, written B ⊄ A. Take A = {ackee, mango, yam}. Then {ackee, yam} ⊆ A, but {ackee, banana} ⊄ A, because banana is not in A.

Section 2Two subsets people forget

The empty set ∅ is a subset of every set, because ∅ has no element that could be missing from A. Every set is also a subset of itself, because each of its elements is in it. So the subsets of {1, 2} always include ∅ and {1, 2} itself. Order inside the brackets does not matter, so {1, 2} and {2, 1} are one subset, not two.

Section 3Proper subsets and the symbols

A proper subset is any subset except the whole set: B ⊂ A means B ⊆ A and B ≠ A. Watch out: some books use ⊂ for any subset, so read how the question uses it. In this course ⊆ allows B to equal A and ⊂ does not. For A = {1, 2}, the set {1} is a proper subset, while {1, 2} is a subset but not a proper one.

Section 4Listing all the subsets without missing any

Work by size. For A = {a, b, c}: size 0 gives ∅; size 1 gives {a}, {b}, {c}; size 2 gives {a, b}, {a, c}, {b, c}; size 3 gives {a, b, c}. That is 1 + 3 + 3 + 1 = 8 subsets. Here's the trick: keep the elements in the same order each time, so you do not write {a, b} and then {b, a} by mistake.

Section 5Counting subsets: the 2^n rule

To build a subset, go through the elements one at a time and decide 'in' or 'out'. Each element gives 2 choices, so a set with n elements has 2 × 2 × ... × 2 = 2^n subsets (n twos). For n = 0, 1, 2, 3, 4, 5 that is 1, 2, 4, 8, 16, 32: the count doubles every time you add an element. If one chosen element must be in, the other n - 1 still have 2 choices each, so 2^(n-1) subsets contain it. Leaving out the whole set gives 2^n - 1 proper subsets.

Section 6Element or subset?

Elements go with ∈ and subsets go with ⊆. For A = {2, 4, 6}, 4 ∈ A is true because 4 is one of the elements, and {4} ⊆ A is true because {4} is a set whose only element is in A. This is one of the most common exam slip-ups: writing 4 ⊆ A or {4} ∈ A mixes the two up.

Examples

A vendor sells ackee, mango and yam. Let V = {ackee, mango, yam}. List every subset of V and count them. Check the count with the rule for a set with n elements.

List by size so that none is missed. Size 0: ∅. Size 1: {ackee}, {mango}, {yam}. Size 2: {ackee, mango}, {ackee, yam}, {mango, yam}. Size 3: {ackee, mango, yam}. Counting gives 1 + 3 + 3 + 1 = 8 subsets. The rule agrees: n(V) = 3, so the number of subsets is 2 × 2 × 2 = 8, which is 2^3 = 8.

A netball coach plans a training session from four drills: D = {passing, shooting, defending, dodging}. A plan is any subset of D (doing no drill counts, and so does doing all four). (a) How many plans are there? (b) How many plans include shooting? (c) List the plans with exactly two drills. (d) How many plans are proper subsets of D?

(a) Each of the 4 drills is either in the plan or out, so the number of plans is 2 × 2 × 2 × 2 = 16, which is 2^4 = 16. (b) Put shooting in the plan; the other 3 drills still have 2 choices each, so 2 × 2 × 2 = 8 plans include shooting. (c) The plans with exactly two drills are {passing, shooting}, {passing, defending}, {passing, dodging}, {shooting, defending}, {shooting, dodging} and {defending, dodging}, which is 6 plans. (d) Only the plan using all four drills is not a proper subset, so there are 16 - 1 = 15 proper subsets.

Now let's water it

Session runs notes to flashcards to quiz back-to-back.

Where this comes from