Contents / Discrete Mathematics / Sets and Functions

Chapter 2

Sets and Functions

Set operations and the double-inclusion method used throughout; distributive and De Morgan laws by element chasing; inclusion-exclusion for two and three sets; functions, images and preimages; injectivity and surjectivity characterised by left and right inverses; bijections and composition; power sets with the count 2 to the n; and Cantor's theorem proved by the diagonal set.

About the practice questions. They check that you can carry out this chapter's computations correctly, and each one is graded on a single answer. They are not proof exercises: working through them confirms the mechanics, not that you could prove the results yourself. For that, re-read the statements above and try to reconstruct their proofs with the page closed.