Here is another way to obtain a set of recursive equations for determining Pn, the probability that there is a string of kconsecutive heads in a sequence of nflips of a fair coin that comes up heads with probability p:

(a) Argue that for k<n, there will be a string of kconsecutive heads if either

1. there is a string of kconsecutive heads within the first n-1flips, or

2. there is no string of kconsecutive heads within the first n-k-1flips, flip n-kis a tail, and flips n-k+1,,nare all heads.

(b) Using the preceding, relate PntoPn-1. Starting with Pk=pk, the recursion can be used to obtain Pk+1, thenPk+2, and so on, up to Pn.

Short Answer

Expert verified

(a) 1 The probability for this case is Pn-1.

2 we have not obtained kconsecutive heads.

(b) Pn=Pn-1+(1-p)·1-Pn-k-1·pk

Step by step solution

01

Given information Part (a)  

We found that there is another way to obtain a set of recursive equations for determining Pn, the probability that there is a string of kconsecutive heads in a sequence of nflips of a fair coin that comes up heads with probability p.

02

 Explanation Part (a)  

Let's condition on what happens with the lastk flips. We have two options

1

There has been obtained kconsecutive Heads within first n-1flips. That means that we are not interested what happens in the last trial (the probability l), so the probability for this case is Pn-1.

2

Suppose that we have obtained kconsecutive Heads in the last kflips. That means that in n-k-1st flip we had to have tail and that in the first n-k-1flips we have not obtained kconsecutive heads.

03

Given information Part (b)  

We found that there is another way to obtain a set of recursive equations for determining Pn, the probability that there is a string of kconsecutive heads in a sequence of nflips of a fair coin that comes up heads with probability p.

04

Explanation Part (b)  

Considering the discussion in (a), the required recursion is

Pn=Pn-1+(1-p)·1-Pn-k-1·pk

That recursive relation can be solved using the method given in the exercise, but it is not part of this task.

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

To determine whether they have a certain disease, 100people are to have their blood tested. However, rather than testing each individual separately, it has been decided first to place the people into groups of 10. The blood samples of the 10people in each group will be pooled and analyzed together. If the test is negative, one test will suffice for the 10people, whereas if the test is positive, each of the 10people will also be individually tested and, in all, 11tests will be made on this group. Assume that the probability that a person has the disease isrole="math" localid="1646542351988" .1 for all people, independently of one another, and compute the expected number of tests necessary for each group. (Note that we are assuming that the pooled test will be positive if at least one person in the pool has the disease.)

The monthly worldwide average number of airplane crashes of commercial airlines is 3.5.What is the probability that there will be

(a) at least 2such accidents in the next month;

(b) at most1accidents in the next month?

Explain your reasoning!

It is known that diskettes produced by a certain company will be defective with probability .01, independently of one another. The company sells the diskettes in packages of size 10and offers a money-back guarantee that at most1of the diskettes in the package will be defective. The guarantee is that the customer can return the entire package of 10 diskettes if he or she finds more than 1 defective diskette in it. If someone buys 3 packages, what is the probability that he or she will return exactly 1 of them?

A box contains 5red and 5blue marbles. Two marbles are withdrawn randomly. If they are the same color, then you win \(1.10; if they are different colors, then you win -\)1.00. (That is, you lose $1.00.) Calculate

(a) the expected value of the amount you win;

(b) the variance of the amount you win.

In response to an attack of 10missiles, 500 antiballistic missiles are launched. The missile targets of the antiballistic missiles are independent, and each antiballstic missile is equally likely to go towards any of the target missiles. If each antiballistic missile independently hits its target with probability .1, use the Poisson paradigm to approximate the probability that all missiles are hit.

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