2. Sets and Relations#

Sets and relations are the most fundamental parts of mathematics . Informally, sets are simply collections of objects. From sets we build every other discrete structure, including, but not limited to, combinations, functions, relations, and graphs.

In this chapter we will explore the much of what sets has to offer. Sets as collections, sets as objects themselves, and relations as sets of pairs.

Much as how propositional and predicate logic has set the framework for the semantics of mathematical language, sets set (no pun intended) the framework for mathematical objects. Both logic and sets are the foundation on which the rest of discrete mathematics is built.