Discrete Mathematics / Counting and structure
Sets, Relations and Functions
The vocabulary of modern mathematics: set operations, relations and the three properties functions can have.
Contents 3 sections
By the end you can
- Use union, intersection, complement and Cartesian product
- Recognise equivalence relations
- Classify functions as injective, surjective or bijective
Helps to know: Propositional Logic
§1Sets
A set is a collection with no order and no repeats. contains everything in either, everything in both, what is in but not , and every ordered pair .
§2Functions
| Property | Meaning | Example on ℝ |
|---|---|---|
| Injective | Different inputs give different outputs | |
| Surjective | Every possible output is hit | |
| Bijective | Both: a perfect pairing |
Check yourself
- Q1, , . Then
- Q2Is on all real numbers injective?