COMP 1002 Unit 8 overview

In this unit we will talk about counting, including combinatorics and cardinalities of infinite sets; we will also look more closely at functions and their types. We will start with general counting rules (rules of sum and product), then talk about counting various permutations and combinations of items. Then we will look at inclusion-exclusion principle, proving it using the binomial theorem. After covering types of functions, we will show how to compare sizes of infinite sets, and talk about uncountable sets and unsolvable problems.

Readings

Combinatorics part of this unit is covered in sections 6.1, 6.3, 6.4 and 6.5 in the textbook. Functions and set cardinalities are in 2.3 and 2.5, and generalized inclusion-exclusion principle in 8.5.

Learning objectives

You will learn to count combinations and permutations of objects, with and without repetition and indistinguishable objects, and compute the number of variants using rules of sum and product. You will see how to use combinations in binomial theorem, to make it easy to open parentheses in $(x+y)^n$, and use recursive definition of combinations by Pascal triangle to compute them. You will also see the inclusion-exclusion principle for counting the number of elements in unions of sets, and its proof using the binomial theorem.

We will then define functions, and talk about functions that are one-to-one, onto and bijections, as well as function composition and inverse. Then, we will use the notion of bijection to talk about sizes of infinite sets, showing that a number of sets have the same cardinality as natural numbers (countable sets), yet other sets are uncountable.

Specifically, you will learn to do the following.

Vocabulary

You need to know the meaning of the following terminology (and respective notation):