QlarIITy

MathematicsJEE Main 2022 · 26 JulyInteger

LetA={1,2,3,4,5,6,7}A = \{1, 2, 3, 4, 5, 6, 7\}and B={3,6,7,9}B = \{3, 6, 7, 9\}. Then the number of elements in the set {C⊆A:C∩B≠ϕ}\{C \subseteq A : C \cap B \neq \phi\} 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. Subsets with at least one of some elements are counted through the subsets with none of them.

Concept refresher. A set of nn elements has

N=2nN = 2^n

subsets, and those that avoid kk given elements number 2n−k2^{n-k}.

Picture the situation. The elements of BB that lie in AA are 3, 6 and 7; the element 9 is not in AA and plays no part. A subset CC of AA meets BB when it contains at least one of 3, 6, 7. It is easier to count the subsets that contain none of them.

Approach. Subtract the subsets that avoid the common elements from all subsets.

  1. Step 1: The complement

    A subset of AA that contains none of 3, 6, 7 is a subset of {1,2,4,5}\{1, 2, 4, 5\}, and there are 24=162^4 = 16 of these.

  2. Step 2: The count

    All subsets of AA number 27=1282^7 = 128, so the subsets that meet BB number 128−16=112128 - 16 = 112.

Answer. 112

Sanity check. Each of 1, 2, 4, 5 is free, and the elements 3, 6, 7 can be chosen in 23−1=72^3 - 1 = 7 ways with at least one present: 16×7=11216 \times 7 = 112.

Common wrong answers

  • 120: Using all four elements of BB gives 27−23=1202^7 - 2^3 = 120; the element 9 is not in AA.

Key takeaway

The trap. Only the elements that lie in both sets matter.

How toppers think. They intersect the two sets first.

Remember. 27−24=1122^7 - 2^4 = 112

More on Set Operations & Venn Diagrams