Introduction
Many ranking problems give an overall rank plus a rank within a subgroup (for example, boys/girls, division A/division B, or class-section). These questions test your ability to separate subgroup counts from overall counts and convert between them quickly.
Mastering this pattern helps you answer how many people of the other group are ahead/behind, and to place subgroup ranks in the context of the whole class.
Pattern: Rank in Subset (Gender/Category)
Pattern
Key concept: Use overall rank to find total people ahead (overall - 1). Subtract subgroup-ahead to get other-group-ahead.
Core relations:
- People ahead overall = Overall rank - 1.
- People ahead in same subgroup = Subgroup rank - 1.
- People from the other group ahead = (Overall people-ahead) - (Same-group people-ahead).
- If needed, convert counts back to ranks by adding 1 (Rank = people-ahead + 1).
Step-by-Step Example
Question
Riya is 10th overall in a class and 4th among girls. How many boys are ahead of her?
Solution
-
Step 1: Find overall people ahead
Overall rank = 10 → people ahead overall = 10 - 1 = 9. -
Step 2: Find girls ahead
Riya is 4th among girls → girls ahead = 4 - 1 = 3. -
Step 3: Compute boys ahead
Boys ahead = overall people-ahead - girls ahead = 9 - 3 = 6. -
Final Answer:
6 boys are ahead of Riya. -
Quick Check:
3 girls + 6 boys = 9 people ahead → Riya is 10th overall ✅
Quick Variations
1. If given subgroup rank and number of people in subgroup, you can find subgroup-ahead and subgroup-behind.
2. If asked how many from other group are behind, compute total-other-group = total - subgroup-size (if total known), then subtract other-group-ahead.
3. When two subgroup ranks are given for different people, convert both to overall positions (people-ahead + 1) before comparing.
4. If overall rank refers to top and subgroup rank refers to bottom (or vice versa), convert one reference to the other first (use people-ahead/people-behind).
Trick to Always Use
- Step 1 → Convert ranks to "people ahead" form (rank - 1) for both overall and subgroup.
- Step 2 → Subtract same-group ahead from overall ahead to get other-group ahead.
- Step 3 → Convert counts back to rank if the question asks for a rank (add 1).
Summary
Summary
- Convert all ranks to "people ahead" (rank - 1) to compare across groups easily.
- Other-group-ahead = (Overall people-ahead) - (Same-group people-ahead).
- To get a rank from a people-count, add 1 (Rank = people-ahead + 1).
- When totals are known, subgroup sizes allow you to compute how many of the other group are behind or ahead.
Example to remember:
If someone is 12th overall and 5th in subgroup → people-ahead overall = 11, subgroup-ahead = 4 → 11 - 4 = 7 from the other group are ahead.
