Math Help Forum

Math Help Forum Feed Site Feed

Go Back   Math Help Forum > MHF Lounge > Problem of the Week
Closed Thread
 
Thread Tools Display Modes
  #1  
Old July 1st, 2007, 09:05 PM
ThePerfectHacker's Avatar
Global Moderator

 
Join Date: Nov 2005
Location: New York City
Posts: 11,186
Country:
Thanks: 482
Thanked 3,751 Times in 3,070 Posts
ThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond repute
Default Problem 29

1)In a room let there be n>1 people. Show that there must exist two people that shaked the same number of hands with others.

2)Let a_1,a_2,...,a_n be distinct integers from \{1,2,...,n\} not necessarily in that order. Show that if n is odd then (a_1-1)(a_2-2)...(a_n-n) is an even number.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


"Democracy has proved only that the best way to gain power
over people is to assure the people that they are ruling
themselves. Once they believe that, they make wonderfully
submissive slaves." - Joseph Sobran


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Last edited by ThePerfectHacker; July 1st, 2007 at 10:00 PM.
Advertisement
 
  #2  
Old July 1st, 2007, 09:41 PM
CaptainBlack's Avatar
Grand Panjandrum
 
Join Date: Nov 2005
Location: South of England
Posts: 11,265
Country:
Thanks: 655
Thanked 3,584 Times in 2,887 Posts
CaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond repute
Default

Quote:
Originally Posted by ThePerfectHacker View Post
2)Let a_1,a_2,...,a_n be distinct integers from \{1,2,...,n\} not necessarily in that order. Show that if n is odd then (a_1-1)(a_2-1)...(a_n-1) is an even number.
As a_1,a_2,...,a_n are distinct integers from \{1,2,...,n\} they are infact a permutation of \{1,2,...,n\}, so one of the a_i's is 1.

Hence one of the terms (a_i-1) is zero so the product is zero, and so even irrespective of the parity of n.

Or have I misread the question.

RonL
__________________
Truth does not change because it is, or is not, believed by a majority of the people.

Giordano Bruno
The following users thank CaptainBlack for this useful post:
Donate to MHF
  #3  
Old July 1st, 2007, 10:00 PM
ThePerfectHacker's Avatar
Global Moderator

 
Join Date: Nov 2005
Location: New York City
Posts: 11,186
Country:
Thanks: 482
Thanked 3,751 Times in 3,070 Posts
ThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond repute
Default

Quote:
Originally Posted by CaptainBlank View Post
Or have I misread the question.
No. I forgot the rule "do not drink and derive".

I will fix it now.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


"Democracy has proved only that the best way to gain power
over people is to assure the people that they are ruling
themselves. Once they believe that, they make wonderfully
submissive slaves." - Joseph Sobran


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
  #4  
Old July 2nd, 2007, 04:23 AM
galactus's Avatar
Eater of Worlds

 
Join Date: Jul 2006
Location: Chaneysville, PA
Posts: 2,853
Country:
Thanks: 120
Thanked 1,098 Times in 986 Posts
galactus has much to be proud ofgalactus has much to be proud ofgalactus has much to be proud ofgalactus has much to be proud ofgalactus has much to be proud ofgalactus has much to be proud ofgalactus has much to be proud ofgalactus has much to be proud ofgalactus has much to be proud of
Default

Quote:
1)In a room let there be n>1 people. Show that there must exist two people that shaked the same number of hands with others.
I was thinkin', PH, maybe we could make this a graph theory problem and call a person a vertex and a handshake an edge. Is that your approach?.

I am certainly no expert graph theorist, but you can't have a graph with n vertices with a vertex having 0 degrees and another have n-1 degrees. So, therefore, hence, and heretofore, the most degrees the vertices can have is n-1 degrees. But since there's n vertices/vertexes, at least 2 have the same degree.

I even drew a little graph to picture the handshakes.

If I'm not right, I suppose I'll be wrong.
  #5  
Old July 2nd, 2007, 08:36 AM
ThePerfectHacker's Avatar
Global Moderator

 
Join Date: Nov 2005
Location: New York City
Posts: 11,186
Country:
Thanks: 482
Thanked 3,751 Times in 3,070 Posts
ThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond repute
Default

Quote:
Originally Posted by galactus View Post
I was thinkin', PH, maybe we could make this a graph theory problem and call a person a vertex and a handshake an edge. Is that your approach?.
I am also no expert on graph theory. But I think you have a good approach.

When I was working on this problem I drew it as a graph, but I did not use any graph theory at all. I think the graph just made it easier to think about because it makes the problem visiual. In fact, the solution is rather short, no need to use graph theory. Short elementray arguments are always the nicest.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


"Democracy has proved only that the best way to gain power
over people is to assure the people that they are ruling
themselves. Once they believe that, they make wonderfully
submissive slaves." - Joseph Sobran


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
  #6  
Old July 2nd, 2007, 10:18 AM
Newbie
 
Join Date: Jun 2007
Posts: 18
Country:
Thanks: 0
Thanked 1 Time in 1 Post
mathisfun1 is on a distinguished road
Default

Suppose that no two people shake hands the same number of times. Let k be the number of people who shake hands at least once. Order the people from 1 to k by their number of handshakes in ascending order. Each person must shake hands at least one more time than the person before him. Thus the kth person must have shaken hands at least k times. But there are only k people. Contradiction.
  #7  
Old July 2nd, 2007, 10:33 AM
Newbie
 
Join Date: Jun 2007
Posts: 18
Country:
Thanks: 0
Thanked 1 Time in 1 Post
mathisfun1 is on a distinguished road
Default

#1) For \Pi _i (a_i-i) to be odd then each odd a_i must be subtracted by an even integer. Because n is odd, \{a_1, a_2, ..., a_n\} has one more odd than even integer. Similarly, \{1, 2, ..., n \} has one less even integer than odd integer. So we must pair at least 1 odd integer a_i with an odd integer i. Hence the product is even.

Last edited by mathisfun1; July 3rd, 2007 at 02:41 PM.
  #8  
Old July 9th, 2007, 02:28 PM
ThePerfectHacker's Avatar
Global Moderator

 
Join Date: Nov 2005
Location: New York City
Posts: 11,186
Country:
Thanks: 482
Thanked 3,751 Times in 3,070 Posts
ThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond repute
Default

Quote:
1)In a room let there be n>1 people. Show that there must exist two people that shaked the same number of hands with others.
I found this nice problem as an excercise in a math book. We can solve this by induction. For n=2 it is clearly true. Either each one shook hands and in case the two people shaked hands zero times or each one shook hands an in which case both shook one hand. Now we will show that it is true for n+1. There are n+1 people in a room. Each one shook either 0,1,...,n hands, so there are n+1 possibilities and n+1 people. There are two cases: nobody shook 0 hands or somebody shook 0 hands. If nobody shook 0 hands then each person shook 1,...,n hands and by the Pigeonhole Principle two people shook the same number of hands. If somebody shook 0 hands then we have n people shaking hands among themselves, and by induction somebody shook the same number of hands.

Quote:
2)Let a_1,a_2,...,a_n be distinct integers from \{1,2,...,n\} not necessarily in that order. Show that if n is odd then (a_1-1)(a_2-2)...(a_n-n) is an even number.
This was a competition problem from Hungray. The nicest solution to is consider the sum:
(a_1-1)+(a_2-2)+...(a_n-n) = (a_1+...+a_n) - (1+2+...+n) = (1+...+n)-(1+...+n)=0
Now there are n summands which add up to zero, an even integer. So it is impossible for all the numbers to be odd, since an odd sum of odd integers is still odd. So at least one is even. Hence (a_1-1)...(a_n-n) must be even.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


"Democracy has proved only that the best way to gain power
over people is to assure the people that they are ruling
themselves. Once they believe that, they make wonderfully
submissive slaves." - Joseph Sobran


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
  #9  
Old December 29th, 2007, 06:06 AM
Isomorphism's Avatar
Wesnoth Rookie

 
Join Date: Dec 2007
Location: IISc, Bangalore
Posts: 1,343
Country:
Thanks: 440
Thanked 654 Times in 548 Posts
Isomorphism is a splendid one to beholdIsomorphism is a splendid one to beholdIsomorphism is a splendid one to beholdIsomorphism is a splendid one to beholdIsomorphism is a splendid one to beholdIsomorphism is a splendid one to beholdIsomorphism is a splendid one to behold
Default

It is fun going over all these nice, old problems.

Quote:
Originally Posted by ThePerfectHacker View Post
I found this nice problem as an excercise in a math book. We can solve this by induction.
Hey TPH,
I think we can do this only using PHP, without induction(it is in fact akin to galactus solution)

In the group of n people, The different possible handshakes for each person is
0,1,2,3....,(n-1).
Claim:
We note that both 0 and n-1 together are not possible.
Proof:
Since handshake is symmetric, if there is a person with 0 handshake then nobody could have shook hands with this guy. Hence no one in the room would have shook hands with everyone. This implies "n-1" not possible.
However if "n-1" case has happened, then some body shook hands with everyone and therefore everybody would have shaken non-zero hands. So 0 is not possible!
That means "n-1" handshake choices for "n" people.
Apply PHP and wrap it up.

I think this argument is nice since it uses only PHP. We proved this result in graph theory using PHP itself!
Closed Thread
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -7. The time now is 02:42 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
©2005 - 2009 Math Help Forum


Math Help Forum is a community of maths forums with an emphasis on maths help in all levels of mathematics.
Register to post your math questions or just hang out and try some of our math games or visit the arcade.