I've been trying to figure out a way to do this problem:
Let $A = \{-1, 1, 2, 4\}$ and $B = \{1, 2\}$ and define relations $R$ and $S$ on $A \times B$ as $$R = \{(-1, 1)(1,2)(1,2)(2,4)(4,1)(4,4)(2,2)(4,2)\}$$ $$S = \{(1,2),(2,2)\}$$
I found the set $A \times B$, and I know it relates to $R$ and $S$. I just don't understand what they mean by defining a relation. Do they want us to come up with a relation where we get the sets that are in $R$ and $S$? If so, how do we come up with a relation for $R$ and $S$?
A relation on $A$ and $B$ is a subset of $A \times B$.
Each element of $S$ and $R$ pairs, or relates, an element from $A$ and an element from $B$. There is little you can say about them since this concept is very general.