A geometric random variable represents the number of trials until the first success in a series of independent Bernoulli trials, where each trial has a success probability \( p \). The probability mass function (PMF) of \( X \) is given by:
\[
P(X = k) =
Show more…