edited by
971 views
9 votes
9 votes

Assume an almost injective function is a function in which exactly two element from domain maps to a single element in co-domain, otherwise function is injective. $S$ and $R$ are sets with cardinality $m$ and $n$ respectively. $(m<n)$ and $m\geq 2$. Number of almost injective functions from $S$ to $R$ is _____________.
options

  1. $\frac{n!m(m-1)! } { [2(n-m+1)}$
  2. $\frac{n!m(m-1) } {2(n-m+1)}$
  3. $\frac{m!n(n-1)! }{ [2(n-m+1)!}$
  4. $\frac{( n-m)!}{ 2}$


put m=2 and n=5. we get almost injective functions=5
shudnt it be C?

edited by

2 Answers

Best answer
7 votes
7 votes

Exactly 2 elements in S will point to 1 element in R. Therefore, total combinations=> mC2 * nC

Rest (m-2) elements in S will point to exactly 1 of (n-1) elements in R. So, no of 1:1 functions => (n-1)P(m-2)

Multiplying both results, we get =>

n! m(m-1) / 2* (n-m+1)!

So the answer must be B. There is a typo in that option.

selected by
0 votes
0 votes

According to me, the answer should be n! m(m-1) / 2* (n-m+1)! (m-2)!

as selecting any 2 elements from “m”= mC2  and selecting any element from “n” for its mapping= nC1

so we get mC2 *nC1  ----(1)

now for the remaining “m-2” elements in “m” we can select them from “n-1” for mapping as n-1Cm-2 -----(2)

combining both (1) and (2)

(mC2) (nC1) (n-1Cm-2)  which should be the above one as mentioned. 

Related questions

3 votes
3 votes
1 answer
1
Shashank Chandekar asked Oct 20, 2016
550 views
Given $x,y,z$ are Boolean variables and $f(x,y,z)=f(y',x',z)$. How many such functions are possible with $x, y, z$?$0$$2^2$$2^4$$2^6$
0 votes
0 votes
1 answer
2
Çșȇ ʛấẗẻ asked Jan 18, 2017
461 views
0 votes
0 votes
1 answer
3
1 votes
1 votes
0 answers
4
Vaishnavi01 asked Oct 24, 2018
294 views
In how many ways a team of 11 players be selected from 14 players when two of them can play as goalkeepers only?