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 . The complement of a set , written , is simply everything in that box that got left out of . 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 , and works through the kind of roster-form and word-described examples ICSE Class 8 expects, including where students most often lose marks.
The complement of a set inside a universal set is everything in that is not in , so and always split into two disjoint pieces whose sizes add up: .
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 , 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 , "everything not in " is meaningless — it could run on forever. Once is fixed, the complement of , written (also seen as or ), collects exactly the leftover elements:
where: is a typical element being tested, is the stated universal set, and is the subset whose complement is being found. Read the definition as a two-part filter — an element earns a place in only if it passes both tests: it must belong to , and it must fail to belong to . On a Venn diagram this is the easiest complement to draw of any set operation. is the outer rectangle; is a circle inside it. The complement is every point of the rectangle that is not inside the circle — no shading calculation needed beyond "outside the loop, inside the box."
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 set and its complement together rebuild the whole universal set.
- — a set and its complement never overlap; nothing can be both "in " and "not in " at once.
- — the complement of the complement returns the original set.
- and — the two extreme cases swap places.
Notice that the complement is not a fixed property of alone — it depends entirely on which was chosen. The same set has a small complement if but a much larger one if is extended further. Always pin down before touching .
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 and imagine sorting every single one of its elements into one of two labelled trays: a tray marked "in " and a tray marked "not in ." Every element of 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 " has only a yes or a no answer for any given element). The "in " tray, by definition, contains exactly the set . The "not in " tray, by definition, contains exactly the set . Because every element of landed in one tray or the other, and no element landed in both, the two trays between them contain all of , with no double-counting. That is precisely the statement and combined — mathematicians call this a partition of into two disjoint pieces. Once you accept that and partition 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:
where: is the number of elements in , is the number of elements in , and 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 , something was miscounted.
Worked example
Let the universal set be and let , the even numbers in . Find , and confirm .
Step 1. Write out every element of in order: — ten elements in total, so .
Step 2. Go through the list and cross out every element that belongs to . What remains, uncrossed, is :
This is exactly the set of odd numbers in , which makes sense — within the whole numbers, "not even" means "odd."
Step 3. Count both sets: and . Add them: , matching the counting formula exactly. ✓
Step 4. Verify the two key properties directly. ✓, and since no number in the list is both even and odd ✓.
Final answer: , with .
Competitive stretch
Now take , so the distinct letters give , and . Let , so . Removing , , from leaves , so . Check: ✓. 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 before finding — the same set gives a completely different complement under a different universal set, so state or confirm first, every time.
- Writing elements in that are not even in — the complement can only ever contain elements drawn from the stated universal set, never anything from "outside" it.
- Believing and 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 after listing ; 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 " only makes sense once you say what the full range of possible elements is. If and nobody tells you , "everything not in " could mean every other whole number, every other letter, or every other student — infinitely many different answers. Fixing 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 — can be written as (the set difference of and ), which literally means "remove every element of from ." 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 and 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 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 " before giving , so your working is transparent to the examiner.