331 views
1 votes
1 votes
The number of function from set {1, 2, 3, 4, 5, 6, 7, 8} to set {0, 1} such that assign 1 to exactly one of given number less than 8 are .......................

1 Answer

1 votes
1 votes
Let's assume $1$ in Range is assigned to $2$ in domain. Then we have the requirement for a function that every element in the domain should have an image. So, for $1,3,4,5,6,7,8$ we need images. All the numbers can only be assigned to $0$ since the questions says $1$ is mapped to exactly one element in the domain.

So, for the preimage of $1$ we have $7$ choices and after selecting it we have to assign all remaining elements in domain to $0$. Thus $7$ functions are possible.

Edit: If $8$ is free to choose from $0$ or $1$ then $7$ ways to choose one element from $\{1,2,3,4,5,6,7\}$ and $8$ can map to $0$ or $1$ making the final answer as $7*2 =14$
edited by

Related questions

1 votes
1 votes
1 answer
1
. asked Feb 24, 2017
918 views
The number of functions f from {1,2,...,20} into {1,2,....,20} such that f(k) is a multiple of 3 whenever k is a multiple of 4 is
3 votes
3 votes
2 answers
2
shikharV asked Dec 31, 2015
601 views
Let $A = \left \{1, 2, 3, 4 \right \}$. Number of functions possible on $A$ which are neither $1-1$ nor on-to is _________.
0 votes
0 votes
0 answers
3
Jay Bhutada 1 asked Dec 30, 2018
650 views
How many Boolean functions are possible for 3 variable input function F(x,y,z) such that above condition is satisfied ?$f(a,b,c)=f(\bar{a},b,\bar{c})$
3 votes
3 votes
1 answer
4