All Exams Test series for 1 year @ ₹349 only
Question

There are 40 persons in a palace. If every person shakes hands with every other person, what will be the total number of handshakes?

This question was previously asked in
RRB NTPC 2019 CBT 1 Question Paper PDF (31-Jan-2021) (Shift 1)
The correct answer is
780

Problem Analysis: Total Handshakes

This problem involves calculating the total number of unique pairs that can be formed from a group of 40 individuals, where each pair represents a handshake. Since the order of people in a handshake does not matter (Person A shaking Person B's hand is the same handshake as Person B shaking Person A's hand), this is a combination problem.

Applying the Combination Formula

The number of combinations of choosing k items from a set of n items is given by the formula:

$C(n, k) = \frac{n!}{k!(n-k)!}$

For the handshake problem, we are choosing groups of 2 people (k=2) from a total of 40 people (n=40). The formula simplifies to:

$C(n, 2) = \frac{n(n-1)}{2}$

Calculation for 40 Persons

Given n = 40 persons:

  • Substitute the value of n into the simplified formula:

    $C(40, 2) = \frac{40 \times (40 - 1)}{2}$

  • Perform the subtraction:

    $C(40, 2) = \frac{40 \times 39}{2}$

  • Simplify the expression:

    $C(40, 2) = \frac{1560}{2}$

  • Calculate the final result:

    $C(40, 2) = 780$

Therefore, the total number of handshakes will be 780.

Was this answer helpful?

Similar Questions

  1. How many words can be formed with or without meaning by using all letters of the word DELHI?
  2. If $^{10}\text{P}_r = 5040$, find the value of r.
  3. If $^nC_3 = ^nC_8$, then find n.
  4. If ${}^nC_4 = 70$, then find n.

Important Questions from Permutation and Combination

  1. The following figure is made with nine squares of length 1 cm each.
                                                                                                             

    A student is standing at point P. The total number of shortest paths to reach point Q from point P, if the student walks along the boundaries of the squares only, is:

  2. Consider the following statements (all the angles are measured in degrees) :
    1. If two supplementary angles are $4x + 40$ and $10x$, then $x$ is;
    2. The complementary angle of $\frac{4}{5} \times 45$ is :
    3. If two complementary angles are in the ratio of $4 : 5$, then the smallest angle is :
    Which of the following is correct?
    Codes:
    1   2   3

  3. How many words can be formed with or without meaning by using all letters of the word DELHI?
  4. A rectangular wall is divided into four squares of equal size where there are two rows each having two squares. The top left square is coloured with green. If, including green, there are three colours available and each square is coloured using any one of these three colours such that no two adjacent squares get painted with the same colour; then how many colour combinations are possible ?

  5. Three perfect dice \(D_1, D_2\) and \(D_3\) are rolled. Let \(x, y\) and \(z\) represent the numbers on \(D_1, D_2\) and \(D_3\) respectively. What is the number of possible outcomes such that \(x < y < z\)?
Need Expert Advice?
Upcoming Exams
RRB Staff Nurse
November 23, 2026
RRB Paramedical
November 23, 2026
Test Series
RRB NTPC img
Railways
RRB NTPC Under Graduate 2026 New Mock Test Series
1612 Tests 1 Tests Free
1334 Attempts
4.3(521)
English, Hindi, Telugu +7 More
More Questions from RRB NTPC

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App