Search
Relation from A to B is set of ordered pair |A*B| = m*n
Total number of elements in a set is given by its power set P(A) = 2m
So, total number of relations from A to B is the power set of A*B
i.e. P(|A*B|) = 2(m*n)