An Initiative by SAARTHI IAS
Maarg Manthan · Topic 8.2

Finding the Rank of a Word as It Would Appear in a Dictionary

Reasoning › Alphabet and Word-Based Test · Topic 8.2

The rank of a word in a dictionary is its position among all arrangements of its letters listed alphabetically. To find it, go letter by letter: for each position count the smaller unused letters, multiply by the factorial of the letters still to place, add these values, and add 1 at the end.

Share:
Finding the Rank of a Word as It Would Appear in a Dictionary - Reasoning - MaargX UPSC Maarg Manthan

Quick Answer

The rank of a word in a dictionary is its position among all arrangements of its letters listed alphabetically. To find it, go letter by letter: for each position count the smaller unused letters, multiply by the factorial of the letters still to place, add these values, and add 1 at the end.

At a Glance

  • Method Count words that come before it, then add 1
  • For each position Smaller unused letters x factorial of letters left
  • Total arrangements (distinct) n!
  • Total arrangements (repeats) n! / (p! q! …)
  • Rank of the first word 1
  • Rank of the last word Total number of arrangements

Where Does It Fit?

This topic follows Arranging Words in Dictionary/Alphabetical Order, which sorts words, and uses the factorial idea behind counting letter arrangements in Number of Meaningful Words Formable from the Letters of a Given Word. The next topic, Formation of Words from Given Letters and Finding Meaningful Words, forms words from a set of letters.

How Do You Find the Rank of a Word With Distinct Letters?

In short: rank = (words that come before it) + 1. Count those words one position at a time, using smaller letters and factorials.

Position-by-position rule

  • At each position, count the unused letters that are smaller than the letter in the word.
  • Multiply that count by (number of letters still to place after this position)!.
  • Add the results, then add 1.
Word Working Rank
CAT C: 1 smaller (A) x 2! = 2; A: 0; T: 0. Sum 2, plus 1 3
BANK B: 1 (A) x 3! = 6; A: 0; N: 1 (K) x 1! = 1; sum 7, plus 1 8
DELHI D: 0; E: 0; L: 2 (H, I) x 2! = 4; H: 0; I: 0. Sum 4, plus 1 5

Write the sorted letters first so smaller letters can be counted without mistakes. For BANK the sorted list is A, B, K, N.

How Do You Find the Rank of a Word With Repeated Letters?

In short: use the same method, but each time divide the factorial by the factorials of the repeats among the letters that remain to be placed.

  • Total arrangements: n! divided by p! for each letter repeated p times.
  • Words before: for each smaller letter used in the current position, count the arrangements of the remaining letters, with repeats corrected.
  • Check: the rank of the sorted word is 1, and the rank of the reversed sorted word equals the total.

For LEVEL the letters are E, E, L, L, V, and the total is 5! / (2! x 2!) = 30. Words starting with E number 4! / 2! = 12. Words starting with L then E, E and L before V give 4 more, so the rank is 12 + 4 + 1 = 17.

Word Total arrangements Rank
LEVEL 30 17
TOOL 12 12 (the last word)

How Do You Find the Word at a Given Rank?

In short: reverse the method. At each position, divide the remaining rank by the size of a block of words and pick the letter that the block count points to.

  1. List the letters in alphabetical order.
  2. Each choice of first letter owns (n – 1)! words.
  3. Decide which block contains the required rank, then repeat inside that block.

For the letters of BANK (sorted A, B, K, N), words 1 to 6 start with A, words 7 to 12 start with B, so the 7th word is BAKN. Counting word formations in general is covered in Number of Meaningful Words Formable from the Letters of a Given Word.

Solved Examples

Example 1

Question: Find the rank of CAT among the arrangements of its letters.

  1. Sorted letters: A, C, T.
  2. Position 1 (C): one smaller letter (A), 2! = 2 words.
  3. Position 2 (A): none smaller. Position 3 (T): none smaller.
  4. Rank = 2 + 1.

Answer: 3

Example 2

Question: Find the rank of BANK.

  1. Sorted letters: A, B, K, N.
  2. B: 1 smaller (A), then 3! = 6, giving 6 words.
  3. A: none smaller. N: 1 smaller left (K), then 1! = 1, giving 1 word.
  4. Words before = 6 + 1 = 7, so rank = 8.

Answer: 8

Example 3

Question: Find the rank of MOTHER.

  1. Sorted letters: E, H, M, O, R, T.
  2. M: 2 smaller (E, H) x 5! = 2 x 120 = 240.
  3. O: remaining E, H, O, R, T; smaller are E, H = 2 x 4! = 48.
  4. T: remaining E, H, R, T; smaller are E, H, R = 3 x 3! = 18.
  5. H: remaining E, H, R; smaller is E = 1 x 2! = 2.
  6. E: none smaller. R: none smaller.
  7. Words before = 240 + 48 + 18 + 2 = 308, so rank = 309.

Answer: 309

Example 4

Question: Find the rank of LEVEL.

  1. Letters: E, E, L, L, V. Total arrangements = 30.
  2. Words starting with E: the other letters E, L, L, V give 4! / 2! = 12.
  3. Words starting with L then E: the next letters can be E, then L, V. Words starting with LEE or LEL number 2 + 2 = 4.
  4. The next word is LEVEL itself, so words before = 12 + 4 = 16.

Answer: 17

Example 5

Question: Arrange the letters of BANK in dictionary order. Which word is 7th?

  1. Words 1 to 6 start with A (3! = 6 words).
  2. The 7th word is the first word that starts with B.
  3. Remaining letters A, K, N in order give A, K, N.

Answer: BAKN

Shortcuts and Tricks

  • Write the sorted letters on the side before you start.
  • Count only unused smaller letters at each position.
  • Always use factorials of the number of letters left, not the number already used.
  • For repeated letters, divide by the factorial of the repeat count each time.
  • Check: the sorted word has rank 1.

Common Mistakes

  • Forgetting to add 1 at the end.
  • Counting smaller letters that have already been used.
  • Using n! instead of (n – 1)! at the first position.
  • Ignoring repeated letters when computing the factorials.
  • Not sorting the letters before counting smaller letters.

Practice Questions

  1. Find the rank of RAIN.
  2. Find the rank of CODE.
  3. Find the rank of PEARL.
  4. How many arrangements are there of the letters of TOOL?
  5. What is the first word in the dictionary list of arrangements of CAT?
  6. What is the last word in the dictionary list of arrangements of CAT?

Answers: 1) 19; 2) 5; 3) 80; 4) 12; 5) ACT; 6) TAC.

Why Is This Topic Important?

  • Standard item Rank of a word appears in many competitive papers.
  • Method One method covers every word length.
  • Link The factorial idea is used in counting questions in Number of Meaningful Words Formable from the Letters of a Given Word.
  • Check A quick sanity check is available: the first and last words.

What Comes Next?

The next topic is Formation of Words from Given Letters and Finding Meaningful Words. It moves from ranking arrangements to forming meaningful words from a set of given letters.

Key Terms and Formulas

  • Factorial n! = n x (n – 1) x … x 1
  • Arrangement One order of the letters
  • Rank Position in the alphabetical list
  • Repeated letter A letter that occurs more than once
  • Block A group of words with the same first letters
  • Sorted letters The letters in order from A to Z

Study this topic together with these linked topics from other subjects.

Exam Corner

Points to Remember

  • Rank = words before + 1.
  • At each position: smaller unused letters x (letters left)!.
  • Distinct n letters give n! arrangements.
  • Repeats: divide by the factorial of each repeat count.
  • The sorted word has rank 1.

Do Not Confuse With

  • Rank vs total Rank is a position; total is the number of arrangements.
  • Used vs unused letters Count smaller letters only among the unused ones.
  • Words before vs rank Rank is one more than the words before.
  • Distinct vs repeated Repeats reduce the count of arrangements.

Memory Hook

Sort the letters, count the smaller ones, multiply by factorials, add one.

GS Relevance

Rank-of-the-word questions are a standard SSC CGL, CHSL, bank PO and CAT-style item; the method is the same for any word with distinct or repeated letters.

Frequently Asked Questions

How do you find the rank of a word in a dictionary?

Sort the letters alphabetically. At each position, count the unused letters that are smaller than the letter in the word, multiply by the factorial of the letters left to place, and add all these values. Then add one. For CAT, the answer is 3.

What is the rank of the word MOTHER in a dictionary?

The rank of MOTHER is 309. Words before it are 240 starting with E or H, 48 starting with MO and a smaller letter, 18 starting with MOT and a smaller letter, and 2 starting with MOTH and a smaller letter. Adding 1 gives 309.

How do you find the rank when letters are repeated?

Use the same position-by-position method, but divide the factorial of the remaining letters by the factorials of the repeat counts among them. For LEVEL, the total arrangements are 30, and the rank of LEVEL is 17.

How many arrangements can be made from the letters of a word?

For a word with n distinct letters the number of arrangements is n factorial. If some letters repeat, divide n factorial by the factorial of each repeat count. The word TOOL has 4 factorial divided by 2 factorial, which equals 12 arrangements.

How do you find the word at a given rank?

Reverse the method. List the letters alphabetically. Each first letter owns (n minus 1) factorial words, so divide the rank into these blocks to pick the first letter, then repeat inside that block. For BANK, the 7th word is BAKN.

PYQ Practice — Statement Analysis

1 The rank of the word CAT among its arrangements is 3.
True

The order is ACT, ATC, CAT, CTA, TAC, TCA.

2 The rank of the sorted word of any set of distinct letters is 1.
True

The sorted word is the first in the list.

3 The word TOOL has 24 arrangements.
False

It has 4! / 2! = 12 arrangements.

4 The rank of a word equals the number of words before it.
False

The rank is the number of words before it plus 1.

Share: