Let X be a discrete RV with range X={1,2,⋯}. The number of fails X until a first success is called a geometric RV with parameter p and pmf p(n)=(1−p)n−1p, n∈X={1,2,⋯}For RV X∼\mboxGeometric(p) E[X]\mboxVar(X)=p1=p21−p
The number of fails X until a first success