wiz-icon
MyQuestionIcon
MyQuestionIcon
2
You visited us 2 times! Enjoying our articles? Unlock Full Access!
Question

At a party, everyone shook hands with everybody else. There were 253 handshakes. How many people were at the party?

A
23
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
22
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
21
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
20
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is A 23
Well, let’s try posing a hypothetical scenario to understand the situation, If there were 4 people, how many handshakes would there be?
P, Q, R, and S: each letter denotes a unique person Person
P could shake hands with Q, R and S.
Person Q could shake hands with R, and S.
Do note that, since we have already kept track of P shaking hands with Q, let’s not recount it here. Person R could shake hands with only S.

In total, there are 3+2+1 = 6 unique handshakes.
If you look closely, the number of handshakes is equal to the sum of natural numbers up to n-1, where n is the total number of people. Huh, that’s interesting…

Now, the handshake problem can simply be solved. The sum of natural numbers up to n is given by

Sum=n(n+1)/2
For sum upto n-1, the above equation will reduce to,
S=(n-1)(n-1+1)/2
S=n(n-1)/2

Where, S represents the total number of unique handshakes.
We can now return to the actual question, 253 unique handshakes have happened and we have to find the number of individuals at the part.
Here, S= 253.
n(n-1)/2=253
n(n-1)=506
n2n506,
Solving the quadratic equation, we get, n=23 or n=-22.
Since number of individuals cannot be negative, the correct answer is 23.

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Solving QE by Factorisation
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon