Question #148101

b) Read Section 2.3.6 (on page 161) of the 8'th edition of Rosen's book on partial functions. Let A and B be finite sets, with |A| = m and |B| = n. Calculate the number of partial functions f: A -> B.

Expert's answer

A partial function f rom AA to BB is a map from XAX \subset A to BB . If XX has kk elements such that 0kn0 \leq k \leq n . So there are nkn^k of such map.

In addition, there will be (mk)\begin{pmatrix} m\\ k \end{pmatrix} subsets of AA. So, the number of partial functions will be;


k=0m(mk)nk=(1+n)m\sum_{k=0}^m\begin{pmatrix} m\\ k \end{pmatrix}n^k=(1+n)^m


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS