ExamShortcut

Set Theory & Venn Diagrams

✨ Login to track
medium importance~1 Q in Tier 124 formulas⚡ 15 shortcuts5 subtopics
All subtopics·Subtopic 1 of 5

Sets, Subsets & Power Sets

✨ Login to track
⏱ 4 min read🧩 5 question types🎯 12 practice Q
The idea in one minute

A set is a well-defined collection of objects, and Venn diagrams are its picture. The core skill here is counting: subsets, unions, intersections and complements. Most exam questions are direct formula applications.

01

What a set is

A set is a collection of well-defined objects. The objects are called its elements.

Write a set in roster form: A={2,4,6,8}A = \{2, 4, 6, 8\}. Then n(A)=4n(A) = 4, the number of elements.

  • 4∈A4 \in A means 4 belongs to A.
  • 5∉A5 \notin A means 5 does not belong to A.

Two sets are equal when they have exactly the same elements. They are equivalent when they only have the same number of elements. {1,2}\{1, 2\} and {3,4}\{3, 4\} are equivalent but not equal.

The empty set ∅\emptyset has no elements, so n(∅)=0n(\emptyset) = 0. A singleton set has exactly one element.

02

Subsets and the power set

AA is a subset of BB (written A⊆BA \subseteq B) when every element of A is also in B.

Each element makes two choices: in or out. So a set with nn elements has 2n2^n subsets.

The set of all subsets is the power set. A power set of an nn-element set has 2n2^n elements.

  • Subsets: 2n2^n
  • Proper subsets (drop the set itself): 2n−12^n - 1
  • Non-empty subsets (drop the empty set): 2n−12^n - 1
  • Non-empty proper subsets: 2n−22^n - 2

Rule: For nn elements: subsets 2n2^n, proper 2n−12^n - 1, non-empty proper 2n−22^n - 2.

Check with A={1,2,3}A = \{1, 2, 3\}: the 8 subsets are ∅\emptyset, three singletons, three pairs and the full set. Proper: 7. Non-empty proper: 6.

03

Subsets of a fixed size

Subsets with exactly rr elements are counted by nCr^{n}C_r.

From {1,2,3,4,5,6}\{1, 2, 3, 4, 5, 6\}, the subsets of size 2 number 6C2=6×52=15^{6}C_2 = \dfrac{6 \times 5}{2} = 15.

To count subsets that must contain a given element, put that element in first and choose the rest from the remaining n−1n - 1. To count subsets that must avoid an element, choose everything from the other n−1n - 1.

Tip: "At least one of two given elements" flips to "avoid both". Count the avoid case and subtract from 2n2^n.

04

Union, intersection, difference, complement

Take A={1,2,3,4}A = \{1, 2, 3, 4\} and B={3,4,5}B = \{3, 4, 5\}.

  • Union A∪B={1,2,3,4,5}A \cup B = \{1, 2, 3, 4, 5\}, so n(A∪B)=5n(A \cup B) = 5: in A or B or both.
  • Intersection A∩B={3,4}A \cap B = \{3, 4\}, so n(A∩B)=2n(A \cap B) = 2: in both.
  • Difference A−B={1,2}A - B = \{1, 2\}: in A but not in B.
  • Complement A′=U−AA' = U - A: everything of the universal set UU outside A.

Rule: n(A−B)=n(A)−n(A∩B)n(A - B) = n(A) - n(A \cap B). Subtract the overlap, not n(B)n(B).

05

The union counting formula

n(A∪B)=n(A)+n(B)−n(A∩B)n(A \cup B) = n(A) + n(B) - n(A \cap B)

Adding n(A)n(A) and n(B)n(B) counts the common elements twice. Subtract the overlap once.

Worked: n(A)=23n(A) = 23, n(B)=18n(B) = 18, n(A∩B)=9n(A \cap B) = 9. Union =23+18−9=32= 23 + 18 - 9 = 32.

The formula also runs backwards. If the union is known, any one of the other three counts follows from it.

Tip: "At least one of A or B" always means the union. Spot those words and reach for this formula.

06

De Morgan's laws

The complement flips unions and intersections:

(A∪B)′=A′∩B′(A∩B)′=A′∪B′(A \cup B)' = A' \cap B' \qquad (A \cap B)' = A' \cup B'

In words: "not in A or B" means "outside A and outside B".

Exam use: n(A′∩B′)=n(U)−n(A∪B)n(A' \cap B') = n(U) - n(A \cup B).

Worked: n(U)=50n(U) = 50, n(A)=30n(A) = 30, n(B)=24n(B) = 24, n(A∩B)=10n(A \cap B) = 10. Union =44= 44, so n(A′∩B′)=50−44=6n(A' \cap B') = 50 - 44 = 6.

Watch: A complement turns ∪\cup into ∩\cap and ∩\cap into ∪\cup. Do not keep the same join sign.

07

Question types you will see

Each type: how to recognise it, the method step by step, and one question to try.

Type 1very common2 practice Q

Number of subsets of a set

How to spot it:

'How many subsets does a set with n elements have?' — a direct power-set ask.

2n2^n
Method
  1. Count the elements nn.

  2. Compute 2n2^n.

  3. For proper subsets subtract 1.

Why it works:

Each element independently joins or stays out, so the choices double for every element.

Try this

A set has 6 elements. How many subsets does it have?

Show solution
  1. Count the elements: n=6n = 6.

  2. Subsets =26=64= 2^6 = 64.

Answer

64

Type 2common2 practice Q

Proper and non-empty subsets

How to spot it:

The word 'proper' (drop the set itself) or 'non-empty' (drop the empty set) is attached to subsets.

2n−1, non-empty proper=2n−22^n - 1,\ \text{non-empty proper} = 2^n - 2
Method
  1. Compute 2n2^n.

  2. Subtract 1 for proper, 1 for non-empty.

  3. Subtract 2 when both words appear.

Why it works:

Proper removes the full set and non-empty removes the empty set from the 2n2^n total.

Try this

A set has 5 elements. How many non-empty proper subsets does it have?

Show solution
  1. Subsets: 25=322^5 = 32.

  2. Non-empty proper: 32−2=3032 - 2 = 30.

Answer

30

Type 3common2 practice Q

Subsets of a fixed size or containing given elements

How to spot it:

'Exactly 2 elements', 'containing a particular element', or 'at least one of two given elements'.

nCr^{n}C_r
Method
  1. Fixed size r: answer nCr^{n}C_r.

  2. Must contain a set of k elements: choose the rest from n−kn - k.

  3. At least one of some elements: 2n2^n minus the subsets avoiding all of them.

Why it works:

Fixing or banning elements just shrinks the pool that the remaining choice works on.

Try this

A set has 6 elements. How many subsets have exactly 2 elements?

Show solution
  1. Count size-2 subsets: 6C2^{6}C_2.

  2. 6×52=15\dfrac{6 \times 5}{2} = 15.

Answer

15

Type 4very common4 practice Q

Union of two sets and the difference region

How to spot it:

n(A∪B)n(A \cup B) or n(A−B)n(A - B) is asked from counts of AA, BB and A∩BA \cap B.

n(A∪B)=n(A)+n(B)−n(A∩B);n(A−B)=n(A)−n(A∩B)n(A \cup B) = n(A) + n(B) - n(A \cap B);\quad n(A - B) = n(A) - n(A \cap B)
Method
  1. Write the union formula (or the difference formula).

  2. Substitute the three counts.

  3. Subtract the overlap for a union; subtract it from n(A)n(A) for a difference.

Why it works:

The plain sum double-counts the overlap, so it must be removed once.

Try this

If n(A)=21n(A) = 21, n(B)=17n(B) = 17 and n(A∩B)=8n(A \cap B) = 8, find n(A∪B)n(A \cup B).

Show solution
  1. 21+17−821 + 17 - 8.

  2. =30= 30.

Answer

30

Type 5common2 practice Q

De Morgan complement count

How to spot it:

The ask uses complements like n(A′∩B′)n(A' \cap B') or words like 'outside both A and B'.

n(A′∩B′)=n(U)−n(A∪B)n(A' \cap B') = n(U) - n(A \cup B)
Method
  1. Convert the complement expression with De Morgan.

  2. Find n(A∪B)n(A \cup B) from the counts.

  3. Subtract the union from n(U)n(U).

Why it works:

'Not (A or B)' equals 'not A and not B', so the complement of the union is the answer.

Try this

In a universal set of 50 elements, n(A)=30n(A) = 30, n(B)=24n(B) = 24 and n(A∩B)=10n(A \cap B) = 10. Find n(A′∩B′)n(A' \cap B').

Show solution
  1. A′∩B′=(A∪B)′A' \cap B' = (A \cup B)'.

  2. Union: 30+24−10=4430 + 24 - 10 = 44.

  3. 50−44=650 - 44 = 6.

Answer

6

08

Formula sheet

Number of subsets
2n2^n

A set with $n$ elements; the power set has $2^n$ elements.

Proper subsets
2n−12^n - 1

All subsets except the set itself.

Non-empty subsets
2n−12^n - 1

All subsets except the empty set.

Non-empty proper subsets
2n−22^n - 2

Drops both the empty set and the full set.

Subsets of size r
nCr^{n}C_r

Order does not matter inside a subset.

Union of two sets
n(A∪B)=n(A)+n(B)−n(A∩B)n(A \cup B) = n(A) + n(B) - n(A \cap B)

Subtract the overlap counted twice.

De Morgan's laws
(A∪B)′=A′∩B′,(A∩B)′=A′∪B′(A \cup B)' = A' \cap B',\quad (A \cap B)' = A' \cup B'

A complement swaps the join sign.

09

Shortcuts that save time

⚡ Know powers of 2 by heart

Subset questions are pure powers of two. Learn 2,4,8,…,5122, 4, 8, \ldots, 512 and every variant (proper, non-empty) becomes a one-step subtraction.

Example

A set has 9 elements. How many subsets does it have?

Show solution
  1. Subsets =29= 2^9.

  2. =512= 512.

Answer

512

⚡ Count what you do not want

For 'at least one of these elements' or 'non-empty proper', count the unwanted subsets and subtract from 2n2^n.

Example

A set has 6 elements. How many non-empty proper subsets does it have?

Show solution
  1. Subsets: 26=642^6 = 64.

  2. Drop the empty and the full set: 64−2=6264 - 2 = 62.

Answer

62

⚡ De Morgan turns the question into one union

n(A′∩B′)n(A' \cap B') looks scary. De Morgan converts it to n(U)−n(A∪B)n(U) - n(A \cup B), a two-line count.

Example

In a universal set of 80 elements, n(A)=45n(A) = 45, n(B)=35n(B) = 35 and n(A∩B)=15n(A \cap B) = 15. Find n(A′∩B′)n(A' \cap B').

Show solution
  1. Union: 45+35−15=6545 + 35 - 15 = 65.

  2. Complement: 80−65=1580 - 65 = 15.

Answer

15

10

Mistakes to avoid

Where most students lose marks on this subtopic.

Mistake 01

Using 2n2^n where a smaller count is asked — proper subsets are 2n−12^n - 1 and non-empty proper subsets are 2n−22^n - 2.

Mistake 02

Adding n(A)n(A) and n(B)n(B) without subtracting the overlap — the common elements get counted twice.

Mistake 03

Reading n(A−B)n(A - B) as n(A)−n(B)n(A) - n(B) — subtract the overlap n(A∩B)n(A \cap B), not the whole of n(B)n(B).

Mistake 04

Mixing up De Morgan — (A∪B)′(A \cup B)' becomes A′∩B′A' \cap B', not A′∪B′A' \cup B'.

Mistake 05

Forgetting the empty set when listing subsets — ∅\emptyset is a subset of every set.

Mistake 06

Treating equivalent sets as equal — equal needs the same elements; equivalent only the same count.

11

Quick revision

Read this the night before the exam.

  • Subsets of an nn-element set: 2n2^n; power set has 2n2^n elements.

  • Proper subsets 2n−12^n - 1; non-empty proper 2n−22^n - 2.

  • Fixed size rr: nCr^{n}C_r subsets.

  • n(A∪B)=n(A)+n(B)−n(A∩B)n(A \cup B) = n(A) + n(B) - n(A \cap B).

  • n(A−B)=n(A)−n(A∩B)n(A - B) = n(A) - n(A \cap B).

  • De Morgan: (A∪B)′=A′∩B′(A \cup B)' = A' \cap B', (A∩B)′=A′∪B′(A \cap B)' = A' \cup B'.

  • n(A′∩B′)=n(U)−n(A∪B)n(A' \cap B') = n(U) - n(A \cup B).

12

Practice: 12 questions

Sets of 10, mixed across the question types above. Every answer has a step-by-step explanation.

Topic test · 12 questions

Suggested time 9 min · wrong answers go to your mistake notebook automatically.

Join Telegram