In probability and statistics, memorylessness is a property of certain probability distributions. It describes situations where the time already spent waiting for an event does not affect how much longer the wait will be. To model memoryless situations accurately, we have to disregard the past state of the system – the probabilities remain unaffected by the history of the process.[1]
Only two kinds of distributions are memoryless: geometric and exponential probability distributions.
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 person 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 their search, expressed in terms of "number of attempts the person must make until they successfully open 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 person is likely to open exactly one safe sometime in the next 500 attempts – but with each new failure they make no "progress" toward ultimately succeeding. Even if the safe-cracker 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 person focused their attempts on a single safe, and "remembered" their previous attempts to open it, they 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).
The universal law of radioactive decay, which describes the time until a given radioactive particle decays, is a real-life example of memorylessness. An often used (theoretical) example of memorylessness in queueing theory is the time a storekeeper must wait before the arrival of the next customer.
If a discrete random variable is memoryless, then it satisfies where and are natural numbers. The equality is still true when is substituted for on the left hand side of the equation.[2]
The only discrete random variable that is memoryless is the geometric random variable taking values in .[3] This random variable describes when the first success in an infinite sequence of independent and identically distributed Bernoulli trials occurs.[4] The memorylessness property asserts that the number of previously failed trials has no effect on the number of future trials needed for a success.
Geometric random variables can also be defined as taking values in , which describes the number of failed trials before the first success in a sequence of independent and identically distributed bernoulli trials. These random variables do not satisfy the memoryless condition stated above; however they do satisfy a slightly modified memoryless condition:[5]
Similar to the first definition, only discrete random variables that satisfy this memoryless condition are geometric random variables taking values in . In the continuous case, these two definitions of memorylessness are equivalent.
If a continuous random variable is memoryless, then it satisfies where and are nonnegative real numbers.[6] The equality is still true when is substituted.[7]
The only continuous random variable that is memoryless is the exponential random variable. It models random processes like time between consecutive events.[8] The memorylessness property asserts that the amount of time since the previous event has no effect on the future time until the next event occurs.
The only memoryless continuous probability distribution is the exponential distribution, shown in the following proof:[9]
First, define , also known as the distribution's survival function. From the memorylessness property and the definition of conditional probability, it follows that
This gives the functional equation which implies where is a natural number. Similarly, where is a natural number, excluding . Therefore, all rational numbers satisfy Since is continuous and the set of rational numbers is dense in the set of real numbers, where is a nonnegative real number. When , As a result, where .