Relations and Functions

In this section we will cover the basics of relations. A relation is essentially a set where every element is an ordered pair, called a key-value pair. From this we will cover a very importnat type of relation called a function.