This lesson brings together the ideas of the chapter so far in a set of problems of the kind found in competitive examinations: sets of multiples, sets defined by a formula, counting subsets, and simplifying set expressions. In most of them the quickest route is to write out the first few elements of each set and look for the pattern.
Sets of multiples#
For a natural number a, write aN={ax:x∈N}, the set of all positive multiples of a. So aN={a,2a,3a,4a,…}.
Example 1#
Find 3N∩7N.
3N={3,6,9,12,15,18,21,…},7N={7,14,21,28,35,42,…}
The common elements are the numbers that are multiples of both 3 and 7, that is, multiples of 21:
3N∩7N={21,42,63,…}=21N
Example 2#
If bN∩cN=dN, where b,c∈N are relatively prime, express d in terms of b and c.
Two numbers are relatively prime (or coprime) if their H.C.F. is 1, for example (2,3), (3,5), (7,10), (5,7) and (7,9). They need not be prime themselves: 7 and 10 are coprime though 10 is not prime. (Do not confuse this with twin primes: two primes whose difference is 2, such as (3,5) and (5,7).)
Try b=2 and c=3: 2N={2,4,6,8,10,12,…} and 3N={3,6,9,12,…}, so 2N∩3N={6,12,18,…}=6N. Here d=6=2×3.
In general, bN∩cN is the set of common multiples of b and c, which is the set of multiples of their L.C.M. For coprime numbers the L.C.M. is the product, so d=bc.
If b and c are not coprime, d is their L.C.M. For example 4N∩6N=12N, not 24N.
Example 3#
If A={8n−7n−1:n∈N} and B={49(n−1):n∈N}, which is true: A⊂B, B⊂A, or A=B?
Write out the first few elements.
For A: n=1 gives 8−7−1=0; n=2 gives 64−14−1=49; n=3 gives 512−21−1=490. So A={0,49,490,…}.
For B: the elements are 0,49,98,147,…, all the multiples of 49 starting from 0.
Every element of A seen so far is a multiple of 49, and this is true for every n. (It can be proved by induction: assume 8k−7k−1=49q; then 8k+1−7(k+1)−1=8(8k−7k−1)+49k=49(8q+k).) So A⊆B. But 98∈B and 98∈/A, because the elements of A jump from 49 to 490. Hence A⊂B, a proper subset.
Example 4#
If A is the set of divisors of 15, B is the set of prime numbers smaller than 10, and C is the set of even numbers smaller than 9, find (A∪C)∩B.
A={1,3,5,15},B={2,3,5,7},C={2,4,6,8}
A∪C={1,2,3,4,5,6,8,15}, and its intersection with B is {2,3,5}.
Counting subsets#
Example 5#
Two finite sets have m and n elements. The total number of subsets of the first set is 56 more than the total number of subsets of the second. Find m and n.
The first set has 2m subsets and the second 2n, so
2m−2n=56
Look at the powers of 2: 1,2,4,8,16,32,64,128,… The only two whose difference is 56 are 64 and 8. So 2m=64 and 2n=8, giving m=6 and n=3.
Check: 64=56+8.
Example 6#
A set A has 4 elements, one of which is the number 1. How many subsets of A contain the element 1?
A subset that contains 1 is fixed by deciding, for each of the other 3 elements, whether it is in or out. That gives 23=8 subsets. They are exactly half of all the 24=16 subsets of A; the other 8 do not contain 1.
Simplifying set expressions#
Example 7#
Simplify A∩(A∪B)′.
(A∪B)′ is everything outside both circles. Nothing outside both circles can be inside A. So A∩(A∪B)′=ϕ.
By the laws: A∩(A∪B)′=A∩(A′∩B′)=(A∩A′)∩B′=ϕ∩B′=ϕ.
Example 8#
Simplify (A−B)∪(A∩B).
A−B is the "A only" region and A∩B is the overlap. Together they make up the whole of circle A. So the expression equals A.
Practice#
- Find 4N∩6N.
- Find 5N∩7N and 2N∩4N.
- Which of these pairs are coprime: (8,15), (12,18), (9,28)?
- If A={4n−3n−1:n∈N} and B={9(n−1):n∈N}, write the first three elements of each and decide whether A⊂B.
- If A is the set of factors of 20, B the set of prime numbers less than 12, and C the set of odd numbers less than 10, find (A∩B)∪C.
- The number of subsets of a set with m elements is 112 more than the number of subsets of a set with n elements. Find m and n.
- A set has 5 elements. How many of its subsets have exactly 2 elements? (List or count them.)
- Simplify (A∪B)∩(A∪B)′.
- Simplify B∪(A−B).
- Simplify (A∩B′)∪(A′∩B)∪(A∩B).
Answers#
Show answers
- 12N (the L.C.M. of 4 and 6 is 12).
- 35N and 4N.
- (8,15) and (9,28) are coprime; (12,18) have common factor 6.
- A={0,9,54,…} and B={0,9,18,…}. Every element of A is a multiple of 9, but 18∈/A, so A⊂B.
- A={1,2,4,5,10,20}, B={2,3,5,7,11}, so A∩B={2,5}; with C={1,3,5,7,9} the union is {1,2,3,5,7,9}.
- 2m−2n=112: 128−16=112, so m=7 and n=4.
-
- For {a,b,c,d,e} they are ab,ac,ad,ae,bc,bd,be,cd,ce,de.
- ϕ
- A∪B
- A∪B (the three regions are "A only", "B only" and "both").