JEE Challenger
More from Permutations and Combinations

Number of One to One and Onto Functions Between Finite Sets

Let XX denote a set with exactly 5 elements and YY denote a set with exactly 7 elements. Suppose α\alpha is the number of one-one functions from XX to YY, and β\beta is the number of onto functions mapping YY to XX. Calculate the value of 15!(β−α)\frac{1}{5!} (\beta - \alpha)

Official Numerical Answer119

Step-by-Step Solution

To find the required value of 15!(β−α)\frac{1}{5!} (\beta - \alpha), we evaluate the values of α\alpha and β\beta individually.

Step 1: Calculate α\alpha

α\alpha is defined as the number of one-one (injective) functions from set XX to set YY, where ∣X∣=5|X| = 5 and ∣Y∣=7|Y| = 7.

The number of one-one functions from a set with 55 elements to a set with 77 elements is given by the permutation 7P5{^7P_5}: α=7P5=7!(7−5)!=7×6×5×4×3=2520\alpha = {^7P_5} = \frac{7!}{(7-5)!} = 7 \times 6 \times 5 \times 4 \times 3 = 2520

Dividing α\alpha by 5!5!, we get: α5!=7P55!=7C5=7×62×1=21\frac{\alpha}{5!} = \frac{^7P_5}{5!} = {^7C_5} = \frac{7 \times 6}{2 \times 1} = 21


Step 2: Calculate β\beta

β\beta is defined as the number of onto (surjective) functions mapping set YY to set XX, where ∣Y∣=7|Y| = 7 and ∣X∣=5|X| = 5.

The number of onto functions from a set of size nn to a set of size kk is given by k!⋅S(n,k)k! \cdot S(n, k), where S(n,k)S(n, k) is the Stirling number of the second kind, representing the number of ways to partition nn distinct elements into kk non-empty sets.

Here, n=7n = 7 and k=5k = 5. The partitions of 77 elements into 55 non-empty groups can occur in two possible patterns:

  1. Partition of type (3,1,1,1,1)(3, 1, 1, 1, 1): Number of ways=(73)=7×6×53×2×1=35\text{Number of ways} = \binom{7}{3} = \frac{7 \times 6 \times 5}{3 \times 2 \times 1} = 35

  2. Partition of type (2,2,1,1,1)(2, 2, 1, 1, 1): Number of ways=12!(72)(52)=12×21×10=105\text{Number of ways} = \frac{1}{2!} \binom{7}{2} \binom{5}{2} = \frac{1}{2} \times 21 \times 10 = 105

Summing both partition types gives the total Stirling number of the second kind S(7,5)S(7, 5): S(7,5)=35+105=140S(7, 5) = 35 + 105 = 140

Therefore, the total number of onto functions β\beta is: β=5!⋅S(7,5)=5!×140\beta = 5! \cdot S(7, 5) = 5! \times 140

Dividing β\beta by 5!5!, we get: β5!=140\frac{\beta}{5!} = 140


Step 3: Compute 15!(β−α)\frac{1}{5!} (\beta - \alpha)

Substitute the values derived above: 15!(β−α)=β5!−α5!=140−21=119\frac{1}{5!} (\beta - \alpha) = \frac{\beta}{5!} - \frac{\alpha}{5!} = 140 - 21 = 119

The final value is 119.