Editing Talk:216: Romantic Drama Equation

Jump to: navigation, search
Ambox notice.png Please sign your posts with ~~~~

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 3: Line 3:
  
 
:He says for large casts.  For 2000 cast members, with 1000 of each gender, the gay couplings comes out at 999,000 and straight at 1,000,000. Presumably this is the small cross over the diagram alludes to.  If you substitute x = n/2 into the equations, then you get (n^2-2n)/4 for the gay combinations and n^2/4 for the straight combinations, so for gender balanced cast size of n, the straight combinations outnumber the gay by n/2 {{unsigned ip | 141.101.98.229}}
 
:He says for large casts.  For 2000 cast members, with 1000 of each gender, the gay couplings comes out at 999,000 and straight at 1,000,000. Presumably this is the small cross over the diagram alludes to.  If you substitute x = n/2 into the equations, then you get (n^2-2n)/4 for the gay combinations and n^2/4 for the straight combinations, so for gender balanced cast size of n, the straight combinations outnumber the gay by n/2 {{unsigned ip | 141.101.98.229}}
 
:The intuitive explanation for this is that if there are equally many men and women (i.e., x = n/2), each individual can pair with (n/2 - 1) others of the same gender, but with n/2 of the opposite gender. So each individual has 1 more pairing with the opposite gender than with the same gender. Taken across the population, that leads to a difference of n/2. [[Special:Contributions/172.71.126.145|172.71.126.145]] 10:13, 11 March 2024 (UTC)
 
  
 
There is a typo in his formula for gay casts. The + should be a -. {{unsigned ip|199.27.128.159}}
 
There is a typo in his formula for gay casts. The + should be a -. {{unsigned ip|199.27.128.159}}
Line 12: Line 10:
  
 
The first equation can also be understood more simply as the total number of possible pairings, minus the number of straight ones. {{unsigned ip|162.158.23.191}}
 
The first equation can also be understood more simply as the total number of possible pairings, minus the number of straight ones. {{unsigned ip|162.158.23.191}}
:Good point! I wonder where exactly that small crossover region should be. n(n-1)/2 - x(n-x) = x(n-x) so n(n-1)/2 = 2x(n-x) so n(n-1) = 4x(n-x). Hm, he said for large casts, so I suppose Randall's making approximations based on the limit. As n -> infinity, n(n-1) -> n^2, and as x -> n/2, 4x(n-x) -> 2 n(n/2) which is also n^2. So it makes sense that the crossover region gets closer to just being one point at n/2. But can we calculate an exact trend? n(n-1)=4nx-x^2, so x^2-4nx+n(n-1)=0, so x=[4nx±sqrt(16-4(n)(n-1))]/2, so x(1-2n)=x-2nx=±sqrt[16-4(n)(n-1)]/2=±sqrt[4-n(n-1)], so x=±sqrt[4-n(n-1)]/(1-2n).  Also, that can't possibly be right because it would give a negative answer but whatever, it's late, I think I did the approximated math right so that's good enough [[Special:Contributions/172.68.78.100|172.68.78.100]] 05:53, 21 June 2017 (UTC)
 
 
I think all genders being constant isn't really an assumption of the graph. Obviously the graph only works for a single moment in time in a TV show, since the cast changes over time with the plot of the show (such as when people die in the show). The graph already needs to be re-drawn every time someone enters or leaves the cast. For the data we're tracking, a sex change operation is the same as, for example, a man leaving the show and a woman subsequently entering it. Sure, you could then also say that the cast being constant is an assumption of the graph, but that's not really accurate either. The graph simply doesn't observe the passage of time. You'd have to add a time axis for that, making the graph three-dimensional. [[Special:Contributions/172.68.26.251|172.68.26.251]] 04:15, 21 March 2017 (UTC)
 
 
I think a better way to explain the gay pairing equation would be to look at it like this: n(n-1)/2 are all possible pairings, since you take each person(n), pair them with everyone except themselves(multiply by n-1) and then divide by 2 to eliminate pairing the same people twice. Then substract x(n-x) which is the equation for all straight pairings. - x(n-x)=x(x-n), hence the second part of this equation.(Hope  I'm editing correctly)
 
 
It actually comes out that if each individual's gender is chosen randomly, the expected value for straight casts and for gay casts is the same (not too hard to prove via induction).
 

Please note that all contributions to explain xkcd may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see explain xkcd:Copyrights for details). Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel | Editing help (opens in new window)

Template used on this page: