Skip to main content

Combinations MCQ: A is a set containing n_1 elements and B is…

JEE · Mathematics · Combinations

1 Medium +4 | -1 Application
AA is a set containing n1n_{1} elements and BB is another set containing n2n_{2} elements. The number of non-decreasing functions from A→BA \rightarrow B is
View answer and explanation
Correct option: A
n1+n2−1Cn1{ }^{n_{1}+n_{2}-1} C_{n_{1}}
Option A (n1+n2−1Cn1{}^{n_{1}+n_{2}-1} C_{n_{1}}) is correct because it represents the number of non-decreasing functions from A to B using stars and bars.
Solution approach
  1. Correct Answer + Core Reason: n1+n2−1Cn1{}^{n_{1}+n_{2}-1} C_{n_{1}}. The number of non-decreasing functions is equivalent to the number of non-negative integer solutions of an equation.

    Step-by-Step Solution:

    Step 1: Let A=a1,a2,...,an1A = \\{a_1, a_2, ..., a_{n_1}\\} and B=b1,b2,...,bn2B = \\{b_1, b_2, ..., b_{n_2}\\}.

    Step 2: A non-decreasing function f:A→Bf: A \rightarrow B means that f(a1)≤f(a2)≤...≤f(an1)f(a_1) \leq f(a_2) \leq ... \leq f(a_{n_1}).

    Step 3: Let xix_i be the number of elements in A that map to bib_i in B. Then x1+x2+...+xn2=n1x_1 + x_2 + ... + x_{n_2} = n_1, where xi≥0x_i \geq 0.

    Step 4: The number of non-negative integer solutions to this equation is given by the stars and bars method: n1+n2−1Cn2−1=n1+n2−1Cn1{}^{n_1 + n_2 - 1}C_{n_2 - 1} = {}^{n_1 + n_2 - 1}C_{n_1}.

    Why other options are wrong:
    - **Option B (n1+n2−1Cn2{}^{n_{1}+n_{2}-1} C_{n_{2}}): This is incorrect because it doesn't represent the correct application of stars and bars in this context.
    -
    Option C (n1Cn2{}^{n_{1}} C_{n_{2}}): This is incorrect because it is a simple combination and doesn't account for non-decreasing functions.
    -
    Option D (n2Cn1{}^{n_{2}} C_{n_{1}}): This is incorrect because it is a simple combination and doesn't account for non-decreasing functions.

    Key Concepts:
    - Combinatorics
    - Functions
    - Non-decreasing functions
    - Stars and Bars method

    Memory Aids:**
    - The number of non-negative integer solutions to x1+x2+...+xn=rx_1 + x_2 + ... + x_n = r is n+r−1Cr{}^{n+r-1}C_{r}.

    Quick Tips:
    - Recognize that non-decreasing functions can be represented as non-negative integer solutions to an equation.
    - Apply the stars and bars method correctly.

More Questions from Combinations

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.