QlarIITy

MathematicsJEE Main 2023 · 25 JanuaryInteger

Suppose Anil's mother wants to give 5 whole fruits to Anil from a basket of 7 red apples, 5 white apples and 8 oranges. If in the selected 5 fruits, at least 2 orange, at least one red apple and at least one white apple must be given, then the number of ways, Anil's mother can offer 5 fruits to Anil 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. Minimum conditions leave only a few compositions, each counted separately.

Concept refresher. The number of ways to choose rr objects from nn different objects is

nCr=n!r!(n−r)!{}^nC_r = \dfrac{n!}{r!(n - r)!}

Independent choices multiply and separate cases add.

Picture the situation. The fruits in the basket are treated as different from one another, so a selection is a choice of particular fruits. At least 2 oranges, 1 red apple and 1 white apple make 4 fruits, and 5 are given, so there is one extra fruit. It can be an orange, a red apple or a white apple.

Approach. List the three compositions, count each with combinations, and add.

  1. Step 1: The compositions

    With oranges, red apples and white apples in that order, the possible compositions are 3, 1, 1 or 2, 2, 1 or 2, 1, 2.

  2. Step 2: Count

    These give 8C3×7×5=1960{}^8C_3 \times 7 \times 5 = 1960, 8C2×7C2×5=2940{}^8C_2 \times {}^7C_2 \times 5 = 2940 and 8C2×7×5C2=1960{}^8C_2 \times 7 \times {}^5C_2 = 1960 ways. The total is 1960+2940+1960=68601960 + 2940 + 1960 = 6860.

Answer. 6860

Sanity check. With 8C3=56{}^8C_3 = 56 and 8C2=28{}^8C_2 = 28, the three products are 56×3556 \times 35, 28×10528 \times 105 and 28×7028 \times 70.

Common wrong answers

  • 4900: Missing the composition with 3 oranges gives 4900.
  • 15680: Choosing the required 4 fruits in 28×7×5=98028 \times 7 \times 5 = 980 ways and then any 1 of the remaining 16 gives 15680, which counts selections more than once.

Key takeaway

The trap. Picking the minimum first and then extras counts the same selection repeatedly.

How toppers think. They compare the sum of the minimums with the total to find the cases.

Remember. nCr=n!r!(n−r)!{}^nC_r = \dfrac{n!}{r!(n - r)!}

More on Combinations