๐Ÿงฎ Formula

H=n(nโˆ’1)2H = \frac{n(n-1)}{2}

Where:

  1. n = number of people
  2. H = total handshake

๐Ÿ“Œ Concept

When every person shakes hands with every other person exactly once, the total number of handshakes can be calculated using the formula:

n(nโˆ’1)2\boxed{\frac{n(n-1)}{2}}

Where:

  • nn = total number of people
  • nโˆ’1n-1 = number of other people each person can shake hands with
  • We divide by 2 because the same handshake is counted once for each person. Mane Handshake duijone ekbar hoy.

๐Ÿ’ก Why Do We Divide by 2?

Suppose there are 44 people: AA, BB, CC, and DD.

  • AA can shake hands with BB, CC, and DD โ†’ 33
  • BB can shake hands with AA, CC, and DD โ†’ 33
  • CC can shake hands with AA, BB, and DD โ†’ 33
  • DD can shake hands with AA, BB, and CC โ†’ 33

This gives:

4ร—3=124 \times 3 = 12

But every handshake has been counted twice.

For example:

Aโˆ’BA-B

is counted once when considering AA and once when considering BB.

Therefore:

4ร—32=6\frac{4 \times 3}{2} = 6

So there are 6 handshakes.


โœ๏ธ Examples

Example 1 โ€” 5 People

If there are 55 people, the number of handshakes is:

H=5(5โˆ’1)2H = \frac{5(5-1)}{2} =5ร—42= \frac{5 \times 4}{2} =10= \boxed{10}

Answer: 10 handshakes


Example 2 โ€” 10 People

If there are 1010 people:

H=10(10โˆ’1)2H = \frac{10(10-1)}{2} =10ร—92= \frac{10 \times 9}{2} =45= \boxed{45}

Answer: 45 handshakes


Example 3 โ€” 20 People

If there are 2020 people:

H=20(20โˆ’1)2H = \frac{20(20-1)}{2} =20ร—192= \frac{20 \times 19}{2} =190= \boxed{190}

Answer: 190 handshakes


This is not same as โ€The sum of natural numberโ€.

That formula is different. Which is: =n(n+1)2= \frac{n(n+1)} 2

Built with LogoFlowershow