Why this chapter matters. This chapter gave 5 questions in the 6 papers from CDS I 2024 to CDS II 2026: two in CDS II 2024 and three in CDS II 2026. The other four papers had none. The questions are of two kinds. In the first, you decide whether a statement in set language is correct: is this set finite, is it a null set, what is the complement of the universal set. In the second, you count people in a survey with two or three overlapping groups. Both kinds are among the easiest marks in the paper if the words are clear in your mind.
What you will be able to do
- Read and write a set in both forms, and tell an element (โ\inโ) from a subset (โ\subsetโ).
- Say whether a set is null, singleton, finite or infinite.
- Find the union, intersection, difference and complement of sets, and show them on a Venn diagram.
- Solve counting problems on two or three sets.
Before you start you should know: the natural numbers, integers and real numbers (Chapter A1-1), and how to solve a simple equation. Nothing else is needed.
1. What a set is
A set is a well-defined collection of objects, called its elements. "Well-defined" means we can say clearly whether any object is in the set or not. "The tall students of a class" is not a set. "The students of a class who are taller than 170 cm" is a set.
There are two ways to write a set.
- Roster form: list the elements inside braces. โA = \{1, 2, 3, 4, 5\}โ.
- Set-builder form: give the rule. โA = \{x : x \text{ is a natural number and } x < 6\}โ. Read the colon as "such that".
We write โ3 \in Aโ ("3 belongs to โAโ") and โ7 \notin Aโ. The order of the elements does not matter, and an element is not written twice.
The exam uses these letters for sets of numbers:
| Letter | Set | Elements |
|---|---|---|
| โ\mathbb{N}โ | natural numbers | โ1, 2, 3, \dotsโ |
| โ\mathbb{Z}โ | integers | โ\dots, -2, -1, 0, 1, 2, \dotsโ |
| โ\mathbb{Q}โ | rational numbers | all fractions โ\frac{p}{q}โ of integers, โq \ne 0โ |
| โ\mathbb{R}โ | real numbers | every point of the number line |
The letter matters. โ\{x \in \mathbb{Z} : x^2 = 4\}โ is โ\{-2, 2\}โ. But โ\{x \in \mathbb{N} : x^2 = 4\}โ is โ\{2\}โ only.
2. Kinds of sets
| Name | Meaning | Example |
|---|---|---|
| Null set (empty set), written โ\phiโ or โ\{\ \}โ | has no element | โ\{x \in \mathbb{Z} : x^2 = 5\}โ, because no integer has square 5 |
| Singleton set | has exactly one element | the set of even prime numbers, which is โ\{2\}โ |
| Finite set | its elements can be counted, and the counting comes to an end | the set of people living in India |
| Infinite set | the counting never ends | โ\mathbb{N}โ; the set of real numbers between 0 and 1 |
Three points decide most statement questions.
- A set that is very large is still finite if the count would end. The grains of sand on a beach form a finite set.
- Between any two different real numbers there are endlessly many real numbers. So โ\{x \in \mathbb{R} : 0 < x < 1\}โ is infinite. But โ\{x \in \mathbb{N} : 0 < x < 1\}โ is a null set.
- To test for a null set, look for one element. If you find even one, the set is not null. The null set is itself finite: it has 0 elements.
The number of elements of a finite set โAโ is written โn(A)โ. For โA = \{1, 2, 3, 4, 5\}โ, โn(A) = 5โ.
3. Subsets, the universal set and the complement
โAโ is a subset of โBโ, written โA \subset Bโ, if every element of โAโ is also in โBโ. For example, โ\{1, 2\} \subset \{1, 2, 3\}โ.
- Every set is a subset of itself, and โ\phiโ is a subset of every set.
- A set with โnโ elements has โ2^nโ subsets. For example, โ\{a, b\}โ has โ2^2 = 4โ subsets: โ\phiโ, โ\{a\}โ, โ\{b\}โ and โ\{a, b\}โ.
Do not mix the two signs. โ\inโ joins an element to a set. โ\subsetโ joins a set to a set. So โ1 \in \{1, 2\}โ and โ\{1\} \subset \{1, 2\}โ are both true.
All the sets in one problem are taken from a large fixed set called the universal set, โUโ. The complement of โAโ, written โA'โ or โA^cโ, is the set of elements of โUโ that are not in โAโ.
- โA'โ is made only of elements of โUโ, so โA'โ is a subset of โUโ.
- The complement of โUโ is โ\phiโ: nothing in โUโ is outside โUโ. The complement of โ\phiโ is โUโ.
- โ(A')' = Aโ.
4. Operations and the Venn diagram
Take โU = \{1, 2, \dots, 10\}โ, โA = \{1, 2, 3, 4, 5\}โ and โB = \{4, 5, 6, 7\}โ.
| Operation | Symbol | Meaning | In the example |
|---|---|---|---|
| Union | โA \cup Bโ | elements in โAโ or in โBโ (or in both) | โ\{1, 2, 3, 4, 5, 6, 7\}โ |
| Intersection | โA \cap Bโ | elements in both โAโ and โBโ | โ\{4, 5\}โ |
| Difference | โA - Bโ | elements in โAโ but not in โBโ | โ\{1, 2, 3\}โ |
| Difference | โB - Aโ | elements in โBโ but not in โAโ | โ\{6, 7\}โ |
| Complement | โA'โ | elements of โUโ not in โAโ | โ\{6, 7, 8, 9, 10\}โ |

Two sets with no common element are called disjoint: โA \cap B = \phiโ.
In a Venn diagram a rectangle stands for โUโ and a circle for each set. Two overlapping circles make four separate regions.

De Morgan's laws. โ(A \cup B)' = A' \cap B'โ and โ(A \cap B)' = A' \cup B'โ. In words: "not in โAโ or โBโ" is the same as "not in โAโ and not in โBโ". In the example both sides of the first law are โ\{8, 9, 10\}โ, the region outside both circles.
5. Counting with sets
When we add โn(A)โ and โn(B)โ, the common elements are counted twice. So we take them away once:
n(A \cup B) = n(A) + n(B) - n(A \cap B)
In the example: โ7 = 5 + 4 - 2โ.
| To find | Use |
|---|---|
| In at least one of โAโ, โBโ | โn(A \cup B) = n(A) + n(B) - n(A \cap B)โ |
| Only in โAโ | โn(A) - n(A \cap B)โ |
| In exactly one of โAโ, โBโ | โn(A) + n(B) - 2\,n(A \cap B)โ |
| In neither | โn(U) - n(A \cup B)โ |
For three sets:
n(A \cup B \cup C) = n(A) + n(B) + n(C) - n(A \cap B) - n(B \cap C) - n(C \cap A) + n(A \cap B \cap C)
A way of thinking that is faster than the formula. Add the sizes of the sets. In this total, a person who is in one set is counted once, a person in two sets is counted twice, and a person in all three is counted three times. The last real question below is solved in two lines this way.
In a word problem, "30 like tea" means the whole tea circle, including those who also like coffee. "30 like only tea" means the part of the tea circle outside the coffee circle. Read for the word "only".
Worked examples
Example 1. Say whether each set is null, singleton, finite or infinite: (i) โ\{x \in \mathbb{N} : 2x = 5\}โ; (ii) โ\{x \in \mathbb{Z} : x^2 = 4\}โ; (iii) โ\{x \in \mathbb{R} : 1 < x < 2\}โ.
(i) โ2x = 5โ gives โx = 2.5โ, which is not a natural number. The set is null. (ii) The set is โ\{-2, 2\}โ: finite, with two elements. (iii) There are endlessly many real numbers between 1 and 2, such as 1.5, 1.05, 1.005. The set is infinite.
Example 2. In a group of 60 people, 35 drink tea, 30 drink coffee and 10 drink both. How many drink neither? How many drink exactly one of the two?
At least one: โ35 + 30 - 10 = 55โ. Neither: โ60 - 55 = 5โ.
Only tea: โ35 - 10 = 25โ. Only coffee: โ30 - 10 = 20โ. Exactly one: โ25 + 20 = 45โ.

Fill such a diagram from the middle (the overlap) outwards.
Example 3. In a class of 100 students, 50 study Mathematics, 40 study Physics and 35 study Chemistry. 15 study Mathematics and Physics, 12 study Physics and Chemistry, 10 study Mathematics and Chemistry, and 5 study all three. How many study none of the three?
โ50 + 40 + 35 - 15 - 12 - 10 + 5 = 93โ study at least one. So โ100 - 93 = 7โ study none.

Example 4. In a survey of 80 people, 55 read a Hindi newspaper and 45 read an English newspaper. What is the least number that must read both?
โn(H \cap E) = 55 + 45 - n(H \cup E) = 100 - n(H \cup E)โ. The union cannot be more than the 80 people surveyed. So the number reading both is at least โ100 - 80 = 20โ.
From the real papers
The first three questions are from CDS II 2026. The answers agree with the provisional official key; the final key had not been published when this lesson was written. Try each for 72 seconds before reading the solution.
CDS II 2026, Q31. Consider the following statements: I. The set of all birds living on the Earth is an infinite set. II. The set of all real numbers between 0 and 10 is a finite set. Which of the statements given above is/are correct?
(a) I onlyโโ(b) II onlyโโ(c) Both I and IIโโ(d) Neither I nor II
Solution. The birds alive on the Earth are very many, but a count of them would come to an end. That set is finite, so I is wrong. Between 0 and 10 there are endlessly many real numbers (1, 1.1, 1.01, ...). That set is infinite, so II is wrong. Answer (d).
CDS II 2026, Q32. Consider the following sets: I. The set of even prime numbers II. โ\{x \in \mathbb{R} : x^3 + 1 = 0\}โ III. โ\{n \in \mathbb{Z} : n^2 < 1\}โ How many of the above are null sets?
(a) Noneโโ(b) Oneโโ(c) Twoโโ(d) All the three
Solution. Look for one element in each. I contains 2, the only even prime. II contains โ-1โ, because โ(-1)^3 + 1 = 0โ. III contains 0, because โ0^2 = 0 < 1โ. Each set has an element, so none is a null set. Answer (a).
CDS II 2026, Q33. Consider the following statements: I. If A is a subset of U and U is the Universal set, then the complement of the set A is also a subset of U. II. The complement of a Universal set is a singleton set. Which of the statements given above is/are correct?
(a) I onlyโโ(b) II onlyโโ(c) Both I and IIโโ(d) Neither I nor II
Solution. The complement of A is made of the elements of U that are not in A. Every one of them is in U, so it is a subset of U: I is correct. The complement of U has no element at all. It is the null set, not a set with one element: II is wrong. Answer (a).
One more, from CDS II 2024. No official key was published; the answer is our own working.
CDS II 2024, Q98. In a class of 160 students, each of them opt at least one language from among English, Hindi and Sanskrit. It is found that 130 students opt English, 120 students Hindi and 110 Sanskrit. If the students opt either only one language or all three languages, then what is the number of students who study all three languages?
(a) 40โโ(b) 60โโ(c) 80โโ(d) 100
Solution. Let โtโ students take all three. The other โ160 - tโ take exactly one. Add the three counts: โ130 + 120 + 110 = 360โ. In this total a one-language student is counted once and a three-language student three times. So โ360 = (160 - t) + 3t = 160 + 2tโ, which gives โt = 100โ. Check: English only 30, Hindi only 20, Sanskrit only 10, all three 100; total 160. Answer (d).
Practice questions in the exam style
These two questions are our own. They are not from a real paper.
Practice 1. In a group of 120 people, 70 speak Hindi, 60 speak English and 20 speak neither. How many speak both languages?
(a) 10โโ(b) 20โโ(c) 30โโ(d) 40
Solution. At least one language: โ120 - 20 = 100โ. Then โ100 = 70 + 60 - n(\text{both})โ, so โn(\text{both}) = 30โ. Answer (c).
Practice 2. Consider the following statements: I. The set of all prime numbers less than 100 is a finite set. II. โ\{x \in \mathbb{N} : x + 5 = 2\}โ is a null set. Which of the statements given above is/are correct?
(a) I onlyโโ(b) II onlyโโ(c) Both I and IIโโ(d) Neither I nor II
Solution. There are 25 primes below 100, so I is correct. โx + 5 = 2โ gives โx = -3โ, which is not a natural number, so the set has no element and II is correct. Answer (c).
Mistakes that cost marks
- Calling a very large set infinite. If the count would end, the set is finite, however large it is.
- Forgetting which numbers are allowed. โ\{x \in \mathbb{N} : x^2 = 4\}โ has one element. โ\{x \in \mathbb{Z} : x^2 = 4\}โ has two. Read the letter after โ\inโ.
- Taking โ\{0\}โ as the null set. โ\{0\}โ has one element, the number 0. It is a singleton set. The null set has no element.
- Counting the overlap twice. โn(A \cup B)โ is not โn(A) + n(B)โ unless the sets are disjoint. Take away โn(A \cap B)โ once for "at least one" and twice for "exactly one".
Quick check
Do these without help. Answers are at the end.
- โA = \{1, 2, 3, 4\}โ and โB = \{3, 4, 5, 6\}โ. Find โA \cup Bโ, โA \cap Bโ and โA - Bโ.
- Is โ\{x \in \mathbb{Z} : x^2 = 2\}โ a null set?
- How many subsets does the set โ\{a, b, c, d\}โ have?
- โU = \{1, 2, \dots, 8\}โ, โA = \{2, 4, 6, 8\}โ and โB = \{1, 2, 3, 4\}โ. Find โ(A \cup B)'โ.
- In a class of 50 students, 30 play hockey and 25 play football. Every student plays at least one of the two. How many play exactly one?
Read and watch more, free
The NCERT books for Classes 6 to 10 and the NIOS secondary course do not teach sets. The Class 11 book does; its first chapter is enough for this exam.
| What | Where | Language |
|---|---|---|
| Textbook | NCERT Class 11 Mathematics, Chapter 1 Sets ยท Hindi edition | English, Hindi |
| Open textbook, read on the web | OpenStax Contemporary Mathematics (Chapter 1, sets and Venn diagrams) | English |
| The real papers | UPSC previous question papers | English, Hindi |
| Video, numbered classes | Chandigarh Career Group: CDS advance maths by Sandeep Brar (the class on set theory) | Hinglish |
| Video, one long lesson | Defence Wallah CDS / AFCAT: Quantitative Aptitude CDS 2024 (the lesson on set theory, about 2 hours) | Hinglish |
| Video, with statistics and logarithms | Defence Wallah CDS / AFCAT: Maths for CDS 1, 2025 (the lesson on set theory, statistics and logarithm) | Hinglish |
The videos were chosen from their titles, length and views; they have not yet been watched by a teacher.
Answers to the quick check
- โA \cup B = \{1, 2, 3, 4, 5, 6\}โ, โA \cap B = \{3, 4\}โ, โA - B = \{1, 2\}โ.
- Yes. โx^2 = 2โ gives โx = \sqrt{2}โ or โ-\sqrt{2}โ, and neither is an integer.
- โ2^4 = 16โ.
- โA \cup B = \{1, 2, 3, 4, 6, 8\}โ, so โ(A \cup B)' = \{5, 7\}โ.
- Both: โ30 + 25 - 50 = 5โ. Exactly one: โ50 - 5 = 45โ.
Next chapter: Sequences: AP, GP and the three means.