The letters of the word "UDAYPUR" are written in all possible ways with or without meaning and these words are arranged as in a dictionary. The rank of the word "UDAYPUR" is
- Option A:
- Option B:
- Option C:
- Option D:
Solution
Core idea. The rank is the number of words before the given word, plus one.
Concept refresher. The number of arrangements of letters in which one letter occurs times and the rest are different is
Here counts the distinct arrangements, and the formula holds when the other letters are all different. The rank of a word in dictionary order is one more than the number of arrangements that come before it. These are counted position by position: for each position, count the arrangements that agree with the word so far and have a smaller letter in that position.
Approach. Arrange the letters alphabetically, then go through UDAYPUR position by position, counting the words with a smaller letter at that position, and add 1 at the end.
Step 1: Order the letters
The letters of UDAYPUR are , with twice. In alphabetical order:
Step 2: First letter U
Words starting with , , or come first. For each, the other six letters include both 's:
Step 3: Second letter D
After , the letters left are , all different. Only is smaller than :
Step 4: Third and fourth letters
After , the letters left are ; the third letter is the smallest, so nothing is added. After , the letters left are ; three of them are smaller than :
Step 5: Last letters and the rank
After , the letters left are ; the fifth letter is the smallest. After , the letters left are ; is smaller than , giving the one word UDAYPRU. The words before UDAYPUR number
so the rank of UDAYPUR is .
Answer. (C)
Sanity check. The total number of words is , and words starting with occupy ranks to ; the rank falls inside this block, as it must.
Why the other options are wrong
- (A) There are words before UDAYPUR; the word itself comes next, so its rank is .
- (B) Missing the single word UDAYPRU, which comes before UDAYPUR because in the sixth place, gives words before it; the correct count is , and the rank is .
- (D) A rank of would need words before UDAYPUR; the count by first letters is , so counts one word too many.
Key takeaway
The trap. Stopping at , the count of earlier words, without adding the word itself.
How toppers think. They write the alphabetical order once and cross letters out as they fix each position.
Remember. With one letter repeated times among letters, there are arrangements.
More on Permutations
- The number of 4 -letter words, with or without meaning, each consisting of two vowels and two consonants…
- The number of ways, of forming a queue of 4 boys and 3 girls such that all the girls are not together, is:
- Three persons enter in a lift at the ground floor. The lift will go up to 10^th floor. The number of ways…
- All 55 on Permutations ›