How many one to one functions are there from a set with m elements to one with n elements
Hint: For solving this problem, we first find the number of elements given for set A. The number of one-one functions from A to B is 5040. Let the number of elements in B be n. Now by applying the formula for one-one functions that is ${}^{n}{{P}_{m}}$, we can obtain the number of elements in B.
Complete step-by-step solution - Show
Note: Another possible method to solve this problem can be explained as: Let the first element 4 in A be mapped on n elements of B. Similarly, the second element 8 is mapped on (n -1) elements. Hence, we can write for four elements mapping as: $n\left( n-1 \right)\left( n-2 \right)\left( n-3 \right)=5040$. Putting n as 10, we get the same result. \[\text{Number of one-one functions = }{}^{n}{{P}_{m}}\text{ if n}\ge \text{m}\]…..(1) Number of one-one functions = 0 if n < m…..(2) Complete step-by-step answer: The number of one-one functions = (4)(3)(2)(1) = 24. Note: Here the values of m, n are same but in case they are different then the direction of checking matters. If m > n, then the number of one-one from first set to the second becomes 0. So take care of the direction of checking. Number of functions is an important topic in sets. A relation in which each input has a particular output is called a function. If f is a function from set A to set B, then each element of A will be mapped with only one element in B. In this article, we come across the formula to find the number of functions from given sets and some solved examples. Consider a set X having 6 elements and another set Y having 5 elements. Every element of set X will be mapped to one element in set Y. So each element of X has 5 elements to be chosen from. Hence, the total number of functions will be 5×5×5.. 6 times = 56. Formula For Number Of Functions1. Number of possible functions If a set A has m elements and set B has n elements, then the number of functions possible from A to B is nm. For example, if set A = {3, 4, 5}, B = {a, b}. The total number of possible functions from A to B = 23 = 8 2. Number of Surjective Functions (Onto Functions) If a set A has m elements and set B has n elements, then the number of onto functions from A to B = nm – nC1(n-1)m + nC2(n-2)m – nC3(n-3)m+….- nCn-1 (1)m. Note that this formula is used only if m is greater than or equal to n. For example, in the case of onto function from A to B, all the elements of B should be used. If A has m elements and B has 2 elements, then the number of onto functions is 2m-2. From a set A of m elements to a set B of 2 elements, the total number of functions is 2m. In these functions, 2 functions are not onto (If all elements are mapped to 1st element of B or all elements are mapped to 2nd element of B). So, the number of onto functions is 2m-2. 3. Number of Injective Functions (One to One) If set A has n elements and set B has m elements, m≥n, then the number of injective functions or one to one function is given by m!/(m-n)!. 4. Number of Bijective functions If there is bijection between two sets A and B, then both sets will have the same number of elements. If n(A) = n(B) = m, then number of bijective functions = m!. Solved Examples – Number Of FunctionsExample 1: The number of onto functions from set P = {a, b, c, d} to set Q = {u, v, w} is: (A) 68 (B) 36 (C) 81 (D) 64 Solution: P = {a, b, c, d} Q = {u, v, w} Here n(P) = m = 4 n(Q) = n = 3 The number of onto functions = 34 – 3C1(3-1)4 + 3C2(3-2)4 = 81 – 48 + 3 = 36. Hence, option B is the answer. Example 2: The number of bijective functions from set A to itself when A contains 106 elements is (A) 106 (B) 106! (C) 1062 (D) 2106 Solution: n(A) = m = 106 The number of bijective functions = m! = 106! Hence, option B is the answer. Related video Frequently Asked QuestionsLet set A has p elements and set B has q elements, then the number of functions possible from A to B is qp. If n(A) = n and n(B) = m, m≥n, then the number of injective functions or one to one functions is given by m!/(m-n)!. If n(A) = n(B) = p, then the number of bijective functions = p!. A function is one-to-one if every element of the range of the function corresponds to exactly one element of the domain of the function. |