Given the sets, $A=\{0,1\}$ and $B=\{12,1,2\pi\}$, define (by listing the ordered pairs):
$a$) A relation from $A$ to $B$ that is not a function.
$b$) A relation from $A$ to $B$ that is a function.
I was thinking for $b$ that since $A\times B$ is $A$ going to $B$, then I need to write something like:
x y
0 1
12 1
which will give $(0*1) -(12*1)= -12$. But I'm not exactly sure that this is right with the right notation.
HINT Write down the definition of a relation that is a function. What must be true for a relation not to be a function?