QlarIITy

MathematicsJEE Main 2023 · 24 JanuaryInteger

A boy needs to select five courses from 12 available courses, out of which 5 courses are language courses. If he can choose at most two language courses, then the number of ways he can choose five courses 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. At most means every case from none up to the limit.

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. Of the 12 courses, 5 are language courses and 7 are not. Five courses are chosen with no more than two language courses among them. So the choice has 0, 1 or 2 language courses and correspondingly 5, 4 or 3 of the other courses.

Approach. Split by the number of language courses, count each case, and add.

  1. Step 1: The cases

    With no language course there are 7C5=21{}^7C_5 = 21 ways; with one, 5C1×7C4=175{}^5C_1 \times {}^7C_4 = 175; with two, 5C2×7C3=350{}^5C_2 \times {}^7C_3 = 350.

  2. Step 2: The total

    The cases are distinct, so the number of ways is 21+175+350=54621 + 175 + 350 = 546.

Answer. 546

Sanity check. By complement: all choices number 12C5=792{}^{12}C_5 = 792, and those with three, four or five language courses number 210+35+1=246210 + 35 + 1 = 246, leaving 546.

Common wrong answers

  • 350: Counting only the case of exactly two language courses gives 350.
  • 582: Removing only the case of three language courses from all choices gives 792−210=582792 - 210 = 582.

Key takeaway

The trap. The case with none of the limited kind is easily forgotten.

How toppers think. They check the total against the complement.

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

More on Combinations