Sometimes the geometric random variable is defined to be the number of trials, X, preceding the first success. Write down the corresponding pdf and derive the moment-generating function for X two ways-(1) by evaluating E (et X ) directly and (2) by using Theorem 3.12.3.