The Philosophy of Selection
Imagine you are a director casting a play. You have a set S={1,2,3,4,5,6,7,8,9}. Your goal is to form a 9-digit number.
For x, the condition is that exactly one digit repeats twice. This means we have a 'VIP' digit. First, we must choose this VIP from our set of 9, which can be done in (19) ways.
Now, we have used up 2 of our 9 slots. We need 7 more digits to fill the remaining slots, and they must be distinct. We have 8 digits left in our set, so we choose 7 of them: (78).
The number of ways to arrange these 9 items, where 2 are identical, is given by the permutation formula:
This simplifies beautifully to:
The Complexity of y
Now, let us elevate the challenge. For y, we have two pairs of repeating digits. We are casting two VIPs.
We choose 2 digits from our set of 9 to be our repeating pairs: (29) ways. These two pairs occupy 4 slots. We still need 5 more digits to fill the remaining 5 slots.
We have 7 digits left in our set, so we choose 5: (57). Now, we have 9 digits to arrange: two pairs and five unique ones. The arrangement count is 2!2!9!.
Multiplying these, we get:
This simplifies to:
The Grand Finale
We have our values for x and y. The beauty of this problem lies in the ratio. When we calculate yx, the 9! terms cancel out entirely.
We are left with:
Dividing both the numerator and the denominator by 9, we get:
Cross-multiplying gives us the final relationship:
21x=4y
By keeping the factorials intact until the very end, we avoided messy arithmetic and let the structure of the problem reveal the answer. Remember, in JEE, the math is not just about calculation; it is about finding the most elegant path to the truth.