If number of element in set A = p and number of element in set B = q. Find the total number of relation from A to B.
Number of element in (A × B)
n (A × B) = p × q
Total number of relation = Number of subset of (A ×B)
Total number of relations = 2(p×q)