Clan x86

General Forums => Academic / School => Math and Other Problems => Topic started by: Ender on February 10, 2007, 08:14:37 pm

Title: The Sex Problem
Post by: Ender on February 10, 2007, 08:14:37 pm
Prove that in any party with a finite number of people, there are at least two people who have had sex with the same number of people at the party.

rot13 your answer. (Let this be a guideline for the future.)

Edit: I will post the proof on Sunday, and a hint on Friday.

Hint (well, Saturday, not Friday): Consider the pigeonhole principle, which is that if you are to put p pigeons in h holes, and p > h, then at least one hole has more than one pigeon.

SOLUTION (http://www.x86labs.org:81/forum/index.php/topic,8575.msg109325.html#msg109325)
Title: Re: The Sex Problem
Post by: Ergot on February 10, 2007, 11:42:19 pm
Gvz naq V ner va gur cnegl.
Title: Re: The Sex Problem
Post by: Joe on February 11, 2007, 03:57:08 am
Arjol naq V jbhyq znxr fher gb uvg rirel fvatyr tvey, fb jr'q or rdhny.

Ohg jura ur uvgf gur ubyr va gur jnyy ur'f +1 gubhtu..

Ergot, I don't understand yours, but I think it's the same as mine, right?
Title: Re: The Sex Problem
Post by: Ergot on February 11, 2007, 04:07:50 am
I'm not clear on what he's asking, but I thought it meant that if the party had x (say 200) number of people... that at least two of them would have had sex with the same x number of people (which is 200).

But I can easily disprove the problem. If there's one person in the party, then there's no way "at least two people... have had sex with the same number of people at the party."
Title: Re: The Sex Problem
Post by: Ender on February 11, 2007, 08:38:16 am
It's implied that there's more than one. It's a party.
Title: Re: The Sex Problem
Post by: Sidoh on February 11, 2007, 12:48:54 pm
V thrff sbe guvf cebbs gb jbex, lbh unir gb nffhzr gung rirelbar ng gur cnegl znfgheongrf (unf "unq frk" jvgu gurzfrys).

Sbe rirelbar ng gur cnegl gb unir unq frk jvgu qvssrerag ahzoref bs crbcyr, gurer jvyy unir gb or bar crefba jub'f unq frk jvgu bayl uvz/urefrys, bar crefba jub'f unq frk jvgu uvz/urefrys naq nabgure crefba ng gur cnegl, rgp nyy gur jnl guebhtu fbzrbar jub'f unq frk jvgu rirelbar ng gur cnegl.  Vs gurer'f fbzrbar jub'f unq frk jvgu rirelbar va gur cnegl, gura gurer pna'g or fbzrbar jub'f unq frk jvgu bayl uvz/urefrys.
Title: Re: The Sex Problem
Post by: Joe on February 12, 2007, 04:16:01 am
V thrff sbe guvf cebbs gb jbex, lbh unir gb nffhzr gung rirelbar ng gur cnegl znfgheongrf (unf "unq frk" jvgu gurzfrys).

Sbe rirelbar ng gur cnegl gb unir unq frk jvgu qvssrerag ahzoref bs crbcyr, gurer jvyy unir gb or bar crefba jub'f unq frk jvgu bayl uvz/urefrys, bar crefba jub'f unq frk jvgu uvz/urefrys naq nabgure crefba ng gur cnegl, rgp nyy gur jnl guebhtu fbzrbar jub'f unq frk jvgu rirelbar ng gur cnegl.  Vs gurer'f fbzrbar jub'f unq frk jvgu rirelbar va gur cnegl, gura gurer pna'g or fbzrbar jub'f unq frk jvgu bayl uvz/urefrys.

Abg vs fbzrbar chyyf bhg naq fgvpxf vg va fbzrbar ryfr. ^_^
Title: Re: The Sex Problem
Post by: Sidoh on February 12, 2007, 11:28:16 am
::) ::) ::) ::) ::) ::) *10^23
Title: Re: The Sex Problem
Post by: Joe on February 14, 2007, 02:29:16 am
Ender, are they allowed to knock up more than one partner?
Title: Re: The Sex Problem
Post by: Sidoh on February 14, 2007, 02:45:13 am
If they couldn't bump uglies with more than one person at the party, then you don't need to do much work to prove that the quandary is correct...
Title: Re: The Sex Problem
Post by: Ender on February 14, 2007, 04:00:33 pm
Sidoh: On the right track but your assumption is wrong. Sex is mutual. (If masturbating counted then I woulda said that Newby was at the party, or moreover, was the party...)

Title: Re: The Sex Problem
Post by: Ender on February 18, 2007, 07:18:40 pm
Solution:

Consider a party with n people. Each person at the party has n - 1 possibilities for the number of people they have had sex with. There are n people at the party, so by the pigeonhole principle at least two people has had sex with the same number of people.

w^5 (which is what we wanted)

Further Explanation:

I will explain how we used the pigeonhole principle, which was stated as a hint in the first post. The n - 1 possibilities that each person has for his or her number are the holes. The people themselves are the pigeons. Since there are more pigeons than holes, at least two pigeons must be in the same hole (yes, every pigeon has to be in a hole, there's no such thing as "The number of people I've had sex with is undefined").

The pigeonhole principle is a useful principle that can make complex problems seem simple and elegant. When considering the pigeonhole principle, identify what the holes and pigeons are.
Title: Re: The Sex Problem
Post by: Sidoh on February 18, 2007, 10:16:19 pm
I'm pretty sure that my solution was a less direct way of saying that.  I made the assumption that people would have to have sex with themselves for this "pigeonhole principle" to work (I wasn't familiar with it, but it's pretty obvious thing) because in a party of n people, any given person would have n possibilities (they could not have had sex with anyone or they could have had sex with n-1 people, 1+n-1=n).

That said, I see how the problem simplifies, even with the possibility of a virgin.  There would be a party of n-1 people with n-2 possibilities (since one is already a virgin, no one left at the party can be a virgin to find a contradiction).  I think that's probably a good addition to your proof.
Title: Re: The Sex Problem
Post by: MyndFyre on February 26, 2007, 03:00:59 pm
Wait, I don't understand. 

Given a party of 5 people: A, B, C, D, and E, you could have the following configuration:

A: no sexual partners.
B: 1 sexual partner.
C: 2 sexual partners.
D: 3 sexual partners.
E: 20 sexual partners.

I'm not quite sure I see where you're taking this.
Title: Re: The Sex Problem
Post by: Sidoh on February 26, 2007, 04:33:50 pm
The partners are only counted if they're present at the party as well.
Title: Re: The Sex Problem
Post by: Joe on March 06, 2007, 06:10:55 am
At every party, theres always those few people nobody would ever have sex with. They're tied.
Title: Re: The Sex Problem
Post by: Sidoh on April 19, 2007, 02:14:07 pm
Clear disproof of the pigeonhole principle:

http://sidoh.dark-wire.net/upload/viewitem.php?id=106
Title: Re: The Sex Problem
Post by: Ender on April 20, 2007, 07:38:04 pm
LOL
Title: Re: The Sex Problem
Post by: Joe on April 23, 2007, 07:27:34 am
Yeah.. what the fuck? I don't get it.
Title: Re: The Sex Problem
Post by: rabbit on April 23, 2007, 07:13:30 pm
There are like, 3 holes empty, and up top there are 2 in 1.
Title: Re: The Sex Problem
Post by: Sidoh on April 23, 2007, 07:21:54 pm
There are like, 3 holes empty, and up top there are 2 in 1.

Exactly! :P
Title: Re: The Sex Problem
Post by: rabbit on April 23, 2007, 09:18:03 pm
Ah!  4 empty ones.  The one at the left is cut off when I magnify the image to 100% :X