🎉 75% of content is free forever — Unlock Premium from $10/mo →
CW
Search courses…
💼 Servicesℹ️ About✉️ ContactView Pricing Plansfrom $10

Exponential Distribution — Time Between Events

Foundations of StatisticsProbability Distributions🟢 Free Lesson

Advertisement

Exponential Distribution — Time Between Events

Foundations of Statistics

Modeling Waiting Times and Survival

The exponential distribution is the mathematical backbone for modeling time between random events, from customer arrivals to equipment failures. Its unique memoryless property makes it indispensable for reliability engineering and queueing theory.

  • Reliability Engineering — Predicting time until component failure in aerospace and electronics
  • Telecommunications — Modeling call arrivals and service times in network traffic analysis
  • Healthcare — Estimating waiting times between patient arrivals in emergency departments

The exponential distribution tells us how long we must wait for the next event.


Core Concepts

The exponential distribution models the waiting time between consecutive events in a Poisson process. It is the continuous analog of the geometric distribution and the only continuous distribution that possesses the memoryless property.

DfExponential Distribution

An exponential random variable XX models the time between events occurring at a constant rate λ>0\lambda > 0. Written XExp(λ)X \sim \text{Exp}(\lambda) with pdf:

f(x)=λeλx,x0f(x) = \lambda e^{-\lambda x}, \quad x \geq 0

Equivalently, XX is the waiting time for the first event in a Poisson process with rate λ\lambda.

PDF of Exponential Distribution

f(x)=λeλx,x0f(x) = \lambda e^{-\lambda x}, \quad x \geq 0

Here,

  • λ\lambda=Rate parameter (events per unit time)
  • 1/λ1/\lambda=Mean waiting time
  • xx=Time (non-negative)

Proof of the Memoryless Property

ThThe Exponential is the Only Memoryless Continuous Distribution

The exponential distribution satisfies the memoryless property:

P(X>s+tX>s)=P(X>t),s,t0P(X > s + t \mid X > s) = P(X > t), \quad \forall \, s, t \geq 0

Proof:

P(X>s+tX>s)=P(X>s+t)P(X>s)=eλ(s+t)eλs=eλt=P(X>t)P(X > s + t \mid X > s) = \frac{P(X > s + t)}{P(X > s)} = \frac{e^{-\lambda(s+t)}}{e^{-\lambda s}} = e^{-\lambda t} = P(X > t)

Uniqueness: Suppose a continuous X>0X > 0 satisfies P(X>s+tX>s)=P(X>t)P(X > s+t \mid X > s) = P(X > t) for all s,t0s, t \geq 0. Let G(t)=P(X>t)G(t) = P(X > t) (the survival function). The memoryless property gives:

G(s+t)G(s)=G(t)    G(s+t)=G(s)G(t)\frac{G(s+t)}{G(s)} = G(t) \implies G(s+t) = G(s)G(t)

This is Cauchy's functional equation with solution G(t)=eλtG(t) = e^{-\lambda t} for some λ>0\lambda > 0 (using continuity/monotonicity). Thus F(t)=1eλtF(t) = 1 - e^{-\lambda t}, which is exponential.

Interpretation

If you've already waited 10 minutes for a bus that arrives exponentially with rate λ\lambda, the probability you wait another 5 minutes is the same as if you just arrived. The process "forgets" your waiting time.


Interactive Visualization

Exponential Distribution — Interactive Explorer
00.71.42.12.93.64.35x00.230.460.690.921.15f(x)μ = 1.00Md = 0.69Mo = 0.00Exp(λ=1)
Mean (μ) = 1.0000Var = 1.0000σ = 1.0000
Effect of Rate Parameter on Exponential Distribution
00.71.42.12.93.64.35x00.460.921.381.842.30f(x)μ = 1.00Md = 0.69Mo = 0.00Exp(λ=1)
Mean (μ) = 1.0000Var = 1.0000σ = 1.0000

CDF and Survival Function

CDF and Survival Function

F(x)=1eλx,S(x)=P(X>x)=eλxF(x) = 1 - e^{-\lambda x}, \quad S(x) = P(X > x) = e^{-\lambda x}

Here,

  • λ\lambda=Rate parameter
  • S(x)S(x)=Survival (reliability) function

Mean, Variance, and Higher Moments

ThDerivation of Mean and Variance

Mean:

E[X]=0xλeλxdx=λ1λ2=1λE[X] = \int_0^{\infty} x \cdot \lambda e^{-\lambda x} \, dx = \lambda \cdot \frac{1}{\lambda^2} = \frac{1}{\lambda}

(Integration by parts: 0xeλxdx=1/λ2\int_0^\infty x e^{-\lambda x} dx = 1/\lambda^2.)

Second moment:

E[X2]=0x2λeλxdx=λ2λ3=2λ2E[X^2] = \int_0^{\infty} x^2 \cdot \lambda e^{-\lambda x} \, dx = \lambda \cdot \frac{2}{\lambda^3} = \frac{2}{\lambda^2}

Variance:

Var(X)=E[X2](E[X])2=2λ21λ2=1λ2\text{Var}(X) = E[X^2] - (E[X])^2 = \frac{2}{\lambda^2} - \frac{1}{\lambda^2} = \frac{1}{\lambda^2}

Exponential Mean and Variance

E[X]=1λ,Var(X)=1λ2E[X] = \frac{1}{\lambda}, \quad \text{Var}(X) = \frac{1}{\lambda^2}

Here,

  • λ\lambda=Rate parameter
  • 1/λ1/\lambda=Mean time between events

Coefficient of Variation

The standard deviation equals the mean: σ=1/λ=E[X]\sigma = 1/\lambda = E[X]. Therefore the coefficient of variation CV=σ/μ=1CV = \sigma/\mu = 1 for all exponentials, regardless of λ\lambda. This is a useful diagnostic: if data has CV1CV \approx 1, the exponential may be appropriate.


MGF and Moments

MGF of Exponential Distribution

MX(t)=λλt,t<λM_X(t) = \frac{\lambda}{\lambda - t}, \quad t < \lambda

Here,

  • tt=Transform variable (must be less than λ)

Why t < λ

The MGF MX(t)=0etxλeλxdx=λ0e(λt)xdxM_X(t) = \int_0^\infty e^{tx} \lambda e^{-\lambda x} dx = \lambda \int_0^\infty e^{-(\lambda-t)x} dx diverges for tλt \geq \lambda, so the MGF only exists for t<λt < \lambda.

ThDerivation of nth Moment

Differentiating MX(t)=λ(λt)1M_X(t) = \lambda(\lambda - t)^{-1} nn times:

MX(n)(t)=λn!(λt)n+1M_X^{(n)}(t) = \frac{\lambda \cdot n!}{(\lambda - t)^{n+1}}

At t=0t = 0: E[Xn]=MX(n)(0)=n!λnE[X^n] = M_X^{(n)}(0) = \frac{n!}{\lambda^n}. In particular: E[X]=1/λE[X] = 1/\lambda, E[X2]=2/λ2E[X^2] = 2/\lambda^2, E[X3]=6/λ3E[X^3] = 6/\lambda^3.


Hazard Rate (Failure Rate)

Hazard Rate of the Exponential

h(x)=f(x)S(x)=λeλxeλx=λh(x) = \frac{f(x)}{S(x)} = \frac{\lambda e^{-\lambda x}}{e^{-\lambda x}} = \lambda

Here,

  • h(x)h(x)=Hazard rate at time x
  • λ\lambda=Constant rate parameter

ThConstant Hazard Rate Characterizes the Exponential

The hazard rate h(x)=f(x)/S(x)h(x) = f(x)/S(x) measures the instantaneous failure rate. For the exponential, h(x)=λh(x) = \lambda is constant — the probability of failure in the next instant doesn't depend on how long the component has survived. This is the physical interpretation of the memoryless property.

Uniqueness: Any continuous distribution with constant hazard rate must be exponential.


Relationship to the Poisson Process

ThPoisson Process and Exponential Inter-Arrivals

Consider events occurring at rate λ\lambda in a Poisson process. Then:

  1. The number of events in time tt is N(t)Poisson(λt)N(t) \sim \text{Poisson}(\lambda t)
  2. The inter-arrival times X1,X2,X_1, X_2, \ldots are i.i.d. Exp(λ)\text{Exp}(\lambda)
  3. The waiting time for the nn-th event is Wn=X1++XnGamma(n,λ)W_n = X_1 + \cdots + X_n \sim \text{Gamma}(n, \lambda)

Proof of (2): P(X1>t)=P(N(t)=0)=eλtP(X_1 > t) = P(N(t) = 0) = e^{-\lambda t} (no events in [0,t][0,t]), so FX1(t)=1eλtF_{X_1}(t) = 1 - e^{-\lambda t}, which is Exp(λ)\text{Exp}(\lambda). For subsequent inter-arrivals, use the memoryless property: after the kk-th event, the process "restarts."


The Poisson-Exponential Connection

Two Ways to Characterize the Poisson Process

A Poisson process with rate λ\lambda can be defined equivalently by:

  1. Counting definition: N(t)Poisson(λt)N(t) \sim \text{Poisson}(\lambda t), independent increments
  2. Timing definition: Inter-arrival times are i.i.d. Exp(λ)\text{Exp}(\lambda)

These two characterizations are mathematically equivalent and lead to different proofs of the same results.


Worked Example

Example: Server Request Processing

A web server receives requests at rate λ=5\lambda = 5 per minute. What is the probability that the time between two consecutive requests exceeds 30 seconds?

P(X>0.5)=e5×0.5=e2.50.082P(X > 0.5) = e^{-5 \times 0.5} = e^{-2.5} \approx 0.082

What is the probability that more than 1 minute elapses between requests?

P(X>1)=e50.0067P(X > 1) = e^{-5} \approx 0.0067

The median waiting time: solve eλm=0.5    m=ln(2)/λ=ln(2)/50.139e^{-\lambda m} = 0.5 \implies m = \ln(2)/\lambda = \ln(2)/5 \approx 0.139 minutes 8.3\approx 8.3 seconds. Note: the median is always less than the mean for exponential distributions.


Gamma Distribution Connection

ThExponential as a Special Case of the Gamma

If XExp(λ)X \sim \text{Exp}(\lambda), then XGamma(1,λ)X \sim \text{Gamma}(1, \lambda) (shape 1, rate λ\lambda).

More generally, the sum of nn i.i.d. Exp(λ)\text{Exp}(\lambda) variables is Gamma(n,λ)\text{Gamma}(n, \lambda):

X1++XnGamma(n,λ)X_1 + \cdots + X_n \sim \text{Gamma}(n, \lambda)

This follows from the MGF: (MX(t))n=(λλt)n=MGamma(n,λ)(t)(M_X(t))^n = \left(\frac{\lambda}{\lambda-t}\right)^n = M_{\text{Gamma}(n,\lambda)}(t).


Specific Applications

  1. Queueing theory — Service times in M/M/1 queues are Exp(μ)\text{Exp}(\mu); inter-arrival times are Exp(λ)\text{Exp}(\lambda).
  2. Reliability engineering — Component lifetime before random failure (constant failure rate).
  3. Physics — Radioactive decay: time until a particle decays is Exp(λ)\text{Exp}(\lambda) where λ\lambda is the decay constant.
  4. Network traffic — Inter-packet arrival times in Poisson traffic models.

Key Takeaways

Summary: Exponential Distribution

  • Models time between events in a Poisson process
  • PDF: f(x)=λeλxf(x) = \lambda e^{-\lambda x}, Mean: 1/λ1/\lambda, Variance: 1/λ21/\lambda^2
  • Memoryless property: P(X>s+tX>s)=P(X>t)P(X > s+t \mid X > s) = P(X > t) — the only continuous distribution with this property
  • Constant hazard rate h(x)=λh(x) = \lambda — characterizes memorylessness
  • MGF: MX(t)=λ/(λt)M_X(t) = \lambda/(\lambda - t) for t<λt < \lambda; E[Xn]=n!/λnE[X^n] = n!/\lambda^n
  • Special case of Gamma (α=1\alpha=1); sum of nn exponentials is Gamma(n,λ)\text{Gamma}(n, \lambda)
  • Poisson connection: inter-arrival times of Poisson process are i.i.d. exponential

Premium Content

Exponential Distribution — Time Between Events

Unlock this lesson and 900+ advanced tutorials with a Premium plan.

🎯End-to-end Projects
💼Interview Prep
📜Certificates
🤝Community Access

Already a member? Log in

Need Expert Statistics Help?

Get personalized tutoring, project support, or professional consulting.

Advertisement