GATE / CS ARCHIVE

GATE CSE 1993 / QUESTION 8.6

Counting injections

Discrete Mathematics · Sets, Relations & Functions · Full GATE CSE 1993 paper

GATE 1993, Q8.6 2 marks · MSQ
Report issue

Sets, Relations & Functions

Question 8.6, GATE 1993: For finite |A|=m<|B|=n,how many injective functions A→B exist?
Tap to enlarge
Select all that apply
Answer & solution

Answer: B: nP_m=n!/(n−m)! (no official key was published)

Choose distinct images successively for the m domain elements. The first has n choices, the second n−1, and so on through n−m+1. Multiplying yields n!/(n−m)!. A binomial coefficient alone would choose only the image subset and omit the m! bijections assigning its elements to the labeled domain elements. The unrestricted function count nm also permits repeated images, so it does not enforce injectivity. The formula gives one map when m=0, as required.

Original paper, page 9