A man takes a step forward with probability 0.4 and backward with probability 0.6. Find the probability that at the end of 5 steps, he is one step away from the starting point.
OR
Suppose a girl throws a die. If she gets a 1 or 2, she tosses a coin three times and notes the number of "tails". If she gets 3, 4, 5 or 6, she tosses a coin once and notes whether a 'head' or 'tail' is obtained. If she obtained exactly one "tail", what is the probability that she threw 3, 4, 5 or 6 with the die?
Given probability that the man takes a step forward = 0.4 = p so, q = 1 - p = 0.6.
LetE1 be the event that out of 5 steps the man takes exactly 3 steps are forward and 2 steps backward.
Let E2 be the event that out of 5 steps tha man takes exactly 2 steps are forward and 3 steps backward.
Also let E be the event that at the end of 5 steps, the man is one step away from the starting point.
∴P(E)=P(E1)+P(E2)+P(3)+P(2)=5C3(0.4)3(0.6)2+5C2(0.4)2(0.6)3 [∴P(r)=nCr(p)r(q)n−1]
⇒=10(0.4)3(0.6)2+10(0.4)2(0.6)3=10×(0.4)2(0.6)2[0.4+0.6]=10×(0.24)2=0.576.
OR
Let A : getting 1 or 2, B : getting 3, 4, 5 or 6, E : getting exactly one tail.
So, P(A)=26,P(B)=46,P(EA)=3C1(12)1(12)3−1=38 (using binomial distribution), P(EB)=12.
By Bayes' theorem, P(BE)=P(EB)P(B)P(EA)P(A)+P(EB)P(B)
∴P(BE)=12×4638×26+12×46=83+8=811.