ExamSaathi learning library · School · CBSE Class 11 Mathematics 2026-27; teacher review pending · Mathematics
Sets for Class 11: notation, subsets, intervals, Venn diagrams and set operations
Learn to write a set in roster and set-builder form, tell empty, finite, infinite and equal sets apart, count subsets, write intervals of real numbers, and use Venn diagrams for union, intersection, difference and complement, ending with the counting rule for two overlapping sets.
Status: original pilot lesson. Teacher review is pending. It is not a complete course or official exam material.
You will learn to
- Write sets in roster and set-builder notation and sort them into empty, finite, infinite and equal sets.
- Count the subsets and proper subsets of a finite set and write intervals of real numbers in open, closed and half-open notation.
- Use Venn diagrams to find the union, intersection, difference and complement of sets and check De Morgan's laws.
- Apply the set counting rule n(A union B) = n(A) + n(B) - n(A intersection B) to word problems about two overlapping sets.
Before you start
A set is a well-defined collection of distinct objects, called its elements. Well-defined means that for any object we can say clearly whether it belongs or not. 'The odd numbers between 10 and 20' is a set, but 'the tall students of a class' is not, because tall is a matter of opinion. We name sets with capital letters and write their elements inside braces. When 7 belongs to a set A we say that 7 is an element of A. Some sets have fixed letters: N for the natural numbers 1, 2, 3, ..., Z for the integers, Q for the rational numbers and R for the real numbers. You should be comfortable with the number line, inequalities such as 2 < 5, and factors and primes. In this lesson a general element is called n, k or t, because x is kept for multiplication.
Roster form, set-builder form and kinds of sets
In roster form we list every element inside braces, separated by commas: the vowels in the word EDUCATION form the set {E, U, A, I, O}. Order does not matter, and an element is written only once, so the letters of LOOP and the letters of POOL give the same set {L, O, P}. In set-builder form we describe the elements by a property: {n : n is a natural number and n < 6} is read 'the set of all n such that n is a natural number less than 6', and it equals {1, 2, 3, 4, 5}. Roster form suits small sets; set-builder form suits large or endless ones. A set with no elements is the empty (null) set, written { } or with the symbol phi. For example, {n : n is a natural number and n + 3 = 1} is empty, because n would have to be -2. A set is finite if counting its elements comes to an end, and that count is written n(A). A set that is not finite, such as the set of all multiples of 7, is infinite. Two sets are equal when they have exactly the same elements: {k : k is a prime factor of 30} = {2, 3, 5}.
Subsets, counting subsets and intervals
A is a subset of B when every element of A is also an element of B. Every set is a subset of itself, and the empty set is a subset of every set. A is a proper subset of B when A is a subset of B but A is not equal to B. A set with m elements has 2^m subsets, because each element is either taken or left out, which gives 2 choices m times; all of them except the set itself are proper, so there are 2^m - 1 proper subsets. For {a, b} the 4 subsets are { }, {a}, {b} and {a, b}. Subsets of R that fill a stretch of the number line are written as intervals. For real numbers a < b, the open interval (a, b) is {t : a < t < b}, with both ends left out; the closed interval [a, b] is {t : a <= t <= b}, with both ends included; [a, b) and (a, b] are half-open, and each includes only the end next to its square bracket. An unbounded set such as {t : t >= 3} is written [3, infinity); infinity always takes a round bracket because it is not a real number. Each of the four intervals with ends a and b has length b - a. Do not confuse the interval (2, 5) with the point (2, 5): the context tells you which one is meant.
Universal set, Venn diagrams and set operations
A universal set U contains every element under discussion in a problem; for questions about digits it could be {0, 1, 2, ..., 9}. In a Venn diagram U is drawn as a rectangle and each set as a circle inside it. The union A union B is the set of elements that are in A or in B or in both. The intersection A intersection B is the set of elements in both; if it is empty, A and B are called disjoint. The difference A - B is the set of elements of A that are not in B, so A - B and B - A are usually different. The complement A' is U - A, the elements of U outside A. Take U = {1, 2, 3, 4, 5, 6, 7, 8}, A = {1, 2, 3, 4} and B = {3, 4, 5, 6}. Then A union B = {1, 2, 3, 4, 5, 6}, A intersection B = {3, 4}, A - B = {1, 2}, B - A = {5, 6}, A' = {5, 6, 7, 8} and B' = {1, 2, 7, 8}. The complement laws say that A union A' = U, A intersection A' is empty, (A')' = A, U' is empty and the complement of the empty set is U. De Morgan's laws say that (A union B)' = A' intersection B' and (A intersection B)' = A' union B'. Check them on the example. A union A' = {1, 2, 3, 4} union {5, 6, 7, 8} = U, A intersection A' is empty, (A')' = U - {5, 6, 7, 8} = {1, 2, 3, 4} = A, U' = U - U is empty, and the complement of { } is U - { } = U. (A union B)' = {7, 8}, and A' intersection B' = {7, 8} as well. (A intersection B)' = {1, 2, 5, 6, 7, 8}, and A' union B' = {5, 6, 7, 8} union {1, 2, 7, 8} = {1, 2, 5, 6, 7, 8} as well.
Counting the elements of two overlapping sets
When A and B are finite, adding n(A) and n(B) counts every element of the overlap twice, once in each set. Taking the overlap away once gives the counting rule n(A union B) = n(A) + n(B) - n(A intersection B). If A and B are disjoint, the overlap is empty and n(A union B) = n(A) + n(B). Three more counts can be read from the Venn diagram. Elements in A only: n(A - B) = n(A) - n(A intersection B). Elements in B only: n(B - A) = n(B) - n(A intersection B). Elements in neither set: n(U) - n(A union B), which is the number of elements of (A union B)'. A good habit is to write the overlap in the middle region first and then work outwards. For example, if 26 people in an office in Nagpur drink tea, 15 drink coffee and 8 drink both, then 26 + 15 - 8 = 33 people drink at least one of the two; 18 drink only tea and 7 drink only coffee, and 18 + 8 + 7 = 33 agrees.
Common mistakes
Writing {0} or {phi} for the empty set: {0} has one element, the number 0, and {phi} also has one element; the empty set is { } or phi on its own. Listing an element twice, or thinking that order matters in roster form. Mixing up 'is an element of' with 'is a subset of': 3 is an element of {1, 3}, while {3} is a subset of it. Forgetting the empty set or the set itself when counting subsets; 2^m counts both, and only the set itself is removed to count proper subsets. Putting a square bracket next to infinity, or a round bracket at an end that is included. Treating A - B and B - A as the same set. Adding n(A) and n(B) for overlapping sets without taking away n(A intersection B). Turning (A union B)' into A' union B'; De Morgan's laws swap union and intersection when the complement is taken.
A routine for set questions
1. Decide the universal set and write each set in roster form if it is small. 2. Before combining intervals, mark which ends are included and sketch them on a number line. 3. Draw the two sets as circles inside a rectangle: overlapping when they share elements, apart when they are disjoint, and one inside the other when one is a proper subset of the other; equal sets share one circle. For counting, write n(A intersection B) in the shared region first. 4. Fill 'A only' as n(A) - n(A intersection B) and 'B only' as n(B) - n(A intersection B). 5. Get n(A union B) from the counting rule, and the 'neither' region as n(U) - n(A union B). 6. Check that the regions add up to n(U), and test a law such as De Morgan's on a small example.
Worked examples
Let A = {k : k is a prime number and k < 12}. Write A in roster form, find how many subsets and how many proper subsets it has, and decide whether {2, 9} is a subset of A.
- 1. The prime numbers less than 12 are 2, 3, 5, 7 and 11, so A = {2, 3, 5, 7, 11} and n(A) = 5.
- 2. A set with 5 elements has 2^5 = 32 subsets, counting the empty set and A itself.
- 3. Leaving out A itself gives 32 - 1 = 31 proper subsets.
- 4. {2, 9} is not a subset of A: 2 is in A, but 9 = 3 x 3 is not prime, so 9 is not in A.
Answer: A = {2, 3, 5, 7, 11}; it has 32 subsets and 31 proper subsets, and {2, 9} is not a subset of A because 9 is not in A.
Write P = {t : t is a real number and -2 < t <= 5} and Q = {t : t is a real number and 1 <= t < 6} in interval notation, count the integers in each set, and find P intersection Q.
- 1. In P the end -2 is left out and the end 5 is included, so P = (-2, 5].
- 2. The integers in P are -1, 0, 1, 2, 3, 4 and 5, which makes 7. With whole-number ends and exactly one end included, the count is also 5 - (-2) = 7.
- 3. In Q the end 1 is included and the end 6 is left out, so Q = [1, 6). Its integers are 1, 2, 3, 4 and 5, which makes 6 - 1 = 5.
- 4. A number is in both sets when it is at least 1 (for Q) and at most 5 (for P). The number 1 is in P and the number 5 is in Q, so both ends are included.
Answer: P = (-2, 5] with 7 integers, Q = [1, 6) with 5 integers, and P intersection Q = [1, 5].
In a class of 48 students in Pune, 30 study Sanskrit, 22 study French and 9 study both languages. How many study at least one of the two, how many study only Sanskrit, and how many study neither?
- 1. Let S be the set of Sanskrit students and F the set of French students, so n(S) = 30, n(F) = 22 and n(S intersection F) = 9.
- 2. At least one language means S union F: n(S union F) = 30 + 22 - 9 = 43.
- 3. Only Sanskrit is S - F: 30 - 9 = 21. Only French is F - S: 22 - 9 = 13.
- 4. Neither language: 48 - 43 = 5.
- 5. Check the four Venn regions: 21 + 9 + 13 + 5 = 48, the whole class.
Answer: 43 students study at least one of the two languages, 21 study only Sanskrit and 5 study neither.
Practice checks
- Which of these sets is the empty set?
- A set S has 6 elements. How many proper subsets does S have?
- Which interval notation describes all real numbers t with 4 <= t < 9?
- Let U = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, A = {2, 4, 6, 8, 10} and B = {1, 2, 3, 4, 5}. What is (A union B)'?
- In a housing society in Lucknow, 120 families take a Hindi newspaper, 85 take an English newspaper and 40 take both. If every family takes at least one of the two, how many families live in the society?
Sources checked
- CBSE Mathematics (041), Classes XI-XII (2026-27) — Class XI Unit I Sets and Functions, Chapter 1 Sets (sets and their representations, empty, finite and infinite, equal sets, subsets, subsets of real numbers and intervals, universal set, Venn diagrams, union, intersection, difference, complement and its properties); draft topic mapping, not an examinability guarantee
- NCERT Mathematics, Class XI, Chapter 1: Sets — Representations of sets, kinds of sets, subsets and intervals, universal set, Venn diagrams, operations on sets and the properties of the complement, including De Morgan's laws; facts only
- OpenStax Contemporary Mathematics, 1.2 Subsets — Subsets and proper subsets; a finite set with m elements has 2^m subsets; facts only
- OpenStax Contemporary Mathematics, 1.4 Set Operations with Two Sets — Intersection and union of two sets and the size of a union of two finite sets; facts only