Let A and B be sets of 7 elements and 10 elements, respectively. (a) How many different functions possible from A to B? from B to A? (b) How many different relations possible from A to B? (c) How many of the functions from A to B are one-to-one? (d) How many of the functions from B to A are onto?
(a) I am not sure how to approach this question. My guess is that since we could have a function per element and multiple elements and a function for all elements from A to B there could be 7+6+5+4+3+2+1 = 28. From B to A there could be 10+9+8+7+6+5+4+3+2+1.
(b) I think there can be a max of 7 relations
(c) I would also think there are 7 but at this point and beyond.