Complement of a set

Every set problem secretly happens inside a bigger box. Before you can say what is "in" a set, you first have to agree on what is possible — the universal set U\mathcal{U}. The complement of a set AA, written A′A', is simply everything in that box that got left out of AA. It sounds almost too simple to be useful, but complement is the operation that lets you answer questions phrased in the negative — "how many students did not choose cricket," "which numbers are not prime" — without listing them one by one from scratch. This section builds the definition carefully, shows why the universal set must always be fixed first, proves the counting rule n(A)+n(A′)=n(U)n(A) + n(A') = n(\mathcal{U}), and works through the kind of roster-form and word-described examples ICSE Class 8 expects, including where students most often lose marks.

The core insight

The complement A′A' of a set AA inside a universal set U\mathcal{U} is everything in U\mathcal{U} that is not in AA, so AA and A′A' always split U\mathcal{U} into two disjoint pieces whose sizes add up: n(A)+n(A′)=n(U)n(A) + n(A') = n(\mathcal{U}).

The core idea

Set operations like union and intersection combine two sets you already have. Complement is different — it needs only one set, but it needs a second, silent ingredient: the universal set U\mathcal{U}, the full collection of elements under discussion in a given problem (all integers from 1 to 20, all vowels of the alphabet, all pupils in a class, and so on). Without an agreed U\mathcal{U}, "everything not in AA" is meaningless — it could run on forever. Once U\mathcal{U} is fixed, the complement of A⊆UA \subseteq \mathcal{U}, written A′A' (also seen as AcA^c or A‾\overline{A}), collects exactly the leftover elements:

A′={x:x∈U and x∉A}A' = \{x : x \in \mathcal{U} \text{ and } x \notin A\}

where: xx is a typical element being tested, U\mathcal{U} is the stated universal set, and AA is the subset whose complement is being found. Read the definition as a two-part filter — an element earns a place in A′A' only if it passes both tests: it must belong to U\mathcal{U}, and it must fail to belong to AA. On a Venn diagram this is the easiest complement to draw of any set operation. U\mathcal{U} is the outer rectangle; AA is a circle inside it. The complement A′A' is every point of the rectangle that is not inside the circle — no shading calculation needed beyond "outside the loop, inside the box."

Figure
Venn diagram of a rectangle U with circle A shaded inside and the region outside the circle shaded as A prime
A prime is everything inside U but outside A U A A stays white — not shaded shaded orange band = A prime

Four properties follow directly from the definition and are worth knowing by heart, since ICSE questions often ask you to "verify" them on a specific example rather than just quote them:

  • A∪A′=UA \cup A' = \mathcal{U} — a set and its complement together rebuild the whole universal set.
  • A∩A′=∅A \cap A' = \varnothing — a set and its complement never overlap; nothing can be both "in AA" and "not in AA" at once.
  • (A′)′=A(A')' = A — the complement of the complement returns the original set.
  • U′=∅\mathcal{U}' = \varnothing and ∅′=U\varnothing' = \mathcal{U} — the two extreme cases swap places.

Notice that the complement is not a fixed property of AA alone — it depends entirely on which U\mathcal{U} was chosen. The same set A={2,4,6}A = \{2, 4, 6\} has a small complement if U={1,2,…,8}\mathcal{U} = \{1,2,\dots,8\} but a much larger one if U\mathcal{U} is extended further. Always pin down U\mathcal{U} before touching A′A'.

Why it works

The reasoning is essentially a sorting argument, and it is worth walking through carefully because it is exactly what the counting formula below rests on. Take the universal set U\mathcal{U} and imagine sorting every single one of its elements into one of two labelled trays: a tray marked "in AA" and a tray marked "not in AA." Every element of U\mathcal{U} goes into exactly one tray — none can be left out (it must be tested), and none can go into both (the test "is it in AA" has only a yes or a no answer for any given element). The "in AA" tray, by definition, contains exactly the set AA. The "not in AA" tray, by definition, contains exactly the set A′A'. Because every element of U\mathcal{U} landed in one tray or the other, and no element landed in both, the two trays between them contain all of U\mathcal{U}, with no double-counting. That is precisely the statement A∪A′=UA \cup A' = \mathcal{U} and A∩A′=∅A \cap A' = \varnothing combined — mathematicians call this a partition of U\mathcal{U} into two disjoint pieces. Once you accept that AA and A′A' partition U\mathcal{U} with no overlap and nothing left over, counting becomes simple addition: the number of elements in the whole box equals the number in the first tray plus the number in the second tray. For a finite universal set:

n(A)+n(A′)=n(U)n(A) + n(A') = n(\mathcal{U})

where: n(A)n(A) is the number of elements in AA, n(A′)n(A') is the number of elements in A′A', and n(U)n(\mathcal{U}) is the total number of elements in the universal set. This single line is the fastest way to check any complement answer — if the two counts you found do not add up to n(U)n(\mathcal{U}), something was miscounted.

Worked example

Let the universal set be U={1,2,3,4,5,6,7,8,9,10}\mathcal{U} = \{1, 2, 3, 4, 5, 6, 7, 8, 9, 10\} and let A={2,4,6,8,10}A = \{2, 4, 6, 8, 10\}, the even numbers in U\mathcal{U}. Find A′A', and confirm n(A)+n(A′)=n(U)n(A) + n(A') = n(\mathcal{U}).

Step 1. Write out every element of U\mathcal{U} in order: 1,2,3,4,5,6,7,8,9,101, 2, 3, 4, 5, 6, 7, 8, 9, 10 — ten elements in total, so n(U)=10n(\mathcal{U}) = 10.

Step 2. Go through the list and cross out every element that belongs to A={2,4,6,8,10}A = \{2, 4, 6, 8, 10\}. What remains, uncrossed, is A′A':

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

This is exactly the set of odd numbers in U\mathcal{U}, which makes sense — within the whole numbers, "not even" means "odd."

Step 3. Count both sets: n(A)=5n(A) = 5 and n(A′)=5n(A') = 5. Add them: 5+5=10=n(U)5 + 5 = 10 = n(\mathcal{U}), matching the counting formula exactly. ✓

Step 4. Verify the two key properties directly. A∪A′={1,2,3,4,5,6,7,8,9,10}=UA \cup A' = \{1,2,3,4,5,6,7,8,9,10\} = \mathcal{U} ✓, and A∩A′=∅A \cap A' = \varnothing since no number in the list is both even and odd ✓.

Final answer: A′={1,3,5,7,9}A' = \{1, 3, 5, 7, 9\}, with n(A′)=5n(A') = 5.

Competitive stretch

Now take U={x:x is a letter in the word MATHEMATICS}\mathcal{U} = \{x : x \text{ is a letter in the word MATHEMATICS}\}, so the distinct letters give U={M,A,T,H,E,I,C,S}\mathcal{U} = \{M, A, T, H, E, I, C, S\}, and n(U)=8n(\mathcal{U}) = 8. Let B={M,A,T}B = \{M, A, T\}, so n(B)=3n(B) = 3. Removing MM, AA, TT from U\mathcal{U} leaves B′={H,E,I,C,S}B' = \{H, E, I, C, S\}, so n(B′)=5n(B') = 5. Check: 3+5=8=n(U)3 + 5 = 8 = n(\mathcal{U}) ✓. This shows the counting rule works just as well for letters as for numbers — it never depends on what kind of objects the elements are, only on how many there are.

Common traps

  • Forgetting to fix U\mathcal{U} before finding A′A' — the same set AA gives a completely different complement under a different universal set, so state or confirm U\mathcal{U} first, every time.
  • Writing elements in A′A' that are not even in U\mathcal{U} — the complement can only ever contain elements drawn from the stated universal set, never anything from "outside" it.
  • Believing AA and A′A' can share an element — by the very definition of complement this is impossible; if it seems to happen, the universal set or one of the two lists has been copied wrong.
  • Skipping the cardinality check — always verify n(A)+n(A′)=n(U)n(A) + n(A') = n(\mathcal{U}) after listing A′A'; a mismatch is the fastest way to catch a missed or duplicated element.

Ask the tutor: Want more practice picking the right universal set or finding complements for sets described in words instead of lists — ask the AI tutor for a few guided problems on this topic.

Why does the complement depend on the universal set at all — shouldn't "not in A" mean the same thing everywhere?

Because "not in AA" only makes sense once you say what the full range of possible elements is. If A={2,4}A = \{2, 4\} and nobody tells you U\mathcal{U}, "everything not in AA" could mean every other whole number, every other letter, or every other student — infinitely many different answers. Fixing U\mathcal{U} first turns a vague phrase into one specific, listable set.

Is the complement the same thing as subtraction of sets, like U minus A?

Yes, essentially — A′A' can be written as U∖A\mathcal{U} \setminus A (the set difference of U\mathcal{U} and AA), which literally means "remove every element of AA from U\mathcal{U}." The complement is just the special case of set difference where the first set is always the universal set. If you ever see the difference notation in a problem, you can treat U∖A\mathcal{U} \setminus A and A′A' as interchangeable.

If a question just says find the complement of A without mentioning U, what should I do?

Look for context clues — most ICSE questions either state U\mathcal{U} explicitly at the start of the problem, or it is obvious from the setup (for example, "students in the class" or "natural numbers up to 30"). If truly nothing is given, the safest assumption for numeric sets is the smallest sensible universal set implied by the problem, and it is good practice to write "assuming U=…\mathcal{U} = \ldots" before giving A′A', so your working is transparent to the examiner.

Before this

Where this leads