PDF chapter test TRY NOW

Let A = \{1,2,3,7\} and B = \{3,0,-1,7\}, which of the following are relation from A to B?
 
(i) R_1 = \{(2,1), (7,1)\}
 
(ii) R_2 = \{(-1,1)\}
 
(iii) R_3 = \{(2,-1), (7,7), (1,3)\}
 
(iv) R_4 = \{(7,-1), (0,3), (3,3), (0,7)\}