QlarIITy

MathematicsJEE Main 2019 · 11 JanuarySingle correct

Let S={1,2,…,20}S = \{1, 2, \ldots, 20\}. A subset BB of SS is said to be "nice", if the sum of the elements of BB is 203. Than the probability that a randomly chosen subset of SS is "nice" is :

  1. Option A: 7220\frac{7}{2^{20}}
  2. Option B: 5220\frac{5}{2^{20}}
  3. Option C: 4220\frac{4}{2^{20}}
  4. Option D: None of the above
Try it before you look.The full solution is on this page, below the options, the moment you check. No sign-in needed.

Solution

Core idea. A subset with a sum near the total is best described by the few elements it leaves out.

Concept refresher. The sum of the first nn natural numbers is

S=n(n+1)2S = \dfrac{n(n + 1)}{2}

and a subset and its complement have sums that add up to SS.

Picture the situation. The numbers 1 to 20 add to 210, which is 7 more than 203. So a subset is nice exactly when its complement has sum 7. Subsets with sum 7 are few and can be listed.

Approach. List the subsets whose sum is the shortfall from the total and divide by the number of subsets.

  1. Step 1: The complement

    The total is 20×212=210\dfrac{20 \times 21}{2} = 210, so the elements left out of a nice subset add to 210−203=7210 - 203 = 7.

  2. Step 2: The count

    The sets of different numbers with sum 7 are {7}\{7\}, {1,6}\{1, 6\}, {2,5}\{2, 5\}, {3,4}\{3, 4\} and {1,2,4}\{1, 2, 4\}, which is 5 sets. There are 2202^{20} subsets in all, so the probability is 5220\dfrac{5}{2^{20}}.

Answer. (B) 5220\dfrac{5}{2^{20}}

Sanity check. Three different numbers add to at least 1+2+3=61 + 2 + 3 = 6, so {1,2,4}\{1, 2, 4\} is the only set of three, and four numbers add to at least 10.

Why the other options are wrong

  • (A) The value 7220\dfrac{7}{2^{20}} would need 7 sets with sum 7; only 5 exist.
  • (C) The value 4220\dfrac{4}{2^{20}} misses one of the 5 sets, for example {1,2,4}\{1, 2, 4\}.
  • (D) One of the listed values is correct, namely 5220\dfrac{5}{2^{20}}, so this choice does not apply.

Key takeaway

The trap. A set of three small numbers can also make up the shortfall.

How toppers think. They compute the total first and work with the complement.

Remember. 210−203=7210 - 203 = 7

More on Sample Space & Events