-1

If A is finite domain, of size m, and B is a finite codomain, of size n.

n,m >= 0 and m < n

How many functions (f: A -> B) are not injective?

Since the size of the codomain is larger than the domain, the number of injective functions is (n choose m) * m!

But how would one determine the number of non-injective functions?

flag
3 
The number of non-injective functions is the number of functions minus the number of injective functions... – Qiaochu Yuan Mar 30 2011 at 21:53

closed as too localized by Qiaochu Yuan, Qfwfq, Andres Caicedo, Martin Brandenburg, Simon Thomas Mar 30 2011 at 22:42

Browse other questions tagged or ask your own question.