• Support PF! Buy your school textbooks, materials and every day products via PF Here!

Probability: Conditional expectation

190
0
1. Homework Statement
What is the expected number of flips of a biased coin with probability of heads 'p', until two consecutive flips are heads?


2. Homework Equations



3. The Attempt at a Solution

Let T_1 = first flip is tails, H_1 = first flip is heads. and T_2, H_2 for second flip.

[itex] \mathbb{E}[X] = \mathbb{E}[X|T_1]\mathbb{P}[T_1] + \mathbb{E}[X|H_1]\mathbb{P}[H_1] [/itex]

[itex] = \mathbb{E}[X|T_1]\mathbb{P}[T_1] + \mathbb{P}[H_1]\left(\mathbb{E}[X|H_1H_2]\mathbb{P}[H_2]+\mathbb{E}[X|H_1T_2]\mathbb{P}[T_2]\right)[/itex]

[itex] = (1-p)(1+ \mathbb{E}[X]) + p(2p+(2+\mathbb{E}[X])(1-p))[/itex]

[itex] = \frac{1+p}{p^2} [/itex]

I know that the final answer is correct.

My question is whether I am allowed to condition on the 2nd flip the way I did.

Thanks!
 

Want to reply to this thread?

"Probability: Conditional expectation" You must log in or register to reply here.

Related Threads for: Probability: Conditional expectation

Replies
12
Views
1K
Replies
4
Views
660
Replies
1
Views
2K
Replies
1
Views
6K
Replies
5
Views
402
  • Posted
Replies
6
Views
1K
  • Posted
Replies
0
Views
2K
  • Posted
Replies
2
Views
3K

Physics Forums Values

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving
Top