[Math] Probability of even number of successes in a series of independent trials

generating-functionsprobability

Consider a series of independent trials at each of which there is a success of a failure with probabilities $p$ and $1-p$ respectively. I am finding it difficult to derive the probability of even number of successes occurring at the nth trial. Any assistance will be much appreciated. Thanks

Best Answer

Use induction. If $P_n$ is the probability of even number of successes in n trials, then

$$ P_n = p(1-P_{n-1}) + (1-p)P_{n-1}$$

This results in

$$ P_n = \frac{1+(1-2p)^n}{2}$$

Related Question