Graph Theory Tidbits
You are at a cocktail party. People are introducing themselves and shaking hands. Since parties make you uncomfortable, you lean against the wall. Rather than having meaningful human interaction, you can do a little graph theory instead, which is much more fun. With a little thinking, you can derive two interesting conclusions:
The second result is even more kooky sounding, but it also follows from very simple principles. Consider the total of each partygoer's personal "shake-count". Each handshake involves two people, so the sum of everyone's shake-counts must equal twice the total number of handshakes. (Think about that one for a sec to make sure you get it). This means that the sum of shake-counts is an even number. Now, consider the people who shook an even number of hands: the sum of their shake-counts must be an even number too, since when you add together even numbers you get even numbers. This means that the remaining sum of shake-counts, the sum of the shake-counts of people who shook an odd number of hands, must also be an even number. Now, to get an even number by adding up odd shake-counts, there must be an even number of such people. (Simple example: 3 + 3 = 6 (two people, even sum), but 3 + 3 + 3 = 9 (three people, odd sum). So, there is always an even number of people that have shaken an odd number of hands! Happy Graph Theory Awareness Week!
- At least two people shook the same number of hands.
- An even number of people shook an odd number of hands.
The second result is even more kooky sounding, but it also follows from very simple principles. Consider the total of each partygoer's personal "shake-count". Each handshake involves two people, so the sum of everyone's shake-counts must equal twice the total number of handshakes. (Think about that one for a sec to make sure you get it). This means that the sum of shake-counts is an even number. Now, consider the people who shook an even number of hands: the sum of their shake-counts must be an even number too, since when you add together even numbers you get even numbers. This means that the remaining sum of shake-counts, the sum of the shake-counts of people who shook an odd number of hands, must also be an even number. Now, to get an even number by adding up odd shake-counts, there must be an even number of such people. (Simple example: 3 + 3 = 6 (two people, even sum), but 3 + 3 + 3 = 9 (three people, odd sum). So, there is always an even number of people that have shaken an odd number of hands! Happy Graph Theory Awareness Week!
0 Comments:
Post a Comment
<< Home