Probability - Tossing a coin, counting X heads, then tossing X more times.

Click For Summary

Homework Help Overview

The problem involves a biased coin that comes up heads with a probability of 1/4, which is tossed 40 times to count the number of heads, denoted as X. The coin is then tossed X additional times. Participants are tasked with determining the expected total number of heads and the variance of the total number of heads generated by this process.

Discussion Character

  • Exploratory, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss the expected value and variance using binomial distribution properties, with some attempting to express the expected total number of heads through summation of probabilities. There are questions about the correct formulation of expressions for expectation and variance.

Discussion Status

Some participants have provided insights into calculating the expected number of heads, with one suggesting a breakdown into components based on the binomial distribution. There is ongoing exploration of how to properly account for the additional tosses based on the initial results.

Contextual Notes

Participants are navigating the complexities of combining results from two stages of coin tossing, with emphasis on the independence of tosses and the implications for expected values. There is some confusion regarding the correct application of conditional probabilities in the context of the problem.

cse63146
Messages
435
Reaction score
0

Homework Statement



Suppose that tosses of a biased coin in which it comes up heads with probability 1/4 are independent. The coin is tossed 40 times and the number of heads X is counted. The coin is tossed X more times.

A) Determine the expected total number of heads generated by this process.
B) Determine the variance of the total number of heads by this process

Homework Equations





The Attempt at a Solution



I know that [tex]E[X] = \Sigma X_i P(X_i)[/tex]

and I tried to set it up using the binomial distribution (40CX = 40 "choose" X)

[tex](40CX)(1/4)^X (3/4)^{40 - X} + (XCn)(1/4)^n (3/4)^{X - n)[/tex]

I really got no clue on what to do. Any help would be greately appreciated.
 
Physics news on Phys.org
Hi cse63146! :smile:
cse63146 said:
Suppose that tosses of a biased coin in which it comes up heads with probability 1/4 are independent. The coin is tossed 40 times and the number of heads X is counted. The coin is tossed X more times.

A) Determine the expected total number of heads generated by this process.
B) Determine the variance of the total number of heads by this process

[tex](40CX)(1/4)^X (3/4)^{40 - X} + (XCn)(1/4)^n (3/4)^{X - n)[/tex]

Yes, your first expression is P(X heads in first 40),

and your second expression is P(n heads after that | X heads in first 40) …

to get expectation values, multiply the first one by X and add, and multiply the second one by … ? :smile:
 
So

[tex]E[X] = \Sigma X_i P(X_i) = \Sigma X P(X \ heads \ in \ first \ 40) + \Sigma n P(n \ heads \ after \ that \ | \ X \ heads \ in \ first \ 40)[/tex]

[tex]= \Sigma X(40CX)(1/4)^X (3/4)^{40 - X} + \Sigma n (XCn)(1/4)^n (3/4)^{X - n}[/tex]
 
almost :smile:

but you need nP(n heads after that), not nP(n heads after that | X heads in first 40) :wink:
 
since each toss is independent, P(head) = 1/4, and since this is a binomial distribution, E[X] = np

and just to make things a bit more organized (at least for me) [tex]E[X] = E[X_1] + E[X_2][/tex] where [tex]E[X_1][/tex] = nP(X heads in first 40 tosses) and [tex]E[X_2][/tex] = nP(n heads after that)

[tex]E[X] = E[X_1] + E[X_2][/tex]
[tex]E[X] = 40(1/4) + E[X_1](1/4)[/tex]
[tex]E[X] = 10 + 10(1/4) = 12.5[/tex]
 
cse63146 said:
[tex]E[X] = 40(1/4) + E[X_1](1/4)[/tex]
[tex]E[X] = 10 + 10(1/4) = 12.5[/tex]

sorry … no idea what you're doing :confused:

go back and adjust your last post … that was almost correct :smile:
 
The way I thought of it was like this:

Expecation of a binomial distribution is np. Since we flip a coing 40 times with 1/4 probability of getting heads, the expected number of heads would be 10. So for the second part, we would flip the coin another 10 times (because we expect to get 10 heads in the first 40 tosses) and the probability of heads would still be 1/4 so 10(1/4) = 2.5, and we add them together to get 12.5 heads.
 

Similar threads

  • · Replies 23 ·
Replies
23
Views
4K
Replies
3
Views
1K
  • · Replies 15 ·
Replies
15
Views
7K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
4
Views
2K
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K