Chapter 1 practice
Practice: Sets
A question bank of 50 exam-style questions on this chapter only: 20 one-mark, 12 two-mark, 10 three-mark, 8 four-mark. Every question is followed by its answer and a full explanation. Use the buttons to list only the questions of one mark value.
Sources are shown on each question. "NCERT Exemplar" questions are adapted from NCERT's official Exemplar Problems. "Board pattern" questions follow standard CBSE exam questions on the same skills. "Written for this site" questions cover this chapter's own topics. Every answer has been worked out and checked.
Which of the following collections is a set?
Answer
What we know: A collection is a set only when it is well-defined: for any object, everyone can decide in the same way whether it belongs.
The plan: Look for a rule that gives the same yes or no for everyone.
- For any number, we can test whether it is prime and less than 20, and everyone gets the same answer: {2, 3, 5, 7, 11, 13, 17, 19}.
(c) the prime numbers less than 20.
Why the other options tempt:
- (a) "Good" is a matter of opinion, so people would disagree.
- (b) "Tall" has no fixed height.
- (d) "Interesting" changes from reader to reader.
The set {x : x ∈ N and x² < 20} in roster form is
Answer
The plan: Test the natural numbers 1, 2, 3, ... until the square reaches 20.
- 1² = 1, 2² = 4, 3² = 9 and 4² = 16 are all less than 20.
- 5² = 25 is not, and larger numbers have larger squares.
(a) {1, 2, 3, 4}.
Why the other options tempt:
- (b) 0 is not a natural number.
- (c) 5² = 25 is not less than 20.
- (d) lists the squares x², not the numbers x.
Which of the following sets is empty?
Answer
What we know: A set is empty when no object meets its condition.
The plan: Look for one element in each set.
- No natural number lies strictly between 3 and 4, since 4 comes straight after 3. So set (a) is φ.
(a) the natural numbers between 3 and 4.
Why the other options tempt:
- (b) 3.5 is a real number between 3 and 4, so (b) is not empty.
- (c) {0} has one element, the number 0.
- (d) {φ} has one element, the empty set itself.
How many elements has the set of the letters of the word MATHEMATICS?
Answer
The plan: List each different letter once.
- The letters are M, A, T, H, E, M, A, T, I, C, S.
- The different ones are M, A, T, H, E, I, C and S.
(b) 8.
Why the other options tempt:
- (a) 11 counts the repeated M, A and T a second time.
- (c) and (d) leave out letters, such as C or S.
How many subsets does the set {1, 2, 3} have?
Answer
The plan: Count the subsets by their size.
- Size 0: φ. Size 1: {1}, {2}, {3}.
- Size 2: {1, 2}, {1, 3}, {2, 3}. Size 3: {1, 2, 3}.
- In all, 1 + 3 + 3 + 1 = 8 = 2³.
(d) 8.
Why the other options tempt:
- (a) 3 counts only the one-element subsets.
- (b) 6 leaves out φ and the set itself.
- (c) 7 is the number of proper subsets: it leaves out the set itself.
Which interval is the set of the real numbers x with −2 < x ≤ 5?
Answer
The plan: Turn each inequality sign into a bracket.
- −2 < x leaves out −2, so the bracket at −2 is round.
- x ≤ 5 includes 5, so the bracket at 5 is square.
(b) (−2, 5].
Why the other options tempt:
- (a) would include −2.
- (c) would include −2 and leave out 5.
- (d) would leave out 5.
If A = {1, 2, 3, 4} and B = {3, 4, 5}, then A ∩ B is
Answer
The plan: Pick out the elements that are in both sets.
- Only 3 and 4 are in both A and B.
(b) {3, 4}.
Why the other options tempt:
- (a) is A ∪ B, the elements in either set.
- (c) is A − B, the elements of A that are not in B.
- (d) is B − A.
Two sets A and B are called disjoint when
Answer
The plan: Recall the meaning of disjoint: no element in common.
- Disjoint sets have no element in common, so their intersection is empty.
(b) A ∩ B = φ.
Why the other options tempt:
- (a) A ∪ B = φ happens only when both sets are empty.
- (c) A ⊂ B is the subset relation.
- (d) A − B = φ means that A ⊂ B.
If U = {1, 2, 3, ..., 10} and A = {2, 4, 6, 8, 10}, then A′ is
Answer
The plan: Keep the elements of U that are not in A.
- Removing the even numbers from U leaves the odd numbers 1, 3, 5, 7 and 9.
(a) {1, 3, 5, 7, 9}.
Why the other options tempt:
- (b) is A itself.
- (c) φ is the complement of U.
- (d) U is the complement of φ.
By De Morgan's laws, (A ∪ B)′ is equal to
Answer
The plan: Follow an element that is outside A ∪ B.
- An element is outside A ∪ B exactly when it is outside A and outside B.
- Outside A and outside B is A′ ∩ B′.
(b) A′ ∩ B′.
Why the other options tempt:
- (a) A′ ∪ B′ is (A ∩ B)′, the other law.
- (c) leaves out the complements altogether.
- (d) (A ∩ B)′ equals A′ ∪ B′, not A′ ∩ B′.
Write the set of the vowels in the word EQUATION in roster form.
Answer
The plan: List the letters of EQUATION, then keep the vowels.
- The letters are E, Q, U, A, T, I, O and N.
- The vowels among them are E, U, A, I and O.
{A, E, I, O, U}: all five vowels.
Check: EQUATION happens to use each of the five vowels exactly once, so its set of vowels is the whole set of vowels.
Write {x : x is a positive integer that divides 18} in roster form.
Answer
The plan: Find the divisors in pairs whose product is 18.
- 18 = 1 × 18 = 2 × 9 = 3 × 6.
- So the divisors are 1, 2, 3, 6, 9 and 18.
{1, 2, 3, 6, 9, 18}.
Check: After the pair 3 × 6, the next pair would be 6 × 3, a repeat, so the list is complete.
Is the set of the multiples of 7 finite or infinite? Give a reason.
Answer
The plan: Look for a last element.
- The multiples of 7 are 7, 14, 21, and so on: 7n for every natural number n.
- After any multiple 7n comes a bigger one, 7n + 7, so there is no last element.
Infinite.
Check: A set with no last element can never be counted to an end.
Are the set of the letters of the word LOOP and the set of the letters of the word POOL equal?
Answer
The plan: Write each set in roster form, then compare.
- LOOP gives {L, O, P}.
- POOL gives {P, O, L}.
Yes, they are equal.
Check: The two sets have exactly the same three elements. The order of the letters and the repeated O do not matter.
Write all the subsets of {p, q}.
Answer
The plan: Go by size: 0, 1 and 2 elements.
- No elements: φ.
- One element: {p} and {q}.
- Two elements: {p, q}, the set itself.
φ, {p}, {q} and {p, q}: four subsets.
Check: A set with 2 elements has 2² = 4 subsets.
Write the interval [−3, 2) in set-builder form.
Answer
The plan: Turn each bracket into an inequality.
- The square bracket at −3 includes −3: −3 ≤ x.
- The round bracket at 2 leaves out 2: x < 2.
{x : x ∈ R, −3 ≤ x < 2}.
Check: −3 belongs and 2 does not. For example, 1.9 belongs, but 2 does not.
If A ⊂ B, what is A ∩ B?
Answer
The plan: Ask which elements are in both sets.
- Every element of A is also in B, since A ⊂ B.
- So every element of A is common to both sets, and an element outside A cannot be in A ∩ B.
A ∩ B = A.
Check: For example, {1, 2} ∩ {1, 2, 3} = {1, 2}.
If U = {a, b, c, d, e} and A = {a, c}, find (A′)′.
Answer
The plan: Take the complement twice.
- A′ = {b, d, e}, the letters of U that are not in A.
- (A′)′ holds the letters of U that are not in A′: a and c.
(A′)′ = {a, c} = A.
Check: Leaving out what was left out brings back A: (A′)′ = A for every subset A of U.
Assertion (A): φ ⊂ A for every set A.
Reason (R): φ has no element, so it has no element that fails to be in A.
Answer
The plan: Check A, then whether R explains it.
- B ⊂ A means that every element of B is in A. So a set fails to be a subset of A only if one of its elements is outside A.
- φ has no elements at all, so nothing can fail. So φ ⊂ A, and R gives exactly this reason.
(a) Both A and R are true, and R is the correct explanation of A.
Why the other options tempt:
- (b) says R does not explain A, but R is the reason.
- (c) and (d) call a true statement false.
Assertion (A): A − B = B − A for all sets A and B.
Reason (R): A − B and B − A have no element in common.
Answer
The plan: Test A with one example; then check R.
- Take A = {1, 2} and B = {2, 3}. Then A − B = {1} and B − A = {3}, which are different. So A is false.
- An element of A − B is not in B, while every element of B − A is in B. So no element is in both, and R is true.
(d) A is false but R is true.
Why the other options tempt:
- (a) and (b) call A true, but one example shows that it is false.
- (c) has the two truth values the wrong way round.
Write in set-builder form: (a) {3, 6, 9, 12, 15}; (b) {1/2, 1/4, 1/8, 1/16}.
Answer
What we know: Set-builder form names a property that the elements have and no other object has.
The plan: Find the pattern; then add limits so that no extra element creeps in.
- (a) 3 = 3 × 1, 6 = 3 × 2, and so on up to 15 = 3 × 5. So each element is 3n, with n from 1 to 5.
- (b) 1/2 = 1/2¹, 1/4 = 1/2², 1/8 = 1/2³ and 1/16 = 1/2⁴. So each element is 1/2ⁿ, with n from 1 to 4.
(a) {x : x = 3n, n ∈ N and n ≤ 5}; (b) {x : x = 1/2ⁿ, n ∈ N and n ≤ 4}.
Check: Put n = 1, 2, 3, ... into each rule: the lists come back exactly, and the limits stop them at 15 and at 1/16.
Write in roster form: (a) {x : x ∈ Z and −3 ≤ x < 2}; (b) {x : x is a prime number that divides 60}.
Answer
What we know: Z is the set of integers. A prime number has exactly two factors, 1 and itself.
The plan: List the integers in the range; then factorise 60.
- (a) The integers from −3 up to, but not including, 2 are −3, −2, −1, 0 and 1.
- (b) 60 = 2 × 2 × 3 × 5, so the primes that divide 60 are 2, 3 and 5.
(a) {−3, −2, −1, 0, 1}; (b) {2, 3, 5}.
Check: In (a), 2 is left out because the condition is x < 2, not x ≤ 2. In (b), 4, 6 and 10 also divide 60, but they are not prime.
Which of these sets are empty? Give reasons. (a) {x : x ∈ N and 2x + 7 = 7}; (b) {x : x is a natural number, x < 5 and x > 8}; (c) {x : x ∈ Z and x² = 16}.
Answer
The plan: Solve each condition; then check that the solution is allowed.
- (a) 2x + 7 = 7 gives 2x = 0, so x = 0. But 0 is not a natural number, so the set is φ.
- (b) No number is both less than 5 and greater than 8, so the set is φ.
- (c) 4² = 16 and (−4)² = 16, and both are integers, so the set is {−4, 4}.
(a) and (b) are empty; (c) = {−4, 4} is not.
Check: Changing N to Z in (a) would give {0}, which is not empty. A set depends on the numbers allowed.
Find n(A) and n(B), where A = {x : x ∈ Z and x² ≤ 10} and B is the set of the letters of the word BANANA.
Answer
The plan: List the elements of each set, each one once.
- A: 3² = 9 ≤ 10, but 4² = 16 > 10. So A = {−3, −2, −1, 0, 1, 2, 3}, with 7 elements.
- B: the letters B, A, N, A, N, A give {B, A, N}, with 3 elements.
n(A) = 7 and n(B) = 3.
Check: Count A again with the rule last − first + 1: 3 − (−3) + 1 = 7.
A path that fails: Counting all six letters of BANANA gives 6. That counts A three times and N twice, but a set lists each element once.
Are these pairs of sets equal? (a) A = {x : x² − 5x + 6 = 0} and B = {2, 3}; (b) C = {x : x ∈ N and x < 3} and D = {0, 1, 2}.
Answer
The plan: Write each set in roster form, then compare the elements.
- (a) x² − 5x + 6 = (x − 2)(x − 3), so the solutions are 2 and 3. A = {2, 3} = B.
- (b) The natural numbers less than 3 are 1 and 2, so C = {1, 2}. D also contains 0, so C ≠ D.
(a) Equal; (b) not equal.
Check: 2² − 5 × 2 + 6 = 0 and 3² − 5 × 3 + 6 = 0, so both roots are right.
A path that fails: Reading N as starting at 0 makes C = {0, 1, 2} and gives the wrong answer "equal". The natural numbers start at 1.
Let A = {1, {2, 3}, 4}. Say whether each statement is true or false: (i) {2, 3} ∈ A; (ii) {2, 3} ⊂ A; (iii) { {2, 3} } ⊂ A; (iv) {1, 4} ⊂ A.
Answer
What we know: A has three elements: the number 1, the set {2, 3}, and the number 4.
The plan: Read ∈ as "is an element of" and ⊂ as "every element of the left set is in".
- (i) {2, 3} is one of the elements of A. True.
- (ii) The number 2 is not an element of A (only the set {2, 3} is), so {2, 3} ⊄ A. False.
- (iii) The only element of { {2, 3} } is the set {2, 3}, which is in A. True.
- (iv) 1 and 4 are both elements of A. True.
(i) True; (ii) false; (iii) true; (iv) true.
Check: x ∈ A exactly when {x} ⊂ A. Parts (i) and (iii) agree, as they must.
Write as intervals, and say how each looks on a number line: (a) {x : x ∈ R, −1 ≤ x ≤ 3}; (b) {x : x ∈ R, x > 2}.
Answer
The plan: Turn each inequality into a bracket.
- (a) Both ends are included (≤), so both brackets are square: [−1, 3]. On the line, draw filled dots at −1 and 3 and shade the stretch between them.
- (b) 2 is left out (>), so the bracket at 2 is round. The set has no right end, so it runs to ∞: (2, ∞). On the line, draw a hollow dot at 2 and a ray to the right.
(a) [−1, 3]; (b) (2, ∞).
Check: ∞ always takes a round bracket, because it is not a number that could belong to the set.
Let A = {1, 3, 5, 7} and B = {3, 6, 9}. Find A ∪ B and A ∩ B, and check that n(A ∪ B) = n(A) + n(B) − n(A ∩ B).
Answer
The plan: Join the lists, writing 3 only once; then pick out the common elements.
- A ∪ B: 1, 3, 5 and 7 from A, then 6 and 9 from B (3 is already there).
- A ∩ B: only 3 is in both sets.
- Count: 4 + 3 − 1 = 6, and A ∪ B has 6 elements.
A ∪ B = {1, 3, 5, 6, 7, 9} and A ∩ B = {3}.
Check: The element 3 is counted in both n(A) and n(B). That is why n(A ∩ B) = 1 is taken away once.
Let A = {x : x is a natural number less than 10} and B = {x : x is an even natural number less than 10}. Find A − B and B − A.
Answer
The plan: Write both sets in roster form, then remove.
- A = {1, 2, ..., 9} and B = {2, 4, 6, 8}.
- A − B removes the even numbers from A, leaving the odd numbers 1, 3, 5, 7 and 9.
- B − A: every element of B is in A, so nothing is left. B − A = φ.
A − B = {1, 3, 5, 7, 9} and B − A = φ.
Check: B − A = φ exactly because B ⊂ A.
U = {1, 2, ..., 8}, A = {1, 2, 3, 4} and B = {4, 5, 6}. In a two-circle Venn diagram of A and B, which elements go in A only, in the overlap, in B only, and outside both circles?
Answer
The plan: Fill the overlap first, then each circle's own part, then the outside.
- Overlap (in both A and B): 4.
- A only: 1, 2 and 3. B only: 5 and 6.
- Outside both circles, but inside the rectangle U: 7 and 8.
A only: 1, 2, 3; the overlap: 4; B only: 5, 6; outside both: 7, 8.
Check: 3 + 1 + 2 + 2 = 8 elements, each placed exactly once.
U = {1, 2, ..., 9}, A = {1, 3, 5} and B = {3, 4, 5, 6}. Find (A ∪ B)′ and A′ ∩ B′, and compare them.
Answer
The plan: Work out each side separately.
- A ∪ B = {1, 3, 4, 5, 6}, so (A ∪ B)′ = {2, 7, 8, 9}.
- A′ = {2, 4, 6, 7, 8, 9} and B′ = {1, 2, 7, 8, 9}, so A′ ∩ B′ = {2, 7, 8, 9}.
Both are {2, 7, 8, 9}.
Check: The two sides agree, as De Morgan's law (A ∪ B)′ = A′ ∩ B′ says: outside A ∪ B means outside A and outside B.
Story: In a class of 35 students, 20 have a bicycle. Take the class as U and B as the set of students with a bicycle. Find n(B′), and say what B′ means.
Answer
What we know: B′ is the complement of B in U: the elements of U that are not in B.
The plan: Use n(B′) = n(U) − n(B).
- B′ holds the students of the class who are not in B, that is, those who do not have a bicycle.
- n(B′) = 35 − 20 = 15.
n(B′) = 15: B′ is the set of the students without a bicycle.
Check: B and B′ share no student, and together they make up the whole class: 20 + 15 = 35.
Write each set in roster form and in set-builder form: (a) the two-digit numbers whose digits add up to 4; (b) the integers whose square is less than 5.
Answer
What we know: A two-digit number has a tens digit from 1 to 9 and a units digit from 0 to 9.
The plan: For (a), go through the tens digits in turn; for (b), test the integers near 0.
- (a) Tens digit 1: units digit 3, giving 13. Tens digit 2: 22. Tens digit 3: 31. Tens digit 4: 40.
- A tens digit of 5 or more is already more than 4, so the list stops at 40. The tens digit cannot be 0 in a two-digit number.
- (b) 0² = 0, 1² = 1 and 2² = 4 are less than 5, but 3² = 9 is not.
- The negative integers behave the same way: (−1)² = 1 and (−2)² = 4. So the set is {−2, −1, 0, 1, 2}.
(a) {13, 22, 31, 40} = {x : x is a two-digit number whose digits add up to 4}; (b) {−2, −1, 0, 1, 2} = {x : x ∈ Z, x² < 5}.
Check: In (a), the digits of each number add to 4: 1 + 3, 2 + 2, 3 + 1 and 4 + 0. In (b), there are 2 − (−2) + 1 = 5 integers.
Say whether each set is finite or infinite, and give the number of elements of each finite set: (a) the factors of 48; (b) the multiples of 48; (c) {x : x ∈ R and x² = 48}.
Answer
The plan: List what can be listed; look for a last element.
- (a) 48 = 1 × 48 = 2 × 24 = 3 × 16 = 4 × 12 = 6 × 8. So the factors are 1, 2, 3, 4, 6, 8, 12, 16, 24 and 48: 10 of them.
- (b) The multiples 48, 96, 144, ... go on for ever: after 48n comes 48n + 48. Infinite.
- (c) x² = 48 gives x = √48 or x = −√48, that is, 4√3 or −4√3. Both are real numbers, so the set has 2 elements.
(a) Finite, with 10 elements; (b) infinite; (c) finite, with 2 elements.
Check: (4√3)² = 16 × 3 = 48, so both values in (c) are right.
A path that fails: Answering (c) with "φ, since 48 is not a perfect square" fails. That reasoning works among the integers, but here x may be any real number.
Which of these sets are equal? A = the letters of RATE, B = the letters of TEAR, C = the letters of TREAT, D = the letters of EAT.
Answer
The plan: Write each set in roster form, listing each letter once.
- RATE gives {R, A, T, E} and TEAR gives {T, E, A, R}. These have the same four letters, so A = B.
- TREAT is T, R, E, A, T. The repeated T counts once, so C = {T, R, E, A}, which equals A.
- EAT gives {E, A, T}. It has no R, so D is not equal to the others.
A = B = C = {A, E, R, T}; D = {A, E, T} is equal to none of them.
Check: Equal sets need exactly the same elements. Order and repeats do not matter, but one missing element (here R) is enough to make two sets unequal. Note that D is a proper subset of A.
List all the subsets of {1, 2, 3} that contain the element 2. How many proper subsets has {1, 2, 3}?
Answer
The plan: Start from {2} and add the other elements in every possible way; then count all the subsets.
- With 2 alone: {2}. With 2 and one more: {1, 2} and {2, 3}. With all three: {1, 2, 3}.
- That is 4 subsets: one for each subset of {1, 3} (φ, {1}, {3} and {1, 3}), with 2 added to it.
- {1, 2, 3} has 2³ = 8 subsets in all. Every one except {1, 2, 3} itself is a proper subset, so there are 8 − 1 = 7.
The subsets that contain 2 are {2}, {1, 2}, {2, 3} and {1, 2, 3}. The set {1, 2, 3} has 7 proper subsets.
Check: The 4 subsets with 2 and the 4 subsets without 2 (φ, {1}, {3} and {1, 3}) make 8, as they should.
Write each set as an interval, find its length, and list the integers in it: (a) {x : x ∈ R, −4 < x ≤ 0}; (b) {x : x ∈ R, 3 ≤ x < 7}.
Answer
The plan: Choose each bracket from its inequality sign; the length is b − a.
- (a) −4 is left out (<) and 0 is included (≤), so the interval is (−4, 0]. Its length is 0 − (−4) = 4.
- Its integers are −3, −2, −1 and 0. The end −4 is not included.
- (b) 3 is included and 7 is left out, so the interval is [3, 7). Its length is 7 − 3 = 4. Its integers are 3, 4, 5 and 6, but not 7.
(a) (−4, 0], of length 4, with the integers −3, −2, −1 and 0; (b) [3, 7), of length 4, with the integers 3, 4, 5 and 6.
Check: Both intervals have length 4 and contain 4 integers, because each includes exactly one of its two whole-number ends.
Let A = {2, 4, 6, 8}, B = {3, 6, 9} and C = {1, 2, 3, 4, 5, 6}. Find A ∪ (B ∩ C) and (A ∪ B) ∩ (A ∪ C). Which law does the result show?
Answer
The plan: Work out the brackets first, on each side.
- B ∩ C = {3, 6}, so A ∪ (B ∩ C) = {2, 3, 4, 6, 8}.
- A ∪ B = {2, 3, 4, 6, 8, 9} and A ∪ C = {1, 2, 3, 4, 5, 6, 8}.
- The intersection of these two keeps their common elements: {2, 3, 4, 6, 8}.
Both are {2, 3, 4, 6, 8}. This shows the distributive law A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C).
Check: The two sides agree. Union distributes over intersection, just as intersection distributes over union: A ∩ (B ∪ C) = (A ∩ B) ∪ (A ∩ C).
Story: In a group of 60 people, 35 like tea, 30 like coffee and 12 like both. How many like at least one of the two drinks? How many like only tea? How many like neither?
Answer
What we know: n(U) = 60, n(T) = 35, n(C) = 30 and n(T ∩ C) = 12.
The plan: Count the union with n(T ∪ C) = n(T) + n(C) − n(T ∩ C); then take parts away.
- n(T ∪ C) = 35 + 30 − 12 = 53, since the 12 who like both were counted twice.
- Only tea: 35 − 12 = 23.
- Neither: 60 − 53 = 7.
53 like at least one drink, 23 like only tea, and 7 like neither.
Check: The four regions of the Venn diagram are only tea 23, both 12, only coffee 18 and neither 7. They add up to 23 + 12 + 18 + 7 = 60.
A path that fails: Adding 35 + 30 = 65 gives more people than the group has. That is the sign that the 12 people in both sets were counted twice.
Let A = {x : x ∈ N and x ≤ 12} and let B be the set of the multiples of 3 in N. Find A ∩ B and A − B, and describe B − A.
Answer
The plan: Mark the multiples of 3 among the numbers 1 to 12; then look beyond 12.
- The multiples of 3 up to 12 are 3, 6, 9 and 12. That is A ∩ B.
- A − B removes them from A, leaving 1, 2, 4, 5, 7, 8, 10 and 11.
- B − A keeps the multiples of 3 that are not in A, that is, those greater than 12: 15, 18, 21, and so on without end.
A ∩ B = {3, 6, 9, 12}; A − B = {1, 2, 4, 5, 7, 8, 10, 11}; B − A = {15, 18, 21, ...}, an infinite set.
Check: n(A) = 12 = 4 + 8: every element of A is in exactly one of A ∩ B and A − B.
A path that fails: Expecting B − A to be small, like the other two answers, fails. B is infinite, and only four of its elements are removed.
U = {1, 2, ..., 12}, A is the set of the divisors of 12, and B is the set of the even numbers in U. Verify that (A ∩ B)′ = A′ ∪ B′.
Answer
What we know: A = {1, 2, 3, 4, 6, 12} and B = {2, 4, 6, 8, 10, 12}.
The plan: Work out the left side, then the right side.
- A ∩ B = {2, 4, 6, 12}, so (A ∩ B)′ = {1, 3, 5, 7, 8, 9, 10, 11}.
- A′ = {5, 7, 8, 9, 10, 11} and B′ = {1, 3, 5, 7, 9, 11}.
- A′ ∪ B′ = {1, 3, 5, 7, 8, 9, 10, 11}.
Both sides are {1, 3, 5, 7, 8, 9, 10, 11}.
Check: The two sides agree, as De Morgan's law says. In words: a number fails to be an even divisor of 12 when it is not a divisor of 12, or when it is not even.
Using U = {1, 2, ..., 8}, A = {1, 2, 3, 4, 5} and B = {4, 5, 6, 7}, check that A − B = A ∩ B′. Then explain why this holds for all sets.
Answer
The plan: Compute both sides; then say what each side means.
- A − B removes 4 and 5 from A, leaving {1, 2, 3}.
- B′ = {1, 2, 3, 8}, so A ∩ B′ = {1, 2, 3}.
- In general, x ∈ A − B means x ∈ A and x ∉ B. And x ∉ B means x ∈ B′. So x ∈ A − B exactly when x ∈ A ∩ B′.
Both sides are {1, 2, 3}. In general, both sides are the set of the elements that are in A and not in B.
Check: The element 8 is in B′ but not in A, so it drops out of A ∩ B′, as it should.
For each set, write it in roster form where possible, say whether it is empty, finite or infinite, and give the number of elements of each finite set: (a) {x : x ∈ N, x is odd and x² < 50}; (b) {x : x ∈ Z and x² + 1 = 0}; (c) {x : x ∈ N and x > 100}; (d) the months with fewer than 30 days.
Answer
The plan: Solve each condition, then count.
- (a) The odd natural numbers are 1, 3, 5, 7, 9, .... Their squares are 1, 9, 25, 49, 81, .... Only the first four squares are less than 50, so the set is {1, 3, 5, 7}.
- (b) x² is never negative, so x² + 1 is at least 1 and never 0. No integer works, so the set is φ, with 0 elements.
- (c) After any number in the set comes a bigger one, so the set has no last element. It is infinite.
- (d) Every month has 30 or 31 days except February, which has 28 or 29. So the set is {February}, a singleton.
(a) {1, 3, 5, 7}, finite, 4 elements; (b) φ, with 0 elements; (c) {101, 102, 103, ...}, infinite; (d) {February}, finite, 1 element.
Check: In (a), 7² = 49 is less than 50, but 9² = 81 is not, so the list stops at 7. In (b), the empty set is finite, with n(φ) = 0.
A path that fails: In (b), trying the integers one by one (0, 1, −1, 2, and so on) never finishes and proves nothing. The reason "x² is never negative" settles every integer at once.
Let A = {a, b, c}. (a) List all the subsets of A. (b) How many of them have exactly two elements? (c) How many proper subsets has A? (d) Explain why a set with n elements has 2ⁿ subsets, and check this with n = 3.
Answer
The plan: List the subsets by size; then count the choices.
- (a) Size 0: φ. Size 1: {a}, {b}, {c}. Size 2: {a, b}, {a, c}, {b, c}. Size 3: {a, b, c}. That is 8 subsets.
- (b) Exactly two elements: {a, b}, {a, c} and {b, c}, so 3.
- (c) Every subset except A itself is proper: 8 − 1 = 7.
- (d) To build a subset, decide for each element whether it goes in. Each decision has 2 answers, in or out, and the decisions do not affect each other.
- So there are 2 × 2 × ... × 2 = 2ⁿ ways to decide, and each way gives a different subset. For n = 3, 2³ = 8, which matches the list in (a).
(a) φ, {a}, {b}, {c}, {a, b}, {a, c}, {b, c} and {a, b, c}. (b) 3. (c) 7. (d) Each element is either in or out, two choices each, so there are 2 × 2 × 2 = 2³ = 8 subsets.
Check: The choice "all out" gives φ, and "all in" gives A itself, so both are always counted among the 2ⁿ subsets.
Let A = [−2, 3], B = (0, 5) and C = [1, 2). (a) Is C ⊂ A? Is C ⊂ B? (b) Is A ⊂ B? (c) Write A ∩ B and A ∪ B as intervals. (d) List the integers in A ∩ B.
Answer
The plan: Compare the end points, taking care with each bracket.
- (a) Every x in C has 1 ≤ x < 2. Such an x lies between −2 and 3, so C ⊂ A; and it lies between 0 and 5, so C ⊂ B.
- (b) −2 is in A, but not in B, because B needs x > 0. So A ⊄ B.
- (c) In both: x > 0 (from B) and x ≤ 3 (from A), which gives (0, 3].
- In either: from −2 (included, from A) up to 5 (left out, from B), which gives [−2, 5).
- (d) The integers in (0, 3] are 1, 2 and 3. The round bracket leaves out 0.
(a) Yes, and yes; (b) no; (c) A ∩ B = (0, 3] and A ∪ B = [−2, 5); (d) 1, 2 and 3.
Check: Test a point of A ∪ B, say 4: it is in B, so it belongs. Test 5: it is in neither A nor B, which is why the bracket at 5 is round.
A path that fails: Writing A ∪ B as [−2, 5] fails. The number 5 is not in B = (0, 5), and it is not in A either.
Let A = {1, 2, 3, 4, 5, 6}, B = {2, 4, 6, 8} and C = {3, 6, 9}. Find (a) A ∪ B; (b) A ∩ C; (c) B ∩ C; (d) A ∩ (B ∪ C); (e) (A ∩ B) ∪ (A ∩ C). Which law do (d) and (e) show?
Answer
The plan: Work out each set from its brackets outwards.
- (a) All of A, then 8 from B: {1, 2, 3, 4, 5, 6, 8}.
- (b) The elements of C that are in A: 3 and 6.
- (c) The only common element of B and C is 6.
- (d) B ∪ C = {2, 3, 4, 6, 8, 9}, and its common part with A is {2, 3, 4, 6}.
- (e) A ∩ B = {2, 4, 6} and A ∩ C = {3, 6}. Their union is {2, 3, 4, 6}.
(a) {1, 2, 3, 4, 5, 6, 8}; (b) {3, 6}; (c) {6}; (d) and (e) are both {2, 3, 4, 6}, which shows the distributive law A ∩ (B ∪ C) = (A ∩ B) ∪ (A ∩ C).
Check: (d) and (e) agree. The element 6 is in both A ∩ B and A ∩ C, but it is written only once in their union.
Story: In a school of 200 students, 120 study Hindi, 90 study Sanskrit and 50 study both. Describe the Venn diagram, and find how many study (a) at least one of the two languages; (b) only Hindi; (c) only Sanskrit; (d) neither.
Answer
What we know: n(U) = 200, n(H) = 120, n(S) = 90 and n(H ∩ S) = 50.
The plan: Fill the overlap first, then each circle's own part, then the outside.
- Overlap: the 50 students who study both.
- Only Hindi: 120 − 50 = 70. Only Sanskrit: 90 − 50 = 40.
- At least one: 70 + 50 + 40 = 160. This agrees with 120 + 90 − 50 = 160.
- Neither: 200 − 160 = 40, written outside both circles.
(a) 160; (b) 70; (c) 40; (d) 40.
Check: The four regions add up to the whole school: 70 + 50 + 40 + 40 = 200.
A path that fails: Adding 120 + 90 = 210 gives more students than the school has. The 50 who study both were counted twice.
U = {1, 2, ..., 10}, A = {1, 2, 3, 5, 8} and B = {2, 4, 6, 8, 10}. Verify both of De Morgan's laws.
Answer
The plan: Find A′ and B′ once; then check each law.
- A′ = {4, 6, 7, 9, 10} and B′ = {1, 3, 5, 7, 9}.
- First law. A ∪ B = {1, 2, 3, 4, 5, 6, 8, 10}, so (A ∪ B)′ = {7, 9}. And A′ ∩ B′ = {7, 9}. They agree.
- Second law. A ∩ B = {2, 8}, so (A ∩ B)′ = {1, 3, 4, 5, 6, 7, 9, 10}. And A′ ∪ B′ = {1, 3, 4, 5, 6, 7, 9, 10}. They agree.
(A ∪ B)′ = A′ ∩ B′ = {7, 9}, and (A ∩ B)′ = A′ ∪ B′ = {1, 3, 4, 5, 6, 7, 9, 10}.
Check: Count with complements: n(A ∪ B) = 8 gives n((A ∪ B)′) = 10 − 8 = 2, and n(A ∩ B) = 2 gives n((A ∩ B)′) = 10 − 2 = 8.
Prove that A ∩ (A′ ∪ B) = A ∩ B for any sets A and B in U, naming each law you use. Then check it with U = {1, 2, ..., 6}, A = {1, 2, 3} and B = {3, 4}.
Answer
The plan: Use the distributive law, then a complement law, then the law of the identity element.
- Distributive law: A ∩ (A′ ∪ B) = (A ∩ A′) ∪ (A ∩ B).
- Complement law: A ∩ A′ = φ, since no element is both in A and outside A.
- So the right side is φ ∪ (A ∩ B). Joining φ adds nothing, so it equals A ∩ B.
- Check: A′ = {4, 5, 6}, so A′ ∪ B = {3, 4, 5, 6}, and A ∩ (A′ ∪ B) = {3}. Also A ∩ B = {3}.
A ∩ (A′ ∪ B) = (A ∩ A′) ∪ (A ∩ B) = φ ∪ (A ∩ B) = A ∩ B. For the example, both sides are {3}.
Check: In words: inside A, being "outside A, or in B" can only mean being in B.
Prove that (A ∪ B) − B = A − B. Is (A ∪ B) − A = B always true? Test it with A = {1, 2, 3} and B = {3, 4}, and say when it is true.
Answer
The plan: Follow an element through each side; then test the second claim with the example.
- x ∈ (A ∪ B) − B means that x is in A or in B, and x ∉ B. Since x is not in B, it must be in A. So x ∈ A − B.
- The other way round, x ∈ A − B means x ∈ A, so x ∈ A ∪ B, and x ∉ B. So the two sides are equal.
- Test: A ∪ B = {1, 2, 3, 4}, so (A ∪ B) − A = {4}. But B = {3, 4}, so the claim fails here.
- The element 3 was lost because it is in A as well as in B. In general, (A ∪ B) − A = B − A, which equals B exactly when no element of B is in A.
(A ∪ B) − B = A − B always. But (A ∪ B) − A = B is not always true: it holds exactly when A ∩ B = φ.
Check: With disjoint sets, such as A = {1, 2} and B = {3, 4}, (A ∪ B) − A = {3, 4} = B, as the condition says.
A path that fails: Treating sets like numbers, where (a + b) − a = b, suggests that the second claim is always true. The counterexample shows that set difference does not undo a union.