Q. 3.17

Question

Suppose that n independent trials are performed, with trial i being a success with probability 1/(2i + 1). Let Pn denote the probability that the total number of successes that result is an odd number.

(a) Find Pn for n = 1, 2, 3, 4, 5.

(b) Conjecture a general formula for Pn.

(c) Derive a formula for Pn in terms of Pn-1.

(d) Verify that your conjecture in part (b) satisfies the recursive formula in part (c). Because the recursive formula has a unique solution, this then proves that your conjecture is correct. 

Step-by-Step Solution

Verified
Answer

(a) The value of n=1 is P1=13, n=2 is P2=25, n=3 is P3=37, n=4 is P4=49and n=5 is P5=511

(b) A general formula for Pn is equal to Pn=n2n+1

(c) A formula for Pn in terms of Pn+1is Pn+1=Pn1-PSn+1+1-PnPSn+1

(d) Pn+1 satisfy the formula. Therefore, this explicit formula is a solution of recursion

1Step1: Derive the values of P 1     , P 2   ,   P 3 (part a)

Given:

Bernoulli trials are done in a specific order.

Sn-event that the n-th experiment is successful

Pn is the probability of achieving an odd number of successes in n trials.

The sum of probability of mutually exclusive occurrences described by S1,S1c,S2,S2c,S3, is pi, i=1,2,3,4,5,...

P1=PS1=12×1+1

In the second equality, use independence.

P2=PS1S2c+PS1cS2

=PS1PS2c+PS1cPS2

=13×1-12×2+1+1-13×12×2+1

=13×45+23×15

=25

If we separate this event based on whether or not  S3occurred, S3 is an odd number of successes in the first two experiments, whereas S3c is an even number of successes in the first two experiments.

P3=PS1S2cS3c+PS1cS2S3c+PS1S2S3+PS1cS2cS3

=PS1PS2cPS3c+PS1cPS2PS3c+PS1PS2PS3+PS1cPS2cPS3

=PS1PS2c+PS1cPS2PS3c+PS1PS2+PS1cPS2cPS3

=25×1-12×3+1+1-25×12×3+1

=25×67+35×17

=37

2Step2: Derive the values of P 4 , P 5 (part a)

P4 and P5 in a smaller package

P4=P ( odd number of successes in the first 3experiments S4c) +P (odd number of successes in the first 3 experiments S4)

=37×1-12×4+1+1-37×12×4+1

=37×89+47×19

=49

P5=P (odd number of successes in the first 4 experiments S5c) +P(odd number of successes in the first 4 experiments S5)

=49×1-12×5+1+1-49×12×5+1

=49×1011+59×111

=511

3Step3: Find the formula for P n and P n + 1 (part b and part c)

a formula is true for the above probability is

Pn=n2n+1

Pn+1=Pn1-PSn+1+1-PnPSn+1

This is demonstrated by separating the event of an odd number of successes from the event Sn+1.

The first n attempts in an odd number of successes (Pn) are called Sn+1.

Sn+1c in the first n attempts with an even number of successes 1-Pn.


4Step4: Verify conjecture in part (b) satisfies the recursive formula in part (c) (part d)

Substitute Pn+1=n2n+1 into recursion

Pn+1=n2n+1×1-12(n+1)+1+1-n2n+1×12(n+1)+1

=n2n+1×2(n+1)2(n+1)+1+n+12n+1×12(n+1)+1

=n×2(n+1)+(n+1)(2n+1)[2(n+1)+1]

=n+12(n+1)+1

Because Pn+1 meet the formula, this explicit formula is a recursive formula solution.

This is the only recursive formula solution.