QlarIITy

MathematicsJEE Main 2020 · 7 JanuaryInteger

Let X={n∈N:1≤n≤50}X = \{n \in N : 1 \leq n \leq 50\}. If A={n∈X:nA = \{n \in X : n is a multiple of 2}2\} and B={n∈X:nB = \{n \in X : n is a multiple of 7}7\}, then the number of elements in the smallest subset of XX, containing both AA and BB, 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. The smallest set containing two sets is their union.

Concept refresher. For two sets the number of elements in at least one of them is

n(A∪B)=n(A)+n(B)−n(A∩B)n(A \cup B) = n(A) + n(B) - n(A \cap B)

Picture the situation. The set AA holds the multiples of 2 up to 50 and BB the multiples of 7. Any subset containing both must contain every element of each, and the union does exactly that. Elements in both sets are multiples of 14.

Approach. Count the two sets and their overlap and apply the formula for the union.

  1. Step 1: The sets

    Up to 50 there are 25 multiples of 2 and 7 multiples of 7. The common elements are the multiples of 14, namely 14, 28 and 42.

  2. Step 2: The union

    So the union has 25+7−3=2925 + 7 - 3 = 29 elements, and this is the smallest subset containing both sets.

Answer. 29

Sanity check. The multiples of 7 that are odd are 7, 21, 35 and 49, so the union is the 25 even numbers with 4 more, again 29.

Common wrong answers

  • 32: Adding 25 and 7 without removing the 3 common elements gives 32.

Key takeaway

The trap. Elements in both sets must be counted once.

How toppers think. They count the elements of the second set that are not already in the first.

Remember. 25+7−3=2925 + 7 - 3 = 29

More on Set Operations & Venn Diagrams