Let us count!

Prev: introduction Next: induction

There are seven guests at a birthday party.

How many different ways can they shake hands (with two people)? The answer is 21, because there are ways to make pairs of two, and then divide by two to count only the unique handshakes.

2.3 Name sets whose elements are
(a) buildings,
(b) people,
(c) students,
(d) trees,
(e) numbers,
(f) points.


2.4 What are the elements of the following sets:
(a) army,
(b) mankind,
(c) library,
(d) the animal kingdom?
(e) the cardinalities of and . This is the subject matter of set theory and does not concern us here.


2.5 Name sets having cardinality
(a) 52,
(b) 13,
(c) 32,
(d) 100,
(e) 90,
(f) 2,000,000.


2.6 What are the elements of the following (admittedly peculiar) set:


2.7 We have not written up all subset relations between various sets of numbers; for example, is also true. How many such relations can you find between the sets


2.8 Is an “element of a set” a special case of a “subset of a set”?


2.9 List all subsets of . How many do you get?


2.10 Define at least three sets, of which is a subset.


2.11 List all subsets of , containing but not containing .


2.12 Define a set, of which both and are subsets. Find such a set with a smallest possible number of elements.


2.13
(a) Which set would you call the union of , and ?

(b) Find the union of the first two sets, and then the union of this with the third. Also, find the union of the last two sets, and then the union of this with the first set. Try to formulate what you observed.

(c) Give a definition of the union of more than two sets.


2.14 Explain the connection between the notion of the union of sets and exercise 2.2.


2.15 We form the union of a set with 5 elements and a set with 9 elements. Which of the following numbers can we get as the cardinality of the union:


2.16 We form the union of two sets. We know that one of them has elements and the other has elements. What can we infer for the cardinality of the union?


2.17 What is the intersection of
(a) the sets and ;
(b) the set of girls in this class and the set of boys in this class;
(c) the set of prime numbers and the set of even numbers?


2.18 We form the intersection of two sets. We know that one of them has elements and the other has elements. What can we infer for the cardinality of the intersection?


2.19 Prove that


2.20 The symmetric difference of two sets and is the set of elements that belong to exactly one of and .

(a) What is the symmetric difference of the set of non-negative integers and the set of even integers

(contains both negative and positive even integers)?

(b) Form the symmetric difference of and , to get a set . Form the symmetric difference of and . What did you get? Give a proof of the answer.


2.21 Under the correspondence between numbers and subsets described above, which number corresponds to subsets with 1 element?


2.22 What is the number of subsets of a set with elements that contain a given element?


2.23 What is the number of integers with (a) at most decimal digits; (b) exactly digits?


2.24 How many bits (binary digits) does have when written in base ?


2.25 Find a formula for the number of digits of .


2.26 Draw a tree illustrating the way we counted the number of strings of length 2 formed from the characters a, b and c, and explain how it gives the answer. Do the same for the more general problem when , , , .


2.27 In a sport shop, there are T-shirts of 5 different colors, shorts of 4 different colors, and socks of 3 different colors. How many different uniforms can you compose from these items?


2.28 On a ticket for a soccer sweepstake, you have to guess 1, 2, or X for each of 13 games. How many different ways can you fill out the ticket?


2.29 We roll a dice twice; how many different outcomes can we have (a 1 followed by a 4 is different from a 4 followed by a 1)?


2.30 We have 20 different presents that we want to distribute to 12 children. It is not required that every child gets something; it could even happen that we give all the presents to the same child. In how many ways can we distribute the presents?


2.31 We have 20 kinds of presents; this time, we have a large supply from each. We want to give presents to 12 children. Again, it is not required that every child gets something; but no child can get two copies of the same present. In how many ways can we give presents?


2.32 boys and girls go out to dance. In how many ways can they all dance simultaneously? (We assume that only couples of different sex dance with each other.)


2.33 (a) Draw a tree for Alice’s solution of enumerating the number of ways 6 people can play chess, and explain Alice’s argument using the tree. (b) Solve the problem for 8 people. Can you give a general formula for people?


2.34 (a) Which is larger, or ? (b) Which is larger, or ?


2.35 (a) Prove that if is large enough. (b) Use (a) to prove that becomes arbitrarily large if is large enough.

Prev: introduction Next: induction