Sets, subsets and intervals
The list of children in a class, the days of the week, a group of vowels: a clearly defined collection is a set. "Clever children" is not a set because who is clever cannot be decided. Building on classes 9–10 : Since classes 9–10 we know sets and their operations; here we add subsets, the power set and intervals.
A set is a collection of clearly defined objects. It is written by the roster method {1, 2, 3} or the set-builder method {x : x a natural number, x < 4}. If every element of A lies in B, A is a subset of B (A ⊆ B). The set of all subsets is the power set P(A).
Rule 1: Number of subsets — A set of n elements has 2ⁿ subsets; proper subsets 2ⁿ − 1; the empty set φ is a subset of every set; subsets containing a particular element 2ⁿ⁻¹.
Rule 2: Intervals — Open (a, b) = {x : a < x < b}; closed [a, b] = {x : a ≤ x ≤ b}; half-open (a, b] or [a, b). An empty circle means the end is excluded, a filled one means it is included.
In the figure : A ⊆ B and the interval (1, 5] on the number line.
How is the formula obtained? : Each element has two choices: put it in the subset or leave it out. For n elements 2 × 2 × … (n times) = 2ⁿ.
- Easy : The subsets of {1, 2, 3} are 2³ = 8: φ, {1}, {2}, {3}, {1, 2}, {1, 3}, {2, 3}, {1, 2, 3}.
- Medium : A = {x : x a natural number, x² < 30} = {1, 2, 3, 4, 5}; 5 elements, so the power set has 2⁵ = 32 elements.
- Exam-type : Non-empty proper subsets of a 4-element set: 2⁴ − 2 = 14. (2, 7] = {x : 2 < x ≤ 7}.
φ and the set itself are subsets of every set; φ ≠ {0}.
Mixing the signs for element and subset: 2 ∈ {1, 2}, but {2} ⊆ {1, 2}.
To count subsets raise 2 to the number of elements: 2ⁿ; proper subsets one fewer. Memory clue : "Two choices for each".
Proper subsets and non-empty proper subsets differ: 2ⁿ − 1 and 2ⁿ − 2.
CET-style example : The subsets of a 4-element set that contain a particular element? (A) 8 (B) 16 (C) 4 (D) 12
Answer : (A). 2⁴⁻¹ = 8. Time-saving method : That element is fixed; 2³ for the other 3.
Spot the difference
| Symbol | Meaning | Example |
|---|---|---|
| ∈ | is an element of | 2 ∈ {1, 2} |
| ⊆ | is a subset of | {2} ⊆ {1, 2} |
| φ | empty set | n(φ) = 0 |
Practice questions
- 1Write the set of letters of the word BOOK by the roster method.
- 2How many elements does the power set of a 5-element set have?
- 3Write (−1, 3] by the set-builder method.
- 4How many subsets of {1, 2, 3, 4, 5, 6} contain 1?
- 5How many elements are in {x : x an integer, −2 ≤ x < 3}?
- 6Is {1, 2} a proper subset of {1, 2, 3}?
- 7How many subsets of {1, 2, 3, 4, 5} have exactly 2 elements?
- 8How many proper subsets does a 6-element set have?
Show answers (try them yourself first)
- 1{B, O, K}.
- 22⁵ = 32.
- 3{x : x वास्तव संख्या, −1 < x ≤ 3}.
- 42⁵ = 32.
- 5−2, −1, 0, 1, 2 : 5 घटक.
- 6हो ; सर्व घटक आहेत आणि संचापेक्षा वेगळा.
- 7⁵C₂ = 10.
- 82⁶ − 1 = 63.
Operations on sets and laws
The combined list of players of two teams, the players in both, those in one team but not the other: these three actions are union, intersection and difference. Building on classes 9–10 : Since classes 9–10 we know A ∪ B and A ∩ B; here we add the complement, the difference and De Morgan’s laws.
A ∪ B: elements in either set. A ∩ B: elements in both. A − B: elements in A but not in B. A′: elements of the universal set U not in A.
Rule 1: De Morgan and other laws — De Morgan: (A ∪ B)′ = A′ ∩ B′ and (A ∩ B)′ = A′ ∪ B′. Distributive: A ∩ (B ∪ C) = (A ∩ B) ∪ (A ∩ C). A − B = A ∩ B′. (A′)′ = A.
In the figure : The shaded part in four diagrams: A ∪ B, A ∩ B, A − B, A′.
How is the formula obtained? : x ∈ (A ∪ B)′ means x is not in A and not in B, that is x ∈ A′ and x ∈ B′; hence (A ∪ B)′ = A′ ∩ B′.
- Easy : U = {1, …, 10}, A = {1, …, 6}, B = {4, …, 8}: A ∪ B = {1, …, 8}; A ∩ B = {4, 5, 6}.
- Medium : For the same sets A − B = {1, 2, 3}; A′ = {7, 8, 9, 10}.
- Exam-type : De Morgan check: (A ∪ B)′ = {9, 10}; A′ ∩ B′ = {7, 8, 9, 10} ∩ {1, 2, 3, 9, 10} = {9, 10}.
A − B ≠ B − A; but A ∪ B and A ∩ B stay the same when the order is swapped.
Taking the complement within some other set instead of U. A′ is always taken in U.
De Morgan: taking the complement turns ∪ into ∩ and ∩ into ∪. Memory clue : "Complement comes, sign flips".
"Or" means union ∪; "and" means intersection ∩; "only A" means A − B.
CET-style example : A = even numbers up to 20, B = multiples of 3 up to 20; how many elements are in A ∩ B? (A) 3 (B) 4 (C) 6 (D) 2
Answer : (A). Multiples of 6: 6, 12, 18. Time-saving method : Even and a multiple of 3 means a multiple of 6; the whole part of 20/6 is 3.
Spot the difference
| Operation | Meaning | Example above |
|---|---|---|
| A ∪ B | in either | {1, …, 8} |
| A ∩ B | in both | {4, 5, 6} |
| A − B | only A | {1, 2, 3} |
| A′ | in U but not in A | {7, 8, 9, 10} |
Practice questions
- 1P = {1, …, 5}, Q = {4, 5, 6, 7}: write P ∪ Q.
- 2Write P ∩ Q.
- 3Write P − Q.
- 4If U = {1, …, 8} write P′.
- 5Write Q − P.
- 6Write (P ∪ Q)′ with U = {1, …, 8}.
- 7Write (P ∩ Q)′ and check it against P′ ∪ Q′.
- 8Compare n(P ∪ Q) + n(P ∩ Q) and n(P) + n(Q).
Show answers (try them yourself first)
- 1{1, 2, 3, 4, 5, 6, 7}.
- 2{4, 5}.
- 3{1, 2, 3}.
- 4{6, 7, 8}.
- 5{6, 7}.
- 6{8}.
- 7{1, 2, 3, 6, 7, 8} ; P′ ∪ Q′ = {6, 7, 8} ∪ {1, 2, 3, 8} = तेच.
- 87 + 2 = 9 आणि 5 + 4 = 9 ; समान.
Counting elements of sets
In a group of 40, 25 drink tea and 20 drink coffee, and some drink both. Adding 25 + 20 = 45 counts the ones who drink both twice. Building on classes 9–10 : Since classes 9–10 we have counted groups with Venn diagrams; here we use a formula.
n(A ∪ B) = n(A) + n(B) − n(A ∩ B). For three sets n(A ∪ B ∪ C) = n(A) + n(B) + n(C) − n(A ∩ B) − n(B ∩ C) − n(A ∩ C) + n(A ∩ B ∩ C).
Rule 1: Useful relations — only A = n(A) − n(A ∩ B); neither = n(U) − n(A ∪ B); exactly one = only A + only B.
In the figure : Only A 12, both 5, only B 8; n(A) = 17, n(B) = 13, n(A ∪ B) = 25.
How is the formula obtained? : In n(A) + n(B) the elements of A ∩ B appear twice; subtracting them once makes every element counted once.
- Easy : In 40 children 25 drink tea, 20 coffee, 8 both: tea or coffee = 25 + 20 − 8 = 37; neither = 40 − 37 = 3.
- Medium : n(A) = 17, n(B) = 13, n(A ∩ B) = 5: n(A ∪ B) = 25; only A = 12.
- Exam-type : n(A) = 30, n(B) = 25, n(C) = 20, n(A ∩ B) = 10, n(B ∩ C) = 8, n(A ∩ C) = 6, n(A ∩ B ∩ C) = 4: 30 + 25 + 20 − 24 + 4 = 55.
In the three-set formula the signs are + − +: singles, pairs, all three.
Taking n(A) + n(B) as the union. Do not forget to subtract the intersection.
Draw the Venn diagram first and fill it from the innermost region (all three) outward. Memory clue : "Inside out".
If n(A ∩ B) comes out negative the data is inconsistent; check before answering.
CET-style example : If n(A) = 20, n(B) = 15 and n(A ∪ B) = 28, then n(A ∩ B) = ? (A) 7 (B) 8 (C) 5 (D) 13
Answer : (A). 20 + 15 − 28 = 7. Time-saving method : Reverse the formula: n(A ∩ B) = n(A) + n(B) − n(A ∪ B).
Spot the difference
| Group | Formula | Example above |
|---|---|---|
| In either | n(A) + n(B) − n(A ∩ B) | 37 |
| Only in one | n(A) − n(A ∩ B) | 17 |
| In neither | n(U) − n(A ∪ B) | 3 |
Practice questions
- 1If n(A) = 12, n(B) = 9, n(A ∩ B) = 4 find n(A ∪ B).
- 2If n(A ∪ B) = 20, n(A) = 11, n(B) = 14 find n(A ∩ B).
- 3If n(U) = 60 and n(A) = 35 find n(A′).
- 4Each of 45 children likes maths or science; 28 like maths and 22 like science. How many like both?
- 5Among 100 people 60 speak Marathi, 45 English and 20 both. How many speak only Marathi?
- 6In the previous question how many speak exactly one language?
- 7If n(A) = 10, n(B) = 12, n(C) = 8, n(A ∩ B) = 4, n(B ∩ C) = 3, n(A ∩ C) = 2, n(A ∩ B ∩ C) = 1 find n(A ∪ B ∪ C).
- 8Among 80 people 50 like A, 40 like B and 10 like neither. How many like both?
Show answers (try them yourself first)
- 112 + 9 − 4 = 17.
- 211 + 14 − 20 = 5.
- 360 − 35 = 25.
- 428 + 22 − 45 = 5.
- 560 − 20 = 40.
- 640 + (45 − 20) = 65.
- 730 − 9 + 1 = 22.
- 8n(A ∪ B) = 70 ; 50 + 40 − 70 = 20.
Cartesian product and relations
If all pairs of 3 shirts and 2 trousers are listed, each pair can be written in order as (shirt, trouser). The set of such pairs is the Cartesian product. Building on classes 9–10 : Since classes 9–10 we have plotted ordered pairs (x, y) on a graph; here we study them as relations.
A × B = {(a, b) : a ∈ A, b ∈ B}; it has n(A) × n(B) elements. A relation R from A to B is any subset of A × B. The domain is the set of first components, the co-domain is B and the range is the set of second components.
Rule 1: Counting — If n(A) = m and n(B) = n then A × B has mn pairs; there are 2ᵐⁿ relations from A to B. A × B ≠ B × A (except when A = B or one is empty).
In the figure : A = {1, 2, 3}, B = {1, 2}: 6 points; the relation a < b is only (1, 2).
How is the formula obtained? : Every first element goes with all second elements: m × n. Each pair is either in the relation or not: 2 × 2 × … (mn times) = 2ᵐⁿ.
- Easy : A = {1, 2}, B = {3, 4, 5}: A × B has 2 × 3 = 6 pairs.
- Medium : A = {1, 2, 3}, B = {1, 2, 3, 4, 5}, R: b = a + 2 gives R = {(1, 3), (2, 4), (3, 5)}; domain {1, 2, 3}, range {3, 4, 5}.
- Exam-type : On A = {1, 2, 3, 4} the relation a < b has 6 pairs, domain {1, 2, 3}, range {2, 3, 4}.
The order in a pair matters: (1, 2) ≠ (2, 1).
Taking range and co-domain as the same. The range is a subset of the co-domain.
List the pairs of the relation: first components = domain, second components = range. Memory clue : "First is domain, second is range".
The number of elements of A × B is m × n, not the sum.
CET-style example : If n(A) = 3 and n(B) = 2, how many relations are there from A to B? (A) 64 (B) 6 (C) 8 (D) 32
Answer : (A). 2³ˣ² = 2⁶ = 64. Time-saving method : 6 pairs; each is taken or not: 2⁶.
Spot the difference
| Term | Meaning | Example above (b = a + 2) |
|---|---|---|
| Domain | first components | {1, 2, 3} |
| Co-domain | B | {1, 2, 3, 4, 5} |
| Range | second components | {3, 4, 5} |
Practice questions
- 1A = {1, 2, 3}, B = {1, 2}: find n(A × B).
- 2A = {1, 2}, B = {1, 2, 3, 4}: find the number of elements of A × B.
- 3Are (1, 2) and (2, 1) equal?
- 4Write the relation a + b = 5 on {1, 2, 3, 4} as pairs.
- 5Write the domain of the relation above.
- 6How many relations are there on a 2-element set?
- 7Write the relation b = 2a on A = {1, …, 6} as pairs.
- 8How many subsets of {1, 2} × {1, 2} have exactly 2 pairs?
Show answers (try them yourself first)
- 13 × 2 = 6.
- 22 × 4 = 8.
- 3नाही.
- 4{(1, 4), (2, 3), (3, 2), (4, 1)}.
- 5{1, 2, 3, 4}.
- 62⁴ = 16.
- 7{(1, 2), (2, 4), (3, 6)}.
- 8⁴C₂ = 6.
Types of relations
"Is of the same age as" is true of everyone with themselves, true in both directions and can be carried along a chain. Such relations split people into groups. Building on classes 9–10 : Since classes 9–10 we have grouped objects by a common property (e.g. similar triangles); here are the rules.
A relation R on A is reflexive if (a, a) ∈ R for every a; symmetric if (a, b) ∈ R gives (b, a) ∈ R; transitive if (a, b), (b, c) ∈ R give (a, c) ∈ R. If all three hold, R is an equivalence relation.
Rule 1: Equivalence classes — An equivalence relation splits the set into groups so that every element lies in exactly one group; the groups do not overlap.
In the figure : a R b if a − b is divisible by 3: three groups with remainder 0, 1, 2.
How is the formula obtained? : a − a = 0 is divisible by 3 (reflexive); if a − b is, so is b − a (symmetric); if a − b and b − c are, so is their sum a − c (transitive).
- Easy : On {1, 2, 3}, R = {(1, 1), (2, 2), (3, 3)} is reflexive, symmetric and transitive, so it is an equivalence relation.
- Medium : R = {(1, 1), (2, 2), (3, 3), (1, 2), (2, 1)} has all three properties (e.g. (1, 2), (2, 1) give (1, 1)); it is an equivalence relation.
- Exam-type : On natural numbers a < b is not reflexive, not symmetric, but transitive. "a divides b" is reflexive and transitive but not symmetric (2 divides 4 but 4 does not divide 2).
Equivalence relation = reflexive + symmetric + transitive; missing any one means it is not.
Treating symmetric as reflexive. {(1, 2), (2, 1)} is symmetric but not reflexive.
Test one property at a time: (a, a) for all? (a, b) gives (b, a)? chain a → c? Memory clue : "Self, mirror, chain".
Transitivity needs (a, c) only when (a, b), (b, c) are both present; with no such pairs the condition holds automatically.
CET-style example : The relation "a − b is even" on natural numbers has how many equivalence classes? (A) 2 (B) 1 (C) 3 (D) 4
Answer : (A). Even and odd: 2 classes. Time-saving method : Division by 2 leaves remainder 0 or 1, hence 2.
Spot the difference
| Relation | Reflexive | Symmetric | Transitive |
|---|---|---|---|
| a − b divisible by 3 | yes | yes | yes |
| a < b | no | no | yes |
| a divides b | yes | no | yes |
Practice questions
- 1Is R = {(1, 1), (2, 2), (1, 2)} on {1, 2} reflexive?
- 2Is the same R symmetric?
- 3Is the same R transitive?
- 4On {1, 2, 3} is R = {(1, 2), (2, 1)} symmetric, and is it reflexive?
- 5Which pair is missing for transitivity of this R?
- 6Is the relation "same units digit" an equivalence relation?
- 7On 1 to 20 with a − b divisible by 5: how many equivalence classes and how many elements in each?
- 8The smallest reflexive and symmetric relation on {1, 2, 3} containing (1, 2): how many pairs?
Show answers (try them yourself first)
- 1हो.
- 2नाही ; (1, 2) आहे पण (2, 1) नाही.
- 3हो.
- 4सममित आहे ; स्वतःशी नाही.
- 5(1, 1) आणि (2, 2).
- 6हो ; तिन्ही गुण आहेत.
- 75 वर्ग, प्रत्येकात 4 घटक.
- 8(1, 1), (2, 2), (3, 3), (1, 2), (2, 1) : 5.
Lesson 5: Sets and relations — quick revision
| Topic | Formula / point |
|---|---|
| Subsets | 2ⁿ for n elements; proper 2ⁿ − 1; with one fixed element 2ⁿ⁻¹ |
| Operations | A ∪ B, A ∩ B, A − B = A ∩ B′, A′ |
| De Morgan | (A ∪ B)′ = A′ ∩ B′; (A ∩ B)′ = A′ ∪ B′ |
| Counting | n(A ∪ B) = n(A) + n(B) − n(A ∩ B) |
| Three sets | sum − pairs + all three |
| Product | n(A × B) = mn; relations 2ᵐⁿ |
| Equivalence | reflexive + symmetric + transitive; classes do not overlap |
🎯 Most important points for the exam
- Do not mix ∈ (element) and ⊆ (subset).
- Or = ∪, and = ∩.
- Fill a Venn diagram from the inside out.
- The order of a pair matters.
- For equivalence test all three properties.
"Inside out, mind the sign".