Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
Mathematical Induction Problem?
I'm not exactly sure if this is an induction problem, but it's what we've been doing in class so I'm assuming it is...
There are n people in a room. Everyone in the room will shake hands with every other person in the room. Show that there are exactly (n^2 - n) / 2 distinct handshakes. (Distinct means that when a person A shakes hands with B, that is one handshake). n > 1.
Would I just use induction to prove that the n+1 case is true? I'm a bit confused on how to approach this... any help is greatly appreciated!
2 Answers
- PuzzlingLv 77 years ago
BASE CASE:
First you must prove the base case with 2 people. We know that 2 people will result in 1 handshake. Confirm that it works for n = 2:
(n² - n) / 2
= (2² - 2) / 2
= (4 - 2) / 2
= 2/2
= 1 handshake
INDUCTION STEP:
Start with n people in the room (n > 1) and assume they have all shaken hands with everyone else for a total of (n² - n) / 2 handshakes.
Now add 1 more person to the room. That person must shake hands with the n people already in the room. So for n+1 people it is (n² - n)/2 + n
Now let's see if we can get it in the right form to prove this; begin by getting a common denominator:
(n² - n) / 2 + 2n/2
= (n² + 2n - n) / 2
We know we want (n+1)² in there, so let's add and subtract a 1, inside the parentheses:
= (n² + 2n + 1 - n - 1) / 2
Next let's factor the first 3 terms into a perfect square:
= ((n + 1)(n + 1) - n - 1) / 2
= ((n + 1)² - n - 1) / 2
Almost there:
= ((n + 1)² - (n + 1)) / 2
This is the correct form, if we plug in k = n+1:
= (k² - k) / 2
So we proved it for the base case of n = 2, then proved the induction step, so it follows for all n > 1.