Line 3: Line 3:
  
 
<math>P[X is Even]= \sum\limits_{k=0,even}^N P[x=k]= \sum\limits_{k=0}^N {N \choose k} P^k(1-P)^{N-k}[1+(-1)^k]</math> Eq. 1
 
<math>P[X is Even]= \sum\limits_{k=0,even}^N P[x=k]= \sum\limits_{k=0}^N {N \choose k} P^k(1-P)^{N-k}[1+(-1)^k]</math> Eq. 1
 +
 +
//comment//
 +
 +
Is this true? Won't the probability double because when k is even <math>[1+(-1)^k] = 2</math>? Shouldn't you put a 1/2 somewhere because of this?? Please advise. Thanks,
 +
 +
Ken Pesyna
 +
 +
//end comment//
 +
  
 
Next we must expand <math>(x+y)^n + (x-y)^n</math> using the binomial thereom:
 
Next we must expand <math>(x+y)^n + (x-y)^n</math> using the binomial thereom:

Revision as of 15:37, 23 September 2008

The first step for this problem is to map out what the probability that x is even would be:


$ P[X is Even]= \sum\limits_{k=0,even}^N P[x=k]= \sum\limits_{k=0}^N {N \choose k} P^k(1-P)^{N-k}[1+(-1)^k] $ Eq. 1

//comment//

Is this true? Won't the probability double because when k is even $ [1+(-1)^k] = 2 $? Shouldn't you put a 1/2 somewhere because of this?? Please advise. Thanks,

Ken Pesyna

//end comment//


Next we must expand $ (x+y)^n + (x-y)^n $ using the binomial thereom:

$ (x+y)^n + (x-y)^n = \sum\limits_{k=0}^N {N \choose k} y^kx^{N-k} + \sum\limits_{k=0}^N {N \choose k} (-y)^kx^{N-k} $ Eq. 2

This simplifies to:

$ \sum\limits_{k=0}^N {N \choose k} (x)^{N-k}y^k[1+(-1)^k] $ Eq. 3

By comparing equations 1 and 3 you can derive a condensed equation in the form of $ (x+y)^n + (x-y)^n $ where $ x = 1-P $ and $ y=P $ :

$ ((1-P)+P)^n + ((1-P)-P)^n = 1^n + (1-2P)^n $ Eq. 4

Note that even though the hint gives away x = 1-P and y = P, we use the binomial theorem to prove the correlation between equations 1 and 3.

Alumni Liaison

Meet a recent graduate heading to Sweden for a Postdoctorate.

Christine Berkesch