Geometric Distribution
For a Bernoulli Trial, let be the number of tests when we first meet 1. Then is said to have a geometric distribution. Another definition lets be the number of failures before the first success, then the PMF is .
Memoryless
An geometric random variable is memoryless:
This gives an alternative method to calculate the expectation of geometric distribution using Conditional Expectation. For the mean, we have
which implies . Similarly, for the second moment, we have
which implies .