In probability, the geometric distribution with probability of success formula_1, written formula_2, is a discrete probability distribution defined on non-negative integers. It is used to model the number of trials needed to obtain a first success, where the probability of success of each trial is formula_1.