• Practice
  • About 16 min
  • 5 practice questions

Venn diagrams, subsets, the universal set and complement

Draw sets as Venn diagrams, decide when one set is a subset of another, choose a suitable universal set, and find the complement A′ of a set.

If something looks wrong, please tell us.

By the end of this lesson you can

  • Show a set and a subset in a Venn diagram.
  • Use the symbol ⊆ and the basic facts about subsets.
  • Choose a universal set U and find the complement A′ of a set A.

A picture often shows the relation between sets faster than a list. The British logician John Venn made popular the idea of drawing sets as closed curves; these drawings are called Venn diagrams. In this lesson we use them to see subsets and complements.

Venn diagrams

A set is drawn as a closed figure, usually a circle or an oval, with its elements written inside. A universal set is drawn as a rectangle that contains all the circles. An element outside a circle but inside the rectangle belongs to U but not to that set.

Subsets

If every element of B is also an element of A, then B is a subset of A, written B ⊆ A ('B is a subset of A'). In a Venn diagram, the circle for B lies completely inside the circle for A. For example, if A = {1, 2, 3, 4, 5, 6} and B = {2, 4, 6}, then B ⊆ A. Also N ⊆ W ⊆ I ⊆ Q ⊆ R, because each number set sits inside the next.

  • Every set is a subset of itself: A ⊆ A.
  • The empty set is a subset of every set: ∅ ⊆ A.
  • If A = B, then A ⊆ B and B ⊆ A.
  • If A ⊆ B and B ⊆ A, then A = B.

Worked example 1: is it a subset?

Let S = {x | x ∈ I, x² = 9} and T = {x | x ∈ I, −3 ≤ x ≤ 3}. Working: S = {−3, 3} and T = {−3, −2, −1, 0, 1, 2, 3}. Both elements of S are in T, so S ⊆ T. But 0 ∈ T and 0 ∉ S, so T is not a subset of S.

Worked example 2: listing subsets

Write all subsets of A = {p, q, r}. Working: with no element: ∅. With one element: {p}, {q}, {r}. With two: {p, q}, {p, r}, {q, r}. With three: {p, q, r}. That makes 8 subsets in all. Do not forget ∅ and the set itself.

The universal set

When we study several sets together we choose a bigger set that contains all of them. This is the universal set, written U. Its choice depends on the problem. If we study the students of Division A who come by bus, U could be all the students of Division A. If sets are the multiples of 4 and the multiples of 6, a suitable U is the set of natural numbers N.

Complement of a set

If A ⊆ U, the complement of A is the set of all elements of U that are not in A. It is written A′ (or Aᶜ): A′ = {x | x ∈ U, x ∉ A}. In a Venn diagram, A′ is the part of the rectangle outside the circle A.

A′ = {x | x ∈ U and x ∉ A}. The complement of the complement is the set itself: (A′)′ = A.

— Complement

Worked example 3: finding a complement

Let U = {x | x ∈ N, x ≤ 12} and A = {x | x is a multiple of 3, x ∈ U}. Working: U = {1, 2, ..., 12} and A = {3, 6, 9, 12}. Remove these from U: A′ = {1, 2, 4, 5, 7, 8, 10, 11}. Check: A has 4 elements, A′ has 8, and 4 + 8 = 12 = the number of elements in U. Now the elements of U not in A′ are 3, 6, 9, 12, so (A′)′ = A.

Properties of the complement

  • Nothing in common
    • A and A′ share no element
  • Both inside U
    • A ⊆ U and A′ ⊆ U
  • Extreme cases
    • U′ = ∅
    • ∅′ = U
  • Double complement
    • (A′)′ = A

Key takeaways: B ⊆ A means every element of B is in A; ∅ and A itself are always subsets of A. The universal set U contains every set under study and is drawn as a rectangle. The complement A′ is everything in U outside A, and (A′)′ = A.

Check your understanding

  1. 1. If A = {2, 4, 6, 8, 10}, which set is a subset of A?

    1. {2, 5}
    2. {4, 8, 12}
    3. {0, 2}
    4. {6, 10}
    Show answer

    Answer: D. Both 6 and 10 are elements of A, so {6, 10} ⊆ A. The others contain 5, 12 or 0, which are not in A.

  2. 2. How many subsets does the set {a, b, c} have?

    1. 6
    2. 7
    3. 8
    4. 3
    Show answer

    Answer: C. List them: ∅; {a}, {b}, {c}; {a, b}, {a, c}, {b, c}; {a, b, c}. That is 1 + 3 + 3 + 1 = 8 subsets.

  3. 3. U = {1, 2, 3, 4, 5, 6, 7} and A = {1, 3, 5, 7}. What is A′?

    1. {2, 4, 6}
    2. {1, 3, 5, 7}
    3. {2, 4, 6, 8}
    4. ∅
    Show answer

    Answer: A. A′ contains the elements of U not in A: 2, 4 and 6. 8 is not in U, so it cannot be in A′.

  4. 4. Which statement is always true for any set A inside a universal set U?

    1. A′ ⊆ A
    2. ∅ ⊆ A
    3. U ⊆ A
    4. A and A′ have one common element
    Show answer

    Answer: B. The empty set has no element that could fail to be in A, so ∅ ⊆ A for every set A. A and A′ never share an element, and U ⊆ A holds only when A = U.

  5. 5. Which is the most suitable universal set for P = set of multiples of 6 and T = set of perfect cubes of natural numbers?

    1. Set of odd numbers
    2. Set of prime numbers
    3. Set of natural numbers
    4. Set {6, 8, 27}
    Show answer

    Answer: C. Both P = {6, 12, 18, ...} and T = {1, 8, 27, ...} contain only natural numbers, so N contains both. Odd numbers and primes leave out many of their elements, and {6, 8, 27} misses 12, 64 and many more.

Sign in to keep track of the lessons you finish.

Next lesson → Intersection, union and disjoint sets

Privacy · Terms · Refunds · Delivery