Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Tossing a fair coin

  1. May 10, 2010 #1
    1. The problem statement, all variables and given/known data

    Suppose that a fair coin is tossed repeatedly until a head is obtained for the first time.

    (a) What is the expected number of tosses that will be required?
    (b) What is the expected number of tails that will be obtained before the first head is

    2. Relevant equations

    E(x)= from -infinity to +infinity (continuous case)
    E(x)= for all x (discrete case)

    3. The attempt at a solution


    Pr(X>1)=1 for n=2,3,.....



    -if only 2 tosses are expected to obtain a head then only one tail would be obtained before a head

    -does this make sense???
  2. jcsd
  3. May 11, 2010 #2


    User Avatar
    Homework Helper

    helps if you show you steps to make it clear what you did... i'd start like this
    [tex] \begin{matrix}
    P(1) & = P(H) & = 1/2 & &\to P(X \leq 1) = 1/2 &\to P(X>1) = 1/2 \\
    P(2) & = P(TH) &= (1/2)(1/2) &= 1/4 & \to P(X \leq 2) = 3/4 & \to P(X>2) = 1/4\\
    P(3) & = P(TTH) &= (1/4)(1/2) &= 1/8 & \to P(X \leq 2) = 7/8 & \to P(X>1) = 1/8
    \end{matrix} [/tex]

    which looks like you're close for P(X>n) but not quite, assuming X is number of tosses for a head - should be able to write out P(X=n) from here and set up a sum for the expected value
    [tex] E(x) = \sum_{n=0}^{\infty} n P(X=n) [/tex]
  4. May 11, 2010 #3


    User Avatar
    Homework Helper

    not too sure what you meant by
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook