Sets
Pick up almost any page of higher mathematics — a definition of a function, the domain of a graph, the sample space of a probability experiment, the solution of an inequality — and underneath it you will find one quiet, universal language doing the bookkeeping: sets. A set is nothing more exotic than a well-defined collection of objects, yet the German mathematician Georg Cantor's decision, in the 1870s, to study collections as objects in their own right reshaped the whole of mathematics. This chapter builds that language from the ground up and gives you the toolkit you will use, without a second thought, in every chapter that follows this year — Relations and Functions, Trigonometry, Probability, and beyond. You will start with the two ways to write a set down — roster form and set-builder form — and the precise vocabulary of membership, written with the symbols and . From there the chapter builds a ladder of definitions: the empty set with no elements at all, finite and infinite sets, and what it means for two sets to be equal. The middle of the chapter is about comparison — subsets, proper subsets, the intervals of the real line as subsets of , and the power set, the set of all subsets of a set. Venn diagrams then give you a picture to think with, and on top of that picture sit the four operations that make sets genuinely useful: union, intersection, difference and complement, each with its own algebra of laws, culminating in De Morgan's laws, one of the most quoted results in all of mathematics. Finally, the chapter turns operations into arithmetic: the counting formula lets you solve real "how many people like both" survey problems without drawing a single diagram. By the end, you should be able to move fluently between a verbal description of a collection, its set-builder form, its Venn diagram, and a numerical count of its elements — the same four-way fluency that every later chapter in this book will quietly assume you already have.
- A set is a well-defined collection of distinct objects, written in roster form (elements listed inside braces) or set-builder form (a common property inside braces), for example .
- The empty set has no elements at all; a set is finite if its number of elements is a natural number (or zero), otherwise it is infinite.
- Two sets and are equal () exactly when they have precisely the same elements — order and repetition never matter.
- is a subset of () when every element of is also in ; if additionally , is a proper subset. Always and for every set .
- The power set is the set of all subsets of (including and itself); if , then .
- Intervals , , , are subsets of of length , each containing infinitely many real numbers, distinguished only by whether the endpoints are included.
- Union , intersection , and difference ; sets with are called disjoint.
- The complement of with respect to a universal set is , satisfying , and .
- De Morgan's laws: and — the complement of a union is the intersection of complements, and vice versa.
- Key idea: every set question — describing, comparing, combining or counting collections — reduces to the single test "is x in this set", and for finite sets that test converts directly into the counting formula n(A ∪ B) = n(A) + n(B) − n(A ∩ B), the arithmetic engine behind every Venn-diagram survey problem.
Every operation on sets — subset, power set, union, intersection, difference, complement — is built from one primitive test, "does belong to this set", and for finite sets that primitive collapses into the counting law , which turns any Venn diagram into pure arithmetic.
What this chapter covers
The chapter opens with the definition of a set and its two notations — roster form and set-builder form — together with the membership symbols and . It then builds a ladder of classifications: the empty set, finite versus infinite sets, and equal sets, each pinned down by a precise definition and tested against short examples. The middle portion turns to comparison: subsets and proper subsets, the special subsets of (including and the irrationals ), intervals as subsets of the real line, and the power set of a set. A universal set and Venn diagrams then supply the picture used for everything that follows: the four operations on sets — union, intersection, difference and complement — each stated as a formal definition, each illustrated by a Venn diagram, and each obeying a family of algebraic laws (commutative, associative, distributive, idempotent, and De Morgan's laws for the complement). The chapter closes by turning these pictures into numbers, with the counting formula for and its three-set extension, which is exactly the tool competitive exams love to test in "survey of students" problems.
The core ideas
Describing a set: roster form and set-builder form
A set is a well-defined collection of objects — "well-defined" meaning that for any given object, you can say definitely whether it belongs to the collection or not. Sets are conventionally named with capital letters () and their elements with lowercase letters (). If is an element of set we write (read " belongs to "); if it is not, we write . There are exactly two standard ways to describe a set.
where: in roster form every element is listed once, separated by commas, inside braces — order is immaterial and repetition changes nothing, so and describe the same set. In set-builder form, the colon reads "such that" and the braces read "the set of all", so reads "the set of all such that is a natural number between and ", giving (this is Example 1 territory — NCERT's own Examples 1 to 5 build exactly this translation skill in both directions). Some sets — like , the odd naturals — use three dots to signal a pattern that continues indefinitely; not every infinite set can be listed this way, since a set like follows no simple pattern at all.
Empty, finite and infinite sets
A set that contains no elements at all is the empty set (or null set, or void set), written or — for instance is empty because no natural number lies strictly between and (NCERT Example 6 works through five such cases). If a set's number of elements is a natural number (or zero, for ), the set is called finite; otherwise it is infinite. The set of natural numbers , for example, is infinite, while the set of days of the week is finite with . Because you cannot list every element of an infinite set inside braces, infinite sets in roster form use the three-dot convention — for , for — but a set like the real numbers, which follows no such listable pattern, cannot be written in roster form at all.
Equal sets
Two sets and are equal, written , precisely when they contain exactly the same elements — every element of lies in and every element of lies in . Order of listing and repeated elements never affect this: and are the same set, and the set of letters in "CATARACT" equals the set of letters in "TRACT" (both reduce to , NCERT's Example 23). Equality is therefore a double-inclusion idea — exactly when and — a technique you will use repeatedly to prove two sets coincide, as in the first worked derivation below.
Subsets, intervals and the power set
is a subset of , written , if every element of is also an element of — formally, if . Every set is a subset of itself (), and the empty set is a subset of every set (). When but , is a proper subset of , and is called a superset of . A set with exactly one element is a singleton set. Among the number systems, , while the irrationals also satisfy , with and sharing no elements.
where: with ; a round bracket excludes that endpoint and a square bracket includes it, so is the open interval, is the closed interval, and , are half-open (or half-closed) intervals. Every one of these is a subset of containing infinitely many points, and its length is regardless of which endpoints are included. Special unbounded intervals extend the same notation: is the non-negative reals, the negative reals, and is all of .
Alongside subsets, the power set of , written , is the set of all subsets of — every subset, including and itself, is one of its elements. For , , which has elements. In general, if , then — the first worked derivation below proves this precisely. Because the members of are themselves sets, membership and subset-hood must be written with care: (it is one of the four listed elements) but , not .
Universal sets and Venn diagrams
In a given context we usually work inside one basic set relevant to that context, called the universal set, denoted ; every set under discussion is then treated as a subset of . While studying number systems, might be ; in a human-population study, is the set of all people in the world. A Venn diagram, named after the logician John Venn, pictures as a rectangle and its subsets as circles inside it, with elements marked as points — an immediately readable way to see relationships such as .
Union, intersection and difference of sets
The union of and collects every element that lies in or in (common elements counted only once); the intersection collects only the elements common to both; the difference collects elements of that are not in .
where: "or" is used inclusively (an element in both sets still counts once in the union). If , and are called disjoint — for example and share nothing. NCERT's own Examples 12 to 19 work these definitions on concrete sets; one useful special case worth remembering is that if then and (Examples 13 and 17). These three operations obey a family of algebraic laws that mirror ordinary arithmetic: union and intersection are each commutative (, ) and associative (, similarly for ), each is idempotent (, ), is the identity for union () while is the identity for intersection (), and intersection distributes over union — — exactly as multiplication distributes over addition. Note carefully that difference is not commutative: in general (Examples 18 and 19 show this directly), and the three pieces , , are always mutually disjoint — a fact the third derivation below turns into the counting formula.
Complement of a set and De Morgan's laws
Once a universal set is fixed, the complement of is the set of everything in that is not in .
where: is itself a subset of . Complementation satisfies the complement laws and , the law of double complementation , and the boundary cases , . The single most important pair of results about complements are De Morgan's laws, named after Augustus De Morgan:
where: in words, the complement of a union is the intersection of the complements, and the complement of an intersection is the union of the complements — "not (A or B)" means "not A, and not B", exactly as in ordinary logic. NCERT's Example 22 verifies both laws numerically on , , ; the second derivation below proves the first law in full generality by the double-inclusion method introduced with equal sets.
Counting elements: the union formula for finite sets
For finite sets, the number of elements in a union is not simply , because any element common to both sets would be counted twice. The correction is one of the most quoted formulas in this chapter, since it converts a Venn diagram directly into an exam answer.
where: the second formula, read in full, is . When and are disjoint, and the formula reduces to plain addition, . This "add, then correct for double-counting" pattern — called the inclusion-exclusion principle — is exactly the tool behind every "how many students like both subjects" survey problem, worked out in full in the third derivation and the Competitive-level worked example below.
Two to three worked derivations
The goal here is to prove, in full generality, the claim stated alongside the power set definition — that if a finite set has exactly elements, then its power set , the set of all subsets of , has exactly elements. The argument rests on a simple but powerful idea: building any subset of is equivalent to making one independent yes-or-no decision for each element of , and independent binary choices multiply, they do not add.
Step 1. Label the elements of as . To build any subset , go through the elements one at a time and decide, for each , whether it is included in or excluded from . Every subset corresponds to exactly one such sequence of include/exclude decisions, and every sequence of decisions produces exactly one subset — this is a one-to-one correspondence between subsets of and binary sequences of length .
Step 2. Count the sequences using the multiplication principle. The decision for has outcomes (in or out), independently the decision for has outcomes, and so on through . Since all decisions are independent of one another, the total number of possible sequences is .
Step 3. Check this against a small case. For , , so the formula predicts subsets. Listing them directly gives — exactly four, matching the four "in/out" sequences , , , .
Step 4. An equivalent inductive argument makes the doubling explicit: the empty set has exactly one subset, itself, and , so the base case holds. If a set of elements has subsets, adding one new element to form a -element set either keeps each of those old subsets unchanged, or adds to each of them to form a brand-new subset — every old subset is paired with exactly one new one, so the count exactly doubles to . By induction, for every finite , and this is why counting subsets of a 3-element set gives , not or — a mistake that comes from trying to list subsets ad hoc instead of trusting the doubling law.
Go deeper · Derivation B · 1 minProving De Morgan's law that the complement of a union is the intersection of the complements
The goal is to prove for arbitrary subsets of a universal set , using the same double-inclusion technique NCERT itself uses in Example 25 to prove from : to show two sets are equal, show each is a subset of the other, then combine the two inclusions. This is the master technique for every "prove these sets are equal" question in the chapter, not just this one law.
Step 1. Show . Let be an arbitrary element of . By the definition of complement, and .
Step 2. Unpack "" using the definition of union: since is everything in or , an element that is in neither fails both membership tests at once. So means and simultaneously — "not (A or B)" becomes "not A, and not B", the same logical rule you use in everyday negation ("not raining or windy" means "not raining, and not windy").
Step 3. Since and , by definition ; since and , by definition . Both hold together, so . As was an arbitrary element of , this proves .
Step 4. Now show the reverse inclusion . Let ; then and , so and . If belonged to it would have to be in or in , contradicting both — so , and since , this means . This proves . Combining Steps 3 and 4 gives exactly. The second law, , follows by an identical argument with "and" and "or" exchanged throughout — or, more slickly, by substituting and in place of and in the law just proved and applying to both sides.
Go deeper · Derivation C · 1 minDeriving the counting formula for the union of two finite sets
The goal is to derive rigorously, rather than simply stating it, by using a fact NCERT records as a remark right after the difference-of-sets definition: the three pieces , and are mutually disjoint and together make up all of . Splitting a union into non-overlapping pieces is exactly what lets us add cardinalities safely, since counting only works by plain addition when nothing is shared between the pieces being added.
Step 1. Partition the union: . Every element of is either in only (in ), in both (in ), or in only (in ) — these three cases are exhaustive and, by the remark above, pairwise disjoint, so no element is double-counted across them.
Step 2. Because the three pieces are pairwise disjoint, their cardinalities simply add: . This step is the entire reason the partition into three disjoint pieces was worth setting up — cardinality is only additive across sets with no shared elements.
Step 3. Express and in terms of the more familiar quantities , , . Since itself splits into the two disjoint pieces , we get , so . By the identical argument applied to , .
Step 4. Substitute both expressions from Step 3 back into the equation from Step 2: , exactly the counting formula. Extending to three sets is now just two applications of this same two-set result, first treating as a single set: , then expanding and, using the distributive law, ; collecting every term gives .
Worked examples
Board level - listing all subsets of a three element set and checking the power set count (Example 24 pattern)
List all the subsets of the set , and verify that the total count matches the power-set formula.
Step 1. Since , the power-set formula from equation region predicts subsets before any listing is done — a target to check the final list against.
Step 2. List subsets systematically by size, from smallest to largest. Size : . Size : . Size : . Size : , which is itself.
Step 3. Count the list: subsets in total, matching the prediction from Step 1 exactly.
Step 4. Note the pattern is the row of Pascal's triangle for , since choosing a subset of size from elements can be done in ways, and . Answer: P(A) = {φ, {−1}, {0}, {1}, {−1,0}, {−1,1}, {0,1}, {−1,0,1}}, eight subsets in total.
Board level - proving A union B equals A intersection B forces A equal to B (Example 25 pattern)
Show that implies .
Step 1. To prove , use the double-inclusion method: show first. Let be an arbitrary element of . Since always (every element of a set is trivially in that set's union with anything), .
Step 2. By the given hypothesis, , so as well. By the definition of intersection, membership in requires membership in both sets, so in particular . Since was an arbitrary element of , this shows every element of lies in , i.e. .
Step 3. Now show the reverse inclusion by the identical argument with the roles swapped. Let ; then (since ), so by the hypothesis , which by definition of intersection gives . Hence .
Step 4. Combining Steps 2 and 3, and , which is exactly the definition of set equality. Answer: A = B.
Competitive level (JEE / NEET) - a three-subject survey solved with the inclusion-exclusion formula
In a survey of students, like Mathematics, like Physics, like Chemistry, like both Mathematics and Physics, like both Mathematics and Chemistry, like both Physics and Chemistry, and like all three subjects. Find how many students like none of the three subjects, and how many like exactly one subject.
Step 1. Apply the three-set inclusion-exclusion formula from equation : .
Step 2. Substitute the given values: . Summing the additions first, ; summing the pairwise subtractions, ; so .
Step 3. Students liking none of the three subjects lie outside within the universal set of surveyed students, so that count is .
Step 4. For exactly one subject, subtract both pairwise overlaps from each single count but add back the triple overlap once (since it was subtracted twice by the two pairwise terms): exactly-Mathematics ; exactly-Physics ; exactly-Chemistry . Adding these disjoint counts, . Answer: 25 students like none of the three subjects, and 38 students like exactly one subject. Timing note: budget about three to four minutes. The efficient route is to compute once with the full inclusion-exclusion formula and reuse it for the "none" count, rather than drawing and labelling all seven Venn-diagram regions by hand — reserve the region-by-region breakdown (as in Step 4) only for questions that explicitly ask for an "exactly one" or "exactly two" count.
Common traps
The most common slip in this chapter is confusing (element of) with (subset of): for , the object is itself an element of , so is correct, while is false, since and individually — only the singleton is a valid subset statement. A closely related error treats an element and the singleton set containing it as interchangeable: is correct but is meaningless, since an element can never be a subset of itself unless it happens to be a set already containing that element. Students also frequently forget that for every set , including itself, yet confuse (a set with zero elements) with (a set with one element, namely ) — these are never equal. In roster form, forgetting that order and repetition are immaterial leads to wrongly calling equal sets "different" when written differently. With set operations, difference is the one operation that is not commutative — in general — and inclusion-exclusion is routinely botched by adding without subtracting the overlap, or, for three sets, forgetting to add back after subtracting all three pairwise intersections. Finally, in interval notation, mixing up round and square brackets silently changes whether an endpoint counts, which matters enormously in inequalities and later in domains of functions.
You should be able to…
- Translate a set fluently between roster form and set-builder form in both directions.
- Classify a given set as empty, finite or infinite, and justify the classification.
- Prove two sets are equal using the double-inclusion method: show each is a subset of the other.
- Distinguish (element of) from (subset of), especially when a set contains another set as an element.
- Write and interpret all four interval types , , , as subsets of , and convert between interval and set-builder notation.
- State the power-set formula and justify it by the independent include/exclude argument or by induction.
- Compute , , and for concrete sets, and identify disjoint sets.
- State and apply De Morgan's laws and , and prove either one from the definitions.
- Apply and its three-set extension to solve survey-style counting problems, including "exactly one" and "none" counts.
Ask the tutor: Want to work through proving yourself, step by step, using the same double-inclusion method?
What is the actual difference between the symbols belongs to and is a subset of?
Belongs to () relates a single object to a set — it says that object is one of the things sitting inside the set. Subset of () relates two sets to each other — it says every element of the first set is also an element of the second. The confusion usually shows up when a set contains another set as one of its members, like : here (it is a listed element) but (since directly). Always check whether you are comparing "a thing to a collection" or "a collection to a collection" before choosing the symbol.
Why is the empty set considered a subset of every set, even though it has nothing in it?
The subset definition is a conditional statement: means "if , then ." For , the condition "" is never true for any , because has no elements — so the implication "if then " is true automatically, no matter what is, simply because its hypothesis is never satisfied (this is the same logic as saying "all unicorns in this room are purple" is vacuously true when there are no unicorns in the room). That is why holds for every set , including itself.
Is A minus B the same as B minus A? They feel like they should cancel out.
No, and this trips up many students because subtraction of numbers is commutative but set difference is not. keeps only the elements of that are missing from , while keeps only the elements of that are missing from — these describe two entirely different collections built from different starting sets. For and , while — completely different sets, with different sizes. The only situation where is the degenerate case , where both differences equal .
Do I really need to memorise the three-set formula n of A union B union C for boards, or is it only for JEE?
CBSE board papers mostly test the two-set formula and simple Venn-diagram reasoning; the full three-set survey formula with the triple-intersection correction term is much more heavily favoured in JEE Main and NEET, where "three subjects" or "three languages" survey questions are a recurring pattern. That said, it costs little to learn both together, since the three-set formula is derived from the two-set one by simply treating as a single set (shown in the third derivation above) — understanding why the correction term appears makes both formulas far less likely to be misremembered under exam pressure.
Why does the power set of a 3 element set have 8 elements and not just the original 3 subsets I can immediately think of?
It is easy to list only the "obvious" subsets — the empty set, the full set, and maybe the three singletons — and stop there, forgetting the subsets of size . For a 3-element set every possible size from to contributes subsets: subset of size , of size , of size , and of size , adding to . The power-set formula captures all of these at once because building a subset really is independent include-or-exclude decisions, one per element, and independent binary choices multiply rather than add — that is exactly why the count grows as a power of rather than staying close to .