Handshake Problem
At a party every pair of guests shakes hands exactly once, and the total number of handshakes recorded is 45; the number of guests present at the party equals which value?
Select the correct option:
🔒 Solution Hidden from View
Submit your answer to unlock the detailed step-by-step solution.
More permutations and combinations Practice Questions
The number of ways to arrange 4 boys and 4 girls in a row so that no two girls are adjacent to each ...
The number of ways to arrange 4 boys and 4 girls in a row so that no two girls are adjacent to each ...
The number of ways to place 5 distinct letters into 3 distinct mailboxes, where any mailbox may rece...
The number of ways to place 5 distinct letters into 3 distinct mailboxes, where any mailbox may rece...
Given 10 points in a plane of which no three are collinear, the number of distinct triangles that ca...
Given 10 points in a plane of which no three are collinear, the number of distinct triangles that ca...
If the combinatorial equation C(n, 2) equals 28 holds for a positive integer n, then the value of n ...
If the combinatorial equation C(n, 2) equals 28 holds for a positive integer n, then the value of n ...
Using the standard combinatorial identity, the value of the sum C(8,0) + C(8,1) + C(8,2) + ... + C(8...
Using the standard combinatorial identity, the value of the sum C(8,0) + C(8,1) + C(8,2) + ... + C(8...
From 20 points placed on a straight line, the number of line segments that can be formed by joining ...
From 20 points placed on a straight line, the number of line segments that can be formed by joining ...
Using all five digits 1, 2, 3, 4 and 5 exactly once to form five-digit numbers, the sum of all such ...
Using all five digits 1, 2, 3, 4 and 5 exactly once to form five-digit numbers, the sum of all such ...
If all the distinct arrangements of the letters of the word RANK are listed in dictionary order, the...
If all the distinct arrangements of the letters of the word RANK are listed in dictionary order, the...
The number of ways to arrange 5 boys and 3 girls in a row so that all 3 girls always stand together ...
The number of ways to arrange 5 boys and 3 girls in a row so that all 3 girls always stand together ...
A student must travel from city A to city C passing through city B, with 4 roads from A to B and 5 r...
A student must travel from city A to city C passing through city B, with 4 roads from A to B and 5 r...
The number of ways to arrange the letters of the word MONDAY so that all the vowels occupy only the ...
The number of ways to arrange the letters of the word MONDAY so that all the vowels occupy only the ...
The number of distinct ways in which 8 different people can be seated around a circular table, where...
The number of distinct ways in which 8 different people can be seated around a circular table, where...
About This Question
- Subject
- mathematics
- Chapter
- permutations and combinations
- Topic
- handshake problem
- Difficulty
- Medium
- Year
- 2025
Solution
Correct Answer:
10
The total number of handshakes among n people, each pair shaking once, is C(n, 2) = n(n - 1)/2, a direct combination count used in JEE Advanced. Setting this equal to 45 gives n(n - 1)/2 = 45, so n(n - 1) = 90. Seeking two consecutive integers whose product is 90, we find 10 × 9 = 90, so n = 10. The equation n^2 - n - 90 = 0 factors as (n - 10)(n + 9) = 0, and the positive root is n = 10. Option 9 gives only C(9,2) = 36 handshakes. Option 45 confuses the number of handshakes with the number of guests. Option 15 gives C(15,2) = 105, far too many. Hence there are 10 guests. Plausibility check: with 10 guests, the number of distinct pairs is C(10,2) = 45, exactly the recorded handshake count, confirming the solution to the combination equation. Lexicographic ranking is a disciplined counting exercise in which, position by position, one tallies every arrangement that would alphabetically precede the target word. The method scales to words with repeated letters by using multinomial counts for the blocks of fixed prefixes, and careful bookkeeping of remaining available letters at each stage is what guarantees the final rank is exact.
This medium difficulty mathematics question is from the chapter permutations and combinations, covering the topic of handshake problem. It appeared in the 2025 exam.
Looking for more practice? Explore all mathematics questions or browse permutations and combinations questions on RankGuru.