For this probability question, a coin with probability p of heads is flipped until both heads and tails appears. For finding the Expectation of the number of flips, I do not understand how E[X | first head] = (1 + 1/(1+p)) and the same for the tails first.

Algebra & Trigonometry with Analytic Geometry
13th Edition
ISBN:9781133382119
Author:Swokowski
Publisher:Swokowski
Chapter3: Functions And Graphs
Section3.3: Lines
Problem 30E
icon
Related questions
Question

For this probability question, a coin with probability p of heads is flipped until both heads and tails appears. For finding the Expectation of the number of flips, I do not understand how E[X | first head] = (1 + 1/(1+p)) and the same for the tails first.

E [X] = E [X|first head] P [first head] + E [X|first tail] P [first tail]
E [X] =
(1
(1+)p+ (1+) (1-P)
p)
p²+(1-p)²
(1 + P²HLL-D² )
p(1+p)
E [X] = (1
Transcribed Image Text:E [X] = E [X|first head] P [first head] + E [X|first tail] P [first tail] E [X] = (1 (1+)p+ (1+) (1-P) p) p²+(1-p)² (1 + P²HLL-D² ) p(1+p) E [X] = (1
Expert Solution
steps

Step by step

Solved in 3 steps with 4 images

Blurred answer
Recommended textbooks for you
Algebra & Trigonometry with Analytic Geometry
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:
9781133382119
Author:
Swokowski
Publisher:
Cengage