Q10 of 194 JEE Main 2019 (11 Jan Shift 2) The number of functions f from {1,2,3,...,20} onto {1,2,3,...,20} such that f(k) is a multiple of 3, whenever k is a multiple of 4 is: A 6^5 x (15)! B 5! x 6! c (15)! x 6! D 5^6 x 15
Detailed Explanation
✍️ Key Concepts To Crack The Problem
-
Onto Function with Equal Sizes ⇒ Bijection
If a function is onto (surjective) and , then is automatically one-to-one as well.
Hence the function is just a permutation of the 20 elements. -
Restricted Positions
The domain elements that are multiples of 4 are (5 of them).
Their images must come from the set of multiples of 3 in the codomain: (6 of them). -
Counting a Bijection with Restrictions
• Step 1: Choose an injective (no-repeats) assignment from the 5 restricted domain elements to the 6 allowed codomain elements.
• Step 2: After removing those 5 chosen images, the remaining 15 domain elements must match up bijectively with the remaining 15 codomain elements. -
Permutations Not Combinations
Because the exact which-goes-where matters, we count ordered choices (permutations), not just subsets.
Simple Explanation (ELI5)
🧒 Imagine a Game of Matching Boxes and Toys
-
20 Boxes & 20 Toys
Think of 20 numbered boxes (1 to 20) and 20 different toys also numbered 1 to 20. -
Special Rule
The boxes numbered 4, 8, 12, 16, 20 are special.
For these special boxes you are only allowed to put in a toy whose number is a multiple of 3 (3, 6, 9, 12, 15, 18). -
Onto = Everyone Gets Chosen
The word "onto" just means every toy must land in exactly one box.
Because we have the same number of boxes and toys (20 each), this forces a perfect one-to-one matching (mathematicians call it a permutation). -
How Many Ways?
• First choose which 5 of the 6 special toys go into the 5 special boxes.
• Then arrange the rest of the toys in the remaining 15 ordinary boxes any way you like.
That counting gives the final answer!
Step-by-Step Solution
Step-by-Step Solution
-
Identify Special Domain Elements
-
Allowed Images for S
-
Onto ⇒ Bijection
Because domain and codomain both contain 20 elements, an onto function is a permutation of the set . -
Assign Images to Special Elements
We need an injective mapping from 5 elements of to 6 elements of .
Number of ways: -
Assign Remaining Images
After fixing those 5 images, we have 15 domain elements left and 15 codomain elements left.
They can be matched in ways (a permutation of 15 items). -
Total Count
-
Choose the Correct Option
Option C matches .
Final Answer: (15)! × 6!
Examples
Example 1
Seating 20 guests in 20 chairs with the rule that the 5 VIP chairs must seat only guests from a 6-person royal family.
Example 2
Labeling 20 network computers uniquely where 5 specific IP addresses (multiples of 4) must be assigned from a pool of 6 secure servers (multiples of 3).
Example 3
Arranging 20 trophies into 20 lockers, but the 5 bottom lockers (4,8,12,16,20) can only hold trophies engraved with multiples of 3.