Suppose that nindependent trials are performed, with trial ibeing a success with probability 1/(2i+1). Let Pndenote the probability that the total number of successes that result is an odd number.

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

(b) Conjecture a general formula for Pn.

(c) Derive a formula for Pnin 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.

Short Answer

Expert verified

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

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

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

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

Step by step solution

01

Derive the values of P1  ,P2 , P3(part a)

Given:

Bernoulli trials are done in a specific order.

Sn-event that the n-th experiment is successful

Pnis 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, S3is an odd number of successes in the first two experiments, whereas S3cis 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

02

Derive the values of P4, P5(part a)

P4and P5in a smaller package

P4=P( odd number of successes in the first 3experiments S4c) +P(odd number of successes in the first 3experiments 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 4experiments S5)

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

=49×1011+59×111

=511

03

Find the formula for Pn and Pn+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+1cin the first nattempts with an even number of successes 1-Pn.

04

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

Substitute Pn+1=n2n+1into 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+1meet the formula, this explicit formula is a recursive formula solution.

This is the only recursive formula solution.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

An urn contains 5white and 10black balls. A fair die is rolled and that number of balls is randomly chosen from the urn. What is the probability that all of the balls selected are white? What is the conditional probability that the die landed on 3if all the balls selected are white?

Suppose that an ordinary deck of 52cards is shuffled and the cards are then turned over one at a time until the first ace appears. Given that the first ace is the role="math" localid="1647784076635" 20thcard to appear, what is the conditional probability that the card following it is the

  1. ace of spades?
  2. two of the clubs?

An urn has r red and w white balls that are randomly removed one at a time. Let Ribe the event that the ith ball removed is red. Find

a). P(Ri)

b). PR5R3

c).PR3R5

Suppose that we want to generate the outcome of the flip of a fair coin, but that all we have at our disposal is a biased coin that lands on heads with some unknown probability p that need not be equal to 1 2 . Consider the following procedure for accomplishing our task: 1. Flip the coin. 2. Flip the coin again. 3. If both flips land on heads or both land on tails, return to step 1. 4. Let the result of the last flip be the result of the experiment.

(a) Show that the result is equally likely to be either heads or tails.

(b) Could we use a simpler procedure that continues to flip the coin until the last two flips are different and then lets the result be the outcome of the final flip?

Consider two boxes, one containing 1black and 1white marble, the other 2black and 1white marble. A 100Chapter 3Conditional Probability and Independence box is selected at random, and a marble is drawn from it at random. What is the probability that the marble is black? What is the probability that the first box was the one selected given that the marble is white ?

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free