
Everybody in a function shakes hands with everybody else. The total number of handshakes is 45. Find the number of people in the function.
Answer
232.8k+ views
Hint: We will assume the number of people in the function to be $x$. We will count the number of ways in which the handshakes are done so that everybody shakes hand with everybody else. To count this, we will use combinations. Each handshake involves 2 people, so we will choose 2 people out of the total number of people in the room and find the number of ways in which this can be done.
Complete step-by-step solution
Let the number of people in the function be $x$. We know that everybody in the function shakes hands with everybody else. For one handshake, there are two people involved. Now, we can choose the two people out of $x$ using a combination. The number of ways we can choose $r$ objects out of $n$ is given by
${}^{n}{{C}_{r}}=\dfrac{n!}{r!\left( n-r \right)!}$
We can calculate the number of ways of choosing two people out of $x$ using the above formula. We already know that the total number of handshakes are 45. Therefore, we have ${}^{x}{{C}_{2}}=45$. We will substitute his value and $n=x$, $r=2$ in the above formula. We get the following equation,
$\begin{align}
& {}^{x}{{C}_{2}}=\dfrac{x!}{2!\left( x-2 \right)!} \\
& \Rightarrow 45=\dfrac{x\times \left( x-1 \right)\times \left( x-2 \right)!}{2!\left( x-2 \right)!} \\
& \Rightarrow 45=\dfrac{x\times \left( x-1 \right)}{2} \\
& \Rightarrow 90={{x}^{2}}-x \\
& \therefore {{x}^{2}}-x-90=0 \\
\end{align}$
We have obtained a quadratic equation in the variable $x$. We will solve the above quadratic equation using the method of factorization. We can write the middle term in the following manner,
${{x}^{2}}-10x+9x-90=0$
So, we can factorize the above equation as follows,
$\begin{align}
& x\left( x-10 \right)+9\left( x-10 \right)=0 \\
& \Rightarrow \left( x-10 \right)\left( x+9 \right)=0 \\
& \therefore x=10\text{ or }x=-9 \\
\end{align}$
As the number of people cannot be negative, we will discard the value of $x=-9$. Hence, we have $x=10$. The number of people in the function is 10.
Note: It is important to notice that we have to choose two people out of the total number of people in the room. We should be familiar with the working of a combination. We can solve the quadratic equation by other methods like using the quadratic formula according to convenience. It is useful to do the calculations explicitly so that minor mistakes can be avoided and we can obtain the correct answer.
Complete step-by-step solution
Let the number of people in the function be $x$. We know that everybody in the function shakes hands with everybody else. For one handshake, there are two people involved. Now, we can choose the two people out of $x$ using a combination. The number of ways we can choose $r$ objects out of $n$ is given by
${}^{n}{{C}_{r}}=\dfrac{n!}{r!\left( n-r \right)!}$
We can calculate the number of ways of choosing two people out of $x$ using the above formula. We already know that the total number of handshakes are 45. Therefore, we have ${}^{x}{{C}_{2}}=45$. We will substitute his value and $n=x$, $r=2$ in the above formula. We get the following equation,
$\begin{align}
& {}^{x}{{C}_{2}}=\dfrac{x!}{2!\left( x-2 \right)!} \\
& \Rightarrow 45=\dfrac{x\times \left( x-1 \right)\times \left( x-2 \right)!}{2!\left( x-2 \right)!} \\
& \Rightarrow 45=\dfrac{x\times \left( x-1 \right)}{2} \\
& \Rightarrow 90={{x}^{2}}-x \\
& \therefore {{x}^{2}}-x-90=0 \\
\end{align}$
We have obtained a quadratic equation in the variable $x$. We will solve the above quadratic equation using the method of factorization. We can write the middle term in the following manner,
${{x}^{2}}-10x+9x-90=0$
So, we can factorize the above equation as follows,
$\begin{align}
& x\left( x-10 \right)+9\left( x-10 \right)=0 \\
& \Rightarrow \left( x-10 \right)\left( x+9 \right)=0 \\
& \therefore x=10\text{ or }x=-9 \\
\end{align}$
As the number of people cannot be negative, we will discard the value of $x=-9$. Hence, we have $x=10$. The number of people in the function is 10.
Note: It is important to notice that we have to choose two people out of the total number of people in the room. We should be familiar with the working of a combination. We can solve the quadratic equation by other methods like using the quadratic formula according to convenience. It is useful to do the calculations explicitly so that minor mistakes can be avoided and we can obtain the correct answer.
Recently Updated Pages
Geometry of Complex Numbers Explained

JEE General Topics in Chemistry Important Concepts and Tips

JEE Extractive Metallurgy Important Concepts and Tips for Exam Preparation

JEE Amino Acids and Peptides Important Concepts and Tips for Exam Preparation

JEE Atomic Structure and Chemical Bonding important Concepts and Tips

Electricity and Magnetism Explained: Key Concepts & Applications

Trending doubts
JEE Main 2026: Session 2 Registration Open, City Intimation Slip, Exam Dates, Syllabus & Eligibility

JEE Main 2026 Application Login: Direct Link, Registration, Form Fill, and Steps

JEE Main Marking Scheme 2026- Paper-Wise Marks Distribution and Negative Marking Details

Understanding the Angle of Deviation in a Prism

Hybridisation in Chemistry – Concept, Types & Applications

How to Convert a Galvanometer into an Ammeter or Voltmeter

Other Pages
JEE Advanced Marks vs Ranks 2025: Understanding Category-wise Qualifying Marks and Previous Year Cut-offs

NCERT Solutions For Class 11 Maths Chapter 12 Limits and Derivatives (2025-26)

NCERT Solutions For Class 11 Maths Chapter 10 Conic Sections (2025-26)

Understanding the Electric Field of a Uniformly Charged Ring

JEE Advanced Weightage 2025 Chapter-Wise for Physics, Maths and Chemistry

Derivation of Equation of Trajectory Explained for Students

