Since the trials are independent, the probability that the first k−1
trials fail is (12)k−1,
and the probability that the k-th
trial is successful is 12.
Thus, for k≥1,
P(X=k)=(12)k−1∗12.
(b)
This problem reduces to part a
once a trial is performed. Whatever it’s outcome, we label it failure and
proceed to perform more trials until the opposite outcome is observed.
Thus, for k≥2,