jonroberts74
- 189
- 0
Homework Statement
as each new person arrives to a meeting, they shake hands of all who are present.
prove the number [by induction] of occurred handshakes are \frac{n(n-1)}{2}
The Attempt at a Solution
if no one shows up then clearly no handshakes are exchanged
\frac{0(0-1)}{2} = 0
assuming k people show up, there will be \frac{k(k-1)}{2} handshakes
now if one more person shows up, that will make a total of k+1 people and because one does not shake their own hand there will be k +1 -1 more shakes than when there where k people .
there will be
\frac{(k+1)(k+1-1)}{2} handshakes in total
=\frac{k^2+k-k+k+1-1}{2}
=\frac{k^2-K}{2} + \frac{k+k+1-1}{2}
=\frac{k(k-1)}{2} + k
is this explained properly?