QlarIITy

MathematicsJEE Advanced 2018 · Paper 2Numerical

Let XX be a set with exactly 5 elements and YY be a set with exactly 7 elements. If α\alpha is the number of one-one functions from XX to YY and β\beta is the number of onto functions from YY to XX, then the value of 15!(β−α)\dfrac{1}{5!}(\beta-\alpha) is _____.

Try it before you look.The full solution is on this page, below the answer box, the moment you check. No sign-in needed.

Solution

Core idea. An onto function is an unlabelled partition into nonempty fibres followed by an assignment of target labels.

Concept refresher. A function is one-one if distinct inputs have distinct images. It is onto if every element of the stated codomain has at least one preimage. These conditions depend on the direction of the map and the sizes of domain and codomain.

For a domain of size mm and codomain of size nn, the number of one-one maps, when m≤nm\leq n, is

n!(n−m)!\frac{n!}{(n-m)!}

An onto map can instead be described by its fibres: the subsets of inputs sent to each target. The fibres must be disjoint, nonempty and cover the entire domain. First partition the inputs into unlabelled nonempty groups, then assign the distinct target labels to those groups. For a codomain with nn elements this final labelling has n!n! possibilities. Equal group sizes do not make equal groups: their actual member elements still distinguish them.

Picture the situation. For the one-one count, five inputs choose different images among seven possible targets. For the onto count, the direction reverses: seven inputs must fill five target fibres. Placing one input in each nonempty fibre uses five inputs, leaving two extra inputs.

The teaching map shows the only two fibre-size patterns for the onto part. Its dots represent distinct domain elements schematically; their identities are chosen by the combinatorial counts, not fixed by the picture. The source prints no figure.

After dividing by five factorial, the injection count is twenty-one. Onto partitions have either one triple and four singleton groups, thirty-five ways, or two unordered pairs and three singleton groups, one hundred and five ways. The normalized difference is one hundred and forty minus twenty-one, equal to one hundred and nineteen.

Approach. Calculate the injection count and divide it by the factorial in the question. For the onto part, divide by that factorial first, so the target labels disappear and only unlabelled partitions need counting. Classify those partitions by how the two extra inputs are distributed. Finally subtract the two normalized counts.

  1. Step 1: Count the one-one maps in the correct direction

    The five inputs of XX have seven, six, five, four and three choices successively, since images cannot repeat. Thus

    α=7×6×5×4×3=2520\alpha=7\times6\times5\times4\times3=2520

    Equivalently, choose five images in the seven-element target set and permute them among the five distinct inputs. After division by the specified factorial,

    α5!=7C5=21\frac{\alpha}{5!}={}^{7}C_{5}=21

    The direction matters. A one-one map from a seven-element set into a five-element set would be impossible, but that is not the map counted by the source's first quantity.

  2. Step 2: Interpret the normalized onto count

    The onto maps go from YY to XX: seven distinct inputs must be split into five nonempty fibres. Each partition into five unlabelled fibres becomes an onto map in exactly five factorial ways by assigning the five target elements to the fibres. Therefore

    β5!=unlabelled partition count\frac{\beta}{5!}=\text{unlabelled partition count}

    The fibre sizes are positive integers adding to seven. Relative to one element per fibre there are only two extras. They either both join one fibre or join two separate fibres. The only size patterns are

    3+1+1+1+13+1+1+1+1

    and

    2+2+1+1+12+2+1+1+1

    For the first pattern, choose the three elements of the triple. All remaining elements are singleton fibres, so the number of unlabelled partitions is

    N3=7C3=35N_3={}^{7}C_{3}=35

    There is no additional permutation of the singleton fibres at this stage: the groups are unlabelled. All assignments to the five target elements will be accounted for by the same factorial factor already removed.

  3. Step 3: Count the two-pair pattern without duplication

    Choose one pair from seven elements and another from the five remaining elements. This gives ordered choices of the two pairs. Interchanging which pair was selected first leaves the same partition into fibres. Divide by two:

    N22=7C25C22=21×102=105N_{22}=\frac{{}^{7}C_{2}{}^{5}C_{2}}{2}=\frac{21\times10}{2}=105

    The three remaining elements form singleton fibres automatically. There is no other pattern: a fibre of size four would already use three extra elements, while only two extras exist. The two counted classes are disjoint and exhaustive. Hence

    β5!=35+105=140\frac{\beta}{5!}=35+105=140

    This is a count of partitions, not yet the requested difference. Restoring the target labels would give

    β=140×120=16800\beta=140\times120=16800
  4. Step 4: Form the requested difference

    Subtract the normalized injection count from the normalized onto count:

    β−α5!=140−21=119\frac{\beta-\alpha}{5!}=140-21=119

    Thus the numerical answer is

Answer. 119.00119.00

Sanity check. Using the unnormalized counts gives the same result:

16800−2520120=119\frac{16800-2520}{120}=119

For a separate check on the onto count, start with all assignments of seven inputs to five labelled targets, then use inclusion and exclusion to remove assignments missing one or more targets:

β=57−5⋅47+10⋅37−10⋅27+5\beta=5^7-5\cdot4^7+10\cdot3^7-10\cdot2^7+5

Numerically these terms are

78125−81920+21870−1280+5=1680078125-81920+21870-1280+5=16800

This matches the fibre count. The onto number is smaller than all possible assignments, and both counts used in the final difference are positive. Each partition has exactly five factorial labellings even when some fibres have equal sizes, because disjoint nonempty fibres are different subsets and the five target labels are distinct.

Smart method. Normalize first. The injection count divided by five factorial is simply the number of five-element image subsets among seven targets. The onto count divided by five factorial is the number of partitions of seven inputs into five fibres. Count one triple or two unordered pairs, giving thirty-five plus one hundred and five, then subtract twenty-one. This avoids writing large factorials, but it does not remove the need to justify why pair order is irrelevant and why the target labels contribute the same factorial.

Common wrong answers

  • 140: Reporting 140 correctly counts β/5!=35+105=140\beta/5!=35+105=140 but omits the subtraction of α/5!=21\alpha/5!=21. The source asks for the difference, not just the normalized onto count.
  • 224: Reporting 224 counts the two pairs in order, using 7C25C2=210{}^{7}C_{2}{}^{5}C_{2}=210 instead of 105. That gives 35+210−21=22435+210-21=224. Each partition has two indistinguishable choices for which pair was chosen first, so divide that term by two.
  • 139: Reporting 139 uses α=5!\alpha=5! and therefore subtracts only one from 140. That fixes one five-element image subset and forgets the 7C5=21{}^{7}C_{5}=21 ways of choosing that subset in the seven-element codomain. The normalized injection count is 21, not one.

Key takeaway

The trap. Counting two equal-sized fibres in order, reversing domain and codomain, or forgetting the final subtraction.

How toppers think. They use the factorial already present in the question to remove labels before counting.

Remember. Count the member subsets first; label their target values only once.

More on Types of Functions