Complement Formula

The complement of set A relative to a universal set U is the set of all elements in U that do not belong to A, written A^c or A'.

The Formula

A={xU:xA}A' = \{x \in U : x \notin A\}

When to use: If the universal set is all students in your school and set AA is students who wear glasses, then the complement of AA is every student who does NOT wear glasses. It is everything outside the circle in a Venn diagram—the NOT operator applied to a set.

Quick Example

If U={1,2,3,4,5}U = \{1, 2, 3, 4, 5\} and A={1,2}A = \{1, 2\}, then A={3,4,5}A' = \{3, 4, 5\}

Notation

AA' or AcA^c

What This Formula Means

The complement of set AA relative to a universal set UU is the set of all elements in UU that do not belong to AA, written AcA^c or AA'.

If the universal set is all students in your school and set AA is students who wear glasses, then the complement of AA is every student who does NOT wear glasses. It is everything outside the circle in a Venn diagram—the NOT operator applied to a set.

Formal View

Ac={xU:xA}A^c = \{x \in U : x \notin A\}; equivalently Ac=UAA^c = U \setminus A

Worked Examples

Example 1

easy
Let the universal set U={1,2,3,4,5,6,7,8,9,10}U = \{1,2,3,4,5,6,7,8,9,10\} and A={2,4,6,8,10}A = \{2,4,6,8,10\}. Find AA'.

Answer

A={1,3,5,7,9}A' = \{1, 3, 5, 7, 9\}

First step

1
The complement AA' (also written AcA^c or Aˉ\bar{A}) relative to universal set UU is defined as A={xU:xA}A' = \{x \in U : x \notin A\}.

Full solution

  1. 2
    List elements of U={1,2,3,4,5,6,7,8,9,10}U = \{1,2,3,4,5,6,7,8,9,10\} that are not in A={2,4,6,8,10}A = \{2,4,6,8,10\}: remove the even numbers, leaving the odd numbers.
  2. 3
    Therefore A={1,3,5,7,9}A' = \{1,3,5,7,9\}. Verify: A+A=5+5=10=U|A| + |A'| = 5 + 5 = 10 = |U| ✓.
The complement of a set AA relative to the universal set UU is everything in UU that is not in AA. It is essential to know the universal set.

Example 2

medium
Let U={1,2,3,4,5,6,7,8,9,10}U = \{1,2,3,4,5,6,7,8,9,10\}, A={1,2,3,4,5}A = \{1,2,3,4,5\}, B={4,5,6,7}B = \{4,5,6,7\}. Find (AB)(A \cap B)'.

Example 3

medium
Let U=ZU = \mathbb{Z} and A={even integers}A = \{\text{even integers}\}. Describe AcA^c.

Common Mistakes

  • Computing a complement without naming the universe UU — fix UU first, since 'everything else' depends on it.
  • Confusing AA' with BAB \setminus A — the complement removes AA from all of UU; set difference removes it from a specific BB.
  • Including elements of AA in AA' — the complement holds only elements NOT in AA.

Why This Formula Matters

Complement is the NOT of set theory and turns 'at least one' problems into easy 'none' calculations via P(A)=1P(A)P(A) = 1 - P(A'). A student who forgets to fix the universe UU, or who computes the complement against the wrong universe, gets a meaningless 'everything else.' Recognizing it by "Am I collecting everything in the fixed universe that is NOT in this set?" — rather than by familiar numbers — is what lets a student tell it apart from set difference bab \setminus a and negation and empty set in a mixed problem set.

Frequently Asked Questions

What is the Complement formula?

The complement of set AA relative to a universal set UU is the set of all elements in UU that do not belong to AA, written AcA^c or AA'.

How do you use the Complement formula?

If the universal set is all students in your school and set AA is students who wear glasses, then the complement of AA is every student who does NOT wear glasses. It is everything outside the circle in a Venn diagram—the NOT operator applied to a set.

What do the symbols mean in the Complement formula?

AA' or AcA^c

Why is the Complement formula important in Math?

Complement is the NOT of set theory and turns 'at least one' problems into easy 'none' calculations via P(A)=1P(A)P(A) = 1 - P(A'). A student who forgets to fix the universe UU, or who computes the complement against the wrong universe, gets a meaningless 'everything else.' Recognizing it by "Am I collecting everything in the fixed universe that is NOT in this set?" — rather than by familiar numbers — is what lets a student tell it apart from set difference bab \setminus a and negation and empty set in a mixed problem set.

What do students get wrong about Complement?

The procedure for complement is the easy part; the trap is computing a complement without naming the universe UU. Asking "Am I collecting everything in the fixed universe that is NOT in this set?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

What should I learn before the Complement formula?

Before studying the Complement formula, you should understand: set.