Skip to main content

Permutations MCQ: The number of mappings (functions) from the set A…

JEE · Mathematics · Permutations

1 Easy +4 | -1 Application
The number of mappings (functions) from the set A={1,  2,  3}A = \left\{ {1,\;2,\;3} \right\} into the set B={1,  2,  3,  4,  5,  6,  7}B = \left\{ {1,\;2,\;3,\;4,\;5,\;6,\;7} \right\} such that f(i)≤f(j)f\left( i \right) \le f\left( j \right) whenever i<ji < j, is
View answer and explanation
Correct option: A
84
Option A (84) is correct because it represents the number of non-decreasing functions from A to B, calculated by stars and bars method or combinations with repetition.
Solution approach
  1. Correct Answer + Core Reason: 84. The number of mappings is calculated by finding the number of non-decreasing functions from A to B.

    Step-by-Step Solution:

    Step 1: We want to find the number of functions f:A→Bf: A \rightarrow B such that f(i)≤f(j)f(i) \le f(j) whenever i<ji < j, where A=1,2,3A = \\{1, 2, 3\\} and B=1,2,3,4,5,6,7B = \\{1, 2, 3, 4, 5, 6, 7\\}.

    Step 2: This is equivalent to finding the number of non-decreasing sequences of length 3 with elements from B.

    Step 3: Let yi=f(i)y_i = f(i). Then we want to find the number of solutions to 1≤y1≤y2≤y3≤71 \le y_1 \le y_2 \le y_3 \le 7.

    Step 4: Let z1=y1−1z_1 = y_1 - 1, z2=y2−y1z_2 = y_2 - y_1, z3=y3−y2z_3 = y_3 - y_2, and z4=7−y3z_4 = 7 - y_3. Then zi≥0z_i \ge 0 and z1+z2+z3+z4=7−1=6z_1 + z_2 + z_3 + z_4 = 7 - 1 = 6.

    Step 5: The number of non-negative integer solutions to z1+z2+z3+z4=6z_1 + z_2 + z_3 + z_4 = 6 is given by 6+4−1C4−1=9C3{^{6 + 4 - 1}}{C_{4 - 1}} = {^9}{C_3}.

    Step 6: Calculate 9C3=9!3!6!=9×8×73×2×1=3×4×7=84{^9}{C_3} = \frac{{9!}}{{3!6!}} = \frac{{9 \times 8 \times 7}}{{3 \times 2 \times 1}} = 3 \times 4 \times 7 = 84.

    Step 7: Final Answer: 84

    Why other options are wrong:
    - Option B (90): This is incorrect. It likely involves an incorrect application of combinations or permutations.
    - Option C (88): This is incorrect. It likely involves an incorrect application of combinations or permutations.
    - Option D (None of these): This is incorrect since 84 is a valid answer.

    Key Concepts:
    - Combinations with repetition
    - Non-decreasing functions
    - Stars and bars method

    Memory Aids:
    - Remember the stars and bars formula: n+k−1Ck−1{^{n + k - 1}}{C_{k - 1}}

    Quick Tips:
    - Convert the problem into a stars and bars problem.

More Questions from Permutations

Practice all chapter MCQs →
Type at least 2 characters or jump directly:

Save your learning progress

Sign in with a free account to save your practice answers and quiz results, then return to them when you revise.

Scan to install TopAll Pro

Point your Android or iPhone camera at this code to open TopAll Pro. Try 2 chapters and 25 AI credits free first.

Question image

Use + and − to zoom, arrow keys or drag to pan, Escape to close.