2.1 Introduction
We will learn how to link pairs of objects from two sets and then introduce relations between the two objects in the pair. Finally, we will learn about special relations which will qualify to be functions.
Suppose A is a set of two colours, red and blue, and B a set of three objects, a bag, a coat and a shirt. There will be six distinct pairs of coloured objects.
An ordered pair of elements taken from any two sets P and Q is a pair of elements written in small brackets and grouped together in a particular order.
Given two non-empty sets P and Q, the cartesian product P cross Q is the set of all ordered pairs of elements from P and Q.
If A cross B is given, then A is the set of first elements of its ordered pairs, and B is the set of second elements.