QlarIITy

MathematicsJEE Main 2023 · 6 AprilSingle correct

All the letters of the word PUBLIC are written in all possible orders and these words are written as in a dictionary with serial numbers. Then the serial number of the word PUBLIC is

  1. Option A: 576
  2. Option B: 578
  3. Option C: 580
  4. Option D: 582
Try it before you look.The full solution is on this page, below the options, the moment you check. No sign-in needed.

Solution

Core idea. The rank of a word is one more than the number of words before it.

Concept refresher. In dictionary order, the words that begin with a smaller letter come first. With nn different letters left to arrange, each choice of the next letter starts a block of

B=(n−1)!B = (n - 1)!

words.

Picture the situation. In alphabetical order the letters are B, C, I, L, P, U. A dictionary lists first every word that starts with a smaller letter than the given word, then, among words with the same first letter, those with a smaller second letter, and so on. So the words before PUBLIC are counted one letter at a time.

Approach. Count the words that come before the given word, letter by letter, and add one.

  1. Step 1: Before the first letter

    In alphabetical order the letters are B, C, I, L, P, U. The four letters before P each start 5!=1205! = 120 words, giving 480.

  2. Step 2: The later letters

    After P, the letters B, C, I, L are smaller than U: 4×4!=964 \times 4! = 96 words. After PU nothing is smaller than B. After PUB, C and I are smaller than L: 2×2!=42 \times 2! = 4. After PUBL, C is smaller than I: 1 word.

  3. Step 3: The rank

    So 480+96+4+1=581480 + 96 + 4 + 1 = 581 words come before PUBLIC, and its serial number is 582.

Answer. (D) 582

Sanity check. The block of words starting with PUB runs PUBCIL, PUBCLI, PUBICL, PUBILC, PUBLCI, PUBLIC, from 577 to 582, which puts PUBLIC last in it.

Why the other options are wrong

  • (A) The value 576 counts only the words before the block PUB; five words of that block also come before.
  • (B) The rank 578 belongs to PUBCLI, the second word of the block PUB.
  • (C) The rank 580 belongs to PUBILC, the fourth word of the block PUB.

Key takeaway

The trap. The word itself is not among the words counted before it.

How toppers think. They write the letters in alphabetical order before counting anything.

Remember. Rank: words before, plus one.

More on Permutations