wu :: forums
« wu :: forums - Random Permutations & Binomial Parity »

Welcome, Guest. Please Login or Register.
Nov 24th, 2024, 8:18pm

RIDDLES SITE WRITE MATH! Home Home Help Help Search Search Members Members Login Login Register Register
   wu :: forums
   riddles
   medium
(Moderators: Icarus, SMQ, towr, Eigenray, Grimbal, william wu, ThudnBlunder)
   Random Permutations & Binomial Parity
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Random Permutations & Binomial Parity  (Read 1541 times)
william wu
wu::riddles Administrator
*****





   
WWW

Gender: male
Posts: 1291
Random Permutations & Binomial Parity  
« on: Oct 8th, 2002, 10:18pm »
Quote Quote Modify Modify

Took a midterm today in Karp's discrete probability / randomized algorithms class. Solutions came out afterwards. I missed the following questions, and I don't know how they solutions were arrived at; perhaps someone could explain. I could just wait till tomorrow to ask the TA, but my curiosity is eating me alive, and response time on this forum is pretty good.
 
 
 
RANDOM PERMUTATION

 
(9 points) What is the probability that a random permutation of ten elements has exactly 3 cycles: one of length 5, one of length 3 and one of length 2? Hint: count the permutations with the specified property, then divide by 10!
 
 
 
Binomial Parity Problem

 
(9 points) Let the random variable Xn be the number of heads in n tosses of a coin with probability of heads p. Let En be the probability that Xn is even. Give a formula expressing En in terms of En-1.
 
« Last Edit: Oct 8th, 2002, 10:19pm by william wu » IP Logged


[ wu ] : http://wuriddles.com / http://forums.wuriddles.com
william wu
wu::riddles Administrator
*****





   
WWW

Gender: male
Posts: 1291
Re: Random Permutations & Binomial Parity  
« Reply #1 on: Oct 8th, 2002, 10:26pm »
Quote Quote Modify Modify

ok i just figured out what i did wrong with the Binomial Parity Problem ... dumb error. of course you're still welcome to do it if you like Smiley
IP Logged


[ wu ] : http://wuriddles.com / http://forums.wuriddles.com
Jonathan_the_Red
Junior Member
**





   
Email

Gender: male
Posts: 102
Re: Random Permutations & Binomial Parity  
« Reply #2 on: Oct 9th, 2002, 11:15am »
Quote Quote Modify Modify

on Oct 8th, 2002, 10:18pm, william wu wrote:

(9 points) Let the random variable Xn be the number of heads in n tosses of a coin with probability of heads p. Let En be the probability that Xn is even. Give a formula expressing En in terms of En-1.

 
edit: hidden by color
 

E0 = 1
En = En-1 + p - 2En-1p

« Last Edit: Oct 9th, 2002, 12:46pm by Jonathan_the_Red » IP Logged

My arcade cabinet
william wu
wu::riddles Administrator
*****





   
WWW

Gender: male
Posts: 1291
Re: Random Permutations & Binomial Parity  
« Reply #3 on: Oct 9th, 2002, 12:35pm »
Quote Quote Modify Modify

jonathan: yea, that's right.
 
random permutation answer:

1/30
IP Logged


[ wu ] : http://wuriddles.com / http://forums.wuriddles.com
TimMann
Senior Riddler
****






   
WWW

Gender: male
Posts: 330
Re: Random Permutations & Binomial Parity  
« Reply #4 on: Oct 9th, 2002, 10:14pm »
Quote Quote Modify Modify

Are you still looking for the reasoning for the random permutation answer? Here it is, hidden by color.
 

Write the permutation in cycles as (x x x x x)(x x x)(x x).  If the x's are replaced by numbers from 1 to 10, how many distinct permutations are generated?  Cyclically permuting the numbers within a cycle doesn't change the permutation, but any other change does.  There are 5 ways to cyclically permute the elements within the first cycle, 3 within the second, and 2 within the third, so of the 10! possible assignments of x's, 1/(5*3*2) are distinct. I.e., there are 10!/30 permutations with this cycle structure. So over all the 10! permutations, (10!/30)/10! = 1/30 of them have the specified structure.
IP Logged

http://tim-mann.org/
william wu
wu::riddles Administrator
*****





   
WWW

Gender: male
Posts: 1291
Re: Random Permutations & Binomial Parity  
« Reply #5 on: Oct 27th, 2002, 3:28pm »
Quote Quote Modify Modify

I figured it out by then, but thanks anyways Tim! Much appreciated.
 
BTW, the most heavily weighted problem on the test, which most people got blasted by, was just the bachelor's dilemma in disguise. And I had heard it already! God I love this site  Cool
 
( bachelor's dilemma: http://www.ocf.berkeley.edu/~wwu/riddles/hard.shtml#bachelorsDilemma )
« Last Edit: Oct 27th, 2002, 3:29pm by william wu » IP Logged


[ wu ] : http://wuriddles.com / http://forums.wuriddles.com
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

Powered by YaBB 1 Gold - SP 1.4!
Forum software copyright © 2000-2004 Yet another Bulletin Board