# Memorylessness

(Redirected from Memoryless)

In probability and statistics, memorylessness is a property of certain probability distributions. It usually refers to the cases when the distribution of a "waiting time" until a certain event, does not depend on how much time has elapsed already. Only two kinds of distributions are memoryless: exponential distributions of non-negative real numbers and the geometric distributions of non-negative integers.

Most phenomena are not memoryless, which means that observers will obtain information about them over time. For example, suppose that X is a random variable, the lifetime of a car engine, expressed in terms of "number of miles driven until the engine breaks down". It is clear, based on our intuition, that an engine which has already been driven for 300,000 miles will have a much lower X than would a second (equivalent) engine which has only been driven for 1,000 miles. Hence, this random variable would not have the memorylessness property.

In contrast, let us examine a situation which would exhibit memorylessness. Imagine a long hallway, lined on one wall with thousands of safes. Each safe has a dial with 500 positions, and each has been assigned an opening position at random. Imagine that an eccentric man walks down the hallway, stopping once at each safe to make a single random attempt to open it. In this case, we might define random variable X as the lifetime of his search, expressed in terms of "number of attempts the man must make until he successfully opens a safe". In this case, E[X] will always be equal to the value of 500, regardless of how many attempts have already been made. Each new attempt has a (1/500) chance of succeeding, so the man is likely to open exactly one safe sometime in the next 500 attempts -- but with each new failure he makes no "progress" toward ultimately succeeding. Even if the man has just failed 499 consecutive times (or 4,999 times), we expect to wait 500 more attempts until we observe the next success. If, instead, this man focused his attempts on a single safe, and "remembered" his previous attempts to open it, he would be guaranteed to open the safe after, at most, 500 attempts (and, in fact, at onset would only expect to need 250 attempts, not 500).

Real-life examples of memorylessness include the time until a given radioactive particle decays, the time until the discovery of a new Bitcoin block, and (over the short term) the time a storekeeper must wait before the arrival of their next customer.

To model these situations accurately, we must constantly 'forget' which state the system is in: the probabilities would not be influenced by the history of the process.[1]

In the context of Markov processes, memorylessness refers to the Markov property,[2] an even stronger assumption which implies that the properties of random variables related to the future depend only on relevant information about the current time, not on information from further in the past. The present article describes the use outside the Markov property.

## Discrete memorylessness

Suppose X is a discrete random variable whose values lie in the set { 0, 1, 2, ... }. The probability distribution of X is memoryless precisely if for any m, n in { 0, 1, 2, ... }, we have

${\displaystyle \Pr(X>m+n\mid X>m)=\Pr(X>n).}$

Here, Pr(X > m + n | X  >  m) denotes the conditional probability that the value of X is larger than m + n, given that it is larger than or equal to m.

The only memoryless discrete probability distributions are the geometric distributions, which feature the number of independent Bernoulli trials needed to get one "success," with a fixed probability p of "success" on each trial. In other words those are the distributions of waiting time in a Bernoulli process.

### A frequent misunderstanding

"Memorylessness" of the probability distribution of the number of trials X until the first success means that

${\displaystyle \mathrm {} \ \Pr(X>40\mid X>30)=\Pr(X>10).\,}$

It does not mean that

${\displaystyle \mathrm {} \ \Pr(X>40\mid X>30)=\Pr(X>40)\,}$

which would be true only if the events X > 40 and X > 30 were independent.

## Continuous memorylessness

Suppose X is a continuous random variable whose values lie in the non-negative real numbers [0, ∞). The probability distribution of X is memoryless precisely if for any non-negative real numbers t and s, we have

${\displaystyle \Pr(X>t+s\mid X>t)=\Pr(X>s).\,}$

This is similar to the discrete version except that s and t are constrained only to be non-negative real numbers instead of integers. Rather than counting trials until the first "success," for example, we may be marking time until the arrival of the first phone call at a switchboard.

### The memoryless distribution is an exponential distribution

The only memoryless continuous probability distributions are the exponential distributions, so memorylessness completely characterizes the exponential distributions among all continuous ones. The property is derived through the following proof:

To see this, first define the survival function, G, as

${\displaystyle G(t)=\Pr(X>t).\,}$

Note that G(t) is then monotonically decreasing. From the relation

${\displaystyle \Pr(X>t+s|X>t)=\Pr(X>s)\,}$

and the definition of conditional probability, it follows that

${\displaystyle {\Pr(X>t+s) \over \Pr(X>t)}=\Pr(X>s).}$

This gives the functional equation, which is, by definition a result of the memorylessness property.

${\displaystyle G(t+s)=G(t)G(s)\,}$

From this, we must have:

${\displaystyle G(2)=G(1)^{2}}$

${\displaystyle G(1/2)=G(1)^{1/2}}$

In general:

${\displaystyle G(a)=G(1)^{a}}$

The only continuous function that will satisfy this equation for any positive, rational, real ${\displaystyle a}$ is:

${\displaystyle G(a)=G(1)^{a}=e^{\ln(G(1))a}=e^{-\lambda a}}$

Where ${\displaystyle \lambda =-\ln(G(1))}$

Therefore, since ${\displaystyle G(a)}$ is a probability and must have ${\displaystyle \lambda >0}$, then any memorylessness function must be an exponential.

Put a different way, ${\displaystyle G}$ is a monotone decreasing function (meaning that for times ${\displaystyle x\leq y}$, then ${\displaystyle G(x)\geq G(y)}$).

The functional equation alone will imply that G restricted to rational multiples of any particular number is an exponential function. Combined with the fact that G is monotone, this implies that G over its whole domain is an exponential function.

## References

• Feller, W. (1971) Introduction to Probability Theory and Its Applications, Vol II (2nd edition),Wiley. Section I.3 ISBN 0-471-25709-5