Ranking and order: draw the row, and count nobody twice
Questions on rank and order look like puzzles, but the working is one addition and one subtraction. Marks are lost in two places only: counting one person twice, and claiming an order that the question never gave. This note covers both.
Rank from the two ends
Ravi stands in a row. He is 5th from the left and 8th from the right. How many people are in the row?
Adding gives 13, and that is wrong. The count from the left includes Ravi. The count from the right includes Ravi again. He has been counted twice, so take one away: 5 + 8 − 1 = 12.
Total = top + bottom − 1.
The same rule turned around gives a rank from the other end: from the bottom = total − top + 1. In a class of 40, the student who is 12th from the top is 40 − 12 + 1 = 29th from the bottom. Note the plus one. 40 − 12 = 28 is the number of students below, not the position.
Top and bottom, left and right, front and back: the rule is the same for every pair of ends.
Before using the rule, check what the total really is. If 15 of 52 students fail and the merit list has only those who passed, the list has 37 names, not 52.
How many people in between
Both counted from the same end. Ravi is 6th from the left and Meena is 12th from the left. Subtract: 12 − 6 = 6. But this 6 includes Meena herself. Take one more away: 5 people stand between them.
Counted from opposite ends. A row has 15 people. Ravi is 10th from the left and Meena is 9th from the right. First add the two counts: 10 + 9 = 19. This is more than 15, so the two counts cross each other: Meena is actually to the left of Ravi.
The safe method never changes. Bring both people to the same end, then subtract and take one more away. Meena is 15 − 9 + 1 = 7th from the left. So 10 − 7 − 1 = 2 people stand between them.
There are shortcuts, and they are worth knowing, but they change with the case:
- Counts do not cross (the sum is not more than the total): between = total − (left + right).
- Counts cross (the sum is more than the total): between = (left + right) − total − 2.
When a question asks for the minimum number of people in a queue, the crossing case is the one to try first, because overlapping counts make the queue shorter.
When two people swap places
Ravi is 9th from the left and Meena is 6th from the right. They swap places, and Ravi is now 14th from the left. How many people are in the row?
After the swap, Ravi sits on Meena's old seat. So one seat now has a count from both ends: it is 14th from the left and 6th from the right. Total = 14 + 6 − 1 = 19.
Comparison chains
"Anu is taller than Bala but shorter than Chitra. Dev is taller than Chitra. Esha is shorter than Anu."
Write each statement on one line with greater-than signs, the bigger one on the left.
- Statement one: Chitra > Anu > Bala.
- Statement two: Dev > Chitra. Chitra is common, so join there: Dev > Chitra > Anu > Bala.
- Statement three: Esha is below Anu. But is Esha above or below Bala? Nothing says so. Do not push Esha into the line. Write Esha separately, hanging below Anu.
Now read the answers off the picture. The tallest is Dev. Anu is third, whichever way Esha and Bala fall. The shortest is Bala or Esha, so the honest answer is "cannot be determined".
A missing link spoils only the places it touches. Do not mark "cannot be determined" for everything just because one pair is open.
Best and worst possible rank
In a class of 30, Kiran scored less than 5 students and more than 12 students. Nothing is known about the other 12.
- Best case: all the unknown students are behind Kiran. Only 5 are surely ahead, so the best rank is 5 + 1 = 6th.
- Worst case: all the unknown students are ahead. Only 12 are surely behind, so the worst rank is 30 − 12 = 18th.
The whole chapter in one table
| You need | Do this | Example |
|---|---|---|
| Total in the row | top + bottom − 1 | 5 + 8 − 1 = 12 |
| Rank from the other end | total − rank + 1 | 40 − 12 + 1 = 29th |
| People between, same end | bigger − smaller − 1 | 12 − 6 − 1 = 5 |
| People between, opposite ends | bring both to one end first | 10 − 7 − 1 = 2 |
| Total after a swap | new position + the other person's old position − 1 | 14 + 6 − 1 = 19 |
| Best possible rank | surely ahead + 1 | 5 + 1 = 6th |
| Worst possible rank | total − surely behind | 30 − 12 = 18th |
| Order from statements | one line with > signs, join at the common name | Dev > Chitra > Anu > Bala |
Where students slip
- Adding the two ranks and forgetting the minus one. The person is in both counts.
- Giving the number of people below as the rank from the bottom. The rank is one more than that.
- Using the class strength when the list has fewer names.
- Using the "total minus sum" shortcut when the counts have crossed.
- After a swap, mixing counts that belong to two different seats.
- Forcing an order between two people when no statement links them, or the opposite: marking "cannot be determined" when the place asked about is actually fixed.
How to practise
Draw every question, even the easy ones. A row is a line of dots with two brackets, and it takes five seconds. For comparison questions, write the line of greater-than signs before reading the options.