Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

A coin that when flipped comes up heads with probability p is flipped until either heads or tails has occurred twice. Find the expected number of flips

Short Answer

Expert verified

The expected number of flipsE(X)is -2p2+p-2.

Step by step solution

01

Given Information

Given in the question that the coin was flipped comes up heads with probability pis flipped until either heads or tails has occurred twice.

02

Find the Value of p2

Consider Xis a number of tosses of the coin.

For X=0and p0=0as two heads or two tails are not possible.

For X=1and p1=0as two heads or two tails are not possible.

For X=2and p2=0as two heads or two tails are possible.

Therefore,

p2=HHor TT

=pp+(1-p)(1-p)

We get,

=p2+(1-p)2

03

Find the Value of p3

Since if head occurs then the probability is potherwise if tail occurs then the probability is (1-p)

For the X=3,probability of two heads or two tails is surely one.

But this has not occurred with X=2

It means that if X=1does not occur withX=3,

Outcome surely occurs

Thus, we find out changes outcome does not happen withX=2

That is,

p3=1-p2

=1-p2-(1-p)2

04

Distribution Table

The Distribution Table is shown as below:

Xipi00102p2+(1-p)231-p2-(1-p)2

05

Computation of E(X)

Find the value

E(X)=xp(x)

=(0×0)+(1×0)+2×p2+(1-p)2+3×1-p2-(1-p)2

=0+0+2p2+2(1-p)2+3-3p2-3(1-p)2

Simplifying the equation

=-p2-(1-p)2+3

=-p2-1-p2+2p+3

We get,

=-2p2+p-2.

06

Final Answer

The expected number of flips E(X)is-2p2+p-2.

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

Five distinct numbers are randomly distributed to players numbered1through 5. Whenever two players compare their numbers, the one with the higher one is declared the winner. Initially, players1and 2 compare their numbers; the winner then compares her number with that of player 3, and so on. Let X denote the number of times player 1 is a winner. FindPX=i,i=0,1,2,3,4.

A communications channel transmits the digits 0and 1. However, due to static, the digit transmitted is incorrectly received with probability 2. Suppose that we want to transmit an important message consisting of one binary digit. To reduce the chance of error, we transmit 00000 instead of 0 and 11111 instead of 1. If the receiver of the message uses “majority” decoding, what is the probability that the message will be wrong when decoded? What independence assumptions are you making?

A purchaser of transistors buys them in lots of 20. It is his policy to randomly inspect 4 components from a lot and to accept the lot only if all 4 are nondefective. If each component in a lot is, independently, defective with probability .1, what proportion of lots is rejected?

If X has distribution function F, what is the distribution function of the random variable αX + β, where α and β are constants, α0?

In the game of Two-Finger Morra, 2players show 1or 2fingers and simultaneously guess the number of fingers their opponent will show. If only one of the players guesses correctly, he wins an amount (in dollars) equal to the sum of the fingers shown by him and his opponent. If both players guess correctly or if neither guesses correctly, then no money is exchanged. Consider a specified player, and denote by X the amount of money he wins in a single game of Two-Finger Morra.

(a) If each player acts independently of the other, and if each player makes his choice of the number of fingers he will hold up and the number he will guess that his opponent will hold up in such a way that each of the 4possibilities is equally likely, what are the possible values of Xand what are their associated probabilities?

(b) Suppose that each player acts independently of the other. If each player decides to hold up the same number of fingers that he guesses his opponent will hold up, and if each player is equally likely to hold up 1or 2 fingers, what are the possible values ofX and their associated probabilities?

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