Question: Bernoulli trials. Consider a sequence of Bernoulli trials with probability of success p, and that of failure q = 1 - p. The number of trials that precede the first success is a discrete RV, which we denote by X.
(a) Find the probability distribution of X.
(b) Find the mean and variance of X using the CF of this distribution.